]> git.ipfire.org Git - ipfire-2.x.git/log
ipfire-2.x.git
2 years agoipfire-theme/functions.pl: Load $extrahead after jQuery
Leo-Andres Hofmann [Sat, 27 Nov 2021 19:10:43 +0000 (20:10 +0100)] 
ipfire-theme/functions.pl: Load $extrahead after jQuery

This ensures that jQuery is also available for custom javascript
added to the HTML <head> with $extrahead.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 163: Ship libcap
Peter Müller [Fri, 3 Dec 2021 17:28:44 +0000 (18:28 +0100)] 
Core Update 163: Ship libcap

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolibcap: Update to version 2.61
Adolf Belka [Sat, 27 Nov 2021 13:35:55 +0000 (14:35 +0100)] 
libcap: Update to version 2.61

- Update from 2.50 to 2.61
- Update of rootfile
- Changelog
  Release notes for 2.61
    Better error handling of the numerical arguments for capsh and setcap.
        Reported by meitingli with some bug de-duping help from Artem S. Tashkinov (Bugs 214909, 214911)
    Fix executable mode for all of the .so files. There were two situations where this was failing (with a hard to debug SIGSEGV inside libc). Bugs reported by Sam James. Both the same solution related to stack alignment and use of SSE instructions:
        glibc and the 32-bit x86 mode (Gentoo bug 820071)
        musl runtime library for 64-bit x86 code (Bug 215009)
    Added an example of a shared library object with its own file capability.
        It demonstrates how to give a shared library a file capability and offer it as a linkable privileged API service to an otherwise unprivileged binary.
    Fix the top-level include for Make.Rules in the contrib/sucap example application
    Add support for running constructors at libcap.so start up time when running as stand alone binary.
        This enables the binary executable to print out some dynamically generated content when given the --summary argument.
  Release notes for 2.60
    Some build, code linting fixes, the addition of the cap_fill_flag() API and a memory latency optimization contributed by Google (Bugs: 214579 214601 214599)
    General improvement in thread safety for libcap and cap package (Bug: 214715)
    Minor API change replacing libcap:cap_launch_*() void returning functions with int + errno status returns.
        This should be backwardly compatible for code.
    Added a cap_iab_dup(), and (*cap.IAB).Dup() to API.
        Fixed (*cap.IAB).Fill() which was previously malfunctioning for certain Inh and Amb copies.
    New features for capsh
        --quiet can be used to suppress the start up check that the local libcap is modern enough to name all of the capabilities known to the hosting kernel
        Added -+ and =+ arguments. These are fork+exec equivalents to -- and == respectively (that use the cap_launch API).
  Release notes for 2.59
    libcap-2.55 ... 2.58 would SIGSEGV if an operation was attempted on a NULL value for cap_t or cap_iab_t. Restore the more tolerant error return behavior last seen with libcap-2.54. (Bug 214525)
    More make -j13 fixes (missing dependency for make -C progs sudotest).
    Various minor documentation fixes.
  Release notes for 2.58
    Fixed a potential libcap memory leak by adding a destructor (Bug 214373 reported by yan12125)
    Major improvement is that there is a path for Linux-PAM compliant applications to support setting Ambient vector Capabilities via pam_cap.so now (Bug 214377)
        In addition to the bug, related discussion is in two Github issues: https://github.com/shadow-maint/shadow/pull/408#issuecomment-919673098 and https://github.com/rra/pam-krb5/issues/21
    Added support for RPM builds that generate the build-id that RPM expects (see https://github.com/rpm-software-management/rpm/issues/367 for discussion)
    Minor contrib/sucap/su.c cleanups
    Clean up kdebug build rules
    More documentation cleanup
  Release notes for 2.57
    capsh enhancements:
        --mode makes a guess at the libcap mode of the current process (Bug 214319)
        --strict makes capsh less permissive and expects the user to perform more deliberate capability transactions
            useful for learning all the steps; and helps this article be more pedagogical.
    Build system fixes
        Preserve $(WARNINGS) (Fix from David Seifert)
        Don't ever build test binaries unless make test etc is invoked (speeds builds on slower systems)
        Support make -j12 for all, test and sudotest targets
    getcap -r / now generates readable output (Bug 214317)
    Some documentation cleanup: more consistency.
  Release notes for 2.56
    Canonicalize the Makefile use (in collaboration with David Seifert)
        In the process fixed a bug in pam_cap/test_pam_cap (reported by David Seifert, Bug 214257)
    Doc fixes for cap_iab.3
    Added color support to captree, which helped make the following fix generate readable output:
        Fixed captree to not display duplicate copies of sub-trees if also exploring their ancestor (Bug 214269)
    Fixed contrib/sucap/su to correctly handle the Inheritable flag.
  Release notes for 2.55
    Two rounds of fixes for the results of some static analysis performed by Zoltan Fridrich
    Removed a clang compilation warning about memory allocation by rewriting the way cap_free() and the various libcap memory allocation mechanisms work. (Bug 214183)
        This generated a few broken builds until it was fixed.
    Cleanup of some man pages; some fixes and shorter URL to bugzilla link.
    Added libcap cap_proc_root() API function (to reach parity with the Go cap package).
        This is only potentially useful with the recently added cap_iab_get_pid() function
    Revamped what the GOLANG=yes builds install - used to install local copies of cap and psx, but these were effectively useless because of the Go module support in recent Go releases in favor of user controller GOPATH.
        Now make GOLANG=yes only installs the captree utility
        Added some features to captree and created a small article on it
        Added a man page for the captree utility
    Some small changes to the tests to account for the idiosyncrasies of some new testing environments I've accumulated.
        Included adding --has-b support to capsh
  Release notes for 2.54
    Fix for a corner case infinite loop handling long strings (patch provided by Samanta Navarro)
    Fixes to not ignore allocation failures (patch provided by Samanta Navarro)
    Evolving work from Samanta Navarro, found and fixed a memory leak in cap_iab_get_proc()
    More robust discovery of the name of the dynamic loader of the build target (patch provided by Arnout Vandecappelle)
    Revamped the Go capability comparison API for *cap.Set and *cap.IAB: (x).Cf(), and added cap.IABGetPID()
    Added libcap cap_iab_compare() and cap_iab_get_pid() APIs.
    Added a Go utility, captree, to display the process (and thread) graph along with the POSIX.1e and IAB capabilities of each PID{TID} tree.
        Extended getpcaps to support the --iab command line argument, which outputs a PID's IAB tuple too (if non-default).
    Install *.so files as executable now that they are executable as binaries
        A feature of 2.52 but not extended to install rules at that time.
    Absorbed a lot of wisdom from a number of downstream package workarounds including wisdom from (Zhi Li and Arnout Vandecappelle and unknown others... Bugs 214023#c16, 214085)
        Support make FORCELINKPAM=yes or make FORCELINKPAM=no for those packagers that feel strongly about not letting this be dynamically discovered at build time.
    Fixed a compiler warnings from the GitHub build tester (Bug 214143)
  Release notes for 2.53
    The (C) cap_launch functionality was previously broken when launches failed (found and fixed by Samanta Navarro)
        Added a test case for this too.
    Lots of tyops fixed in code and documentation (also by Samanta Navarro)
    Support distributions that aggressively link shared objects (reported by David Runge; Bug 214023)
        These distributions failed to observe a runnable pam_cap.so and various make options failed.
    Support clang builds (again). (Reported by Johan Herland 214047)
        This used to work, but by accident. It broke with the advent of a runnable libcap.so , libpsx.so and pam_cap.so support. Fixed now, and added a build target to validate it still works at release time.
    Minor documentation updates including one for Slavi Marinov who was trying to get cap.LaunchFunc() to work.
        Worked up a couple of example modifications to goapps/web to demonstrate a different user per web query and enabling a custom chroot per web query.
  Release notes for 2.52
    Revived -std=c89 compilation for make all etc. (Bug 213541 reported by Byron Stanoszek.)
    The shared library objects: pam_cap.so, libcap.so and libpsx.so, are all now runnable as standalone binaries!
        The support is used to display some description information.
        To activate it, these binaries need to be installed executable (chmod +x ...)
        We also provided a write-up of how to enable this sort of feature in other .so files here.
    The module pam_cap.so now contains support for a default=<IAB> module argument. (Bug 213611).
    Enhanced capsh --suggest to also compare against the capability value names and not just their descriptions.
    Added capsh --current support.
    Minor documentation updates.
    Added a contrib/sucap/su.c pure-capabilities PAM implementation of su.
        This is primarily to demonstrate that such a thing is possible, and to validate that the pam_cap.so module is capable of adding any IAB tuple of inheritables per group or user.
        At this time, it relies on features only present in this version of libcap and HEAD of the Linux-PAM sources for the pam_unix.so module.
  Release notes for 2.51
    Fix capsh installation (Bug 213261 - reported by Jan Palus)
    Add an autoauth module flag to pam_cap.so (Bug 213279 - noted a feature request hidden in StackExchange)
    Unified libcap/cap (Go) and libcap (C) default generation of external format binary data (Bug 213375 - addressing an issue raised by Mike Schilling)
        This standard binary format should be forwards/backwards compatible with earlier libcap2 builds and libcap/cap packages
    API enhancement cap_fill() and (*cap.Set).Fill() - to permit copying one capability flag to another.
        This can be used to raise all the Permitted capabilities in a Set with one API call.
    In tree build/run/test of Go packages now uses Go module vendoring (Bug 212453).
        This is with an eye to the imminent golang change removing support for GOPATH based building.
    Minor compilation warning fixes

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 163: Ship xfsprogs and liburcu
Peter Müller [Fri, 3 Dec 2021 17:27:39 +0000 (18:27 +0100)] 
Core Update 163: Ship xfsprogs and liburcu

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoliburcu: New dependency for build of xfsprogs
Adolf Belka [Thu, 25 Nov 2021 18:17:41 +0000 (19:17 +0100)] 
liburcu: New dependency for build of xfsprogs

- Created lfs file
- Created rootfile but all entries commented out. If the use of userspace rcu becomes
   something to be required as part of IPFire then the appropriate entries in the
   rootfile can be uncommented in a future commit.
- Added liburcu to the make.sh file just before xfsprogs

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoxfsprogs: Update to version 5.14.0
Adolf Belka [Thu, 25 Nov 2021 18:17:40 +0000 (19:17 +0100)] 
xfsprogs: Update to version 5.14.0

- Update from 5.12.0 to 5.14.0
- Update of rootfile not required
- Build of xfsprogs now requires liburcu to be built. Added as separate commit.
- Changelog
    xfsprogs-5.14.0 (19 Nov 2021)
- debian: Fix FTBFS (Boian Bonev)
- debian: Pass --build and --host to configure (Bastian Germann)
- debian: Update Uploaders list (Bastian Germann)
    xfsprogs-5.14.0-rc1 (12 Nov 2021)
- xfsprogs: introduce liburcu support (Dave Chinner)
- xfsprogs: convert atomic to uatomic (Dave Chinner)
- xfsprogs: convert utilities to use "fallthrough;" (Darrick J. Wong)
- libxfs: port xfs_set_inode_alloc from kernel (Darrick J. Wong)
- mkfs: warn about V4 deprecation (Darrick J. Wong)
- xfs_db: convert agresv to use for_each_perag (Darrick J. Wong)
    xfsprogs-5.13.0 (20 Aug 2021)
- No further changes
    xfsprogs-5.13.0-rc1 (02 Aug 2021)
- mkfs: validate rtextsz hint when rtinherit is set (Darrick J. Wong)
- xfs_repair: invalidate dirhash when junking dirent (Darrick J. Wong)
- xfs_repair: validate inherited rtextsz hint alignmt (Darrick J. Wong)
- xfs_quota: allow truncate of grp & prj quota files (Darrick J. Wong)
- xfs_io: allow callers to dump fs stats individually (Darrick J. Wong)
- xfs_io: don't count fsmaps before querying fsmaps (Darrick J. Wong)
- xfs_io: print header once when dumping fsmap in csv (Darrick J. Wong)
- xfs_io: clean up the funshare command a bit (Darrick J. Wong)
- xfs_io: fix broken funshare_cmd usage (Darrick J. Wong)
    xfsprogs-5.13.0-rc0 (01 Jul 2021)
- libxfs changes merged from kernel 5.13

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 163: Ship pam
Peter Müller [Fri, 3 Dec 2021 17:25:56 +0000 (18:25 +0100)] 
Core Update 163: Ship pam

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agopam: Update to version 1.5.2
Adolf Belka [Mon, 27 Sep 2021 15:34:18 +0000 (17:34 +0200)] 
pam: Update to version 1.5.2

- Update from 1.5.1 to 1.5.2
- Update rootfile
- Changelog
   Release 1.5.2
     * pam_exec: implemented quiet_log option.
     * pam_mkhomedir: added support of HOME_MODE and UMASK from /etc/login.defs.
     * pam_timestamp: changed hmac algorithm to call openssl instead of the bundled
                      sha1 implementation if selected, added option to select
                      the hash algorithm to use with HMAC.
     * Added pkgconfig files for provided libraries.
     * Added --with-systemdunitdir configure option to specify systemd unit
       directory.
     * Added --with-misc-conv-bufsize configure option to specify the buffer size
       in libpam_misc's misc_conv() function, raised the default value for this
       parameter from 512 to 4096.
     * Multiple minor bug fixes, portability fixes, documentation improvements,
       and translation updates.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agoCore Update 163: Ship shadow
Peter Müller [Fri, 3 Dec 2021 17:24:48 +0000 (18:24 +0100)] 
Core Update 163: Ship shadow

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoshadow: Update to version 4.9
Adolf Belka [Tue, 28 Sep 2021 21:20:57 +0000 (23:20 +0200)] 
shadow: Update to version 4.9

- Update from 4.2.1 (2015) to 4.9 (2021)
- Update rootfile
- Update patch for suppression of groups installation
- Changelog
    * Release 4.9
       2021-07-22  Serge Hallyn <serge@hallyn.com>
* Updated translations (Björn Esser, Juergen Hoetzel)
* Major salt updates (Björn Esser)
* Various coverity and cleanup fixes (Iker Pedrosa)
* Consistently use 0 to disable PASS_MIN_DAYS  in man (tzccinct)
* Implement NSS support for subids and a libsubid (Serge Hallyn)
* setfcap: retain setfcap when mapping uid 0 (Christian Brauner)
* login.defs: include HMAC_CRYPTO_ALGO key (Iker Pedrosa)
* selinux fixes (Christian Göttsche)
* Fix path prefix path handling (Lucas Servén Marín)
* Manpage updates (tzccinct, Sevan Janiyan, Iker Pedrosa, Geert Ijewski,
谭九鼎, Jamin W. Collins, towerpark, andydna, Frans Spiesschaert)
* Treat an empty passwd field as invalid (Haelwenn Monnier)
* newxidmap: allow running under alternative gid (Martijn de Gouw)
* usermod: check that  shell is executable (Geert Ijewski)
* Add yescript support (Rodolphe Bréard)
* useradd memleak fixes (whzhe)
* useradd: use built-in settings by default (Ludwig Nussel)
* getdefs: add foreign (non-shadow-utils) items (Karel Zak)
* buffer overflow fixes (Tobias Stoeckmann)
* Adding run-parts style for pre and post useradd/del (ed@s5h.net)
       2020-01-23  Serge Hallyn <serge@hallyn.com>
* selinux: inclue stdio (Michael Vetter)
* man: don't suggest making groupmems user-writeable (Michael Weiser)
* Makefile: bail out on error in for loops (Wolfgang Bumiller)
* Adding logging of SSH_ORIGINAL_COMMAND to nologin. (ed@s5h.net)
* add new HOME_MODE login.defs option (Duncan Overbruck)
* Add tty logging to useradd (ed@s5h.net)
* Useradd: make non-executable shell check only a warning (Tomas Mraz)
* Update Dutch translation (Frans-Spiesschaert)
* user_busy: Do not mistake a regular user process for a namespaced one (Tomas Mraz)
* Revert "Honor --sbindir and --bindir for binary installation" Patrick McLean)
       2019-12-20  Dave Reisner <dreisner@archlinux.org>
* Do not auto-enable acct_tools_setuid just because
  pam is enabled.  NOTE - any distros which are relying
  on this behavior will need to switch to configure
  --enable-account-tools-setuid
    * Release 4.8
       2019-12-01  Serge Hallyn <serge@hallyn.com>
* Initial optional bcrypt support.
* Make build/install of 'su' optional.
* Fix for vipw not resuming correctly when suspended
* Sync password field descriptions in manpages
* Check for valid shell argument in useradd
* Allow translation of new strings through POTFILES.in
* Migrate to itstool for translations
* Migrate to new SELinux api
* Support --enable-vendordir
* pwck: Only check homedir if set and not a system user
* Support nonstandard usernames
* sget{pw,gr}ent: check for data at EOL
* Add YYY-MM-DD support in chage
* Fix failing chmod calls for suidubins
* Fix --sbindir and --bindir for binary installations
* Fix LASTLOG_UID_MAX in login.defs
* Fix configure error with dash
    * Release 4.7
       2019-06-13  Serge Hallyn <serge@hallyn.com>
* Spawn: don't loop forever on ECHILD
* Do not fail locking if there is a stale lockfile Tomas Mraz)
* Use lckpwdf if prefix not set (Tomas Mraz)
* Build: check correct DocBook version (Jan Tojnar)
* Usermod: Print 'no changes' to stdout, not stderr (Serge Hallyn)
* Add support for btrfs subvolumes for home (Adam Majer)
* Fix chpasswd long line handling (Nathan Ruiz)
* Use secure_getenv for gettime (Chris Lamb)
* Make sp_lstchg reproducible (Chris Lamb)
* Do not crash commonio_close if db file is not open (Tomas Mraz)
* Don't flush nscd and sssd cache in read-only mode (Charlie Vuillemez)
* French manpage update (Alban VIDAL)
* Fix manpage defaults for SUB_UID/GID_COUNT (Tomas Mraz)
* Sync po files from shadow.pot (Alban VIDAL)
* Usermod: guard against unsafe chown of homedir contents (Tomas Mraz)
* Add LASTLOG_UID_MAX to login.defs (Tomas Mraz)
* new[ug]idmap file capabilities support (Giuseppe Scrivano and Christian Brauner)
* Fix segfault in useradd (Tomas Mraz)
* Coverity issues (Tomas Mraz)
* Flush sssd caches (Jakub Hrozek)
* Log UID in nologin (Vladimir Ivanov)
* run pam_getenvlist after setup_env in su.c (Michael Vogt)
* Support systems with only utmpx (A. Wilcox)
* Fix unguarded ENABLE_SUBIDS code (Jan Chren (rindeal))
* Update po/zh_CN translation (Lion Yang)
* Create parent dirs for useradd -m (Michael Vetter)
* Prevent usermod segv
* Fix usermod crash (fariouche)
    * Release 4.6
       2018-04-29  Serge Hallyn <serge@hallyn.com>
* Newgrp: avoid unnecessary lookups
* Make language less binary
* Add error when turning off man switch
* Spelling fixes
* Make userdel work with -R
* newgidmap: enforce setgroups=deny if self-mapping a group
* Norwegian bokmål translation
* pwck: prevent crash by not passing O_CREAT
* WITH_TCB fixes from Mandriva
* Fix pwconv and grpconv entry skips
* Fix -- slurping in su
* add --prefix option
       2017-07-16  Serge Hallyn <serge@hallyn.com>
* Import new Dutch translations.
       2017-07-10  Serge Hallyn <serge@hallyn.com>
* Expand error codes for groupmod.
       2017-05-17  Serge Hallyn <serge@hallyn.com>
    * Release 4.5
       2017-05-17  Serge Hallyn <serge@hallyn.com>
* Patch from Tobias Stoeckmann fixing regression in previous CVE fix
  preventing SIGTERM to su from being propagated to the job.
* Patch from Chris Lamb making sp_lstchg shadow field reproducible.
* Merge Russian translation updates from Yuri Kozlov
* Fix missing close of subuid file on error
       2017-02-23  Serge Hallyn <serge@hallyn.com>
* Merge patch by Tobias Stoeckmann <tobias@stoeckmann.org> to fix
  the equivalent of util-linux CVE-2017-2616.
       2017-02-08  Serge Hallyn <serge@hallyn.com>
* Update Kazakh translations
* Consult configuration before calculating subuids
* Remove misplaced semicolon
       2017-01-29  Serge Hallyn <serge@hallyn.com>
* Patch from Fedora to improve performance with SSSD, Winbind,
  or nss_ldap. (Tomas Mraz)
* Make sure knowndef_table is NULL-terminated.  (Bernhard Rosenkränzer)
       2016-12-21  Serge Hallyn <serge@hallyn.com>
* Drop leading underscore from _COMMONIO_H and _SHADOWIO_H
* Fix readability in usermod error messages.
* Reset user in tallylog
* Add audit support to su
    * Changes since 4.4
       2016-12-02  Serge Hallyn <serge@hallyn.com>
  - Use sizeof rather than hardcoding snprintf args
  - Fix useradd improper default loading
  - Update Vietnamese translations
  - Update Polish translations
  - Remove non-POSIX chmod option in Makefile
  - Fix suidubins assignments
  - Fix --add-subuids etc spelling in manpages
  - Audit homedir ownership change.
  - Print error on selinux file context update failure
  - Keep original file perms when creating a backup
    * Changes since 4.2.1:
       2016-12-02  Serge Hallyn <serge@hallyn.com>
  - Documentation, error report and translations updates
  - Replace path_max with 32
  - User namespace support fixes/updates including:
    - Correct sanity checks in newXidmap
    - Fix building without subuid support
    - Add /etc/subuid support for UID matching
    - Support subuid for nonlocal users
    - Default to 65536 subuid allocations
    - Respect -r
    - Check for range overflows
  - Add tests from svn tree
  - Use AC_CHECK_SIZEOF for uid_t size checks
  - Accomodate missing /etc and login.defs
  - Support FORCE_SHADOW
  - Be more robust in hostile environment
  - Allow removing a primary group
  - Clear passwords on __pw_dup errors
  - Memory leak fix in commonio_update and get_map_ranges
  - Fix resource leak in syslog_sg
  - Fix user busy error at userdel
  - Support set/clear lastlog record via lastlog command
  - Add --no-create-home as longopt for -M
  - Fix signal races
  - Reduce syslog priority of common usage events

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agoCore Update 163: Ship curl
Peter Müller [Fri, 3 Dec 2021 17:23:00 +0000 (18:23 +0100)] 
Core Update 163: Ship curl

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agocurl: Update to version 7.80.0
Adolf Belka [Thu, 25 Nov 2021 18:16:23 +0000 (19:16 +0100)] 
curl: Update to version 7.80.0

- Update from 7.79.1 to 7.80.0
- Update of rootfile
- Changelog is too long to include here.
   This update fixes 172 bugs the details of which can be found in the CHANGES file in
   the source tarball.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoelfutils: Update to version 0.186
Adolf Belka [Sat, 27 Nov 2021 13:34:50 +0000 (14:34 +0100)] 
elfutils: Update to version 0.186

- Update from 0.185 to 0.186
- Update of rootfile
- find-dependencies with old libs did not report any issues
- Changelog
    2021-11-10  Mark Wielaard  <mark@klomp.org>
* configure.ac (AC_INIT): Set version to 0.186.
* NEWS: Add translation item.
    2021-09-03  John Mellor-Crummey <johnmc@rice.edu>
* NEWS: Read inlining info in NVIDIA extended line map
    2021-08-10  Adrian Ratiu  <adrian.ratiu@collabora.com>
* configure.ac (AC_CACHE_CHECK): Rework std=gnu99 check to allow clang.
    2021-08-20  Saleem Abdulrasool  <abdulras@google.com>
* Add AC_CHECK_HEADERS for error.h and err.h.
    2021-07-28  Mark Wielaard  <mark@klomp.org>
* configure.ac (AC_CHECK_DECLS): Add reallocarray check.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 163: Ship ethtool
Peter Müller [Fri, 3 Dec 2021 17:21:29 +0000 (18:21 +0100)] 
Core Update 163: Ship ethtool

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoethtool: Update to version 5.15
Adolf Belka [Sat, 27 Nov 2021 13:35:15 +0000 (14:35 +0100)] 
ethtool: Update to version 5.15

- Update from 5.13 to 5.15
- Update of rootfile not required
- Changelog
   Release version 5.15 Michal Kubecek
    update UAPI header copies Michal Kubecek
    netlink: settings: Correct duplicate condition Bastian Germann
    Merge branch 'review/module-fixes-2-v2' Michal Kubecek
    sff-8636: Remove extra blank lines Ido Schimmel
    sff-8636: Convert if statement to switch-case Ido Schimmel
    sff-8636: Fix incorrect function name Ido Schimmel
    sff-8636: Remove incorrect comment Ido Schimmel
    cmis: Correct comment Ido Schimmel
    cmis: Fix wrong define name Ido Schimmel
    cmis: Fix CLEI code parsing Ido Schimmel
    Merge branch 'review/module-fixes' into master Michal Kubecek
    netlink: eeprom: Fix compilation when pretty dump is disabled Ido Schimmel
    ethtool: Fix compilation warning when pretty dump is disabled Ido Schimmel
    netlink: eeprom: Fallback to IOCTL when a complete hex/raw dump is requested Ido Schimmel
    cmis: Fix invalid memory access in IOCTL path Ido Schimmel
    sff-8636: Fix parsing of Page 03h in IOCTL path Ido Schimmel
    Merge branch 'next' into master Michal Kubecek
   Release version 5.14 Michal Kubecek
    netlink: settings: add netlink support for coalesce cqe mode parameter Yufeng Mo
    pretty: update message descriptions for coalescing Michal Kubecek
    netlink: settings: add two link extended substates of bad signal integrity Guangbin Huang
    update UAPI header copies Michal Kubecek
    pretty: add message descriptions for PHC virtual clocks Michal Kubecek
    pretty: add message descriptions for FEC stats Michal Kubecek
    pretty: reorder to match enum values Michal Kubecek
    update UAPI header copies Michal Kubecek
    cmdline: skip dummy args entry in find_option() Michal Kubecek
    Merge branch 'review/nojson-fail' into master Michal Kubecek
    ethtool: return error if command does not support --json Jakub Kicinski
    ethtool: use dummy args[] entry for no-args case Jakub Kicinski
    ethtool: remove questionable goto   Jakub Kicinski
    Remove trailing newline in perror messages  Jules Maselbas

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 163: Ship libgpg-error
Peter Müller [Fri, 3 Dec 2021 17:20:24 +0000 (18:20 +0100)] 
Core Update 163: Ship libgpg-error

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolibgpg-error: Update to version 1.43
Adolf Belka [Sun, 28 Nov 2021 22:16:07 +0000 (23:16 +0100)] 
libgpg-error: Update to version 1.43

- Update from 1.42 to 1.43
- Update of rootfile
- Changelog - full details can be found in the ChangeLog file in the source tarball
   Noteworthy changes in version 1.43 (2021-11-03) [C32/A32/R1]
    * Fix for building against GNU libc 2.34.  [T5547]
    * Fix build problems on macOS.  [T5440,T5610]
    * Fix gpgrt-config problems.  [T5381,T5595]
    * Fix gpgrt_free for legacy platforms.  [448bf7b01cad]
    * Fix truncation of error message in the middle of a character.  [T5048]
    * Fix the --disable-threads configure options.  [T5495]
    * Improve lock-obj generation for cross-builds [99ae862a96a5]
    * Improve cross-builds. [T5365]
    * Improve gpgrt_wait_processes.  [T5381]
    * Allow config files to read values from the Windows Registry and
      from envvars.  [b1790f4cc71f]
    * Update the Russian and Czech translations.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 163: Ship iproute2
Peter Müller [Fri, 3 Dec 2021 17:18:30 +0000 (18:18 +0100)] 
Core Update 163: Ship iproute2

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoiproute2: Update to version 5.15.0
Adolf Belka [Sat, 27 Nov 2021 13:35:35 +0000 (14:35 +0100)] 
iproute2: Update to version 5.15.0

- Update from 5.14.0 to 5.15.0
- Update of rootfile
- Changelog
    v5.15.0 Stephen Hemminger
rdma: Fix SRQ resource tracking information json Neta Ostrovsky
man: devlink-port: fix pfnum for devlink port add Antoine Tenart
Merge branch 'managed-neighbor' into next David Ahern
ip, neigh: Add NTF_EXT_MANAGED support Daniel Borkmann
ip, neigh: Add missing NTF_USE support Daniel Borkmann
ip, neigh: Fix up spacing in netlink dump Daniel Borkmann
xfrm: enable to manage default policies Nicolas Dichtel
Merge branch 'rdma-optional-stats' into next David Ahern
uapi: pickup fix for xfrm ABI breakage Stephen Hemminger
iplink: enable to specify index when changing netns Nicolas Dichtel
Merge branch 'config-libdir' into next David Ahern
configure: add the --libdir option Andrea Claudi
configure: add the --prefix option Andrea Claudi
configure: support --param=value style Andrea Claudi
configure: simplify options parsing Andrea Claudi
configure: fix parsing issue with more than one value per option Andrea Claudi
configure: fix parsing issue on libbpf_dir option Andrea Claudi
configure: fix parsing issue on include_dir option Andrea Claudi
rdma: Add optional-counters set/unset support Neta Ostrovsky
rdma: Add stat "mode" support Neta Ostrovsky
rdma: Update uapi headers Neta Ostrovsky
Update kernel headers David Ahern
mptcp: cleanup include section. Stephen Hemminger
lib/bpf: fix map-in-map creation without prepopulation Paul Chaignon
man: devlink-port: remove extra .br Antoine Tenart
man: devlink-port: fix style Antoine Tenart
man: devlink-port: fix the devlink port add synopsis Antoine Tenart
Merge branch 'main' into next David Ahern
Merge branch 'ioam-encap-modes' into next David Ahern
Update documentation Justin Iurman
Add support for IOAM encap modes Justin Iurman
cmd: use spaces instead of tabs for usage indentation Frank Villaro-Dixon
ip: nexthop: keep cache netlink socket open Nikolay Aleksandrov
devlink: print maximum number of snapshots if available Jacob Keller
Update kernel headers David Ahern
mptcp: unbreak JSON endpoint list Davide Caratti
Merge branch 'nexthop-cache' into next David Ahern
ip: nexthop: add print_cache_nexthop which prints and manages the nh cache Nikolay Aleksandrov
ip: route: print and cache detailed nexthop information when requested Nikolay Aleksandrov
ip: nexthop: add a helper which retrieves and prints cached nh entry Nikolay Aleksandrov
ip: nexthop: add cache helpers Nikolay Aleksandrov
ip: nexthop: factor out ipnh_get_id rtnl talk into a helper Nikolay Aleksandrov
ip: nexthop: factor out print_nexthop's nh entry printing Nikolay Aleksandrov
ip: nexthop: parse attributes into nh entry structure before printing Nikolay Aleksandrov
ip: nexthop: add nh entry structure Nikolay Aleksandrov
ip: nexthop: split print_nh_res_group into parse and print parts Nikolay Aleksandrov
ip: nexthop: add resilient group structure Nikolay Aleksandrov
ip: export print_rta_gateway version which outputs prepared gateway string Nikolay Aleksandrov
ip: print_rta_if takes ifindex as device argument instead of attribute Nikolay Aleksandrov
Merge branch 'ax.25-netrom-rose' into next David Ahern
ROSE: Print decoded addresses rather than hex numbers. Ralf Baechle
ROSE: Add rose_ntop implementation. Ralf Baechle
NETROM: Print decoded addresses rather than hex numbers. Ralf Baechle
NETROM: Add netrom_ntop implementation. Ralf Baechle
AX.25: Print decoded addresses rather than hex numbers. Ralf Baechle
AX.25: Add ax25_ntop implementation. Ralf Baechle
lib: bpf_legacy: fix bpffs mount when /sys/fs/bpf exists Andrea Claudi
tc/f_flower: fix port range parsing Puneet Sharma
lib: bpf_legacy: add prog name, load time, uid and btf id in prog info dump Gokul Sivakumar
Merge branch 'main' into next David Ahern
uapi: updates from 5.-rc1 Stephen Hemminger
ip: Support filter links/neighs with no master Lahav Schlesinger
man: ip-macsec: fix gcm-aes-256 formatting issue Lennert Buytenhek
Merge branch 'main' into next David Ahern
Merge branch 'bridge-mcast_router' into next David Ahern
bridge: vlan: add support for mcast_router option Nikolay Aleksandrov
bridge: vlan: set vlan option attributes while parsing Nikolay Aleksandrov
Update kernel headers David Ahern
ip: rewrite routel in python Stephen Hemminger
ip: remove routef script Stephen Hemminger
ip: remove ifcfg script Stephen Hemminger
ip: remove old rtpr script Stephen Hemminger
iptuntap: fix multi-queue flag display David Marchand
man: ip-link: remove double of Nikolay Aleksandrov
configure: restore backward compatibility Luca Boccassi
tree-wide: fix some typos found by Lintian Luca Boccassi
ip: remove leftovers from IPX and DECnet Stephen Hemminger
uapi: update headers from 5. merge Stephen Hemminger
ip/bond: add lacp active support Hangbin Liu
Update kernel headers David Ahern
ip/tunnel: always print all known attributes Ilya Dmitrichenko
ipioam6: use print_nl instead of print_null Justin Iurman
tc/skbmod: Introduce SKBMOD_F_ECN option Peilin Ye
IOAM man8 Justin Iurman
New IOAM6 encap type for routes Justin Iurman
Add, show, link, remove IOAM namespaces and schemas Justin Iurman
Import ioam6 uapi headers David Ahern
Update kernel headers David Ahern
ipneigh: add support to print brief output of neigh cache in tabular format Gokul Sivakumar
Merge branch 'bridge-vlan-global-mcast' into next David Ahern
bridge: vlan: add support for dumping router ports Nikolay Aleksandrov
bridge: vlan: add global mcast_querier option Nikolay Aleksandrov
bridge: vlan: add global mcast_startup_query_interval option Nikolay Aleksandrov
bridge: vlan: add global mcast_query_response_interval option Nikolay Aleksandrov
bridge: vlan: add global mcast_query_interval option Nikolay Aleksandrov
bridge: vlan: add global mcast_querier_interval option Nikolay Aleksandrov
bridge: vlan: add global mcast_membership_interval option Nikolay Aleksandrov
bridge: vlan: add global mcast_last_member_interval option Nikolay Aleksandrov
bridge: vlan: add global mcast_startup_query_count option Nikolay Aleksandrov
bridge: vlan: add global mcast_last_member_count option Nikolay Aleksandrov
bridge: vlan: add global mcast_mld_version option Nikolay Aleksandrov
bridge: vlan: add global mcast_igmp_version option Nikolay Aleksandrov
bridge: vlan: add global mcast_snooping option Nikolay Aleksandrov
bridge: vlan: add support to set global vlan options Nikolay Aleksandrov
bridge: vlan: add support for vlan filtering when dumping options Nikolay Aleksandrov
bridge: vlan: add support to show global vlan options Nikolay Aleksandrov
bridge: vlan: skip unknown attributes when printing options Nikolay Aleksandrov
bridge: vlan: factor out vlan option printing Nikolay Aleksandrov
ip: bridge: add support for mcast_vlan_snooping Nikolay Aleksandrov

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoStart Core Update 163
Peter Müller [Fri, 3 Dec 2021 17:15:43 +0000 (18:15 +0100)] 
Start Core Update 163

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years ago./make.sh lang
Arne Fitzenreiter [Thu, 2 Dec 2021 12:04:03 +0000 (13:04 +0100)] 
./make.sh lang

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoindex.cgi: set arch eol warning link color to white
Arne Fitzenreiter [Thu, 2 Dec 2021 11:59:13 +0000 (12:59 +0100)] 
index.cgi: set arch eol warning link color to white

The link was red on red backround which is unreadable.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agokernel: update to 5.15.6
Arne Fitzenreiter [Thu, 2 Dec 2021 10:34:38 +0000 (11:34 +0100)] 
kernel: update to 5.15.6

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoindex.cgi: fix eol link
Arne Fitzenreiter [Wed, 1 Dec 2021 06:42:06 +0000 (07:42 +0100)] 
index.cgi: fix eol link

<li> not official has a href parameter.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agortl8812au: update to git-307d694...
Arne Fitzenreiter [Tue, 30 Nov 2021 13:12:08 +0000 (14:12 +0100)] 
rtl8812au: update to git-307d694...

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agomountkernfs: fix typo (wrong space character)
Arne Fitzenreiter [Tue, 30 Nov 2021 12:51:13 +0000 (13:51 +0100)] 
mountkernfs: fix typo (wrong space character)

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore162: add systctl.conf to updater
Arne Fitzenreiter [Tue, 30 Nov 2021 08:58:27 +0000 (09:58 +0100)] 
core162: add systctl.conf to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agosysctl: kernel 5.13 has removed some scheduler variables.
Arne Fitzenreiter [Tue, 30 Nov 2021 08:50:38 +0000 (09:50 +0100)] 
sysctl: kernel 5.13 has removed some scheduler variables.

sched_min_granularity_ns and sched_migration_cost_ns are not
available for sysctl anymore. They can only altered via debugfs
if scheduler debugging is enabled.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoissue/motd: add architecture warning also to console and ssh logins.
Arne Fitzenreiter [Tue, 30 Nov 2021 08:35:19 +0000 (09:35 +0100)] 
issue/motd: add architecture warning also to console and ssh logins.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore162: add index.cgi
Arne Fitzenreiter [Tue, 30 Nov 2021 08:34:20 +0000 (09:34 +0100)] 
core162: add index.cgi

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoInform users about the eol of i?86
Jonatan Schlag [Sun, 28 Nov 2021 15:43:52 +0000 (16:43 +0100)] 
Inform users about the eol of i?86

The warning point to a wiki page which is currently in construction.
This should give us the opportunity to add further information for
these users even if we do not provide updates anymore.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agokernel: update arm config and rootfile (oldconfig)
Arne Fitzenreiter [Mon, 29 Nov 2021 09:14:33 +0000 (09:14 +0000)] 
kernel: update arm config and rootfile (oldconfig)

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agorpi-firmware: ignore user from tarball
Arne Fitzenreiter [Sun, 28 Nov 2021 08:28:48 +0000 (08:28 +0000)] 
rpi-firmware: ignore user from tarball

flashimage built will fail because it cannot untar the users
to a fat partition.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore162: add rpi-firmware
Arne Fitzenreiter [Sat, 27 Nov 2021 14:24:18 +0000 (14:24 +0000)] 
core162: add rpi-firmware

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agorpi-firmware: update to 20211127
Arne Fitzenreiter [Sat, 27 Nov 2021 14:21:31 +0000 (14:21 +0000)] 
rpi-firmware: update to 20211127

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocfgroot: install manualpages file
Arne Fitzenreiter [Thu, 25 Nov 2021 16:06:33 +0000 (17:06 +0100)] 
cfgroot: install manualpages file

this fix the 500 internal server error becuase this file
was not installed by the patch that add the wiki links.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agokernel: update to 5.15.5
Arne Fitzenreiter [Thu, 25 Nov 2021 11:26:12 +0000 (11:26 +0000)] 
kernel: update to 5.15.5

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agosuricata: rootfile update
Arne Fitzenreiter [Wed, 24 Nov 2021 19:09:01 +0000 (19:09 +0000)] 
suricata: rootfile update

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoTor: update to 0.4.6.8
Peter Müller [Wed, 24 Nov 2021 11:12:27 +0000 (12:12 +0100)] 
Tor: update to 0.4.6.8

Full changelog as per https://gitweb.torproject.org/tor.git/plain/ChangeLog?h=tor-0.4.6.8:

Changes in version 0.4.6.8 - 2021-10-26
  This version fixes several bugs from earlier versions of Tor. One
  highlight is a fix on how we track DNS timeouts to report general
  relay overload.

  o Major bugfixes (relay, overload state):
    - Relays report the general overload state for DNS timeout errors
      only if X% of all DNS queries over Y seconds are errors. Before
      that, it only took 1 timeout to report the overload state which
      was just too low of a threshold. The X and Y values are 1% and 10
      minutes respectively but they are also controlled by consensus
      parameters. Fixes bug 40491; bugfix on 0.4.6.1-alpha.

  o Minor features (fallbackdir):
    - Regenerate fallback directories for October 2021. Closes
      ticket 40493.

  o Minor features (testing):
    - On a testing network, relays can now use the
      TestingMinTimeToReportBandwidth option to change the smallest
      amount of time over which they're willing to report their observed
      maximum bandwidth. Previously, this was fixed at 1 day. For
      safety, values under 2 hours are only supported on testing
      networks. Part of a fix for ticket 40337.
    - Relays on testing networks no longer rate-limit how frequently
      they are willing to report new bandwidth measurements. Part of a
      fix for ticket 40337.
    - Relays on testing networks now report their observed bandwidths
      immediately from startup. Previously, they waited until they had
      been running for a full day. Closes ticket 40337.

  o Minor bugfix (onion service):
    - Do not flag an HSDir as non-running in case the descriptor upload
      or fetch fails. An onion service closes pending directory
      connections before uploading a new descriptor which can thus lead
      to wrongly flagging many relays and thus affecting circuit building
      path selection. Fixes bug 40434; bugfix on 0.2.0.13-alpha.
    - Improve logging when a bad HS version is given. Fixes bug 40476;
      bugfix on 0.4.6.1-alpha.

  o Minor bugfix (CI, onion service):
    - Exclude onion service version 2 Stem tests in our CI. Fixes bug 40500;
      bugfix on 0.3.2.1-alpha.

  o Minor bugfixes (compatibility):
    - Fix compatibility with the most recent Libevent versions, which no
      longer have an evdns_set_random_bytes() function. Because this
      function has been a no-op since Libevent 2.0.4-alpha, it is safe
      for us to just stop calling it. Fixes bug 40371; bugfix
      on 0.2.1.7-alpha.

  o Minor bugfixes (onion service, TROVE-2021-008):
    - Only log v2 access attempts once total, in order to not pollute
      the logs with warnings and to avoid recording the times on disk
      when v2 access was attempted. Note that the onion address was
      _never_ logged. This counts as a Low-severity security issue.
      Fixes bug 40474; bugfix on 0.4.5.8.

Since we configure Tor to use libseccomp, the latter has been updated
for kernel 5.15 as well, hence we need to ship Tor either way.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolibseccomp: Update to 2.5.3
Peter Müller [Wed, 24 Nov 2021 11:11:48 +0000 (12:11 +0100)] 
libseccomp: Update to 2.5.3

Release annnouncement as per https://github.com/seccomp/libseccomp/releases/tag/v2.5.3:

    Version 2.5.3 - November 5, 2021
        Update the syscall table for Linux v5.15
        Fix issues with multiplexed syscalls on mipsel introduced in v2.5.2
        Document that seccomp_rule_add() may return -EACCES
        Fix issues with test 11-basic-basic_errors on old kernels (API level < 5)

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoPostfix: update to 3.6.3
Peter Müller [Wed, 24 Nov 2021 11:07:43 +0000 (12:07 +0100)] 
Postfix: update to 3.6.3

Please refer to http://www.postfix.org/announcements/postfix-3.6.3.html
for this versions' release announcement.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 162: Ship ddns
Peter Müller [Tue, 23 Nov 2021 20:11:31 +0000 (21:11 +0100)] 
Core Update 162: Ship ddns

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 162: Ship and restart OpenVPN
Peter Müller [Tue, 23 Nov 2021 20:10:57 +0000 (21:10 +0100)] 
Core Update 162: Ship and restart OpenVPN

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 162: Remove jwhois, ship currently maintained whois client
Peter Müller [Tue, 23 Nov 2021 22:48:32 +0000 (23:48 +0100)] 
Core Update 162: Remove jwhois, ship currently maintained whois client

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agojwhois: Remove jwhois and all associated patches
Adolf Belka [Fri, 6 Aug 2021 11:16:42 +0000 (13:16 +0200)] 
jwhois: Remove jwhois and all associated patches

- jwhois being replaced with whois
- Removal of jwhois lfs, rootfile and assoicated patch files.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agowhois: Installation of aan actively maintained whois client
Adolf Belka [Fri, 6 Aug 2021 11:16:41 +0000 (13:16 +0200)] 
whois: Installation of aan actively maintained whois client

- This whois client is being actively maintained. This version 5.5.10 was released on
   June 6th 2021 and regular updates have been ocurring several times per year.
- This client has all of its default whois servers compiled into it. These can be seen
   by reading the source files in the tarball.
- Therefore the whois.conf file is available for any additional servers that are decided
   to be required but as provided is empty.
- Installed on a vm testbed and worked to identify the details of ip addresses. Selecting
   an IP in the WUI logs screen also gets the ip information provided so it is working
   well with the WUI.

Tested-by:Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agomake.sh: Remove jwhois and replace with whois
Adolf Belka [Fri, 6 Aug 2021 11:16:40 +0000 (13:16 +0200)] 
make.sh: Remove jwhois and replace with whois

- jwhois is no longer being maintained. The last release was from 2005 and the last commit
   was in 2015. https://github.com/jonasob/jwhois
- Debian switched to another whois client which is being actively maintained.
   https://github.com/rfc1036/whois
- This patch series is the removal of jwhois and the installation of whois

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 162: Ship dhcpcd
Peter Müller [Tue, 23 Nov 2021 22:42:58 +0000 (23:42 +0100)] 
Core Update 162: Ship dhcpcd

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agodhcpcd: Update to 9.4.1
Matthias Fischer [Mon, 1 Nov 2021 17:30:53 +0000 (18:30 +0100)] 
dhcpcd: Update to 9.4.1

For details see:
https://roy.marples.name/git/dhcpcd/shortlog/refs/heads/dhcpcd-9

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
2 years agoCore Update 162: Ship slang
Peter Müller [Tue, 23 Nov 2021 22:39:28 +0000 (23:39 +0100)] 
Core Update 162: Ship slang

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoslang: Update to version 2.3.2
Adolf Belka [Tue, 28 Sep 2021 21:21:39 +0000 (23:21 +0200)] 
slang: Update to version 2.3.2

- Update from 2.3.0 to 2.3.2
- Update rootfile
- Changelog is too large to include here. Details can be found in the changes.txt file in
   the source tarball.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agoCore Update 162: Ship sshfs
Peter Müller [Tue, 23 Nov 2021 22:37:29 +0000 (23:37 +0100)] 
Core Update 162: Ship sshfs

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agosshfs: Update to version 3.7.2
Adolf Belka [Tue, 28 Sep 2021 21:21:56 +0000 (23:21 +0200)] 
sshfs: Update to version 3.7.2

- Update from 3.7.1 to 3.7.2
- Update of rootfile not required
- Changelog
   Release 3.7.2 (2021-06-08)
     * Added a secondary check so if a mkdir request fails with EPERM an access request
       will be tried - returning EEXIST if the access was successful.
Fixes: https://github.com/libfuse/sshfs/issues/243
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agosslh: Update to version 1.22c
Adolf Belka [Tue, 28 Sep 2021 21:22:10 +0000 (23:22 +0200)] 
sslh: Update to version 1.22c

- Update from 1.7a (2013) to 1.22c (2021)
- Update rootfile
- Changelog is too large to include here. Full details can be read in the ChangeLog file
   in the source tarball

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agostrace: Update to version 5.14
Adolf Belka [Tue, 28 Sep 2021 21:22:32 +0000 (23:22 +0200)] 
strace: Update to version 5.14

- Update from 5.11 to 5.14
- Update of rootfile not required
- Changelog
   Noteworthy changes in release 5.14 (2021-09-02)
    * Improvements
      * Implemented decoding of memfd_secret and quotactl_fd syscalls,
        introduced in Linux 5.14.
      * Enhanced prctl syscall decoding.
      * Enhanced decoding of IFLA_* netlink attributes.
      * Enhanced decoding of MDBA_ROUTER_PATTR_* mdb router port netlink attributes.
      * Updated lists of BPF_*, IORING_*, MADV_*, MOUNT_ATTR_*, SCTP_*,
        and UFFD_* constants.
      * Updated lists of ioctl commands from Linux 5.14.
    * Bug fixes
      * Fixed build using bionic libc.
   Noteworthy changes in release 5.13 (2021-07-18)
    * Improvements
      * Print netlink data in a more structured way.
      * Implemented decoding of NT_PRSTATUS and NT_FPREGSET regsets
        of PTRACE_GETREGSET and PTRACE_SETREGSET requests.
      * Implemented decoding of regs argument of PTRACE_GETREGS, PTRACE_GETREGS64,
        PTRACE_SETREGS, PTRACE_SETREGS64, PTRACE_GETFPREGS, and PTRACE_SETFPREGS
        requests.
      * Implemented powerpc System Call Vectored ABI support.
      * Implemented decoding of landlock_add_rule, landlock_create_ruleset,
        and landlock_restrict_self syscalls introduced in Linux 5.13.
      * Enhanced decoding of perf_event_open syscall.
      * Updated lists of BPF_*, IORING_*, KEXEC_*, KEY_*, KVM_*, NT_*, PR_*,
        PTRACE_*, RTM_*, RTPROT_*, TRAP_*, UFFD_*, UFFDIO_*, and V4L2_* constants.
      * Updated lists of ioctl commands from Linux 5.13.
    * Portability
      * On powerpc and powerpc64, linux kernel >= 2.6.23 is required.
        Older versions without a decent PTRACE_GETREGS support will not work.
   Noteworthy changes in release 5.12 (2021-04-26)
    * Improvements
      * Implemented --secontext[=full] option to display SELinux contexts.
      * Implemented decoding of mount_setattr syscall introduced in Linux 5.12.
      * Updated decoding of IFLA_BRPORT_* netlink attributes to match Linux 5.12.
      * Updated lists of DEVCONF_*, IORING_*, KVM_*, MPOL_*, MTD_*, NFT_MSG_*,
        RESOLVE_*, RTM_*, ST_*, and V4L2_* constants.
      * Updated lists of ioctl commands from Linux 5.12.
    * Bug fixes
      * Fixed build using bionic libc.
    * Portability
      * Added binutils 2.36 support to --enable-mpers builds.
- More details of the above changes can be found in the ChangeLog file in the source
   tarball

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agoCore Update 162: Ship bind and libuv
Peter Müller [Tue, 23 Nov 2021 22:35:06 +0000 (23:35 +0100)] 
Core Update 162: Ship bind and libuv

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolibuv: Required for build and run of bind utilities
Adolf Belka [Thu, 11 Nov 2021 08:14:49 +0000 (09:14 +0100)] 
libuv: Required for build and run of bind utilities

- Install libuv lfs and rootfile
- Add libuv to make.sh
- Tested by running bind utilities on a vm testbed

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agobind: Update to version 9.16.22
Adolf Belka [Thu, 11 Nov 2021 08:14:48 +0000 (09:14 +0100)] 
bind: Update to version 9.16.22

- Update from 9.11.32 to 9.16.22
- 9.11 is an ESV (Extended Support Version) that will go EOL in December 2021
  9.16 is the replacement ESV whose EOL is not yet defined but will be at least 4 years
   so should be supported until at least March 2024 as the 9.16 branch was started in 2020
- Update rootfile
- libuv is now required both to build the bind libraries and for the running of the
   utilities.
- Changelog is difficult to define here as this is a change of branch from 9.11 to 9.16
   both of which have been running in parallel. However all the changes from the start of
   9.16.0 can be found in the CHANGES file in the source tarball.
- nslookup, host and dig utilities tested out by installing this on a vm testbed. All
   these utilities worked as the previous version
   nsupdate was not able to be tested other than confirming that running nsupdate
   opened an interactive session. This utility would be good to be tested by someone
   familiar with how to run it.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agoRun "./make.sh lang"
Michael Tremer [Wed, 20 Oct 2021 09:21:35 +0000 (09:21 +0000)] 
Run "./make.sh lang"

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 162: Ship changed firewall initscript
Peter Müller [Tue, 23 Nov 2021 22:25:13 +0000 (23:25 +0100)] 
Core Update 162: Ship changed firewall initscript

Restarting the firewall is not necessary during the upgrade procedure,
and the user is asked to reboot the machine afterwards either way.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agofirewall: Remove unused CONNTRACK chain in raw table
Michael Tremer [Thu, 24 Jun 2021 17:44:35 +0000 (17:44 +0000)] 
firewall: Remove unused CONNTRACK chain in raw table

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 162: Ship vpnmain.cgi
Peter Müller [Tue, 23 Nov 2021 22:22:52 +0000 (23:22 +0100)] 
Core Update 162: Ship vpnmain.cgi

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoipsec: Prefer curve448 over curve25519
Michael Tremer [Mon, 14 Jun 2021 09:33:46 +0000 (10:33 +0100)] 
ipsec: Prefer curve448 over curve25519

Curve448 provides better cryptographic security. For more details see:

  https://bugzilla.ipfire.org/show_bug.cgi?id=12634

Fixes: #12634
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 162: Ship proxy.cgi
Peter Müller [Tue, 23 Nov 2021 22:17:29 +0000 (23:17 +0100)] 
Core Update 162: Ship proxy.cgi

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoproxy.cgi: Fix translation string mix-up
Peter Müller [Sun, 10 Oct 2021 19:49:49 +0000 (21:49 +0200)] 
proxy.cgi: Fix translation string mix-up

"advproxy advanced web proxy" was meant to be used in the first place,
followed by "advproxy advanced web proxy configuration", as it is done
in other CGIs.

This patch also fixes a missing German translation, and improves
translations of "one X per line" ("eines" != "eins"). :-)

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agomeson: Update to version 0.59.2
Adolf Belka [Wed, 20 Oct 2021 20:29:23 +0000 (22:29 +0200)] 
meson: Update to version 0.59.2

- Update from 0.58.0 to 0.59.2
- Update rootfile
- Changelog is too long to include here.
   Full details can be read at https://mesonbuild.com/Release-notes-for-0-59-0.html

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobison: Update to version 3.8.2
Adolf Belka [Wed, 20 Oct 2021 20:27:58 +0000 (22:27 +0200)] 
bison: Update to version 3.8.2

- Update from 3.7.6 to 3.8.2
- Update rootfile
- Changelog
   Noteworthy changes in release 3.8.2 (2021-09-25) [stable]
     Fixed portability issues of bison on Cygwin.
     Improvements in glr2.cc: add support for custom error messages (`%define
      parse.error custom`), allow linking several parsers together.
   Noteworthy changes in release 3.8.1 (2021-09-11) [stable]
     The generation of prototypes for yylex and yyerror in Yacc mode is
      breaking existing grammar files.  To avoid breaking too many grammars, the
      prototypes are now generated when `-y/--yacc` is used *and* the
      `POSIXLY_CORRECT` environment variable is defined.
     Avoid using `-y`/`--yacc` simply to comply with Yacc's file name
      conventions, rather, use `-o y.tab.c`.  Autoconf's AC_PROG_YACC macro uses
      `-y`.  Avoid it if possible, for instance by using gnulib's gl_PROG_BISON.
   Noteworthy changes in release 3.8 (2021-09-07) [stable]
    ** Backward incompatible changes
     In conformance with the recommendations of the Graphviz team
      (https://marc.info/?l=graphviz-devel&m=129418103126092), `-g`/`--graph`
      now generates a *.gv file by default, instead of *.dot.  A transition
      started in Bison 3.4.
     To comply with the latest POSIX standard, in Yacc compatibility mode
      (options `-y`/`--yacc`) Bison now generates prototypes for yyerror and
      yylex.  In some situations, this is breaking compatibility: if the user
      has already declared these functions but with some differences (e.g., to
      declare them as static, or to use specific attributes), the generated
      parser will fail to compile.  To disable these prototypes, #define yyerror
      (to `yyerror`), and likewise for yylex.
    ** Deprecated features
     Support for the YYPRINT macro is removed. It worked only with yacc.c and
      only for tokens.  It was obsoleted by %printer, introduced in Bison 1.50
      (November 2002).
     It has always been recommended to prefer `%define api.value.type foo` to
      `#define YYSTYPE foo`.  The latter is supported in C for compatibility
      with Yacc, but not in C++.  Warnings are now issued if `#define YYSTYPE`
      is used in C++, and eventually support will be removed.
     In C++ code, prefer value_type to semantic_type to denote the semantic
      value type, which is specified by the `api.value.type` %define variable.
    ** New features
    *** A skeleton for the D programming language
     The "lalr1.d" skeleton is now officially part of Bison.
     It was originally contributed by Oliver Mangold, based on Paolo Bonzini's
      lalr1.java, and was improved by H. S. Teoh.  Adela Vais then took over
      maintenance and invested a lot of efforts to complete, test and document
      it.
     It now supports all the bells and whistles of the other deterministic
      parsers, which include: pull/push interfaces, verbose and custom error
      messages, lookahead correction, token constructors, internationalization,
      locations, printers, token and symbol prefixes, etc.
     Two examples demonstrate the D parsers: a basic one (examples/d/simple),
      and an advanced one (examples/d/calc).
    *** Option -H, --header and directive %header
     The option `-H`/`--header` supersedes the option `--defines`, and the
      directive %header supersedes %defines.  Both `--defines` and `%defines`
      are, of course, maintained for backward compatibility.
    *** Option --html
     Since version 2.4 Bison can be used to generate HTML reports.  However it
      was a two-step process: first bison must be invoked with option `--xml`,
      and then xsltproc must be run to the convert the XML reports into HTML.
     The new option `--html` combines these steps.  The xsltproc program must
      be available.
    *** A C++ native GLR parser
     A new version of the C++ GLR parser was added: "glr2.cc".  It generates
      "true C++11", instead of a C++ wrapper around a C parser as does the
      existing "glr.cc" parser.  As a first significant consequence, it supports
      `%define api.value.type variant`, contrary to glr.cc.
     It should be upward compatible in terms of interface, feature and
      performance to "glr.cc". To try it out, simply use
      %skeleton "glr2.cc"
     It will eventually replace "glr.cc".  However we need user feedback on
      this skeleton.  _Please_ report your results and comments about it.
    *** Counterexamples
     Counterexamples now show the rule numbers, and always show ε for rules
      with an empty right-hand side.  For instance
        exp
        ↳ 1: e1       e2     "a"
             ↳ 3: ε • ↳ 1: ε
      instead of
        exp
        ↳ e1  e2  "a"
          ↳ • ↳ ε
    *** Lookahead correction in Java
     The Java skeleton (lalr1.java) now supports LAC, via the `parse.lac`
      %define variable.
    *** Abort parsing for memory exhaustion (C)
     User actions may now use `YYNOMEM` (similar to `YYACCEPT` and `YYABORT`)
      to abort the current parse with memory exhaustion.
    *** Printing locations in debug traces (C)
     The `YYLOCATION_PRINT(File, Loc)` macro prints a location.  It is defined
      when (i) locations are enabled, (ii) the default type for locations is
      used, (iii) debug traces are enabled, and (iv) `YYLOCATION_PRINT` is not
      already defined.
     Users may define `YYLOCATION_PRINT` to cover other cases.
    *** GLR traces
     There were no debug traces for deferred calls to user actions.  They are
      logged now.
   Noteworthy changes in release 3.7.6 (2021-03-08) [stable]
    ** Bug fixes
    *** Reused Push Parsers
     When a push-parser state structure is used for multiple parses, it was
      possible for some state to leak from one run into the following one.
    *** Fix Table Generation
     In some very rare conditions, when there are many useless tokens, it was
      possible to generate incorrect parsers.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosuricata: Handle retransmitted SYN with TSval
Michael Tremer [Fri, 19 Nov 2021 17:44:58 +0000 (17:44 +0000)] 
suricata: Handle retransmitted SYN with TSval

Read more in the patch.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoIPS: Do not try to show rules when stat on rules tarball fails
Michael Tremer [Fri, 19 Nov 2021 17:44:57 +0000 (17:44 +0000)] 
IPS: Do not try to show rules when stat on rules tarball fails

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosuricata: This package is supported on all architectures
Michael Tremer [Fri, 19 Nov 2021 17:44:55 +0000 (17:44 +0000)] 
suricata: This package is supported on all architectures

There is no need to list them specifically.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosuricata: Drop extra rootfiles
Michael Tremer [Fri, 19 Nov 2021 17:44:54 +0000 (17:44 +0000)] 
suricata: Drop extra rootfiles

These are all the same and not different from what is in
config/rootfiles/common/suricata.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agorust: Drop Cargo home directory after build
Michael Tremer [Fri, 19 Nov 2021 17:44:53 +0000 (17:44 +0000)] 
rust: Drop Cargo home directory after build

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosuricata: Include all default rules
Michael Tremer [Fri, 19 Nov 2021 17:44:52 +0000 (17:44 +0000)] 
suricata: Include all default rules

These rules do not drop anything, but only alert when internal parts of
the engine trigger an event. This will allow us more insight on what is
happening.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 162: Ship jansson
Peter Müller [Tue, 23 Nov 2021 21:51:55 +0000 (22:51 +0100)] 
Core Update 162: Ship jansson

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agojansson: Update to version 2.14
Adolf Belka [Wed, 20 Oct 2021 20:29:05 +0000 (22:29 +0200)] 
jansson: Update to version 2.14

- Update from 2.12 to 2.14
- Update rootfile
- Changelog
   Version 2.14 Released 2021-09-09
    * New Features:
      - Add `json_object_getn`, `json_object_setn`, `json_object_deln`, and the
        corresponding `nocheck` functions. (#520, by Maxim Zhukov)
    * Fixes:
      - Handle `sprintf` corner cases (#537, by Tobias Stoeckmann)
    * Build:
      - Symbol versioning for all exported symbols (#540, by Simon McVittie)
      - Fix compiler warnings (#555, by Kelvin Lee)
    * Documentation:
      - Small fixes (#544, #546, by @i-ky)
      - Sphinx 3 compatibility (#543, by Pierce Lopez)
   Version 2.13.1 Released 2020-05-07
    * Build:
      - Include `jansson_version_str()` and `jansson_version_cmp()` in
        shared library. (#534)
      - Include ``scripts/`` in tarball. (#535)
   Version 2.13 Released 2020-05-05
    * New Features:
      - Add `jansson_version_str()` and `jansson_version_cmp()` for runtime
        version checking (#465).
      - Add `json_object_update_new()`, `json_object_update_existing_new()`
        and `json_object_update_missing_new()` functions (#499).
      - Add `json_object_update_recursive()` (#505).
    * Build:
      - Add ``-Wno-format-truncation`` to suppress format truncation warnings (#489).
    * Bug fixes:
      - Remove ``strtod`` macro definition for MinGW (#498).
      - Add infinite loop check in `json_deep_copy()` (#490).
      - Add ``pipe`` macro definition for MinGW (#500).
      - Enhance ``JANSSON_ATTRS`` macro to support earlier C standard(C89) (#501).
      - Update version detection for sphinx-build (#502).
    * Documentation:
      - Fix typos (#483, #494).
      - Document that call the custom free function to free the return value
        of `json_dumps()` if you have a custom malloc/free (#490).
      - Add vcpkg installation instructions (#496).
      - Document that non-blocking file descriptor is not supported on
        `json_loadfd()` (#503).

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 162: Ship libhtp and Suricata, restart the latter
Peter Müller [Tue, 23 Nov 2021 21:49:06 +0000 (22:49 +0100)] 
Core Update 162: Ship libhtp and Suricata, restart the latter

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 162: Ship libxcrypt
Peter Müller [Tue, 23 Nov 2021 20:13:12 +0000 (21:13 +0100)] 
Core Update 162: Ship libxcrypt

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolibhtp: Update to 0.5.39
Matthias Fischer [Sat, 20 Nov 2021 12:47:32 +0000 (13:47 +0100)] 
libhtp: Update to 0.5.39

For details see:
https://github.com/OISF/libhtp/releases/tag/0.5.39

"0.5.39 (16 Nov 2021)
 --------------------

- host: ipv6 address is a valid host
- util: one char is not always empty line
- test and fuzz improvements"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosuricata: Update to 5.0.8
Matthias Fischer [Sat, 20 Nov 2021 12:47:31 +0000 (13:47 +0100)] 
suricata: Update to 5.0.8

For details see:
https://forum.suricata.io/t/suricata-6-0-4-and-5-0-8-released/1942

"Various security, performance, accuracy and stability issues have been fixed,
including two TCP evasion issues. CVE 2021-37592 was assigned."

Changelog:

"5.0.8 -- 2021-11-16

Security #4635: tcp: crafted injected packets cause desync after 3whs
Security #4727: Bypass of Payload Detection on TCP RST with options of MD5header
Bug #4345: Failed assert in TCPProtoDetectCheckBailConditions size_ts > 1000000UL
Bug #4382: fileinfo "stored: false" even if the file is kept on disk
Bug #4626: DNP3: intra structure overflow in DNP3DecodeObjectG70V6
Bug #4628: alert count shows up as 0 when stats are disabled
Bug #4631: Protocol detection : confusion with SMB in midstream
Bug #4639: Failed assertion in SMTP SMTPTransactionComplete
Bug #4646: TCP reassembly, failed assert app_progress > last_ack_abs, both sides need to be pruned
Bug #4647: rules: Unable to find the sm in any of the sm lists
Bug #4674: rules: mix of drop and pass rules issues
Bug #4676: rules: drop rules with noalert not fully dropping
Bug #4688: detect: too many prefilter engines lead to FNs
Bug #4690: nfs: failed assert self.tx_data.files_logged > 1
Bug #4691: IPv6 : decoder event on invalid fragment length
Bug #4696: lua: file info callback returns wrong value
Bug #4718: protodetect: SEGV due to NULL ptr deref
Bug #4729: ipv6 evasions : fragmentation
Bug #4788: Memory leak in SNMP with DetectEngineState
Bug #4790: af-packet: threads sometimes get stuck in capture
Bug #4794: loopback: different AF_INET6 values per OS
Bug #4816: flow-manager: cond_t handling in emergency mode is broken
Bug #4831: SWF decompression overread
Bug #4833: Wrong list_id with transforms for http_client_body and http file_data
Optimization #3429: improve err msg for dataset rules parsing
Task #4835: libhtp 0.5.39"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocore162: add connections.cgi
Arne Fitzenreiter [Wed, 24 Nov 2021 08:56:23 +0000 (08:56 +0000)] 
core162: add connections.cgi

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoconnections.cgi: fix connection list if green interface is not present
Arne Fitzenreiter [Wed, 24 Nov 2021 07:54:47 +0000 (07:54 +0000)] 
connections.cgi: fix connection list if green interface is not present

if green interface not exist the cgi adds empty addresses to the arrays and
display nothing.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore162: add unbound initskript
Arne Fitzenreiter [Wed, 24 Nov 2021 07:52:04 +0000 (07:52 +0000)] 
core162: add unbound initskript

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agounbound: initskript change server for dns test
Arne Fitzenreiter [Wed, 24 Nov 2021 07:44:14 +0000 (07:44 +0000)] 
unbound: initskript change server for dns test

if the system time is incorrect DNSSec validation fail but it fails sometimes for pool.ntp.org already but not for ping.ipfire.org.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agokernel: update to 5.15.4
Arne Fitzenreiter [Wed, 24 Nov 2021 07:42:25 +0000 (07:42 +0000)] 
kernel: update to 5.15.4

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore162: apply local sshd config and restart
Arne Fitzenreiter [Wed, 24 Nov 2021 02:46:45 +0000 (02:46 +0000)] 
core162: apply local sshd config and restart

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore162: remove old kernel
Arne Fitzenreiter [Wed, 24 Nov 2021 02:43:47 +0000 (02:43 +0000)] 
core162: remove old kernel

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore162: add changed files to updater
Arne Fitzenreiter [Wed, 24 Nov 2021 02:42:31 +0000 (02:42 +0000)] 
core162: add changed files to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agostart core162 (based on kerneltest-5.15)
Arne Fitzenreiter [Tue, 23 Nov 2021 18:08:39 +0000 (18:08 +0000)] 
start core162 (based on kerneltest-5.15)

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoMerge remote-tracking branch 'arne_f/kernel-5.15' into next
Arne Fitzenreiter [Tue, 23 Nov 2021 18:05:41 +0000 (18:05 +0000)] 
Merge remote-tracking branch 'arne_f/kernel-5.15' into next

2 years agokernel: rootfile update
Arne Fitzenreiter [Sun, 21 Nov 2021 18:31:49 +0000 (19:31 +0100)] 
kernel: rootfile update

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agokernel: update to 5.15.3
Arne Fitzenreiter [Sat, 20 Nov 2021 23:38:55 +0000 (23:38 +0000)] 
kernel: update to 5.15.3

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agokernel: aarch64 enable ath5k wlan driver
Arne Fitzenreiter [Sat, 20 Nov 2021 23:38:06 +0000 (23:38 +0000)] 
kernel: aarch64 enable ath5k wlan driver

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoQoS: Do not try to unload any kernel modules
Michael Tremer [Tue, 2 Nov 2021 10:53:10 +0000 (10:53 +0000)] 
QoS: Do not try to unload any kernel modules

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agodnsdist: Update to 1.6.1
Michael Tremer [Thu, 23 Sep 2021 11:54:36 +0000 (11:54 +0000)] 
dnsdist: Update to 1.6.1

This patch makes this package available for aarch64. There are no
reasons why it shouldn't be.

Compiling has become more resource-hungry which is why the memory
consumption per process has been upped to 3GiB.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agoFix translations and clean general-functions.pl
Leo-Andres Hofmann [Tue, 28 Sep 2021 11:09:06 +0000 (13:09 +0200)] 
Fix translations and clean general-functions.pl

This patch fixes two wrong translations now used by the new
user manual links feature and removes an abandoned constant.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Tested-by: Bernhard Bitsch <bbitsch@ipfire.org>
2 years agomake.sh: Add check-manualpages function
Leo-Andres Hofmann [Tue, 28 Sep 2021 11:09:05 +0000 (13:09 +0200)] 
make.sh: Add check-manualpages function

This patch adds a function to verify the user manual links
configuration file at build time.
Run with "./make.sh check-manualpages"

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
2 years agowebinterface: Add links to the configuration wiki
Leo-Andres Hofmann [Tue, 28 Sep 2021 11:09:04 +0000 (13:09 +0200)] 
webinterface: Add links to the configuration wiki

This patch adds a little "help" icon to the page header.
If a manual entry exists for a configuration page, the icon
appears and offers a quick way to access the wiki.
Wiki pages can be configured in the "manualpages" file.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Tested-by: Bernhard Bitsch <bbitsch@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agolibffi: Update to version 3.4.2
Adolf Belka [Sat, 23 Oct 2021 16:50:00 +0000 (18:50 +0200)] 
libffi: Update to version 3.4.2

- Update from 3.3 to 3.4.2
- Update rootfile - No dependency issues due to so bump
- Changelog
   3.4.2 Jun-28-21
     Add static trampoline support for Linux on x86_64 and ARM64.
     Add support for Alibaba's CSKY architecture.
     Add support for Kalray's KVX architecture.
     Add support for Intel Control-flow Enforcement Technology (CET).
     Add support for ARM Pointer Authentication (PA).
     Fix 32-bit PPC regression.
     Fix MIPS soft-float problem.
     Enable tmpdir override with the $LIBFFI_TMPDIR environment variable.
     Enable compatibility with MSVC runtime stack checking.
     Reject float and small integer argument in ffi_prep_cif_var().
       Callers must promote these types themselves.
   3.3 Nov-23-19
     Add RISC-V support.
     New API in support of GO closures.
     Add IEEE754 binary128 long double support for 64-bit Power
     Default to Microsoft's 64-bit long double ABI with Visual C++.
     GNU compiler uses 80 bits (128 in memory) FFI_GNUW64 ABI.
     Add Windows on ARM64 (WOA) support.
     Add Windows 32-bit ARM support.
     Raw java (gcj) API deprecated.
     Add pre-built PDF documentation to source distribution.
     Many new test cases and bug fixes.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agogawk: Update to version 5.1.1
Adolf Belka [Tue, 2 Nov 2021 10:07:20 +0000 (11:07 +0100)] 
gawk: Update to version 5.1.1

- Update from 5.1.0 to 5.1.1
- Update rootfile
- Changelog is quite long and detailed so the following are the high level descriptions
   of the changes from the NEWS file in the source tarball. More details can be found in
   the ChangeLog file in the source tarball.
    Changes from 5.1.0 to 5.1.1
     1. Infrastructure upgrades: Bison 3.8, Gettext 0.20.2, Automake 1.16.4,
        and (will wonders never cease) Autoconf 2.71.
     2. asort and asorti now allow FUNCTAB and SYMTAB as the first argument if a
        second destination array is supplied. Similarly, using either array as
        the second argument is now a fatal error. Additionally, using either
        array as the destination for split(), match(), etc. also causes a
        fatal error.
     3. The new -I/--trace option prints a trace of the byte codes as they
        are executed.
     4. A number of subtle bugs relating to MPFR mode that caused differences
        between regular operation and MPFR mode have been fixed.
     5. The API now handles MPFR/GMP values slightly differently, requiring
        different memory management for those values. See the manual for the
        details if you have an extension using those values.  As a result,
        the minor version was incremented.
     6. $0 and the fields are now cleared before starting a BEGINFILE rule.
     7. The duplication of m4 and build-aux directories between the main
        directory and the extension directory has been removed. This
        simplifies the distribution.
     8. The test suite has been improved, making it easier to run the entire
        suite with -M. Use `GAWK_TEST_ARGS=-M make check' to do so.
     9. Profiling and pretty-printing output has been modified slightly so
        that functions are presented in a reasonable order with respect
        to the namespaces that contain them.
     10. Several example programs in the manual have been updated to their
         modern POSIX equivalents.
     11. A number of examples in doc/gawkinet.texi have been updated for
         current times. Thanks to Juergen Kahrs for the work.
     12. Handling of Infinity and NaN values has been improved.
     13. There has been a general tightening up of the use of const and
         of types.
     14. The "no effect" lint warnings have been fixed up and now behave
         more sanely.
     15. The manual has been updated with much more information about what is
         and is not a bug, and the changes in the gawk mailing lists.
     16. The behavior of strongly-typed regexp constants when passed as the
         third argument to sub() or gsub() has been clarified in the code and
         in the manual.
     17. Similar to item #4 above, division by zero is now fatal in MPFR
         mode, as it is in regular mode.
     18. There have been numerous minor code cleanups and bug fixes. See the
         ChangeLog for details.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agolibxcrypt: Update to version 4.4.26
Adolf Belka [Sun, 26 Sep 2021 10:37:00 +0000 (12:37 +0200)] 
libxcrypt: Update to version 4.4.26

- v2 version is to extend from 4.4.25 to 4.4.26
- Update from 4.4.23 to 4.4.26
- Update of rootfile not required
- Changelog
   Version 4.4.26
    * Fix compilation on systems with GCC >= 10, that do not support
      declarations with __attribute__((symver)).
   Version 4.4.25
    * Add support for Python 3.11 in the configure script.
    * Stricter checking of invalid salt characters (issue #135).
      Hashed passphrases are always entirely printable ASCII, and do
      not contain any whitespace or the characters ':', ';', '*', '!',
      or '\'.  (These characters are used as delimiters and special
      markers in the passwd(5) and shadow(5) files.)
   Version 4.4.24
    * Add hash group for Debian in lib/hashes.conf.
      Debian has switched to use the yescrypt hashing algorithm as
      the default for new user passwords, so we should add a group
      for this distribution.
    * Overhaul the badsalt test.
      Test patterns are now mostly generated rather than manually coded
      into a big table.  Not reading past the end of the “setting” part
      of the string is tested more thoroughly (this would have caught the
      sunmd5 $$ bug if it had been available at the time).
      Test logs are tidier.
    * Add ‘test-programs’ utility target to Makefile.
      It is sometimes useful to compile all the test programs but not run
      them.  Add a Makefile target that does this.
    * Fix incorrect bcrypt-related ifdeffage in test/badsalt.c.
      The four variants of bcrypt are independently configurable, but the
      badsalt tests for them were all being toggled by INCLUDE_bcrypt,
      which is only the macro for the $2b$ variant.
    * Fix bigcrypt-related test cases in test/badsalt.c.
      The test spec was only correct when both or neither of bigcrypt and
      descrypt were enabled.
    * Detect ASan in configure and disable incompatible tests.
      ASan’s “interceptors” for crypt and crypt_r have a semantic conflict
      with libxcrypt, requiring a few tests to be disabled for builds with
      -fsanitize-address.  See commentary in test/crypt-badargs.c for an
      explanation of the conflict, and the commentary in
      build-aux/zw_detect_asan.m4 for why a configure test is required.
    * Fix several issues found by Covscan in the testsuite.  These include:
      - CWE-170: String not null terminated (STRING_NULL)
      - CWE-188: Reliance on integer endianness (INCOMPATIBLE_CAST)
      - CWE-190: Unintentional integer overflow (OVERFLOW_BEFORE_WIDEN)
      - CWE-569: Wrong sizeof argument (SIZEOF_MISMATCH)
      - CWE-573: Missing varargs init or cleanup (VARARGS)
      - CWE-687: Argument cannot be negative (NEGATIVE_RETURNS)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>