]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/log
people/mfischer/ipfire-2.x.git
18 months agodhcp: Update to 4.4.3-P1 dhcp
Matthias Fischer [Fri, 7 Oct 2022 19:57:16 +0000 (21:57 +0200)] 
dhcp: Update to 4.4.3-P1

For details see:
https://downloads.isc.org/isc/dhcp/4.4.3-P1/dhcp-4.4.3-P1-RELNOTES

Changelog since 4.4.1 is rather long...

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
18 months agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
Matthias Fischer [Fri, 7 Oct 2022 16:16:32 +0000 (18:16 +0200)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next

18 months agounbound-dhcp-leases-bridge: Fall back to the default domain
Michael Tremer [Tue, 4 Oct 2022 13:32:47 +0000 (13:32 +0000)] 
unbound-dhcp-leases-bridge: Fall back to the default domain

When the bridge cannot detect a domain name for any of the leases, it
uses localdomain which is not always the best choice. So instead, this
patches changes the behaviour that we read the default domain of the
firewall.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
18 months agoCore Update 171: Ship setclock initscript
Peter Müller [Tue, 4 Oct 2022 14:48:04 +0000 (14:48 +0000)] 
Core Update 171: Ship setclock initscript

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
18 months agoinitscripts: load RTC module (RX8025) for Ten64 board
Mathew McBride [Mon, 3 Oct 2022 06:20:19 +0000 (06:20 +0000)] 
initscripts: load RTC module (RX8025) for Ten64 board

For reasons I have not been able to determine, the RTC
module for the Ten64 board (rtc-rx8025) is not automatically
loaded at startup, despite every other relevant modules being
loaded.

modprobe it manually if we are on a Ten64 board.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agoconfig: u-boot: bypass the u-boot script on Traverse Ten64
Mathew McBride [Mon, 3 Oct 2022 06:20:18 +0000 (06:20 +0000)] 
config: u-boot: bypass the u-boot script on Traverse Ten64

The Ten64 board runs a U-Boot which works best directly
booting EFI. Attempting to load your own DTB or other steps
will cause issues.
(see https://ten64doc.traverse.com.au/faq/#common-issues)

The current stable Ten64 firmware unfortunately searches for
boot.scr before bootaa64.efi. So redirect it back to the EFI path.

A future Ten64 firmware package will prefer EFI first before
any boot script avoiding this issue. I will provide a patch
reversing this when that day comes.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agokernel: add patches for SFP support on NXP Layerscape/DPAA2 (arm64)
Mathew McBride [Mon, 3 Oct 2022 06:20:17 +0000 (06:20 +0000)] 
kernel: add patches for SFP support on NXP Layerscape/DPAA2 (arm64)

These two patches are needed to support SFP's on NXP DPAA2 platforms
(e.g Traverse Ten64).

The deadlock issue patch was submitted upstream a while ago and
rejected, however I am not aware of any better solutions at present.

The 10G mode additions are part of mainline since 5.16.

These two .patches were sourced from our patchset over here:
https://gitlab.com/traversetech/traverse-kernel-patches/-/tree/lts-5-15/patches

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agolinux: enable options for NXP Layerscape
Mathew McBride [Mon, 3 Oct 2022 06:20:16 +0000 (06:20 +0000)] 
linux: enable options for NXP Layerscape

This change enables support for NXP's QorIQ/Layerscape platforms,
specifically the Traverse Technologies Ten64 (LS1088A).

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agorsync: Update to version 3.2.6 and fix Bug#12947
Adolf Belka [Tue, 4 Oct 2022 10:54:42 +0000 (12:54 +0200)] 
rsync: Update to version 3.2.6 and fix Bug#12947

- Update from version 3.2.4 plus CVE-2022-29154 patch to 3.2.6
- Patch for CVE-2022-29154 applied  in CU170 turned out to have a bug within it causing
   rsync to fail with an error. Four additional commits were done to fix this bug and
   its consequences but these were all applied in the rsync git repo after the patch had
   been merged into CU170.
- Version 3.2.5 onwards contains the CVE-2022-29154 fix and associated commits.
- No update of rootfile required.
- Changelog
    NEWS for rsync 3.2.6 (9 Sep 2022)
BUG FIXES:
    More path-cleaning improvements in the file-list validation code to avoid
             rejecting of valid args.
    A file-list validation fix for a --files-from file that ends without a
             line-terminating character.
    Added a safety check that prevents the sender from removing destination
             files when a local copy using --remove-source-files has some files that are
             shared between the sending & receiving hierarchies, including the case
             where the source dir & destination dir are identical.
    Fixed a bug in the internal MD4 checksum code that could cause the digest to
             be sporadically incorrect (the openssl version was/is fine).
    A minor tweak to rrsync added "copy-devices" to the list of known args, but
             left it disabled by default.
ENHANCEMENTS:
    Rename --protect-args to --secluded-args to make it clearer how it differs
             from the default backslash-escaped arg-protecting behavior of rsync. The
             old option names are still accepted. The environment-variable override did
             not change its name.
PACKAGING RELATED:
    The configure option --with-protected-args was renamed to
             --with-secluded-args. This option makes --secluded-args the default rsync
             behavior instead of using backslash escaping for protecting args.
    The mkgitver script now makes sure that a .git dir/file is in the top-level
             source dir before calling git describe. It also runs a basic check on the
             version value. This should avoid using an unrelated git description for
             rsync's version.
DEVELOPER RELATED:
    The configure script no longer sets the -⁠pedantic-errors CFLAG (which it
             used to try to do only for gcc).
    The name_num_obj struct was modified to allow its dynamic name_num_item list
             to be initialized in a better way.
    NEWS for rsync 3.2.5 (14 Aug 2022)
SECURITY FIXES:
    Added some file-list safety checking that helps to ensure that a rogue
             sending rsync can't add unrequested top-level names and/or include
             recursive names that should have been excluded by the sender. These extra
             safety checks only require the receiver rsync to be updated. When dealing
             with an untrusted sending host, it is safest to copy into a dedicated
             destination directory for the remote content (i.e. don't copy into a
             destination directory that contains files that aren't from the remote host
             unless you trust the remote host). Fixes CVE-2022-29154.
    A fix for CVE-2022-37434 in the bundled zlib (buffer overflow issue).
BUG FIXES:
    Fixed the handling of filenames specified with backslash-quoted wildcards
             when the default remote-arg-escaping is enabled.
    Fixed the configure check for signed char that was causing a host that
             defaults to unsigned characters to generate bogus rolling checksums. This
             made rsync send mostly literal data for a copy instead of finding matching
             data in the receiver's basis file (for a file that contains high-bit
             characters).
    Lots of manpage improvements, including an attempt to better describe how
             include/exclude filters work.
    If rsync is compiled with an xxhash 0.8 library and then moved to a system
             with a dynamically linked xxhash 0.7 library, we now detect this and
             disable the XX3 hashes (since these routines didn't stabilize until 0.8).
ENHANCEMENTS:
    The --trust-sender option was added as a way to bypass the extra file-list
             safety checking (should that be required).
PACKAGING RELATED:
    A note to those wanting to patch older rsync versions: the changes in this
             release requires the quoted argument change from 3.2.4. Then, you'll want
             every single code change from 3.2.5 since there is no fluff in this release.
    The build date that goes into the manpages is now based on the developer's
             release date, not on the build's local-timezone interpretation of the date.
DEVELOPER RELATED:
    Configure now defaults GETGROUPS_T to gid_t when cross compiling.
    Configure now looks for the bsd/string.h include file in order to fix the
             build on a host that has strlcpy() in the main libc but not defined in the
             main string.h file.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
18 months agolibseccomp: Bump package version
Peter Müller [Mon, 3 Oct 2022 21:58:25 +0000 (21:58 +0000)] 
libseccomp: Bump package version

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
18 months agolinux: Enable seccomp filter on ARM
Peter Müller [Mon, 19 Sep 2022 12:35:41 +0000 (12:35 +0000)] 
linux: Enable seccomp filter on ARM

Since last time we checked, the kernel's security features on ARM have
improved notably (see CONFIG_RANDOMIZE_BASE discussion). This patch
therefore proposes to give the seccomp filter on both 32- and 64-bit ARM
another try, since it provides significant security benefit to
applications using it.

Due to operational constraints, rootfile changes have been omitted, and
will be conducted, should this patch be approved.

Note to future self: Once this patch is approved, applications using
seccomp (OpenSSH, Tor) need to be updated/shipped on ARM.

Fixes: #12366
Fixes: #12370
Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
18 months agolinux 5.15.71: Fix rootfile
Matthias Fischer [Mon, 3 Oct 2022 18:33:15 +0000 (20:33 +0200)] 
linux 5.15.71: Fix rootfile

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
18 months agolinux: Remove user-space probe support
Peter Müller [Sun, 2 Oct 2022 14:47:52 +0000 (14:47 +0000)] 
linux: Remove user-space probe support

From the kernels' documentation:

> Uprobes is the user-space counterpart to kprobes: they
> enable instrumentation applications (such as 'perf probe')
> to establish unintrusive probes in user-space binaries and
> libraries, by executing handler functions when the probes
> are hit by user-space applications.
>
> ( These probes come in the form of single-byte breakpoints,
> managed by the kernel and kept transparent to the probed
> application. )

To the best of the authors' understanding, no application on IPFire
needs this functionality, and given its abuse potential, we should
probably not enable it.

As expected, strace functionality is not impaired by this.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
18 months agosuricata 6.0.8 - suggested change in 'suricata.yaml': set app-layer mqtt: enabled...
Matthias Fischer [Thu, 29 Sep 2022 20:35:18 +0000 (22:35 +0200)] 
suricata 6.0.8 - suggested change in 'suricata.yaml': set app-layer mqtt: enabled: yes

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
18 months agomodules.d: Drop orphaned blacklist statements
Peter Müller [Mon, 3 Oct 2022 10:21:24 +0000 (10:21 +0000)] 
modules.d: Drop orphaned blacklist statements

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
18 months agoUpdate contributor list
Peter Müller [Mon, 3 Oct 2022 10:07:49 +0000 (10:07 +0000)] 
Update contributor list

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
18 months agobackup: Fix file permissions of in-/exclude files, again
Peter Müller [Mon, 3 Oct 2022 09:22:57 +0000 (09:22 +0000)] 
backup: Fix file permissions of in-/exclude files, again

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
18 months agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
Matthias Fischer [Mon, 3 Oct 2022 08:55:02 +0000 (10:55 +0200)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next

18 months agoCore Update 171: Do not ship /sbin/tipc
Peter Müller [Sun, 2 Oct 2022 10:20:38 +0000 (10:20 +0000)] 
Core Update 171: Do not ship /sbin/tipc

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
18 months agoCore Update 171: Fix Suricata stop/start
Peter Müller [Sun, 2 Oct 2022 09:46:47 +0000 (09:46 +0000)] 
Core Update 171: Fix Suricata stop/start

My fault, again. :-/

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
18 months agoAvoid manpages from being shipped and delete them on existing installations
Peter Müller [Sun, 2 Oct 2022 09:43:47 +0000 (09:43 +0000)] 
Avoid manpages from being shipped and delete them on existing installations

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
18 months agoCore Update 171: Ship proxy.cgi
Peter Müller [Sun, 2 Oct 2022 08:51:03 +0000 (08:51 +0000)] 
Core Update 171: Ship proxy.cgi

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
18 months agoproxy.cgi: Fix for Bug #12826 'squid >=5 crashes on literal IPv6 addresses'
Matthias Fischer [Fri, 30 Sep 2022 19:05:56 +0000 (21:05 +0200)] 
proxy.cgi: Fix for Bug #12826 'squid >=5 crashes on literal IPv6 addresses'

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
18 months agobackup: Increase chown verbosiness
Peter Müller [Sun, 2 Oct 2022 08:49:53 +0000 (08:49 +0000)] 
backup: Increase chown verbosiness

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
18 months agolangs: Fix missing spaces for proxy password length error message
Peter Müller [Fri, 30 Sep 2022 22:09:31 +0000 (22:09 +0000)] 
langs: Fix missing spaces for proxy password length error message

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
18 months agoncat: Update to 7.92
Peter Müller [Fri, 30 Sep 2022 21:18:38 +0000 (21:18 +0000)] 
ncat: Update to 7.92

This was forgotten when updating nmap to 7.92.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
18 months agoproxy.cgi: Fix for Bug #12826 'squid >=5 crashes on literal IPv6 addresses'
Matthias Fischer [Fri, 30 Sep 2022 19:04:00 +0000 (21:04 +0200)] 
proxy.cgi: Fix for Bug #12826 'squid >=5 crashes on literal IPv6 addresses'

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
18 months agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
Matthias Fischer [Fri, 30 Sep 2022 18:57:13 +0000 (20:57 +0200)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next

18 months agolinux: Update to 5.15.71
Peter Müller [Fri, 30 Sep 2022 17:20:37 +0000 (17:20 +0000)] 
linux: Update to 5.15.71

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
18 months agoconfigroot: Increase verbosiness of chown operations
Peter Müller [Fri, 30 Sep 2022 17:20:17 +0000 (17:20 +0000)] 
configroot: Increase verbosiness of chown operations

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
18 months agoCore Update 171: Ship and restart Suricata
Peter Müller [Fri, 30 Sep 2022 15:48:03 +0000 (15:48 +0000)] 
Core Update 171: Ship and restart Suricata

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
18 months agolibhtp: Update to 0.5.41
Matthias Fischer [Thu, 29 Sep 2022 20:21:57 +0000 (22:21 +0200)] 
libhtp: Update to 0.5.41

Needed for 'suricata 6.0.8'

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

"trim white space of invalid folding for first header

clear buffered data for body data

minor optimization for decompression code"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
18 months agosuricata: Update to 6.0.8
Matthias Fischer [Thu, 29 Sep 2022 20:21:56 +0000 (22:21 +0200)] 
suricata: Update to 6.0.8

Changelog:

"6.0.8 -- 2022-09-27

Task #5552: libhtp 0.5.41

6.0.7 -- 2022-09-27

Security #5430: mqtt: DOS by quadratic with too many transactions in one parse (6.0.x backport)
Bug #5559: BUG_ON triggered from TmThreadsInjectFlowById (6.0.x backport)
Bug #5549: Failed assert DeStateSearchState (6.0.x)
Bug #5548: tcp: assertion failed in DoInsertSegment (BUG_ON) (6.0.x)
Bug #5547: rules: less strict parsing of unexpected flowbit options
Bug #5546: rules: don't error on bad hex in content
Bug #5540: detect: transform strip whitespace creates a 0-sized variable-length array: backport6
Bug #5505: http2: slow http2_frames_get_header_value_vec because of allocation [backport6]
Bug #5471: Reject action is no longer working (6.0.x backport)
Bug #5467: rules: more graceful handling of anomalies for stable versions
Bug #5459: Counters are not initialized in all places. (6.0.x backport)
Bug #5448: nfs: add maximum number of operations per compound (6.0.x backport)
Bug #5436: Infinite loop if the sniffing interface temporarily goes down (6.0.x backports)
Bug #5335: flow: vlan.use-for-tracking is not used for ICMPv4 (6.0.x backport)
Bug #4421: flow manager: using too much CPU during idle (6.0.x backport)
Feature #5535: ips: add "reject" action to exception policies (6.0.x backport)
Feature #5500: ips: midstream: add "exception policy" for midstream (6.0.x backport)
Task #5551: doc: add exception policy documentation (6.0.x)
Task #5533: detect/parse: add tests for parsing signatures with reject and drop action (6.0.x backport)
Task #5525: exceptions: error out when invalid configuration value is passed (6.0.x backport)
Task #5381: add `alert-queue-expand-fails` command-line option (6.0.x backport)
Task #5328: python: distutils deprecation warning (6.0.x backport)"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
18 months agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
Matthias Fischer [Thu, 29 Sep 2022 17:17:02 +0000 (19:17 +0200)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next

18 months agoCore Update 171: Fix backup {ex,in}clude file permissions
Peter Müller [Tue, 27 Sep 2022 10:54:45 +0000 (10:54 +0000)] 
Core Update 171: Fix backup {ex,in}clude file permissions

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
18 months agobackup: Set owner of {ex,in}clude{,.user} files to "root"
Peter Müller [Mon, 26 Sep 2022 18:50:08 +0000 (18:50 +0000)] 
backup: Set owner of {ex,in}clude{,.user} files to "root"

Since these files are static, there is no legitimate reason why they
should be owned (hence writable) by "nobody". Also, according to
configroot's LFS file, this is the intended behaviour for the *.user
files, which is then overwritten by the backup LFS file. Therefore, set
the file mode of these statically - configroot does not feature other
files in /var/ipfire/backup/ anyway.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
19 months agoCore Update 171: Remove some orphaned files
Peter Müller [Mon, 26 Sep 2022 19:18:51 +0000 (19:18 +0000)] 
Core Update 171: Remove some orphaned files

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoCore Update 171: Ship ipblocklist/sources
Peter Müller [Mon, 26 Sep 2022 08:54:36 +0000 (08:54 +0000)] 
Core Update 171: Ship ipblocklist/sources

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoipblocklist-sources: Correct the info url - Fixes bug#12938
Adolf Belka [Sat, 24 Sep 2022 11:53:12 +0000 (13:53 +0200)] 
ipblocklist-sources: Correct the info url - Fixes bug#12938

- With the .html ending the link gets a 404 Page not found error

Fixes: Bug#12938
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
19 months agoCore Update 171: Ship expat
Peter Müller [Fri, 23 Sep 2022 10:43:27 +0000 (10:43 +0000)] 
Core Update 171: Ship expat

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoexpat: Update to version 2.4.9
Adolf Belka [Wed, 21 Sep 2022 17:16:11 +0000 (19:16 +0200)] 
expat: Update to version 2.4.9

- Update from version 2.4.8 to 2.4.9
- Update of rootfile
- Changelog
   Release 2.4.9 Tue September 20 2022
        Security fixes:
       #629 #640  CVE-2022-40674 -- Heap use-after-free vulnerability in
                    function doContent. Expected impact is denial of service
                    or potentially arbitrary code execution.
        Bug fixes:
            #634  MinGW: Fix mis-compilation for -D__USE_MINGW_ANSI_STDIO=0
            #614  docs: Fix documentation on effect of switch XML_DTD on
                    symbol visibility in doc/reference.html
        Other changes:
            #638  MinGW: Make fix-xmltest-log.sh drop more Wine bug output
       #596 #625  Autotools: Sync CMake templates with CMake 3.22
            #608  CMake: Migrate from use of CMAKE_*_POSTFIX to
                    dedicated variables EXPAT_*_POSTFIX to stop affecting
                    other projects
       #597 #599  Windows|CMake: Add missing -DXML_STATIC to test runners
                    and fuzzers
       #512 #621  Windows|CMake: Render .def file from a template to fix
                    linking with -DEXPAT_DTD=OFF and/or -DEXPAT_ATTR_INFO=ON
       #611 #621  MinGW|CMake: Apply MSVC .def file when linking
       #622 #624  MinGW|CMake: Sync library name with GNU Autotools,
                    i.e. produce libexpat-1.dll rather than libexpat.dll
                    by default.  Filename libexpat.dll.a is unaffected.
            #632  MinGW|CMake: Set missing variable CMAKE_RC_COMPILER in
                    toolchain file "cmake/mingw-toolchain.cmake" to avoid
                    error "windres: Command not found" on e.g. Ubuntu 20.04
       #597 #627  CMake: Unify inconsistent use of set() and option() in
                    context of public build time options to take need for
                    set(.. FORCE) in projects using Expat by means of
                    add_subdirectory(..) off Expat's users' shoulders
       #626 #641  Stop exporting API symbols when building a static library
            #644  Resolve use of deprecated "fgrep" by "grep -F"
            #620  CMake: Make documentation on variables a bit more consistent
            #636  CMake: Drop leading whitespace from a #cmakedefine line in
                    file expat_config.h.cmake
            #594  xmlwf: Fix harmless variable mix-up in function nsattcmp
  #592 #593 #610  Address Cppcheck warnings
            #643  Address Clang 15 compiler warnings
       #642 #644  Version info bumped from 9:8:8 to 9:9:8;
                    see https://verbump.de/ for what these numbers do
        Infrastructure:
       #597 #598  CI: Windows: Start covering MSVC 2022
            #619  CI: macOS: Migrate off deprecated macOS 10.15
            #632  CI: Linux: Make migration off deprecated Ubuntu 18.04 work
            #643  CI: Upgrade Clang from 14 to 15
            #637  apply-clang-format.sh: Add support for BSD find
            #633  coverage.sh: Exclude MinGW headers
    #635  coverage.sh: Fix name collision for -funsigned-char

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoCore Update 171: Delete stale Bind 9.16.32 libraries
Peter Müller [Fri, 23 Sep 2022 10:42:14 +0000 (10:42 +0000)] 
Core Update 171: Delete stale Bind 9.16.32 libraries

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agobind: Update to 9.16.33
Matthias Fischer [Fri, 23 Sep 2022 07:03:02 +0000 (09:03 +0200)] 
bind: Update to 9.16.33

For details see:
https://downloads.isc.org/isc/bind9/9.16.33/doc/arm/html/notes.html#notes-for-bind-9-16-33

"Security Fixes

    Previously, there was no limit to the number of database lookups
    performed while processing large delegations, which could be abused to
    severely impact the performance of named running as a recursive
    resolver. This has been fixed. (CVE-2022-2795)

    ISC would like to thank Yehuda Afek from Tel-Aviv University and Anat
    Bremler-Barr & Shani Stajnrod from Reichman University for bringing
    this vulnerability to our attention. [GL #3394]

    named running as a resolver with the stale-answer-client-timeout option
    set to 0 could crash with an assertion failure, when there was a stale
    CNAME in the cache for the incoming query. This has been fixed.
    (CVE-2022-3080) [GL #3517]

    A memory leak was fixed that could be externally triggered in the
    DNSSEC verification code for the ECDSA algorithm. (CVE-2022-38177) [GL
    #3487]

    Memory leaks were fixed that could be externally triggered in the
    DNSSEC verification code for the EdDSA algorithm. (CVE-2022-38178) [GL
    #3487]

Feature Changes

    Response Rate Limiting (RRL) code now treats all QNAMEs that are
    subject to wildcard processing within a given zone as the same name, to
    prevent circumventing the limits enforced by RRL. [GL #3459]

    Zones using dnssec-policy now require dynamic DNS or inline-signing to
    be configured explicitly. [GL #3381]

    A backward-compatible approach was implemented for encoding
    internationalized domain names (IDN) in dig and converting the domain
    to IDNA2008 form; if that fails, BIND tries an IDNA2003 conversion. [GL
    #3485]

Bug Fixes

    A serve-stale bug was fixed, where BIND would try to return stale data
    from cache for lookups that received duplicate queries or queries that
    would be dropped. This bug resulted in premature SERVFAIL responses,
    and has now been resolved. [GL #2982]"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoCore Update 171: Ship manualpages
Peter Müller [Fri, 23 Sep 2022 10:39:57 +0000 (10:39 +0000)] 
Core Update 171: Ship manualpages

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agomanualpages: Correct link to wiki for Network (other)
Adolf Belka [Thu, 22 Sep 2022 11:43:10 +0000 (13:43 +0200)] 
manualpages: Correct link to wiki for Network (other)

- Network (other) help link was set to go to Network (internal) wiki page
  Link modified
- Running the check_manualpages.pl script requires it to be executable so the build
   changed the permissions mode from 644 to 755

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
19 months agoCore Update 171: Ship and rebuild crontab
Peter Müller [Fri, 23 Sep 2022 10:39:04 +0000 (10:39 +0000)] 
Core Update 171: Ship and rebuild crontab

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agocrontab: add periodic cleanup the collectd RRD (graphs)
Jon Murphy [Thu, 25 Aug 2022 00:31:29 +0000 (19:31 -0500)] 
crontab: add periodic cleanup the collectd RRD (graphs)

- Created (mostly) for old openvpn graphs
- RRD removed when no graph modification for +365 days
  - chosen since graph max out is 365 days
- fcron job runs once per week
  - chosen since this is just a cleanup and it doesnt need to run everyday
Note: logging can be added if needed.

Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
19 months agoCore Update 171: Ship log.dat
Peter Müller [Fri, 23 Sep 2022 10:37:33 +0000 (10:37 +0000)] 
Core Update 171: Ship log.dat

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agolog.dat: Add NUT entry for System Logs - Fixes bug#12921
Adolf Belka [Mon, 19 Sep 2022 13:15:18 +0000 (15:15 +0200)] 
log.dat: Add NUT entry for System Logs - Fixes bug#12921

- Also aligned all the code entries in %sections and %trsections

Suggested-by: Michael <ip.fire@die-fritzens.de>
Tested-by: Michael <ip.fire@die-fritzens.de>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
19 months agocpufrequtils: Remove SERVICES entry for this package - fixes Bug#12933
Adolf Belka [Wed, 21 Sep 2022 10:37:19 +0000 (12:37 +0200)] 
cpufrequtils: Remove SERVICES entry for this package - fixes Bug#12933

- cpufrequtils is a set of "tools" to manage and set cpu freq settings.
- There is an initscript but this is only loading the cpu dependent kernel modules that
   are required by cpufrequtils.
- Therefore cpufrequtils is not a service but a set of tools that are used when required.
- SERVICES line made blank so that this addon does not show up in the services addon table.
- Modified install initscript line to not use SERVICES variable

Fixes: Bug#12933
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
19 months agoCore Update 171: Ship and restart Unbound
Peter Müller [Fri, 23 Sep 2022 10:35:39 +0000 (10:35 +0000)] 
Core Update 171: Ship and restart Unbound

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agounbound: Update to 1.16.3
Matthias Fischer [Fri, 23 Sep 2022 07:09:38 +0000 (09:09 +0200)] 
unbound: Update to 1.16.3

For details see:
https://lists.nlnetlabs.nl/pipermail/unbound-users/2022-September/007885.html

"This release fixes CVE-2022-3204 Non-Responsive Delegation
Attack. It was reported by Yehuda Afek from Tel-Aviv
University and Anat Bremler-Barr and Shani Stajnrod from
Reichman University.

This fixes for better performance when under load, by cutting
promiscuous queries for nameserver discovery and limiting the
number of times a delegation point can look in the cache for
missing records.

Bug Fixes
- Patch for CVE-2022-3204 Non-Responsive Delegation Attack."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
Matthias Fischer [Thu, 22 Sep 2022 17:09:22 +0000 (19:09 +0200)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next

19 months agolinux: Align configurations and rootfiles for ARM
Peter Müller [Wed, 21 Sep 2022 13:36:59 +0000 (13:36 +0000)] 
linux: Align configurations and rootfiles for ARM

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agolinux: Prepare CONFIG_DEBUG_FS disabling on non-x86_64 architectures
Peter Müller [Tue, 20 Sep 2022 14:30:28 +0000 (14:30 +0000)] 
linux: Prepare CONFIG_DEBUG_FS disabling on non-x86_64 architectures

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoCore Update 171: Ship kernel and regenerate initial ramdisks locally
Peter Müller [Tue, 20 Sep 2022 10:39:08 +0000 (10:39 +0000)] 
Core Update 171: Ship kernel and regenerate initial ramdisks locally

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agolinux: Update to 5.15.68
Peter Müller [Mon, 19 Sep 2022 12:28:14 +0000 (12:28 +0000)] 
linux: Update to 5.15.68

Please refer to https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.68
for the changelog of this release. Due to the lack of local build
hardware, ARM rootfile and configuration changes have been omitted.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agokernel: Disable CONFIG_DEBUG_FS
Peter Müller [Sat, 17 Sep 2022 19:24:46 +0000 (19:24 +0000)] 
kernel: Disable CONFIG_DEBUG_FS

According to the kernel's documentation,

> debugfs is a virtual file system that kernel developers use to put
> debugging files into. Enable this option to be able to read and
> write to these files.

There is no legitimate reason why one has to do so on an IPFire machine.
Further, the vast debugging options (i.e. related to various drivers)
have never been enabled, limiting the use of this virtual file system
even further.

This patch therefore proposes to disable it entirely, since its
potential security impact outweights its benefits. Due to operational
constraints, changes to ARM kernel configurations will be made if this
patch is approved for x86_64.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
19 months agoCore Update 171: Ship backupiso
Peter Müller [Mon, 19 Sep 2022 12:37:45 +0000 (12:37 +0000)] 
Core Update 171: Ship backupiso

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agobackupiso: Update to ISO file naming - bug#12932
Adolf Belka [Sun, 18 Sep 2022 11:45:17 +0000 (13:45 +0200)] 
backupiso: Update to ISO file naming - bug#12932

- commit https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=fbd0608c2cb5372fff7857065ec7e605b1bf9cf7
   aligned the ISO file name to the image file name. This change also needed to be added
   to backupiso as the filename is used to download the iso from the IPFire server when
   creating an ISO backup.

Fixes: Bug#12932
Suggested-by: Matthias Fischer <matthias.fischer@ipfire.org>
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
19 months agoGuardian: Bump package version for Perl changes
Peter Müller [Sun, 18 Sep 2022 20:55:51 +0000 (20:55 +0000)] 
Guardian: Bump package version for Perl changes

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoCore Update 171: Ship libloc
Peter Müller [Sun, 18 Sep 2022 20:27:12 +0000 (20:27 +0000)] 
Core Update 171: Ship libloc

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoCore Update 171: Stop and restart collectd
Peter Müller [Sun, 18 Sep 2022 20:24:50 +0000 (20:24 +0000)] 
Core Update 171: Stop and restart collectd

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoFix restarting Squid and OpenVPN during Core Update 171
Peter Müller [Sun, 18 Sep 2022 20:21:24 +0000 (20:21 +0000)] 
Fix restarting Squid and OpenVPN during Core Update 171

My fault, again. :-/

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
Matthias Fischer [Sun, 18 Sep 2022 12:44:24 +0000 (14:44 +0200)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next

19 months agoCore Update 171: Stop Apache before applying the upgrade
Peter Müller [Sun, 18 Sep 2022 08:02:14 +0000 (08:02 +0000)] 
Core Update 171: Stop Apache before applying the upgrade

Since we replace Perl, users most likely get to see some nasty "Internal
Server Error" messages during the upgrade. To suppres them, and to limit
the chance of side effects, stop Apache before applying the update, and
start it again afterwards.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoCore Update 171: Only start services if they are actually enabled
Peter Müller [Sun, 18 Sep 2022 08:01:18 +0000 (08:01 +0000)] 
Core Update 171: Only start services if they are actually enabled

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoCore Update 171: Ship and restart strongSwan
Peter Müller [Sun, 18 Sep 2022 07:58:39 +0000 (07:58 +0000)] 
Core Update 171: Ship and restart strongSwan

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agostrongSwan: Update to 5.9.7
Peter Müller [Sat, 17 Sep 2022 08:21:23 +0000 (08:21 +0000)] 
strongSwan: Update to 5.9.7

Please refer to https://github.com/strongswan/strongswan/releases/tag/5.9.7
for the release notes of this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoCore Update 171: Ship wireless-regdb
Peter Müller [Sat, 17 Sep 2022 21:18:41 +0000 (21:18 +0000)] 
Core Update 171: Ship wireless-regdb

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agowireless-regdb: Update to 2022-08-12
Peter Müller [Sat, 17 Sep 2022 16:50:22 +0000 (16:50 +0000)] 
wireless-regdb: Update to 2022-08-12

No changelog is provided, please refer to
https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git/log/
for the commits since 2022-02-18.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
19 months agoCore Update 171: Ship ca-certificates
Peter Müller [Sat, 17 Sep 2022 21:18:19 +0000 (21:18 +0000)] 
Core Update 171: Ship ca-certificates

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoca-certificates: Update root CA certificates bundle
Peter Müller [Sat, 17 Sep 2022 10:07:58 +0000 (10:07 +0000)] 
ca-certificates: Update root CA certificates bundle

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
19 months agoCore Update 171: Ship libsodium
Peter Müller [Sat, 17 Sep 2022 16:53:36 +0000 (16:53 +0000)] 
Core Update 171: Ship libsodium

Fixes: #12929
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
19 months agoUpdate contributors
Peter Müller [Sat, 17 Sep 2022 09:45:30 +0000 (09:45 +0000)] 
Update contributors

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoTor: Bump package version
Peter Müller [Sat, 17 Sep 2022 09:44:40 +0000 (09:44 +0000)] 
Tor: Bump package version

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoTor: Update to 0.4.7.10
Peter Müller [Sun, 11 Sep 2022 14:14:43 +0000 (14:14 +0000)] 
Tor: Update to 0.4.7.10

Changes in version 0.4.7.10 - 2022-08-12
  This version updates the geoip cache that we generate from IPFire location
  database to use the August 9th, 2022 one. Everyone MUST update to this
  latest release else circuit path selection and relay metrics are badly
  affected.

  o Major bugfixes (geoip data):
    - IPFire informed us on August 12th that databases generated after
      (including) August 10th did not have proper ARIN network allocations. We
      are updating the database to use the one generated on August 9th, 2022.
      Fixes bug 40658; bugfix on 0.4.7.9.

Changes in version 0.4.7.9 - 2022-08-11
  This version contains several major fixes aimed at reducing memory pressure on
  relays and possible side-channel. It also contains a major bugfix related to
  congestion control also aimed at reducing memory pressure on relays.
  Finally, there is last one major bugfix related to Vanguard L2 layer node
  selection.

  We strongly recommend to upgrade to this version especially for Exit relays
  in order to help the network defend against this ongoing DDoS.

  o Major bugfixes (congestion control):
    - Implement RFC3742 Limited Slow Start. Congestion control was
      overshooting the congestion window during slow start, particularly
      for onion service activity. With this fix, we now update the
      congestion window more often during slow start, as well as dampen
      the exponential growth when the congestion window grows above a
      capping parameter. This should reduce the memory increases guard
      relays were seeing, as well as allow us to set lower queue limits
      to defend against ongoing DoS attacks. Fixes bug 40642; bugfix
      on 0.4.7.5-alpha.

  o Major bugfixes (relay):
    - Remove OR connections btrack subsystem entries when the connections
      close normally. Before this, we would only remove the entry on error and
      thus leaking memory for each normal OR connections. Fixes bug 40604;
      bugfix on 0.4.0.1-alpha.
    - Stop sending TRUNCATED cell and instead close the circuit from which we
      received a DESTROY cell. This makes every relay in the circuit path to
      stop queuing cells. Fixes bug 40623; bugfix on 0.1.0.2-rc.

  o Major bugfixes (vanguards):
    - We had omitted some checks for whether our vanguards (second layer
      guards from proposal 333) overlapped. Now make sure to pick each
      of them to be independent. Also, change the design to allow them
      to come from the same family. Fixes bug 40639; bugfix
      on 0.4.7.1-alpha.

  o Minor features (dirauth):
    - Add a torrc option to control the Guard flag bandwidth threshold
      percentile. Closes ticket 40652.
    - Add an AuthDirVoteGuard torrc option that can allow authorities to
      assign the Guard flag to the given fingerprints/country code/IPs.
      This is a needed feature mostly for defense purposes in case a DoS
      hits the network and relay start losing the Guard flags too fast.
    - Make UPTIME_TO_GUARANTEE_STABLE, MTBF_TO_GUARANTEE_STABLE,
      TIME_KNOWN_TO_GUARANTEE_FAMILIAR WFU_TO_GUARANTEE_GUARD tunable
      from torrc.

  o Minor features (fallbackdir):
    - Regenerate fallback directories generated on August 11, 2022.

  o Minor features (geoip data):
    - Update the geoip files to match the IPFire Location Database, as
      retrieved on 2022/08/11.

  o Minor bugfixes (congestion control):
    - Add a check for an integer underflow condition that might happen
      in cases where the system clock is stopped, the ORconn is blocked,
      and the endpoint sends more than a congestion window worth of non-
      data control cells at once. This would cause a large congestion
      window to be calculated instead of a small one. No security
      impact. Fixes bug 40644; bugfix on 0.4.7.5-alpha.

  o Minor bugfixes (defense in depth):
    - Change a test in the netflow padding code to make it more
      _obviously_ safe against remotely triggered crashes. (It was safe
      against these before, but not obviously so.) Fixes bug 40645;
      bugfix on 0.3.1.1-alpha.

  o Minor bugfixes (relay):
    - Do not propagate either forward or backward a DESTROY remote reason when
      closing a circuit in order to avoid a possible side channel. Fixes bug
      40649; bugfix on 0.1.2.4-alpha.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoCore Update 171: Do not ship obsolete Intel BT firmware
Peter Müller [Sat, 17 Sep 2022 09:42:51 +0000 (09:42 +0000)] 
Core Update 171: Do not ship obsolete Intel BT firmware

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agolinux-firmware: Drop dedicated Bluetooth BLOBs
Peter Müller [Sat, 17 Sep 2022 09:41:06 +0000 (09:41 +0000)] 
linux-firmware: Drop dedicated Bluetooth BLOBs

Since we disabled Bluetooth support in the kernel a long time ago due to
security reasons, these do not serve any purpose anymore. Therefore, do
not ship them and delete them on existing installations.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agostrip: Exclude /lib/firmware/qcom/sc8280xp/LENOVO/21BX for stage 2
Peter Müller [Sat, 17 Sep 2022 09:15:57 +0000 (09:15 +0000)] 
strip: Exclude /lib/firmware/qcom/sc8280xp/LENOVO/21BX for stage 2

For some reason, stripper crashes processing this directory:

strip: error: the input file '/lib/firmware/qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn' has no sections

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoCore Update 171: Ship linux-firmware changes
Peter Müller [Sat, 17 Sep 2022 08:49:30 +0000 (08:49 +0000)] 
Core Update 171: Ship linux-firmware changes

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agolinux-firmware: Update to 20220913
Peter Müller [Sat, 17 Sep 2022 08:32:21 +0000 (08:32 +0000)] 
linux-firmware: Update to 20220913

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agolcdproc: Bump package version
Peter Müller [Thu, 15 Sep 2022 19:45:26 +0000 (19:45 +0000)] 
lcdproc: Bump package version

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agolcdproc: Update to commit 0e2ce9b version - fixes bug#12920
Adolf Belka [Thu, 15 Sep 2022 13:52:55 +0000 (15:52 +0200)] 
lcdproc: Update to commit 0e2ce9b version - fixes bug#12920

- The lcd2usb portion of the hd44780 driver in in the latest release version of
   lcdproc (0.5.9) are only coded for libusb-0.1, which was removed from IPFire in recent
   times.
- Commits have been merged into the lcdproc repository that enable lcd2usb to work with
   the libusb-1.0 series but no release has been made since 2017.
- This patch downloaded a zip archive from the status of the lcdproc repository at commit
   0e2ce9b. This zip archive was then converted into a tar.gx archive. The lfs and
   rootfile have been updated in line with this.
- The lcdproc-0e2ce9b-4.ipfire file created by this build has been tested by the bug
   reporter, Rolf Schreiber, and confirmed to fix the issue raised with the bug.
- This patch brings lcdproc upto date with the 149 commits that have been made between
   2017 and Dec 2021, the date of the last commit.
- The version number has been defined as the last commit number.
- The -enable-libusb option has to be left in place as it turned out that
  -enable-libusb-1-0 only works if -enable-libusb is also set. It looks like this was
  identified in the lcdproc issues list but has not yet been fixed.

Fixes: Bug#12920
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
19 months agocurl: Fix build on armv6l
Peter Müller [Thu, 15 Sep 2022 19:36:29 +0000 (19:36 +0000)] 
curl: Fix build on armv6l

https://github.com/curl/curl/pull/9054

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoCore Update 171: Add missing changes related to Perl update
Peter Müller [Thu, 15 Sep 2022 19:25:48 +0000 (19:25 +0000)] 
Core Update 171: Add missing changes related to Perl update

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoMerge branch 'master' into next
Peter Müller [Thu, 15 Sep 2022 19:12:10 +0000 (19:12 +0000)] 
Merge branch 'master' into next

19 months agoBump PAK_VER for all packages that use SERVICES
Michael Tremer [Thu, 15 Sep 2022 10:43:54 +0000 (10:43 +0000)] 
Bump PAK_VER for all packages that use SERVICES

Since we have extended services.cgi that it reads the Services field
from the Pakfire metadata, we will need to make sure that that metadata
is going to be on those systems.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
19 months agoefivar: Update aarch64 rootfile as well
Peter Müller [Thu, 15 Sep 2022 07:47:36 +0000 (07:47 +0000)] 
efivar: Update aarch64 rootfile as well

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoMerge branch 'next' into temp-c171-development
Peter Müller [Tue, 13 Sep 2022 11:43:06 +0000 (11:43 +0000)] 
Merge branch 'next' into temp-c171-development

19 months agoRun "./make.sh lang"
Michael Tremer [Tue, 13 Sep 2022 10:20:43 +0000 (10:20 +0000)] 
Run "./make.sh lang"

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
19 months agoMerge remote-tracking branch 'origin/next'
Michael Tremer [Tue, 13 Sep 2022 10:20:19 +0000 (10:20 +0000)] 
Merge remote-tracking branch 'origin/next'

19 months agoMerge branch 'next' into temp-c171-development
Peter Müller [Tue, 13 Sep 2022 07:33:30 +0000 (07:33 +0000)] 
Merge branch 'next' into temp-c171-development

19 months agoCUPS: Bump package number after revert
Peter Müller [Mon, 12 Sep 2022 19:46:59 +0000 (19:46 +0000)] 
CUPS: Bump package number after revert

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoRevert "CUPS: Update to 2.4.2"
Peter Müller [Mon, 12 Sep 2022 19:46:18 +0000 (19:46 +0000)] 
Revert "CUPS: Update to 2.4.2"

This reverts commit ffce292e7a864e547de575d3b0b8be1a2b91cd5f.

See: #12924
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoCore Update 171: Delete stale efivar files
Peter Müller [Mon, 12 Sep 2022 09:52:04 +0000 (09:52 +0000)] 
Core Update 171: Delete stale efivar files

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agomandoc: Build dependency for efivar version 38 onwards
Adolf Belka [Wed, 24 Aug 2022 07:49:30 +0000 (09:49 +0200)] 
mandoc: Build dependency for efivar version 38 onwards

- New build only dependency

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoefivar: Update to version 38
Adolf Belka [Wed, 24 Aug 2022 07:49:29 +0000 (09:49 +0200)] 
efivar: Update to version 38

- Update from version 37 to 38
- Update of rootfile
- mandoc is now a build dependency for efivar
- Old compile fixes patches are no longer required with version 38
- Details for lfs build of version 38 obtained from Beyond Linux From Scratch
- Changelog
   bug fixes
    Rework some makefile bits to make overriding some options simpler. by @vathpela in #140
    Handle /sys/devices/virtual/{nvme-fabrics,nvme-subsystem} devices by @vathpela in #139
    guids.S: Include <cet.h> when CET is enabled by @hjl-tools in #149
    Fix /sys/block sysfs parsing for eMMC-s by @jwrdegoede in #150
    Properly check mmap return error by @hannob in #152
    Fix s{yt,ty}le typo in efi_get_variable(3) by @nabijaczleweli in #162
    Handle NULL set_variable() by @lcp in #159
    Fix parsing for nvme-subsystem devices by @dannf in #158
    Attempt to fix the identified thread safety bugs by @vathpela in #155
    Make thread-test depend on libefivar.so by @hjl-tools in #176
    Upstream a local patch from rawhide by @frozencemetery in #177
    Fix conversion from UTF8 to UCS2 by @freedge in #171
    efivar: make docs match current code for 'efivar -A' by @vathpela in #178
    Migrate CI to Github actions by @frozencemetery in #179
    Add code of conduct by @frozencemetery in #180
    Misc minor fixes by @vathpela in #182
    Add efi_time_t declarations and helper functions. by @vathpela in #183
    More misc fixes by @vathpela in #185
    Run CI on more targets by @vathpela in #187
    Coverity fixes 20211208 by @vathpela in #189
    CI: run abicheck by @frozencemetery in #190
    Fix linux virtual root device parsing by @vathpela in #188
    efivar.spec.in: fix license to be valid SPDX by @frozencemetery in #192
    Add efisecdb tooling by @vathpela in #184
    Fix linker string comparison for dash by @frozencemetery in #194
   Full changelog diff between version 37 and 38 is available in github repo
    https://github.com/rhboot/efivar/compare/37...38

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
19 months agoCore Update 171: Ship nettle
Peter Müller [Mon, 12 Sep 2022 09:44:05 +0000 (09:44 +0000)] 
Core Update 171: Ship nettle

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
19 months agonettle: Update to version 3.8.1
Adolf Belka [Wed, 24 Aug 2022 07:50:47 +0000 (09:50 +0200)] 
nettle: Update to version 3.8.1

- Update from version 3.7.3 to 3.8.1
- Update of rootfile
- Changelog
   3.8.1 release
This is a bugfix release, fixing a few portability issues
reported for Nettle-3.8.
Bug fixes:
* Avoid non-posix m4 argument references in the chacha
  implementation for arm64, powerpc64 and s390x. Reported by
  Christian Weisgerber, fix contributed by Mamone Tarsha.
* Use explicit .machine pseudo-ops where needed in s390x
  assembly files. Bug report by Andreas K. Huettel, fix
  contributed by Mamone Tarsha.
Optimizations:
* Implemented runtime detection of cpu features for OpenBSD on
  arm64. Contributed by Christian Weisgerber.
The new version is intended to be fully source and binary
compatible with Nettle-3.6. The shared library names are
libnettle.so.8.6 and libhogweed.so.6.6, with sonames
libnettle.so.8 and libhogweed.so.6.
   3.8 release
This release includes a couple of new features, and many
performance improvements. It adds assembly code for two more
architectures: ARM64 and S390x.
The new version is intended to be fully source and binary
compatible with Nettle-3.6. The shared library names are
libnettle.so.8.5 and libhogweed.so.6.5, with sonames
libnettle.so.8 and libhogweed.so.6.
New features:
* AES keywrap (RFC 3394), contributed by Nicolas Mora.
* SM3 hash function, contributed by Tianjia Zhang.
* New functions cbc_aes128_encrypt, cbc_aes192_encrypt,
  cbc_aes256_encrypt.
  On processors where AES is fast enough, e.g., x86_64 with
  aesni instructions, the overhead of using Nettle's general
  cbc_encrypt can be significant. The new functions can be
  implemented in assembly, to do multiple blocks with reduced
  per-block overhead.
  Note that there's no corresponding new decrypt functions,
  since the general cbc_decrypt doesn't suffer from the same
  performance problem.
Bug fixes:
* Fix fat builds for x86_64 windows, these appear to never
          have worked.
Optimizations:
* New ARM64 implementation of AES, GCM, Chacha, SHA1 and
  SHA256, for processors supporting crypto extensions. Great
  speedups, and fat builds are supported. Contributed by
  Mamone Tarsha.
* New s390x implementation of AES, GCM, Chacha, memxor, SHA1,
  SHA256, SHA512 and SHA3. Great speedups, and fat builds are
  supported. Contributed by Mamone Tarsha.
* New PPC64 assembly for ecc modulo/redc operations,
  contributed by Amitay Isaacs, Martin Schwenke and Alastair
  D´Silva.
* The x86_64 AES implementation using aesni instructions has
  been reorganized with one separate function per key size,
  each interleaving the processing of two blocks at a time
  (when the caller processes multiple blocks with each call).
  This gives a modest performance improvement on some
  processors.
* Rewritten and faster x86_64 poly1305 assembly.
Known issues:
* Nettle's testsuite doesn't work out-of-the-box on recent
  MacOS, due to /bin/sh discarding the DYLD_LIBRARY_PATH
  environment variable. Nettle's test scripts handle this in
  some cases, but currently fails the test cases that are
  themselves written as /bin/sh scripts. As a workaround, use
  make check EMULATOR='env DYLD_LIBRARY_PATH=$(TEST_SHLIB_DIR)'
Miscellaneous:
* Updated manual to current makeinfo conventions, with no
  explicit node pointers. Generate pdf version with texi2pdf,
  to get working hyper links.
* Added square root functions for NIST ecc curves, as a
  preparation for supporting compact point representation.
* Reworked internal GCM/ghash interfaces, simplifying assembly
  implementations. Deleted unused GCM C implementation
  variants with less than 8-bit lookup table.

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