]> git.ipfire.org Git - ipfire-2.x.git/log
ipfire-2.x.git
11 months agomake.sh: Fixes Bug#13076
Adolf Belka [Wed, 10 May 2023 13:04:22 +0000 (15:04 +0200)] 
make.sh: Fixes Bug#13076

- Adds borgbackup run time dependency - python3-exceptiongroup
- Adds python3-exceptiongroup build time dependency - python3-flit_scm
- Removes python3-attr that is no longer required in borgbackup dependency chain

Fixes: Bug#13076
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
11 months agoborgbackup: Removed python3-pkgconfig as run time dependency
Adolf Belka [Wed, 10 May 2023 13:04:21 +0000 (15:04 +0200)] 
borgbackup: Removed python3-pkgconfig as run time dependency

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
11 months agopython3-pkgconfig: Identified that this module is only required as a build time depen...
Adolf Belka [Wed, 10 May 2023 13:04:20 +0000 (15:04 +0200)] 
python3-pkgconfig: Identified that this module is only required as a build time dependency

- Moved rootfile from common to packages and commented out all entries.
- Updated lfs file from addon to core package that is only used for build

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
11 months agopython3-flit_scm: Fixes Bug#13076 - Build time dependency for python3-exceptiongroup
Adolf Belka [Wed, 10 May 2023 13:04:19 +0000 (15:04 +0200)] 
python3-flit_scm: Fixes Bug#13076 - Build time dependency for python3-exceptiongroup

Fixes: Bug#13076
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
11 months agopython3-exceptiongroup: Fixes Bug#13076 - New run time dependency for borgbackup...
Adolf Belka [Wed, 10 May 2023 13:04:18 +0000 (15:04 +0200)] 
python3-exceptiongroup: Fixes Bug#13076 - New run time dependency for borgbackup fuse mount

Fixes: Bug#13076
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
11 months agopython3-attr: Module no longer needed in the borgbackup dependency chain
Adolf Belka [Wed, 10 May 2023 13:04:17 +0000 (15:04 +0200)] 
python3-attr: Module no longer needed in the borgbackup dependency chain

- Previous update of python3-trio to 0.22.0 removed this dependency.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
11 months agopython3-trio: Fixes Bug#13076 - allows fuse mount to work again
Adolf Belka [Wed, 10 May 2023 13:04:16 +0000 (15:04 +0200)] 
python3-trio: Fixes Bug#13076 - allows fuse mount to work again

- In Core 173 python3-trio was updated to version 0.22.0 when python was upgraded to 3.10.8
   Although the build of python3-trio was successful it was missed that there was a new
   run-time dependency of python3-exceptiongroup for python3-pyfuse3 to work.
   python2-flit_scm is required as a build dependency for python3-exceptiongroup.
- The modified packages were installed in my vm testbed and confirmed that borg mount then
   worked again.
- It was also noted that python3-attr was no longer needed neither as a runtime
   dependency nor as a build time dependency.
- Dependencies line of python3-trio updated for these two changes.

Fixes: Bug#13076
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
11 months agoRevert "Revert "zabbix_agentd: Update to 6.0.16 (LTS)""
Peter Müller [Thu, 18 May 2023 09:23:25 +0000 (09:23 +0000)] 
Revert "Revert "zabbix_agentd: Update to 6.0.16 (LTS)""

This reverts commit 3737b8e98edcc536c6071a5bdb8de7fe7277984c.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
11 months agokernel: update to 6.1.28
Arne Fitzenreiter [Tue, 16 May 2023 16:20:35 +0000 (16:20 +0000)] 
kernel: update to 6.1.28

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
11 months agocheckrootfiles: fix checks on hosts with newer grep
Arne Fitzenreiter [Tue, 16 May 2023 12:20:20 +0000 (14:20 +0200)] 
checkrootfiles: fix checks on hosts with newer grep

newer grep versions ignore * in --exclude
work around this by excluding all arch specific directories with
--exclude-dir

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
11 months agodracut: lower ram usage at compression
Arne Fitzenreiter [Tue, 16 May 2023 09:06:06 +0000 (09:06 +0000)] 
dracut: lower ram usage at compression

this lower the compression ratio sligtly (the ramdlisk is 100kb
larger) and use only a single thread now. (it's still faster than
before on a dual core.)

fixes: #13091

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agolinux: Update rootfiles
Peter Müller [Fri, 12 May 2023 18:29:27 +0000 (18:29 +0000)] 
linux: Update rootfiles

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agoZut alors, archive.files needs to be executable
Peter Müller [Fri, 12 May 2023 14:47:28 +0000 (14:47 +0000)] 
Zut alors, archive.files needs to be executable

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agoRevert "zabbix_agentd: Update to 6.0.16 (LTS)"
Peter Müller [Fri, 12 May 2023 08:47:59 +0000 (08:47 +0000)] 
Revert "zabbix_agentd: Update to 6.0.16 (LTS)"

This reverts commit 2c21437bef63f58a33f2c6e8955c0dfce7d208d6.

https://lists.ipfire.org/pipermail/development/2023-May/015885.html -
reverting this temporarily to ensure the nightly builds will run
through.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agoRun ./make.sh update-contributors
Peter Müller [Thu, 11 May 2023 20:34:43 +0000 (20:34 +0000)] 
Run ./make.sh update-contributors

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agoCore Update 175: Remove orphaned qpdf libraries, if present
Peter Müller [Thu, 11 May 2023 20:29:21 +0000 (20:29 +0000)] 
Core Update 175: Remove orphaned qpdf libraries, if present

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agoCore Update 175: Ship more files dependant on OpenSSL
Peter Müller [Thu, 11 May 2023 20:28:45 +0000 (20:28 +0000)] 
Core Update 175: Ship more files dependant on OpenSSL

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agoHousekeeping: Only mark files as executable if they have to be
Peter Müller [Thu, 11 May 2023 20:19:20 +0000 (20:19 +0000)] 
Housekeeping: Only mark files as executable if they have to be

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agoCore Update 175: Ship mpfr
Peter Müller [Thu, 11 May 2023 20:11:04 +0000 (20:11 +0000)] 
Core Update 175: Ship mpfr

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agompfr: Update to include the latest four bug patches
Adolf Belka [Thu, 11 May 2023 12:39:42 +0000 (14:39 +0200)] 
mpfr: Update to include the latest four bug patches

- The base version has not changed but patches to fix 4 bugs have been released.
- Update to rootfile not required.
- Bug fix changelog
1    A test of the thousands separator in tsprintf.c is based on the output from
              the GNU C Library up to 2.36, which is incorrect. The output has changed in
              2.37 (partly fixed), so that tsprintf fails with glibc 2.37. The
              tsprintf-thousands patch modifies the test to conform to POSIX and also
              avoid the buggy case in 2.36 and below. However, this new test, which was
              expected to succeed, triggers a serious bug in 2.37
              (bug 30068 / CVE-2023-25139). We did not modify the test again since this
              bug affects MPFR's mpfr_sprintf function, with a possible buffer overflow
              in particular cases. This bug has been fixed in the 2.37 branch. In short,
              this patch is useful (and needed) for a fixed glibc 2.37 and some other
              libraries, depending on the current locales.
     Corresponding changesets in the 4.2 branch: 4f03d40b578ff7526de66bb7121.
2    The mpfr_ui_pow_ui function has infinite loop in case of overflow. This can
              affect mpfr_log10, which uses this function (this is how this bug was
              found). This bug is fixed by the ui_pow_ui-overflow patch (with testcases).
     Corresponding changeset in the 4.2 branch: 0216f40ed.
3    The tfprintf and tprintf tests may fail in locales where decimal_point has
              several bytes, such as ps_AF. This is fixed by the multibyte-decimal_point
              patch, which makes the tests aware of the length of decimal_point.
     Corresponding changeset in the 4.2 branch: 0383bea85.
4    In particular cases that are very hard to round, mpfr_rec_sqrt may yield a
              stack overflow due to many small allocations in the stack, based on alloca().
              This is due to the fact that the working precision is increased each step
              (Ziv loop) by 32 or 64 bits only, until the approximate result can be
              rounded (thus we have an arithmetic progression here, while a geometric
              progression is used for the other functions), and that at each iteration,
              the previous allocations in the stack cannot be freed. Individual
              allocations in the stack are limited to 16384 bytes, so that the issue can
              occur only when there are many iterations in working precisions that are
              not too large, which is possible with an arithmetic progression. This bug
              is fixed by the rec_sqrt-zivloop patch, which changes the Ziv loop to use
              the standard MPFR_ZIV_* macros; the patch also provides a testcase obtained
              by a function that constructs a hard-to-round case involving large enough
              precisions (this function is commonly used in the MPFR testsuite, but not
              with so large precisions). This bug was originally reported by Fredrik
              Johansson.
     Corresponding changeset in the 4.2 branch: 934dd8842.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
12 months agolvm2: housekeeping - remove invalid configure option
Adolf Belka [Thu, 11 May 2023 12:39:41 +0000 (14:39 +0200)] 
lvm2: housekeeping - remove invalid configure option

- Since lvmetad was removed then the configure option --enable-lvmetad is no longer valid.
   A warning is now shown - configure: WARNING: unrecognized options: --enable-lvmetad

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
12 months agolibcap: Adjust the lfs file to place pkg-config files in the correct place
Adolf Belka [Wed, 10 May 2023 20:41:10 +0000 (22:41 +0200)] 
libcap: Adjust the lfs file to place pkg-config files in the correct place

- libcap places the files by default in /lib and not /usr/lib etc. To fix this libcap made
   a symlink for the library file from /lib to /usr/lib. However the .pc files were left
   in /lib/pkgconfig and not /usr/lib/pkgconfig and were therefore not found by the update
   of rng-tools which now required libcap to be found.
- Changed the prefix settings for libcap which placed the libraries and .pc files in the
   correct locations while keeping the executables in their existing location.
- This removed the need for symlinking /usr/lib/libcap.so to /lib/libcap.so.2.67 as the
   libraries are now placed in /usr/lib
- Installed the ipfire build with these changes into a vm system and confirmed that
   everything worked. Input from Michael Tremer that if ping worked then libcap was
   functioning correctly.
- The prefixes have to be applied to both make and make install to end up with the files
   in the correct places.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
12 months agorng-tools: Update to version 2.16
Adolf Belka [Wed, 10 May 2023 20:41:09 +0000 (22:41 +0200)] 
rng-tools: Update to version 2.16

- This v2 version corrects an error where a debug echo statement was left in the lfs file
- Update from version 2.14 to 2.16
- Update of rootfile not required
- Version 2.16 required libcap to be available, which it is, but it could not be found by
   rng-tools. This is because rng-tools is using pkg-config and the required libcap.pc file
   was not stored in the standard directory location for .pc files. Therefore a patch for
   libcap is bundled together with this update to fix this.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
12 months agoCore Update 175: Remove orphaned lvmetad initscript
Peter Müller [Thu, 11 May 2023 20:09:23 +0000 (20:09 +0000)] 
Core Update 175: Remove orphaned lvmetad initscript

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agoinitscripts: removal of lvmetad initscript
Adolf Belka [Wed, 10 May 2023 17:17:46 +0000 (19:17 +0200)] 
initscripts: removal of lvmetad initscript

- With the last update of lvm2 lvmetad was removed from lvm2. I did not recognise that
   lvmetad had been setup as an automatic initscript, so it no longer works as the
   binary is no longer provided.
- This patch removes the lvmetad initscript, the reference to lvmetad in the initscript
   lfs file and the lvmetad initscript entries in the rootfile for each architecture.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
12 months agoCore Update 175: Ship backup.cgi
Peter Müller [Thu, 11 May 2023 20:07:33 +0000 (20:07 +0000)] 
Core Update 175: Ship backup.cgi

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agobackup.cgi: Read and deliver the requested backup in pieces
Stefan Schantl [Wed, 10 May 2023 09:52:03 +0000 (11:52 +0200)] 
backup.cgi: Read and deliver the requested backup in pieces

Read-in the requested backup file line by line and directly deliver this
as stream to the client.

This fixes the problem with very big backups on systems with very
limited RAM, which resulted in an OOM kill of the CGI and delivery
process.

Fixes #13096.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
12 months agoalsa: Uncomment the conf file names in the rootfile
Adolf Belka [Mon, 8 May 2023 17:07:23 +0000 (19:07 +0200)] 
alsa: Uncomment the conf file names in the rootfile

- Based on input from Arne Fitzenreiter there are conf files that alsa complains about if
   they are not present. This patch uncomments all the default conf files
- The backup include file is also added to the rootfile.

Suggested-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
12 months agoalsa: Fixes Bug#13087 - module removal & path correction for asound.state file
Adolf Belka [Mon, 8 May 2023 17:07:22 +0000 (19:07 +0200)] 
alsa: Fixes Bug#13087 - module removal & path correction for asound.state file

- start_service added to install.sh and stop_service to uninstall.sh
   This ensures that the modules are loaded after install
- The /etc/asound.state file was touched by the install.sh cript but the alsactl store and
   restore commands have default location of /var/lib/alsa/ so the touch command created
   an asound.state file that was then not used subsequently. It also meant that the first
   start of alsa would fail as it would try and restore from /var/lib/alsa/asound.state
   but the file did not exist.
- This patch corrects the path for the touch command for asound.state
- The install.sh script also checks if /etc/asound.state, that was never used, exists and
   if it does removes it.
- Uninstalling alsa left the sound modules installed until a reboot was carried out.
   Uninstallation should unload the alsa kernel modules.
   This patch adds the modprobe -r commands to the uninstall.sh file to unload all the snd
   modules when alsa is uninstalled.
- make_backup and restore_backup commands added to ther install.sh and uninstall.sh scripts

Fixes: Bug#13087
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
12 months agoalsa: Add in a backup include file for alsa specifying the asound.state file
Adolf Belka [Mon, 8 May 2023 17:07:21 +0000 (19:07 +0200)] 
alsa: Add in a backup include file for alsa specifying the asound.state file

- This will backup the sound card status with the asound.state file when the addon is
   uninstalled so that if it is re-installed in the future the status can be rerstored.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
12 months agoalsa: Fix bug#13087 remove services entry
Adolf Belka [Mon, 8 May 2023 17:07:20 +0000 (19:07 +0200)] 
alsa: Fix bug#13087 remove services entry

- alsa has an initscript but it is not starting and stopping a traditional daemon service.
   The initscript loads some alsa modules and then restores the asound.state file
- This patch updates the PAK_VER number and removes the services entry and explicitly
   adds alsa in for the initscript installation.
- Additionally this patch also adds the installation of a backup include file for alsa
   which savces the soundcards status file asound.state

Fixes: Bug#13087
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
12 months agoCore Update 175: Ship and restart Squid
Peter Müller [Thu, 11 May 2023 20:06:06 +0000 (20:06 +0000)] 
Core Update 175: Ship and restart Squid

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agosquid: Update to 5.9
Matthias Fischer [Wed, 3 May 2023 19:00:34 +0000 (21:00 +0200)] 
squid: Update to 5.9

For details see:
https://github.com/squid-cache/squid/commits/v5

The translation files are back in the source code... ;-)

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
12 months agolinux: Compile "Intel XHCI USB Role Switch" as a module on x86_64
Peter Müller [Tue, 18 Apr 2023 20:52:00 +0000 (20:52 +0000)] 
linux: Compile "Intel XHCI USB Role Switch" as a module on x86_64

From the kernel documentation:

> Driver for the internal USB role switch for switching the USB data
> lines between the xHCI host controller and the dwc3 gadget controller
> found on various Intel SoCs. [...]

This may unblock USB-LAN-adaptor usage on certain boards, as reported
once in #12750. Overall affected devices seem to be scanty;
nevertheless, enabling this as a module only is highly unlikely to cause
any harm, so let's give it a try.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agoCore Update 175: Ship log.dat
Peter Müller [Thu, 11 May 2023 20:04:12 +0000 (20:04 +0000)] 
Core Update 175: Ship log.dat

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agoAdd Zabbix Agent to logviewer
Robin Roevens [Tue, 18 Apr 2023 18:45:12 +0000 (20:45 +0200)] 
Add Zabbix Agent to logviewer

- Configure Zabbix Agent to log to syslog instead of its own logs.
- Remove old zabbix log-dir and logrotate settings from rootfile, lfs
  and install-script.
- Update log.dat to view Zabbix Agent logging from syslog.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
12 months agoBugfix: compatibility with grep 3.8+
Robin Roevens [Tue, 18 Apr 2023 18:45:11 +0000 (20:45 +0200)] 
Bugfix: compatibility with grep 3.8+

Fix "grep: warning: stray \ before /" message on
Zabbix Agent ipfire.net.fw.hits item introduced by
grep 3.8 in
https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=40b5df3942149738529c22c9cfcd067cd672b605

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
12 months agozabbix_agentd: Update to 6.0.16 (LTS)
Robin Roevens [Tue, 18 Apr 2023 18:45:10 +0000 (20:45 +0200)] 
zabbix_agentd: Update to 6.0.16 (LTS)

- Update from version 6.0.6 to 6.0.16
- Update of rootfile not required
- Changelog
 No substantial changes for Agent Linux version
 Changelogs since 6.0.6:
 - https://www.zabbix.com/rn/rn6.0.7
 - https://www.zabbix.com/rn/rn6.0.8
 - https://www.zabbix.com/rn/rn6.0.9
 - https://www.zabbix.com/rn/rn6.0.10
 - https://www.zabbix.com/rn/rn6.0.11
 - https://www.zabbix.com/rn/rn6.0.12
 - https://www.zabbix.com/rn/rn6.0.13
 - https://www.zabbix.com/rn/rn6.0.14
 - https://www.zabbix.com/rn/rn6.0.15
 - https://www.zabbix.com/rn/rn6.0.16

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
12 months agoCore Update 175: Ship and restart Suricata
Peter Müller [Thu, 11 May 2023 20:02:12 +0000 (20:02 +0000)] 
Core Update 175: Ship and restart Suricata

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agoCore Update 175: Ship libhtp
Peter Müller [Thu, 11 May 2023 20:01:34 +0000 (20:01 +0000)] 
Core Update 175: Ship libhtp

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agolibhtp: Update to 0.5.43
Matthias Fischer [Fri, 14 Apr 2023 08:20:28 +0000 (10:20 +0200)] 
libhtp: Update to 0.5.43

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

"htp: do not log content-encoding: none
 htp: do not error on multiple 100 Continue
 readme: remove note on libhtp not being stable
 uri: fix compile warning strict-prototypes
 bstr: fix compile warning strict-prototypes
 fuzz_diff: Free the rust test object.
 github: add CIFuzz workflow"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
12 months agosuricata: Update to 6.0.11
Matthias Fischer [Fri, 14 Apr 2023 08:20:27 +0000 (10:20 +0200)] 
suricata: Update to 6.0.11

Excerpt from changelog:

"6.0.11 -- 2023-04-13

Security #5947: byte_math: Division by zero possible. (6.0.x backport)
Bug #5970: detect: reload can stall if flow housekeeping takes too long (6.0.x backport)
Bug #5967: flowworker: Assertion in CheckWorkQueue (6.0.x backport)
Bug #5953: http: multipart data is not filled up to request.body-limit (6.0.x backport)
Bug #5951: detect: multi-tenancy crash (6.0.x backport)
Bug #5950: http2: quadratic complexity when reducing dynamic headers table size (6.0.x backport)
Bug #5949: smtp: quadratic complexity for tx iterator with linked list (6.0.x backport)
Bug #5948: fast_pattern assignment of specific content in combination with urilen results in FN (6.0.x backport)
Bug #5946: flow/manager: fix unhandled division by 0 (prealloc: 0) (6.0.x backport)
Bug #5942: exception/policy: flow action doesn't fall back to packet action when there's no flow (6.0.x backports)
Bug #5933: smb: tx logs sometimes have duplicate `tree_id` output (6.0.x backport)
Bug #5932: rfb/eve: depth in pixel format logged twice (6.0.x backport)
Bug #5906: dns: unused events field can overflow as an integer
Bug #5903: UBSAN: undefined shift in DetectByteMathDoMatch (6.0.x backport)
Bug #5899: smb: no consistency check between NBSS length and length field for some SMB operations (6.0.x backport)
Bug #5898: smb: possible evasion with trailing nbss data (6.0.x backport)
Bug #5896: base64_decode not populating up to an invalid character (6.0.x backport)
Bug #5895: stream: connections time out too early (6.0.x backport)
Bug #5889: stream: SYN/ACK timestamp checking blocks valid traffic (6.0.x backport)
Bug #5888: false-positive drop event_types possible on passed packets (6.0.x backport)
Bug #5887: stream: overlap with different data false positive (6.0.x backport)
Bug #5886: mime: debug assertion on fuzz input (6.0.x backport)
Bug #5879: netmap: Module registration displays whether info about new API usage
Bug #5863: netmap: packet stalls (6.0.x backport)
Bug #5854: SMTP does not handle LF post line limit properly (6.0.x backport)
Bug #5852: tcp/stream: session reuse on tcp flows w/o sessions (6.0.x backport)
Feature #5853: yaml: set suricata version in generated config (6.0.x backport)
Task #5985: libhtp 0.5.43 (6.0.x backport)"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
12 months agokernel: patch CVE-2023-32233
Arne Fitzenreiter [Wed, 10 May 2023 12:23:24 +0000 (14:23 +0200)] 
kernel: patch CVE-2023-32233

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
12 months agobind: Update to 9.16.40
Matthias Fischer [Sun, 23 Apr 2023 11:42:38 +0000 (13:42 +0200)] 
bind: Update to 9.16.40

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

"Notes for BIND 9.16.40
Bug Fixes

    Logfiles using timestamp-style suffixes were not always correctly
    removed when the number of files exceeded the limit set by versions.
    This has been fixed for configurations which do not explicitly specify
    a directory path as part of the file argument in the channel
    specification. [GL #3959] [GL #3991]

    Performance of DNSSEC validation in zones with many DNSKEY records has
    been improved. [GL #3981]"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agomemtest: update to memtest86+ 6.10
Arne Fitzenreiter [Fri, 5 May 2023 05:20:45 +0000 (07:20 +0200)] 
memtest: update to memtest86+ 6.10

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoclamav: Update to 1.1.0
Matthias Fischer [Wed, 3 May 2023 19:11:51 +0000 (21:11 +0200)] 
clamav: Update to 1.1.0

For details see:
https://blog.clamav.net/2023/05/clamav-110-released.html

"Major changes

    Added the ability to extract images embedded in HTML CSS <style> blocks.

    Updated to Sigtool so that the --vba option will extract VBA code from
    Microsoft Office documents the same way that libclamav extracts VBA.
    This resolves several issues where Sigtool could not extract VBA.
    Sigtool will also now display the normalized VBA code instead of the
    pre-normalized VBA code.

    Added a new ClamScan and ClamD option: --fail-if-cvd-older-than=days.
    Additionally, we introduce FailIfCvdOlderThan as a clamd.conf synonym
    for --fail-if-cvd-older-than. When passed, it causes ClamD to exit on
    startup with a non-zero return code if the virus database is older than
    the specified number of days.

    Added a new function cl_cvdgetage() to the libclamav API. This function
    will retrieve the age in seconds of the youngest file in a database
    directory, or the age of a single CVD (or CLD) file.

    Added a new function cl_engine_set_clcb_vba() to the libclamav API. Use
    this function to set a cb_vba callback function. The cb_vba callback
    function will be run whenever VBA is extracted from office documents.
    The provided data will be a normalized copy of the extracted VBA. This
    callback was added to support Sigtool so that it can use the same VBA
    extraction logic that ClamAV uses to scan documents.

Other improvements

    Removed the vendored TomsFastMath library in favor of using OpenSSL to
    perform "big number"/multiprecision math operations. Work courtesy of
    Sebastian Andrzej Siewior.

    Build system: Added CMake option DO_NOT_SET_RPATH to avoid setting
    RPATH on Unix systems. Feature courtesy of Sebastian Andrzej Siewior.

    Build system: Enabled version-scripts with CMake to limit symbol
    exports for libclamav, libfreshclam, libclamunrar_iface, and
    libclamunrar shared libraries on Unix systems, excluding macOS.
    Improvement courtesy of Orion Poplawski and Sebastian Andrzej Siewior.

    Build system: Enabled users to pass in custom Rust compiler flags using
    the RUSTFLAGS CMake variable. Feature courtesy of Orion Poplawski.

    Removed a hard-coded alert for CVE-2004-0597. The CVE is old enough
    that it is no longer a threat and the detection had occasional
    false-positives.

    Set Git attributes to prevent Git from altering line endings for Rust
    vendored libraries. Third-party Rust libraries are bundled in the
    ClamAV release tarball. We do not commit them to our own Git
    repository, but community package maintainers may now store the tarball
    contents in Git. The Rust build system verifies the library manifest,
    and this change ensures that the hashes are correct. Improvement
    courtesy of Nicolas R.

    Fixed compile time warnings. Improvement courtesy of Razvan Cojocaru.

    Added a minor optimization when matching domain name regex signatures
    for PDB, WDB and CDB type signatures.

    Build system: Enabled the ability to select a specific Python version.
    When building, you may use the CMake option -D
    PYTHON_FIND_VER=<version> to choose a specific Python version. Feature
    courtesy of Matt Jolly.

    Added improvements to the ClamOnAcc process log output so that it is
    easier to diagnose bugs.

    Windows: Enabled the MSI installer to upgrade between feature versions
    more easily when ClamAV is installed to a location different from the
    default (i.e., not C:\Program Files\ClamAV). This means that the MSI
    installer can find a previous ClamAV 1.0.x installation to upgrade to
    ClamAV 1.1.0.

    Sigtool: Added the ability to change the location of the temp directory
    using the --tempdir option and added the ability to retain the temp
    files created by Sigtool using the --leave-temps option.

    Other minor improvements.

Bug fixes

    Fixed the broken ExcludePUA / --exclude-pua feature. Fix courtesy of
    Ged Haywood and Shawn Iverson.

    Fixed an issue with integer endianness when parsing Windows executables
    on big-endian systems. Fix courtesy of Sebastian Andrzej Siewior.

    Fixed a possible stack overflow read when parsing WDB signatures. This
    issue is not a vulnerability.

    Fixed a possible index out of bounds when loading CRB signatures. This
    issue is not a vulnerability.

    Fixed a possible use after free when reading logical signatures. This
    issue is not a vulnerability.

    Fixed a possible heap overflow read when reading PDB signatures. This
    issue is not a vulnerability.

    Fixed a possible heap overflow read in javascript normalizer module.
    This issue is not a vulnerability.

    Fixed two bugs that would cause Freshclam to fail update when applying
    a CDIFF database patch if that patch adds a file to the database
    archive or removes a file from the database archive. This bug also
    caused Sigtool to fail to create such a patch.

    Fixed an assortment of complaints identified by Coverity static analysis.

    Fixed one of the Freshclam tests that was failing on some Fedora
    systems due to a bug printing debug-level log messages to stdout. Fix
    courtesy of Arjen de Korte.

    Correctly remove temporary files generated by the VBA and XLM
    extraction modules so that the files are not leaked in patched versions
    of ClamAV where temporary files are written directly to the
    temp-directory instead of writing to a unique subdirectory."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agominidlna: bump PAK_VER due to ffmpeg library sobump
Adolf Belka [Tue, 2 May 2023 17:54:00 +0000 (19:54 +0200)] 
minidlna: bump PAK_VER due to ffmpeg library sobump

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoshairport-sync: bump PAK_VER due to ffmpeg library sobump
Adolf Belka [Tue, 2 May 2023 17:53:59 +0000 (19:53 +0200)] 
shairport-sync: bump PAK_VER due to ffmpeg library sobump

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agompd: bump PAK_VER due to ffmpeg library sobump
Adolf Belka [Tue, 2 May 2023 17:53:58 +0000 (19:53 +0200)] 
mpd: bump PAK_VER due to ffmpeg library sobump

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoffmpeg: Update to version 6.0
Adolf Belka [Tue, 2 May 2023 17:53:57 +0000 (19:53 +0200)] 
ffmpeg: Update to version 6.0

- Update from version 5.1.2 to 6.0
- Update of rootfile
- sobump occurs so find-dependencies checked and the addons mpd, shairport-sync &
   minidlna will be bumped to the next PAK_VER as a patch set with this change.
- Changelog
    version 6.0:
- Radiance HDR image support
- ddagrab (Desktop Duplication) video capture filter
- ffmpeg -shortest_buf_duration option
- ffmpeg now requires threading to be built
- ffmpeg now runs every muxer in a separate thread
- Add new mode to cropdetect filter to detect crop-area based on motion vectors and edges
- VAAPI decoding and encoding for 10/12bit 422, 10/12bit 444 HEVC and VP9
- WBMP (Wireless Application Protocol Bitmap) image format
- a3dscope filter
- bonk decoder and demuxer
- Micronas SC-4 audio decoder
- LAF demuxer
- APAC decoder and demuxer
- Media 100i decoders
- DTS to PTS reorder bsf
- ViewQuest VQC decoder
- backgroundkey filter
- nvenc AV1 encoding support
- MediaCodec decoder via NDKMediaCodec
- MediaCodec encoder
- oneVPL support for QSV
- QSV AV1 encoder
- QSV decoding and encoding for 10/12bit 422, 10/12bit 444 HEVC and VP9
- showcwt multimedia filter
- corr video filter
- adrc audio filter
- afdelaysrc audio filter
- WADY DPCM decoder and demuxer
- CBD2 DPCM decoder
- ssim360 video filter
- ffmpeg CLI new options: -stats_enc_pre[_fmt], -stats_enc_post[_fmt],
  -stats_mux_pre[_fmt]
- hstack_vaapi, vstack_vaapi and xstack_vaapi filters
- XMD ADPCM decoder and demuxer
- media100 to mjpegb bsf
- ffmpeg CLI new option: -fix_sub_duration_heartbeat
- WavArc decoder and demuxer
- CrystalHD decoders deprecated
- SDNS demuxer
- RKA decoder and demuxer
- filtergraph syntax in ffmpeg CLI now supports passing file contents
  as option values, by prefixing option name with '/'
- hstack_qsv, vstack_qsv and xstack_qsv filters
    For more details about the changes you have to review the commits in the git repo
     https://git.ffmpeg.org/gitweb/ffmpeg.git/shortlog/n6.0

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agocore175: ship zstd
Arne Fitzenreiter [Wed, 3 May 2023 07:53:29 +0000 (07:53 +0000)] 
core175: ship zstd

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agozstd: Update to version 1.5.5
Adolf Belka [Tue, 2 May 2023 17:53:21 +0000 (19:53 +0200)] 
zstd: Update to version 1.5.5

- Update from version 1.5.4 to 1.5.5
- Update of rootfile
- Changelog
    v1.5.5 (Apr 2023)
fix: fix rare corruption bug affecting the high compression mode, reported by @danlark1 (#3517, @terrelln)
perf: improve mid-level compression speed (#3529, #3533, #3543, @yoniko and #3552, @terrelln)
lib: deprecated bufferless block-level API (#3534) by @terrelln
cli: mmap large dictionaries to save memory, by @daniellerozenblit
cli: improve speed of --patch-from mode (~+50%) (#3545) by @daniellerozenblit
cli: improve i/o speed (~+10%) when processing lots of small files (#3479) by @felixhandte
cli: zstd no longer crashes when requested to write into write-protected directory (#3541) by @felixhandte
cli: fix decompression into block device using -o, reported by @georgmu (#3583)
build: fix zstd CLI compiled with lzma support but not zlib support (#3494) by @Hello71
build: fix cmake does no longer require 3.18 as minimum version (#3510) by @kou
build: fix MSVC+ClangCL linking issue (#3569) by @tru
build: fix zstd-dll, version of zstd CLI that links to the dynamic library (#3496) by @yoniko
build: fix MSVC warnings (#3495) by @embg
doc: updated zstd specification to clarify corner cases, by @Cyan4973
doc: document how to create fat binaries for macos (#3568) by @rickmark
misc: improve seekable format ingestion speed (~+100%) for very small chunk sizes (#3544) by @Cyan4973
misc: tests/fullbench can benchmark multiple files (#3516) by @dloidolt

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoopus: Update to version 1.4
Adolf Belka [Tue, 2 May 2023 17:53:20 +0000 (19:53 +0200)] 
opus: Update to version 1.4

- Updsate from version 1.3.1 to 1.4
- Update of rootfile
- Changelog
    opus 1.4 major release brings the following improvements and fixes:
    Improved tuning of the Opus in-band FEC (LBRR).
             See https://gitlab.xiph.org/xiph/opus/-/issues/2360 for details
    Added a OPUS_SET_INBAND_FEC(2) option that turns on FEC, but does not force
             SILK mode (FEC will be disabled in CELT mode)
    Improved tuning and various fixes to DTX
    Added Meson support, improved CMake support In addition to the improvements
             above, this release includes many minor bug fixes.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agonfs: Update to version 2.6.3
Adolf Belka [Tue, 2 May 2023 17:53:19 +0000 (19:53 +0200)] 
nfs: Update to version 2.6.3

- Update from version 2.6.2 to 2.6.3
- Update of rootfile
- Changelog is available in sourceforge at the following url
   https://sourceforge.net/projects/nfs/files/nfs-utils/2.6.3/

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agocore175: ship lvm2
Arne Fitzenreiter [Wed, 3 May 2023 07:49:30 +0000 (07:49 +0000)] 
core175: ship lvm2

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agolvm2: Update to version 2.03.21
Adolf Belka [Tue, 2 May 2023 17:53:18 +0000 (19:53 +0200)] 
lvm2: Update to version 2.03.21

- Update from version 2.02.188 to 2.03.21
- Update of rootfile
- Changelog
    version 2.03.21 - 21st April 2023
  Fix activation of vdo-pool for with 0 length headers (converted pools).
  Avoid printing internal init messages when creation integration devices.
  Allow (write)cache over raid+integrity LV.
    version 2.03.20 - 21st March 2023
  Fix segfault if using -S|--select with log/report_command_log=1 setting.
  Configure now fails when requested lvmlockd dependencies are missing.
  Add some configure Gentoo enhancements for static builds.
    version 2.03.19 - 21st February 2023
  Configure supports --with-systemd-run executed from udev rules.
  Enhancement for build with MuslC systemd and non-bash system shells (dash).
  Do not reset SYSTEMD_READY variable in udev for PVs on MD and loop devices.
  Ensure udev is processing origin LV before its thick snapshots LVs.
  Fix and improve runtime memory size detection for VDO volumes.
    version 2.03.18 - 22nd December 2022
  Fix issues reported by coverity scan.
  Fix warning for thin pool overprovisioning on lvextend (2.03.17).
  Add support for writecache metadata_only and pause_writeback settings.
  Fix missing error messages in lvmdbusd.
    Version 2.03.17 - 10th November 2022
  Add new options (--fs, --fsmode) for FS handling when resizing LVs.
  Fix 'lvremove -S|--select LV' to not also remove its historical LV right away.
  Fix lv_active field type to binary so --select and --binary applies properly.
  Switch to use mallinfo2 and use it only with glibc.
  Error out in lvm shell if using a cmd argument not supported in the shell.
  Fix lvm shell's lastlog command to report previous pre-command failures.
  Extend VDO and VDOPOOL without flushing and locking fs.
  Add --valuesonly option to lvmconfig to print only values without keys.
  Updates configure with recent autoconf tooling.
  Fix lvconvert --test --type vdo-pool execution.
  Add json_std output format for more JSON standard compliant version of output.
  Fix vdo_slab_size_mb value for converted VDO volume.
  Fix many corner cases in device_id, including handling of S/N duplicates.
  Fix various issues in lvmdbusd.
    Version 2.03.16 - 18th May 2022
  Fix segfault when handling selection with historical LVs.
  Add support --vdosettings with lvcreate, lvconvert, lvchange.
  Filtering multipath devices respects blacklist setting from multipath
  configuration.
  lvmdevices support for removing by device id using --deviceidtype and
  --deldev.
  Display writecache block size with lvs -o writecache_block_size.
  Improve cachesettings description in man lvmcache.
  Fix lossing of delete message on thin-pool extension.
    Version 2.03.15 - 07th February 2022
  Remove service based autoactivation. global/event_activation = 0 is NOOP.
  Improve support for metadata profiles for --type writecache.
  Use cache or active DM device when available with new kernels.
  Introduce function to utilize UUIDs from DM_DEVICE_LIST.
  Increase some hash table size to better support large device sets.
    Version 2.03.14 - 20th October 2021
  Device scanning is skipping directories on different filesystems.
  Print info message with too many or too large archived files.
  Reduce metadata readings during scanning phase.
  Optimize computation of crc32 check sum with multiple PVs.
  Enhance recover path on cache creation failure.
  Filter out unsupported MQ/SMQ cache policy setting.
  Fix memleak in mpath filter.
  Support newer location for VDO statistics.
  Add support for VDO async-unsafe write policy.
  Improve lvm_import_vdo script.
  Support VDO LV with lvcreate -ky.
  Fix lvconvert for VDO LV bigger then 2T.
  Create VDO LVs automatically without zeroing.
  Rename vdoimport to lvm_import_vdo.
    Version 2.03.13 - 11th August 2021
  Changes in udev support:
  - obtain_device_list_from_udev defaults to 0.
  - see devices/external_device_info_source,
    devices/obtain_device_list_from_udev, and devices/multipath_wwids_file help
    in lvm.conf
  Fix devices file handling of loop with deleted backing file.
  Fix devices file handling of scsi_debug WWIDs.
  Fix many static analysis issues.
  Support --poolmetadataspare with vgsplit and vgmerge.
  Fix detection of active components of external origin volume.
  Add vdoimport tool to support conversion of VDO volumes.
  Support configurable allocation/vdo_pool_header_size.
  Fix handling of lvconvert --type vdo-pool --virtualsize.
  Simplified handling of archive() and backup() internal calls.
  Add 'idm' locking type for IDM lock manager.
  Fix load of kvdo target when it is not present in memory (2.03.12).
    Version 2.03.12 - 07th May 2021
  Allow attaching cache to thin data volume.
  Fix memleak when generating list of outdated pvs.
  Better hyphenation usage in man pages.
  Replace use of deprecated security_context_t with char*.
  Configure supports AIO_LIBS and AIO_CFLAGS.
  Improve build process for static builds.
  New --setautoactivation option to modify LV or VG auto activation.
  New metadata based autoactivation property for LVs and VGs.
  Improve signal handling with lvmpolld.
  Signal handler can interrupt command also for SIGTERM.
  Lvreduce --yes support.
  Add configure option --with/out-symvers for non-glibc builds.
  Report error when the filesystem is missing on fsadm resized volume.
  Handle better blockdev with --getsize64 support for fsadm.
  Do not include editline/history.h when using editline library.
  Support error and zero segtype for thin-pool data for testing.
  Support mixed extension for striped, error and zero segtypes.
  Support resize also for stacked virtual volumes.
  Skip dm-zero devices just like with dm-error target.
  Reduce ioctl() calls when checking target status.
  Merge polling does not fail, when LV is found to be already merged.
  Poll volumes with at least 100ms delays.
  Do not flush dm cache when cached LV is going to be removed.
  New lvmlockctl_kill_command configuration option.
  Support interruption while waiting on device close before deactivation.
  Flush thin-pool messages before removing more thin volumes.
  Improve hash function with less collisions and make it faster.
  Reduce ioctl count when deactivating volumes.
  Reduce number of metadata parsing.
  Enhance performance of lvremove and vgremove commands.
  Support interruption when taking archive and backup.
  Accelerate large lvremoves.
  Speedup search for cached device nodes.
  Speedup command initialization.
  Add devices file feature, off by default for now.
  Support extension of writecached volumes.
  Fix problem with unbound variable usage within fsadm.
  Fix IMSM MD RAID detection on 4k devices.
  Check for presence of VDO target before starting any conversion.
  Support metatadata profiles with volume VDO pool conversions.
  Support -Zn for conversion of already formated VDO pools.
  Avoid removing LVs on error path of lvconvert during creation volumes.
  Fix crashing lvdisplay when thin volume was waiting for merge.
  Support option --errorwhenfull when converting volume to thin-pool.
  Improve thin-performance profile support conversion to thin-pool.
  Add workaround to avoid read of internal 'converted' devices.
  Prohibit merging snapshot into the read-only thick snapshot origin.
  Restore support for flipping rw/r permissions for thin snapshot origin.
  Support resize of cached volumes.
  Disable autoactivation with global/event_activation=0.
  Check if lvcreate passes read_only_volume_list with tags and skips zeroing.
  Allocation prints better error when metadata cannot fit on a single PV.
  Pvmove can better resolve full thin-pool tree move.
  Limit pool metadata spare to 16GiB.
  Improves conversion and allocation of pool metadata.
  Support thin pool metadata 15.88GiB, adds 64MiB, thin_pool_crop_metadata=0.
  Enhance lvdisplay to report raid available/partial.
  Support online rename of VDO pools.
  Improve removal of pmspare when last pool is removed.
  Fix problem with wiping of converted LVs.
  Fix memleak in scanning  (2.03.11).
  Fix corner case allocation for thin-pools.
    Version 2.03.11 - 08th January 2021
  Fix pvck handling MDA at offset different from 4096.
  Partial or degraded activation of writecache is not allowed.
  Enhance error handling for fsadm and handle correct fsck result.
  Dmeventd lvm plugin ignores higher reserved_stack lvm.conf values.
  Support using BLKZEROOUT for clearing devices.
  Support interruption when wipping LVs.
  Support interruption for bcache waiting.
  Fix bcache when device has too many failing writes.
  Fix bcache waiting for IO completion with failing disks.
  Configure use own python path name order to prefer using python3.
  Add configure --enable-editline support as an alternative to readline.
  Enhance reporting and error handling when creating thin volumes.
  Enable vgsplit for VDO volumes.
  Lvextend of vdo pool volumes ensure at least 1 new VDO slab is added.
  Use revert_lv() on reload error path after vg_revert().
  Configure --with-integrity enabled.
  Restore lost signal blocking while VG lock is held.
  Improve estimation of needed extents when creating thin-pool.
  Use extra 1% when resizing thin-pool metadata LV with --use-policy.
  Enhance --use-policy percentage rounding.
  Configure --with-vdo and --with-writecache as internal segments.
  Improving VDO man page examples.
  Allow pvmove of writecache origin.
  Report integrity fields.
  Integrity volumes defaults to journal mode.
  Switch code base to use flexible array syntax.
  Fix 64bit math when calculation cachevol size.
  Preserve uint32_t for seqno handling.
  Switch from mmap to plain read when loading regular files.
  Update lvmvdo man page and better explain DISCARD usage.
    Version 2.03.10 - 09th August 2020
  Add writecache and integrity support to lvmdbusd.
  Generate unique cachevol name when default required from lvcreate.
  Converting RAID1 volume to one with same number of legs now succeeds with a
  warning.
  Fix conversion to raid from striped lagging type.
  Fix conversion to 'mirrored' mirror log with larger regionsize.
  Zero pool metadata on allocation (disable with allocation/zero_metadata=0).
  Failure in zeroing or wiping will fail command (bypass with -Zn, -Wn).
  Add lvcreate of new cache or writecache lv with single command.
  Fix running out of free buffers for async writing for larger writes.
  Add integrity with raid capability.
  Fix support for lvconvert --repair used by foreign apps (i.e. Docker).
    Version 2.03.09 - 26th March 2020
  Fix formatting of vdopool (vdo_slab_size_mb was smaller by 2 bits).
  Fix showing of a dm kernel error when uncaching a volume with cachevol.
    Version 2.03.08 - 11th February 2020
  Prevent problematic snapshots of writecache volumes.
  Add error handling for failing allocation in _reserve_area().
  Fix memleak in syncing of internal cache.
  Fix pvck dump_current_text memleak.
  Fix lvmlockd result code on error path for _query_lock_lv().
  Update pvck man page and help output.
  Reject invalid writecache high/low_watermark setting.
  Report writecache status.
  Accept more output lines from vdo_format.
  Prohibit reshaping of stacked raid LVs.
  Avoid running cache input arg validation when creating vdo pool.
  Prevent raid reshaping of stacked volumes.
  Added VDO lvmdbusd methods for enable/disable compression & dedupe.
  Added VDO lvmdbusd method for converting LV to VDO pool.
    Version 2.03.07 - 30th November 2019
  Subcommand in vgck for repairing headers and metadata.
  Ensure minimum required region size on striped RaidLV creation.
  Fix resize of thin-pool with data and metadata of different segtype.
  Improve mirror type leg splitting.
  Improve error path handling in daemons on shutdown.
  Fix activation order when removing merged snapshot.
  Experimental VDO support for lvmdbusd.
   Version 2.03.06 - 23rd October 2019
  Add _cpool suffix to cache-pool LV name when used by caching LV.
  No longer store extra UUID for cmeta and cdata cachevol layer.
  Enhance activation of cache devices with cachevols.
  Add _cvol in list of protected suffixes and start use it with DM UUID.
  Rename LV converted to cachevol to use _cvol suffix.
  Use normal LVs for wiping of cachevols.
  Reload cleanered cache DM only with cleaner policy.
  Fix cmd return when zeroing of cachevol fails.
  Extend lvs to show all VDO properties.
  Preserve VDO write policy with vdopool.
  Increase default vdo bio threads to 4.
  Continue report when cache_status fails.
  Add support for DM_DEVICE_GET_TARGET_VERSION into device_mapper.
  Fix cmirrord usage of header files from device_mapper subdir.
  Allow standalone activation of VDO pool just like for thin-pools.
  Activate thin-pool layered volume as 'read-only' device.
  Ignore crypto devices with UUID signature CRYPT-SUBDEV.
  Enhance validation for thin and cache pool conversion and swapping.
  Improve internal removal of cached devices.
  Synchronize with udev when dropping snapshot.
  Add missing device synchronization point before removing pvmove node.
  Correctly set read_ahead for LVs when pvmove is finished.
  Remove unsupported OPTIONS+="event_timeout" udev rule from 11-dm-lvm.rules.
  Prevent creating VGs with PVs with different logical block sizes.
  Fix metadata writes from corrupting with large physical block size.
    Version 2.03.05 - 15th June 2019
  Fix command definition for pvchange -a.
  Add vgck --updatemetadata command that will repair metadata problems.
  Improve VG reading to work if one good copy of metadata is found.
  Report/display/scan commands that read VGs will no longer write/repair.
  Move metadata repairs from VG reading to VG writing.
  Add config setting md_component_checks to control MD component checks.
  Add end of device MD component checks when dev has no udev info.
    Version 2.03.04 - 10th June 2019
  Remove unused_duplicate_devs from cmd causing segfault in dmeventd.
    Version 2.03.03 - 07th June 2019
  Report no_discard_passdown for cache LVs with lvs -o+kernel_discards.
  Add pvck --dump option to extract metadata.
  Fix signal delivery checking race in libdaemon (lvmetad).
  Add missing Before=shutdown.target to LVM2 services to fix shutdown ordering.
  Skip autoactivation for a PV when PV size does not match device size.
  Remove first-pvscan-initialization which should no longer be needed.
  Add remote refresh through lvmlockd/dlm for shared LVs after lvextend.
  Ignore foreign and shared PVs for pvscan online files.
  Add config setting to control fields in debug file and verbose output.
  Add command[pid] and timestamp to debug file and verbose output.
  Fix missing growth of _pmsmare volume when extending _tmeta volume.
  Automatically grow thin metadata, when thin data gets too big.
  Add synchronization with udev before removing cached devices.
  Add support for caching VDO LVs and VDOPOOL LVs.
  Add support for vgsplit with cached devices.
  Query mpath device only once per command for its state.
  Use device INFO instead of STATUS when checking for mpath device uuid.
  Change default io_memory_size from 4 to 8 MiB.
  Add config setting io_memory_size to set bcache size.
  Fix pvscan autoactivation for concurrent pvscans.
  Change scan_lvs default to 0 so LVs are not scanned for PVs.
  Thin-pool selects power-of-2 chunk size by default.
  Cache selects power-of-2 chunk size by default.
  Support reszing for VDOPoolLV and VDOLV.
  Improve -lXXX%VG modifier which improves cache segment estimation.
  Ensure migration_threshold for cache is at least 8 chunks.
  Restore missing man info lvcreate --zero for thin-pools.
  Drop misleadning comment for metadata minimum_io_size for VDO segment.
  Add device hints to reduce scanning.
  Introduce LVM_SUPPRESS_SYSLOG to suppress syslog usage by generator.
  Fix generator quering lvmconfig unpresent config option.
  Fix memleak on bcache error path code.
  Fix missing unlock on lvm2 dmeventd plugin error path initialization.
  Improve Makefile dependency tracking.
  Move VDO support towards V2 target (6.2) support.
    Version 2.03.02 - 18th December 2018
  Fix missing proper initialization of pv_list struct when adding pv.
  Fix (de)activation of RaidLVs with visible SubLVs.
  Prohibit mirrored 'mirror' log via lvcreate and lvconvert.
  Use sync io if async io_setup fails, or use_aio=0 is set in config.
  Fix more issues reported by coverity scan.
    Version 2.03.01 - 31st October 2018
    Version 2.03.00 - 10th October 2018
  Add hot fix to avoiding locking collision when monitoring thin-pools.
  Allow raid4 -> linear conversion request.
  Fix lvconvert striped/raid0/raid0_meta -> raid6 regression.
  Add 'lvm2-activation-generator:' prefix for kmsg messages logged by generator.
  Add After=rbdmap.service to {lvm2-activation-net,blk-availability}.service.
  Reduce max concurrent aios to avoid EMFILE with many devices.
  Fix lvconvert conversion attempts to linear.
  Fix lvconvert raid0/raid0_meta -> striped regression.
  Fix lvconvert --splitmirror for mirror type (2.02.178).
  Do not pair cache policy and cache metadata format.
  lvconvert: reject conversions on raid1 LVs with split tracked SubLVs
  lvconvert: reject conversions on raid1 split tracked SubLVs
  Add basic creation support for VDO target.
  Never send any discard ioctl with test mode.
  Fix thin-pool alloc which needs same PV for data and metadata.
  Extend list of non-memlocked areas with newly linked libs.
  Enhance vgcfgrestore to check for active LVs in restored VG.
  Configure supports --disable-silent-rules for verbose builds.
  Fix unmonitoring of merging snapshots.
  Cache can uses metadata format 2 with cleaner policy.
  Fix check if resized PV can also fit metadata area.
  Avoid showing internal error in lvs output or pvmoved LVs.
  Remove clvmd
  Remove lvmlib (api)
  Remove lvmetad
  Use versionsort to fix archive file expiry beyond 100000 files.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agocore175: ship libxml2
Arne Fitzenreiter [Wed, 3 May 2023 07:47:09 +0000 (07:47 +0000)] 
core175: ship libxml2

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agolibxml2: Update to version 2.11.1
Adolf Belka [Tue, 2 May 2023 17:53:17 +0000 (19:53 +0200)] 
libxml2: Update to version 2.11.1

- Update from version 2.10.3 to 2.11.1
- Update of rootfile
- Changelog
   There were two CVE's in version 2.10.4
    v2.11.1: Apr 30 2023
Fixes build and ABI issues.
- cmake: Fix va_copy detection (Luca Niccoli)
- libxml.m4: Fix quoting
- Link with --undefined-version
- libxml2.syms: Revert removal of version information
    v2.11.0: Apr 28 2023
### Major changes
Protection against entity expansion attacks, also known as "billion laughs"
has been greatly improved. Malicious files should be detected reliably now
and false positives should be reduced. It is possible though that large
documents which make heavy use of entities are rejected now.
This release finally fixes symbol visibility on UNIX systems. Internal
symbols will now be hidden. While these symbols were never declared in public
headers, it was still possible to declare them manually. Now this won't work.
All symbol information has been removed from the ELF version script to fix
link errors with --no-undefined-version. The version nodes are kept so it
should still be possible to run binaries linked against older versions.
About 90 memory errors in code paths handling malloc failures have been fixed.
While these issues shouldn't impact security, this improves robustness under
memory pressure.
The XInclude engine has been reworked to properly support nested includes.
Several cases of quadratic behavior in the XML push parser have been fixed.
Refactoring has begun on some buffering and encoding code with the goal of
simplifying this part of the code base and improving error reporting.
Other highlights:
- Consolidated private header files.
- Major rework of the autoconf build.
- Deprecated several outdated and internal functions.
Special thanks to Google's Open Source Security Subsidies program for
sponsoring much of the work on this release!
Ongoing work on libxml2 relies on funding. For a list of important open
issues see <https://gitlab.gnome.org/GNOME/libxml2/-/issues/507>
### Security
- Fix use-after-free in xmlParseContentInternal() (David Kilzer)
- xmllint: Fix use-after-free with --maxmem
- parser: Fix OOB read when formatting error message
- entities: Rework entity amplification checks
### Regressions
- parser: Fix regression in xmlParserNodeInfo accounting
### Bug fixes
- Fix memory errors in code handling malloc failures
- encoding: Fix error code in asciiToUTF8
- xpath: number('-') should return NaN
- xmlParseStartTag2() contains typo when checking for default definitions for
  an attribute in a namespace (David Kilzer)
- uri: Fix handling of port numbers
- error: Make sure that error messages are valid UTF-8
- xinclude: Fix nested includes
### Improvements
- xmllint: Validate --maxmem integer option
- xmlValidatePopElement() can return invalid value (-1) (David Kilzer)
- parser: Rework EBCDIC code page detection
- parser: Limit name length in xmlParseEncName
- parser: Rework shrinking of input buffers
- html: Rely on CUR_CHAR to grow the input buffer
- parser: Rely on CUR_CHAR/NEXT to grow the input buffer
- valid: Make xmlValidateElement non-recursive
- html: Fix quadratic behavior in htmlParseTryOrFinish
- xmllint: Fix memory leak with --pattern --stream
- parser: Stop calling xmlParserInputShrink
- html: Impose some length limits
- valid: Allow xmlFreeValidCtxt(NULL)
- parser: Stop calling xmlParserInputGrow
- xinclude: Fix quadratic behavior in xmlXIncludeLoadTxt
- xinclude: Abort immediately if max depth was exceeded
- xpath: Only report the first error
- error: Don't move past current position
- error: Limit number of parser errors
- parser: Lower entity nesting limit with XML_PARSE_HUGE
- parser: Don't increase depth twice when parsing internal entities
- parser: Improve detection of entity loops
- parser: Only report a single entity error
- libxml.h: Remove dubious definition of LIBXML_STATIC
- html: Improve parsing of nested lists
- memory: Don't use locks in xmlMemUsed
- encoding: Remove unused variable xmlDefaultCharEncodingHandler
- Rework initialization code
- Add .editorconfig
- parser: Merge misc, prolog and epilog cases in push parser
- parser: Fix 'consumed' accounting when switching encodings
- html: Fix check for end of comment in push parser
- parser: Fix push parser with 1-3 byte initial chunk
- parser: Rewrite push parser boundary checks
- reader: Switch to xmlParserInputBufferCreateMem
- html: Don't escape ASCII chars in href attributes
- io: Don't shrink memory input buffers
- parser: Don't call xmlSHRINK from push parser
- parser: Ignore cdata argument in xmlParseCharData
- parser: Rework push parser parser progress checks
- io: Fix a few integer overflows in I/O statistics
- io: Rework xmlParserInputBufferGrow with encodings
- io: Remove xmlInputReadCallbackNop
- io: Check for memory buffer early in xmlParserInputGrow
- parser: Fix error message in xmlParseCommentComplex
- Bypass proxy in nanoHTTP for hosts in "no_proxy" (Markus Jörg)
- schemas: Fix infinite loop in xmlSchemaCheckElemSubstGroup
- threads: Remove check for pthread_equal
- xinclude: Rework XInclude cache
- xinclude: Remove inefficient refcounting scheme
- xmllint: Improve handling of empty XPath node sets
- parser: Fix potential memory leak in xmlParseAttValueInternal
- error: Don't use initGenericErrorDefaultFunc
- xpath: Lower XPath recursion limit on Windows
- Stop including sys/types.h
- Don't define WIN32 macro
- Make xmlNewSAXParserCtx take a const sax handler
- Consolidate private header files
- Remove internal macros from parserInternals.h
- Move some HTML functions to correct header file
- xmllint: Stop calling xmlSAXDefaultVersion
- Introduce xmlNewSAXParserCtxt and htmlNewSAXParserCtxt
- Don't mess with parser options in htmlParseDocument
- Remove useless call to htmlDefaultSAXHandlerInit
- Remove htmlDefaultSAXHandler from non-SAX1 build
- Don't initialize SAX handler in htmlReadMemory
- Fix htmlReadMemory mixing up XML and HTML functions
- Don't use default SAX handler to report unrelated errors
- Create stream with buffer in xmlNewStringInputStream
- xmlcatalog: Fix memory leaks
### Code quality
- xzlib: Fix implicit sign change in xz_open
- parser: Simplify calculation of available buffer space
- parser: Use size_t when subtracting input buffer pointers
- parser: Check for integer overflow when updating checkIndex
- xpath: Fix harmless integer overflow in xmlXPathTranslateFunction
- schematron: Use logical and
- relaxng: Remove useless if statement
- schemas: Remove useless if statement
- pattern: Merge identical branches
- regexp: Add sanity check in xmlRegCalloc2
- regexp: Simplify xmlRegAtomPush
- encoding: Cast toupper argument to unsigned char
- uri: Add explicit cast in xmlSaveUri
- buf: Fix return value of xmlBufGetInputBase
- parser: Fix integer overflow of input ID
- parser: Remove useless ent->etype test in xmlParseReference
- parser: Remove useless ent->children tests in xmlParseReference
- xmlmemory.c: Remove xmlMemContentShow
- libxml.h: Add comments and indentation
- libxml.h: Don't include stdio.h
- xmlexports.h: Disable docs for internal macro XMLPUBLIC
- parser: Simplify xmlParseConditionalSections
- io: Rearrange code in xmlSwitchInputEncodingInt
- warnings: Fix -Wstrict-prototypes warning
- warnings: Remove set-but-unused variables
- Fix compiler warnings in SAX2.c
- Fix unused variable warning in python/types.c
- Fix compiler warning in examples
- Fix compiler warnings in fuzzing code
- Remove unused code in nanohttp.c
- Remove or annotate char casts
- Don't use sizeof(xmlChar) or sizeof(char)
- Remove explicit integer casts
### Deprecations
- parser: Deprecate more internal functions
- parser: Deprecate some parser input functions
- parser: Deprecate xmlString*DecodeEntities
- threads: Deprecate some internal functions
- buf: Deprecate static/immutable buffers
- Deprecate internal parser functions
- Deprecate old HTML SAX API
- Generate deprecation warnings for old SAX API
- Mark more functions setting globals as deprecated
- Mark more parser functions as deprecated
- Mark most SAX1 functions as deprecated
- Deprecate some global variables
### Portability
- autoconf: Warn about outdated C compilers
- win32: Remove broken libxml2.def.src
- Remove symbols from version script
- catalog.c: Silence a cast warning on VS 2022 (Lukáš Tyrychtr)
- libxml.h: Remove ancient LynxOS setup
- Use python3 not python (Ross Burton)
- xstc/fixup-tests.py: port to Python 3 (Ross Burton)
- xstc/fixup-tests.py: unify whitespace (Ross Burton)
- Remove hacky heuristic from b2dc5675 (Alex Richardson)
- Avoid creating an out-of-bounds pointer by rewriting a check
  (Alex Richardson)
- Hide internal functions
- Correctly relocate internal pointers after realloc() (Alex Richardson)
- Visual Studio builds: Allow silencing deprecation warnings (Chun-wei Fan)
- Visual Studio: Define XML_DEPRECATED (Chun-wei Fan)
- xmllint: Include <io.h> on Windows
- warnings: Work around MSVC bug
- sources: Silence C4013 warnings on Visual Studio (Chun-wei Fan)
- python/setup.py.in: Improve Windows import patching (Chun-wei Fan)
- python: Create .pyd on Windows
- Fix Python build on Windows
- Fix Windows compiler warnings in python/types.c
- Fix libxml_PyFileGet
- Remove BeOS support
- Fix libxml_PyFileGet with stdout on macOS
- Migrate from PyEval_ to PyObject_
- Port build_glob.py to Python 3
- Port genChRanges.py to Python 3
- xmlexports.h: Remove LIBXML_FASTCALL optimization
- Remove XMLCALL and XMLCDECL macros from public headers
- Remove XMLDECL macro from .c files
### Build systems
- cmake: Link against `dl` and `dld` only when `LIBXML2_WITH_MODULES` is
  enabled (Alexander Kutelev)
- autotools: Fix make distcheck
- Remove RPM build, Makefile.tests, README.tests
- libxml.m4: deprecate AM_PATH_XML2, wrap PKG_CHECK_MODULES instead
  (Ross Burton)
- libxml.m4: fix -Wstrict-prototypes (Sam James)
- cmake: Build static library with -DLIBXML_STATIC
- autotools: Don't use version script on Windows
- autotools: Fix winsock detection
- autotools: Only add network libraries if HTTP/FTP enabled
- autotools: Disable parallel Python build
- python: Don't output missing generators during build
- build: Remove check for broken ss_family
- http: Simplify IPv6 checks
- autotools: Fix network checks on Windows
- Fix detection of GNU libiconv
- cmake: Fix Python installation
- cmake: Don't check for Python 2
- configure.ac: Also check for MSYS host
- Improve network library detection
- Detect ws2_32 with AC_SEARCH_LIBS
- Rework network configure checks
- Remove arg cast configure checks
- Fix dlopen check
- Remove HAVE_WIN32_THREADS configuration flag
- Rework dlopen and pthread detection
- Fix test in configure.ac
- cmake: Enable GCC compiler warnings
- Always link with -no-undefined
- Use AM_CFLAGS and AM_LDFLAGS consistently
- Remove -Wredundant-decls
- Call AC_CHECK_* with multiple arguments
- configure.ac: Remove checks for unused programs
- Rework library detection in configure.ac
- Rearrange configure.ac
- Consolidate zlib and lzma detection
- Remove "runtime debugging"
- Consolidate simple API modules in configure.ac
- Fix dependency resolution in configure.ac
- Fix --with-valid --without-regexps build
- Fix --with-schemas --without-xpath build
- Don't build unneeded .c source files
- Move xmlIsXHTML to tree.c
- Cleanup distribution settings in Makefile.am
- Also clean *.pyc files for Python 2
- Don't distribute libxml2.spec
### Tests
- testchar: Add test for memory pull parser with encoding
- fuzz: Also test init function of URI fuzzer
- fuzz: Separate fuzzer for DTD validation
- gitlab-ci: Enable all "integer" sanitizers
- fuzz: Inject random malloc failures
- fuzz: Support variable integer sizes in fuzz data
- fuzz: Fix duplicate detection in fuzzEntityRecorder
- fuzz: Set filename in xmlFuzzEntityLoader
- fuzz: Allow xmlFuzzReadString(NULL)
- fuzz: Fix Makefile dependencies
- fuzz: Add test/recurse to seed corpus
- fuzz: Add separate XInclude fuzzer
- runsuite: Some errors are expected
- testrecurse: Test entity expansion stats
- testapi.c: Initialize catalog early
- gentest.py: Fix memory leak in API tests
- tests: Enable "runsuite" test
- python/tests/reader2: use absolute paths everywhere (Ross Burton)
- python/tests/reader2: always exit(1) if a test fails (Ross Burton)
- testModule: exit if the module can't be opened (Ross Burton)
- CI: disable modules in gcc:static build (Ross Burton)
- CI: fix CI on MinGW builds (Ross Burton)
- python: Fix memory leak checks
- tests: Check that xmlInitParser doesn't allocate memory
- tests: Fix use-after-free in Python tests
- tests: Remove unneeded #includes
- gitlab-ci: Make Test-Msvc exit if ctest fails
- gitlab-ci: Treat compiler warnings as errors on MSVC
- test: Add test for push parser boundaries
- gitlab-ci: Upgrade image to Ubuntu 22.10, reenable MSan
- gitlab-ci: Reenable LeakSanitizer
- gitlab-ci: Fix llvm-symbolizer
- xinclude: Don't create result doc for test with errors
- xinclude: Also test error messages
- gitlab-ci: Allow cast-align warnings from clang
- gitlab-ci: Fix tar invocation
- gitlab-ci: Move MSVC test to separate script
- gitlab-ci: Fix SUFFIX, remove MINGW_PATH
- gitlab-ci: Consolidate CMake test scripts
- gitlab-ci: Only install MinGW autotools if needed
- gitlab-ci: Only install cmake MinGW package if needed
- gitlab-ci: Install 7-Zip using the .msi
- Use $MSYSTEM and 'bash -lc' in MinGW CI
- Add CI job for MinGW/Autotools
- Consolidate CI scripts
- Allow empty MINGW_PACKAGE_PREFIX
- Move Dockerfile to .gitlab-ci directory
- testapi: Disable on Windows for now
- Disable fuzzer tests if glob.h wasn't found
- Move automata test to runtest.c
- Fix testapi when building --without-sax1
# Documentation
- doc: Remove ancient files
- Remove ancient TODOs
- html: Fix htmlInitAutoClose documentation
- doc: Mention new location of XML catalog as breaking change
- doc: Mention potentially breaking changes in NEWS
- doc: Remove xmlDllMain from documentation and version script
- doc: Mention ${sysconfdir} in man pages
- doc: Document xmlcatalog --convert
- doc: Document xmllint --nodict and --pedantic
- doc: Fix indentation in source XML files
- xmllint: Document --quiet option
- Improve cross-references in API docs
- Improve documentation of globals
- Fix documentation parser
- Support comments for global variables in documentation
- Fix update call in apibuild.py
- Don't index anything in DOC_DISABLE sections
- Fix warnings from apibuild.py
- Start with documentation for maintainers
    v2.10.4: Apr 11 2023
### Security
- [CVE-2023-29469] Hashing of empty dict strings isn't deterministic
- [CVE-2023-28484] Fix null deref in xmlSchemaFixupComplexType
- schemas: Fix null-pointer-deref in xmlSchemaCheckCOSSTDerivedOK
### Regressions
- SAX2: Ignore namespaces in HTML documents
- io: Fix "buffer full" error with certain buffer sizes

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agocore175: ship iproute2
Arne Fitzenreiter [Wed, 3 May 2023 07:44:39 +0000 (07:44 +0000)] 
core175: ship iproute2

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoiproute2: Update to version 6.3.0
Adolf Belka [Tue, 2 May 2023 17:53:15 +0000 (19:53 +0200)] 
iproute2: Update to version 6.3.0

- Update from version 6.2.0 to 6.3.0
- Update of rootfile not required
- Changelog can only be reviewed by looking at the commits in the git repo
   https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/log/

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoharfbuzz: Update to version 7.2.0
Adolf Belka [Tue, 2 May 2023 17:53:14 +0000 (19:53 +0200)] 
harfbuzz: Update to version 7.2.0

- Update from version 7.0.1 to 7.2.0
- Update of rootfile
- Changelog
    Overview of changes leading to 7.2.0
- Add Tifinagh to the list of scripts that can natively be either right-to-left
  or left-to-right, to improve handling of its glyph positioning.
  (Simon Cozens)
- Return also single substitution from hb_ot_layout_lookup_get_glyph_alternates()
  (Behdad Esfahbod)
- Fix 4.2.0 regression in applying across syllables in syllabic scripts.
  (Behdad Esfahbod)
- Add flag to avoid glyph substitution closure during subsetting, and the
  corresponding “--no-layout-closure” option to “hb-subset” command line tool.
  (Garret Rieger)
- Support instancing COLRv1 table. (Qunxin Liu)
- Don’t drop used user-defined name table entries during subsetting.
  (Qunxin Liu)
- Optimize handling of “gvar” table. (Behdad Esfahbod)
- Various subsetter bug fixes and improvements. (Garret Rieger, Qunxin Liu)
- Various documentation improvements. (Behdad Esfahbod, Josef Friedrich)
- New API:
    +HB_SUBSET_FLAGS_NO_LAYOUT_CLOSURE
    +HB_UNICODE_COMBINING_CLASS_CCC132
- Deprecated API:
    +HB_UNICODE_COMBINING_CLASS_CCC133
    Overview of changes leading to 7.1.0
- New experimental hb_shape_justify() API that uses font variations to expand
  or shrink the text to a given advance. (Behdad Esfahbod)
- Various build and bug fixes. (Behdad Esfahbod, Garret Rieger, Qunxin Liu)
- New API:
    +hb_font_set_variation()

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agodbus: Fixes Bug#13094 - Check for existing user before `useradd`
Jon Murphy [Wed, 26 Apr 2023 20:37:13 +0000 (15:37 -0500)] 
dbus: Fixes Bug#13094 - Check for existing user before `useradd`

- The dbus install.sh script useradd command causes an error:
   "failed adding user 'messagebus', exit code: 9"
- This patch adds a check to only do the useradd if the user does not exist.
- See the bump PAK_VER for dbus that Adolf publised.  See this patch:
https://lists.ipfire.org/pipermail/development/2023-April/015816.html

Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agodbus: Fixes Bug#13094 - dbus daemon continues running after uninstall
Adolf Belka [Wed, 26 Apr 2023 12:32:29 +0000 (14:32 +0200)] 
dbus: Fixes Bug#13094 - dbus daemon continues running after uninstall

- The uninstall.sh script had stop_service ${NAME} but the package name is dbus while the
   initscript is named messagebus. Therefore the stop_service never stops the dbus daemon.
- This patch changes the line to stop_service messagebus
- The install.sh script already has start_service messagebus
- Bump PAK_VER for dbus

Fixes: Bug#13094
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agocups: Fixes Bug#12924 - Can't access https pages in cups
Adolf Belka [Wed, 26 Apr 2023 12:32:28 +0000 (14:32 +0200)] 
cups: Fixes Bug#12924 - Can't access https pages in cups

- Version 2.4.2 had some bugs that caused the self signed certificates to not be read or
   created properly. The two involved bug fix patches are applied in this submission.
- Corrected the configure options related to avahi and TLS. Using Openssl for the TLS.
- Built .ipfire package installed into vm testbed and tested. With existing 2.4.2
   any https pages come up with an error for the secure connection. With this version
   the https admin page opens up and config file was able to be successfully modified
   via it.

Fixes: Bug#12924
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agosdl2: Update to version 2.26.5
Adolf Belka [Wed, 19 Apr 2023 12:31:41 +0000 (14:31 +0200)] 
sdl2: Update to version 2.26.5

- Update from version 2.26.4 to 2.26.5
- Update of rootfile
- Changelog
2.26.5
    The minimum deployment target on macOS is now 10.11, due to changes in the
             latest Xcode update
    Fixed incorrect modifier keys handling on macOS
    Fixed occasional duplicate controller visible on macOS
    Fixed handling of third party PS4 controller input reports
    Added support for the trigger buttons on the Victrix Pro FS for PS5
    Added mapping for Flydigi Vader 2 with the latest firmware (6.0.4.9)
    Added mapping for DualSense Edge Wireless Controller on Linux
    Added mapping for Hori Pokken Tournament DX Pro Pad
    Improved the speed and quality of audio resampling
    Fixed crash on Linux if dbus can't be initialized

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agocore175: ship libpcap
Arne Fitzenreiter [Wed, 3 May 2023 07:34:21 +0000 (07:34 +0000)] 
core175: ship libpcap

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agolibpcap: Update to 1.10.4
Matthias Fischer [Fri, 14 Apr 2023 08:27:26 +0000 (10:27 +0200)] 
libpcap: Update to 1.10.4

For details see:
https://git.tcpdump.org/libpcap/blob/HEAD:/CHANGES#l50

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agotcpdump: Update to 4.99.4
Matthias Fischer [Fri, 14 Apr 2023 08:27:25 +0000 (10:27 +0200)] 
tcpdump: Update to 4.99.4

For details see:
https://git.tcpdump.org/tcpdump/blob/HEAD:/CHANGES#l60

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agokernel: update to 6.1.27
Arne Fitzenreiter [Tue, 2 May 2023 07:11:19 +0000 (09:11 +0200)] 
kernel: update to 6.1.27

the layer7 patch is rebased to apply without fuzzing.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agosamba: aarch64 rootfile update
Arne Fitzenreiter [Fri, 28 Apr 2023 20:35:15 +0000 (20:35 +0000)] 
samba: aarch64 rootfile update

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agokernel: arm64 rootfile update
Arne Fitzenreiter [Fri, 28 Apr 2023 19:41:05 +0000 (19:41 +0000)] 
kernel: arm64 rootfile update

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agocore175: ship led and partresize initskripts
Arne Fitzenreiter [Tue, 2 May 2023 19:35:27 +0000 (19:35 +0000)] 
core175: ship led and partresize initskripts

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoinitskripts: add OrangePi R1 Plus LTS
Arne Fitzenreiter [Fri, 28 Apr 2023 19:36:23 +0000 (19:36 +0000)] 
initskripts: add OrangePi R1 Plus LTS

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agou-boot: add OrangePi R1 Plus LTS
Arne Fitzenreiter [Fri, 28 Apr 2023 19:36:22 +0000 (19:36 +0000)] 
u-boot: add OrangePi R1 Plus LTS

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agokernel: add OrangePi R1 Plus LTS
Arne Fitzenreiter [Fri, 28 Apr 2023 19:36:21 +0000 (19:36 +0000)] 
kernel: add OrangePi R1 Plus LTS

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agocore175: ship rules.pl
Arne Fitzenreiter [Tue, 2 May 2023 19:32:15 +0000 (19:32 +0000)] 
core175: ship rules.pl

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agofirewall: Allow traffic from multicast networks
Stefan Schantl [Tue, 25 Apr 2023 18:40:09 +0000 (20:40 +0200)] 
firewall: Allow traffic from multicast networks

The multicast network segment 224.0.0.0/4 is used for a lot of
different services provided by the local ISP's. (IPTV etc.)

We have to allow traffic from this networks when using one of
the BOGON blocklists in order to get those ISP services still
accessable.

https://www.iana.org/assignments/multicast-addresses/multicast-addresses.xhtml

Fixes 13092.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoapr: Update rootfile
Peter Müller [Tue, 25 Apr 2023 12:35:52 +0000 (12:35 +0000)] 
apr: Update rootfile

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agoCore Update 175: Ship u-boot
Peter Müller [Mon, 24 Apr 2023 19:02:23 +0000 (19:02 +0000)] 
Core Update 175: Ship u-boot

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agoFix typo in aarch64 linux rootfile
Peter Müller [Mon, 24 Apr 2023 19:01:24 +0000 (19:01 +0000)] 
Fix typo in aarch64 linux rootfile

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agokernel: add nanopi r2c patches
Arne Fitzenreiter [Sun, 23 Apr 2023 08:02:03 +0000 (08:02 +0000)] 
kernel: add nanopi r2c patches

https://git.ipfire.org/?p=people/arne_f/kernel.git;a=commit;h=4a06c119e0065bf8794a98bd21a71ff6236d32d1
https://git.ipfire.org/?p=people/arne_f/kernel.git;a=commit;h=716f69f11cf3bf328453cc3e284d5bce7feb9a0e

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agou-boot: add nanopi r2c support
Arne Fitzenreiter [Sun, 23 Apr 2023 08:04:22 +0000 (08:04 +0000)] 
u-boot: add nanopi r2c support

this patch add nanopi r2c plus support.
if this u-boot is installed on the eMMC this is also
supported.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoCore Update 175: Ship apr
Peter Müller [Mon, 24 Apr 2023 18:59:40 +0000 (18:59 +0000)] 
Core Update 175: Ship apr

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agoapr: Update 1.7.2 => 1.7.4
Matthias Fischer [Sun, 23 Apr 2023 11:34:38 +0000 (13:34 +0200)] 
apr: Update 1.7.2 => 1.7.4

For details see:
https://downloads.apache.org/apr/CHANGES-APR-1.7

"Changes for APR 1.7.4

  *) Fix a regression where writing to a file opened with both APR_FOPEN_APPEND
     and APR_FOPEN_BUFFERED did not properly append the data on Windows.
     (This regression was introduced in APR 1.7.3)  [Evgeny Kotkov]

Changes for APR 1.7.3

  *) apr-1-config: Fix crosscompiling detection in apr-1-config. PR 66510
     [Ruediger Pluem]

  *) configure: Add --enable-sysv-shm to use SysV shared memory (shmget) if
     available. [Ruediger Pluem]

  *) apr_socket_sendfile: Use WSAIoctl() to get TransmitFile function
     pointer on Windows. [Ivan Zhakov]

  *) apr_dir_read: Do not request short file names on Windows 7
     and later. [Ivan Zhakov]

  *) apr_file_gets: Optimize for buffered files on Windows.
     [Evgeny Kotkov]

  *) Fix a deadlock when writing to locked files opened with APR_FOPEN_APPEND
     on Windows. PR 50058. [Evgeny Kotkov]

  *) Don't seek to the end when opening files with APR_FOPEN_APPEND on Windows.
     [Evgeny Kotkov]

  *) apr_file_write: Optimize large writes to buffered files on Windows.
     [Evgeny Kotkov]

  *) apr_file_read: Optimize large reads from buffered files on Windows.
     [Evgeny Kotkov]"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
12 months agoPostfix: Update to 3.8.0
Peter Müller [Mon, 24 Apr 2023 18:58:25 +0000 (18:58 +0000)] 
Postfix: Update to 3.8.0

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

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agoCore Update 175: Fix file permissions of /var/log/pakfire.log on existing installations
Peter Müller [Mon, 24 Apr 2023 18:57:05 +0000 (18:57 +0000)] 
Core Update 175: Fix file permissions of /var/log/pakfire.log on existing installations

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agoPakfire: Do not make /var/log/pakfire.log writable for "nobody"
Peter Müller [Mon, 24 Apr 2023 18:56:07 +0000 (18:56 +0000)] 
Pakfire: Do not make /var/log/pakfire.log writable for "nobody"

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agosamba: Update to version 4.18.1
Adolf Belka [Wed, 19 Apr 2023 12:31:40 +0000 (14:31 +0200)] 
samba: Update to version 4.18.1

- Update from version 4.17.5 to 4.18.1
- Update of rootfile
   some libraries now use x86-64 instead of x86_64 but most are still left with x86_64
   Good thing that we create a separate version of the rootfile for each architecture
   because it is no longer just the arm version that is unique but also the x86_64 one.
- Since version 4.17.0 it has been possible to do a build excluding SMB1 server capability.
   As SMB1 is insecure and has known exploits including ransomeware based ones it seems
   reasonable to build samba without SMB1 server capability for use on a firewall.
   The option to build wiythout SMB1 server capability has been added to the LFS file.
- Changelog
    Release Notes for Samba 4.18.1
This is a security release in order to address the following defects:
   o CVE-2023-0225: An incomplete access check on dnsHostName allows authenticated
                    but otherwise unprivileged users to delete this attribute from
                    any object in the directory.
                    https://www.samba.org/samba/security/CVE-2023-0225.html
   o CVE-2023-0922: The Samba AD DC administration tool, when operating against a
                    remote LDAP server, will by default send new or reset
                    passwords over a signed-only connection.
                    https://www.samba.org/samba/security/CVE-2023-0922.html
   o CVE-2023-0614: The fix in 4.6.16, 4.7.9, 4.8.4 and 4.9.7 for CVE-2018-10919
                    Confidential attribute disclosure via LDAP filters was
                    insufficient and an attacker may be able to obtain
                    confidential BitLocker recovery keys from a Samba AD DC.
                    Installations with such secrets in their Samba AD should
                    assume they have been obtained and need replacing.
                    https://www.samba.org/samba/security/CVE-2023-0614.html
   * BUG 15276: CVE-2023-0225.
   * BUG 15270: CVE-2023-0614.
   * BUG 15331: ldb wildcard matching makes excessive allocations.
   * BUG 15332: large_ldap test is inefficient.
   * BUG 15315: CVE-2023-0922.
   * BUG 15270: CVE-2023-0614.
   * BUG 15276: CVE-2023-0225.
    Release Notes for Samba 4.18.0
    NEW FEATURES/CHANGES
      SMB Server performance improvements
The security improvements in recent releases
(4.13, 4.14, 4.15, 4.16), mainly as protection against symlink races,
caused performance regressions for metadata heavy workloads.
While 4.17 already improved the situation quite a lot,
with 4.18 the locking overhead for contended path based operations
is reduced by an additional factor of ~ 3 compared to 4.17.
It means the throughput of open/close
operations reached the level of 4.12 again.
     More succinct samba-tool error messages
Historically samba-tool has reported user error or misconfiguration by
means of a Python traceback, showing you where in its code it noticed
something was wrong, but not always exactly what is amiss. Now it
tries harder to identify the true cause and restrict its output to
describing that. Particular cases include:
 * a username or password is incorrect
 * an ldb database filename is wrong (including in smb.conf)
 * samba-tool dns: various zones or records do not exist
 * samba-tool ntacl: certain files are missing
 * the network seems to be down
 * bad --realm or --debug arguments
     Accessing the old samba-tool messages
This is not new, but users are reminded they can get the full Python
stack trace, along with other noise, by using the argument '-d3'.
This may be useful when searching the web.
The intention is that when samba-tool encounters an unrecognised
problem (especially a bug), it will still output a Python traceback.
If you encounter a problem that has been incorrectly identified by
samba-tool, please report it on https://bugzilla.samba.org.
     Colour output with samba-tool --color
For some time a few samba-tool commands have had a --color=yes|no|auto
option, which determines whether the command outputs ANSI colour
codes. Now all samba-tool commands support this option, which now also
accepts 'always' and 'force' for 'yes', 'never' and 'none' for 'no',
and 'tty' and 'if-tty' for 'auto' (this more closely matches
convention). With --color=auto, or when --color is omitted, colour
codes are only used when output is directed to a terminal.
Most commands have very little colour in any case. For those that
already used it, the defaults have changed slightly.
 * samba-tool drs showrepl: default is now 'auto', not 'no'
 * samba-tool visualize: the interactions between --color-scheme,
   --color, and --output have changed slightly. When --color-scheme is
   set it overrides --color for the purpose of the output diagram, but
   not for other output like error messages.
     New samba-tool dsacl subcommand for deleting ACES
The samba-tool dsacl tool can now delete entries in directory access
control lists. The interface for 'samba-tool dsacl delete' is similar
to that of 'samba-tool dsacl set', with the difference being that the
ACEs described by the --sddl argument are deleted rather than added.
     No colour with NO_COLOR environment variable
With both samba-tool --color=auto (see above) and some other places
where we use ANSI colour codes, the NO_COLOR environment variable will
disable colour output. See https://no-color.org/ for a description of
this variable. `samba-tool --color=always` will use colour regardless
of NO_COLOR.
     New wbinfo option --change-secret-at
The wbinfo command has a new option, --change-secret-at=<DOMAIN CONTROLLER>
which forces the trust account password to be changed at a specified domain
controller. If the specified domain controller cannot be contacted the
password change fails rather than trying other DCs.
     New option to change the NT ACL default location
Usually the NT ACLs are stored in the security.NTACL extended
attribute (xattr) of files and directories. The new
"acl_xattr:security_acl_name" option allows to redefine the default
location. The default "security.NTACL" is a protected location, which
means the content of the security.NTACL attribute is not accessible
from normal users outside of Samba. When this option is set to use a
user-defined value, e.g. user.NTACL then any user can potentially
access and overwrite this information. The module prevents access to
this xattr over SMB, but the xattr may still be accessed by other
means (eg local access, SSH, NFS). This option must only be used when
this consequence is clearly understood and when specific precautions
are taken to avoid compromising the ACL content.
     Azure Active Directory / Office365 synchronisation improvements
Use of the Azure AD Connect cloud sync tool is now supported for
password hash synchronisation, allowing Samba AD Domains to synchronise
passwords with this popular cloud environment.
    REMOVED FEATURES
     smb.conf changes
  Parameter Name                          Description     Default
  acl_xattr:security_acl_name             New             security.NTACL
  server addresses                        New
    CHANGES SINCE 4.18.0rc4
   * BUG 15314: streams_xattr is creating unexpected locks on folders.
   * BUG 15310: New samba-dcerpc architecture does not scale gracefully.
    CHANGES SINCE 4.18.0rc3
   * BUG 15308: Avoid that tests fail because other tests didn't do cleanup on
     failure.
   * BUG 15311: fd_load() function implicitly closes the fd where it should not.
    CHANGES SINCE 4.18.0rc2
   * BUG 15301: Improve file_modtime() and issues around smb3 unix test.
   * BUG 15299: Spotlight doesn't work with latest macOS Ventura.
   * BUG 15298: Build failure on solaris with tevent 0.14.0 (and ldb 2.7.0).
     (tevent 0.14.1 and ldb 2.7.1 are already released...)
   * BUG 15307: vfs_ceph incorrectly uses fsp_get_io_fd() instead of
     fsp_get_pathref_fd() in close and fstat.
   * BUG 15291: test_chdir_cache.sh doesn't work with SMBD_DONT_LOG_STDOUT=1.
   * BUG 15301: Improve file_modtime() and issues around smb3 unix test.
    CHANGES SINCE 4.18.0rc1
   * BUG 10635: Office365 azure Password Sync not working.
   * BUG 15286: auth3_generate_session_info_pac leaks wbcAuthUserInfo.
   * BUG 15293: With clustering enabled samba-bgqd can core dump due to use
     after free.
    Release Notes for Samba 4.17.7
This is a security release in order to address the following defects:
   o CVE-2023-0225: An incomplete access check on dnsHostName allows authenticated
                    but otherwise unprivileged users to delete this attribute from
                    any object in the directory.
                    https://www.samba.org/samba/security/CVE-2023-0225.html
   o CVE-2023-0922: The Samba AD DC administration tool, when operating against a
                    remote LDAP server, will by default send new or reset
                    passwords over a signed-only connection.
                    https://www.samba.org/samba/security/CVE-2023-0922.html
   o CVE-2023-0614: The fix in 4.6.16, 4.7.9, 4.8.4 and 4.9.7 for CVE-2018-10919
                    Confidential attribute disclosure via LDAP filters was
                    insufficient and an attacker may be able to obtain
                    confidential BitLocker recovery keys from a Samba AD DC.
                    Installations with such secrets in their Samba AD should
                    assume they have been obtained and need replacing.
                  https://www.samba.org/samba/security/CVE-2023-0614.html
   * BUG 15276: CVE-2023-0225.
   * BUG 15270: CVE-2023-0614.
   * BUG 15331: ldb wildcard matching makes excessive allocations.
   * BUG 15332: large_ldap test is inefficient.
   * BUG 15315: CVE-2023-0922.
   * BUG 14810: CVE-2020-25720 [SECURITY] Create Child permission should not
     allow full write to all attributes (additional changes).
   * BUG 15270: CVE-2023-0614.
   * BUG 15276: CVE-2023-0225.
    Release Notes for Samba 4.17.6
   * BUG 15314: streams_xattr is creating unexpected locks on folders.
   * BUG 10635: Use of the Azure AD Connect cloud sync tool is now supported for
     password hash synchronisation, allowing Samba AD Domains to synchronise
     passwords with this popular cloud environment.
   * BUG 15299: Spotlight doesn't work with latest macOS Ventura.
   * BUG 15310: New samba-dcerpc architecture does not scale gracefully.
   * BUG 15307: vfs_ceph incorrectly uses fsp_get_io_fd() instead of
     fsp_get_pathref_fd() in close and fstat.
   * BUG 15293: With clustering enabled samba-bgqd can core dump due to use
     after free.
   * BUG 15311: fd_load() function implicitly closes the fd where it should not.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
12 months agoCore Update 175: Ship parted
Peter Müller [Mon, 24 Apr 2023 18:54:28 +0000 (18:54 +0000)] 
Core Update 175: Ship parted

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agoparted: Update to version 3.6
Adolf Belka [Wed, 19 Apr 2023 12:31:39 +0000 (14:31 +0200)] 
parted: Update to version 3.6

- Update from version 3.5 to 3.6
- Update of rootfile
- Changelog
    Noteworthy changes in release 3.6 (2023-04-10) [stable]
  Promoting alpha release to stable release 3.6
    Noteworthy changes in release 3.5.28 (2023-03-24) [alpha]
New Features
  Support GPT partition attribute bit 63 as no_automount flag.
  Add type commands to set type-id on MS-DOS and type-uuid on GPT.
  Add swap flag support to the dasd disklabel
  Add display of GPT disk and partition UUIDs in JSON output
Bug Fixes
  Fix use of enums in flag limits by switching to using #define
  Fix ending sector location when using kibi IEC suffix

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
12 months agoCore Update 175: Ship libgcrypt
Peter Müller [Mon, 24 Apr 2023 18:53:27 +0000 (18:53 +0000)] 
Core Update 175: Ship libgcrypt

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agolibgcrypt: Update to version 1.10.2
Adolf Belka [Wed, 19 Apr 2023 12:31:37 +0000 (14:31 +0200)] 
libgcrypt: Update to version 1.10.2

- Update from version 1.10.1 to 1.10.2
- Update of rootfile
- Changelog
Noteworthy changes in version 1.10.2 (2023-04-06)  [C24/A4/R2]
 * Bug fixes:
   - Fix Argon2 for the case output > 64.  [rC13b5454d26]
   - Fix missing HWF_PPC_ARCH_3_10 in HW feature.  [rCe073f0ed44]
   - Fix RSA key generation failure in forced FIPS mode.  [T5919]
   - Fix gcry_pk_hash_verify for explicit hash.  [T6066]
   - Fix a wrong result of gcry_mpi_invm.  [T5970]
   - Allow building with --disable-asm for HPPA.  [T5976]
   - Fix Jitter RNG for building native on Windows.  [T5891]
   - Allow building with -Oz.  [T6432]
   - Enable the fast path to ChaCha20 only when supported.  [T6384]
   - Use size_t to avoid counter overflow in Keccak when directly
     feeding more than 4GiB.  [T6217]
 * Other:
   - Do not use secure memory for a DRBG instance.  [T5933]
   - Do not allow PKCS#1.5 padding for encryption in FIPS mode.
     [T5918]
   - Fix the behaviour for child process re-seeding in the DRBG.
     [rC019a40c990]
   - Allow verification of small RSA signatures in FIPS mode.  [T5975]
   - Allow the use of a shorter salt for KDFs in FIPS mode.  [T6039]
   - Run digest+sign self tests for RSA and ECC in FIPS mode.
     [rC06c9350165]
   - Add function-name based FIPS indicator function.
     GCRYCTL_FIPS_SERVICE_INDICATOR_FUNCTION.  This is not considered
     an ABI changes because the new FIPS features were not yet
     approved.  [rC822ee57f07]
   - Improve PCT in FIPS mode.  [rC285bf54b1a, rC4963c127ae, T6397]
   - Use getrandom (GRND_RANDOM) in FIPS mode.  [rCcf10c74bd9]
   - Disable RSA-OAEP padding in FIPS mode.  [rCe5bfda492a]
   - Check minimum allowed key size in PBKDF in FIPS mode.
     [T6039,T6219]
   - Get maximum 32B of entropy at once in FIPS mode.  [rCce0df08bba]
   - Prefer gpgrt-config when available.  [T5034]
   - Mark AESWRAP as approved FIPS algorithm.  [T5512]
   - Prevent usage of long salt for PSS in FIPS mode.  [rCfdd2a8b332]
   - Prevent usage of X9.31 keygen in FIPS mode.  [rC392e0ccd25]
   - Remove GCM mode from the allowed FIPS indicators.  [rC1540698389]
   - Add explicit FIPS indicators for hash and MAC algorithms. [T6376]

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
12 months agoCore Update 175: Ship libgpg-error
Peter Müller [Mon, 24 Apr 2023 18:52:52 +0000 (18:52 +0000)] 
Core Update 175: Ship libgpg-error

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agolibgpg-error: Update to version 1.47
Adolf Belka [Wed, 19 Apr 2023 12:31:38 +0000 (14:31 +0200)] 
libgpg-error: Update to version 1.47

- Update from version 1.46 to 1.47
- Update of rootfile
- Changelog
Noteworthy changes in version 1.47 (2023-04-06) [C34/A34/R0]
 * New error codes for PUKs and reset codes.  [T6421]
 * Avoid segv in logging with improper use of the "socket://".
   [rE68333be630]
 * Fixed translation of argparse's internal option --help.
   [rE885a287a57]
 * Interface changes relative to the 1.46 release:
 GPG_ERR_SOURCE_TKD             NEW.
 GPG_ERR_BAD_PUK                NEW.
 GPG_ERR_NO_RESET_CODE         NEW.
 GPG_ERR_BAD_RESET_CODE         NEW.
 GPGRT_SPAWN_KEEP_STDIN         NEW.
 GPGRT_SPAWN_KEEP_STDOUT        NEW.
 GPGRT_SPAWN_KEEP_STDERR        NEW.
 GPGRT_SPAWN_INHERIT_FILE       NEW.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
12 months agopcengines-apu-firmwares: readd latest apu1 firmware to the package
Arne Fitzenreiter [Sat, 15 Apr 2023 10:01:29 +0000 (12:01 +0200)] 
pcengines-apu-firmwares: readd latest apu1 firmware to the package

If a user have missed the update a while the apu1 cannot updated because this
file is missing.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoIncrease size of /boot to 512 MiB
Michael Tremer [Fri, 21 Apr 2023 12:18:14 +0000 (12:18 +0000)] 
Increase size of /boot to 512 MiB

Is XFS is being selected as file system, the minimum size requirement is
300 MiB. In order to keep it to a round number, this patch increases the
size of /boot to 512 MiB.

To keep all systems consistent, we will also do this on systems that are
being formatted using different file systems.

Fixes: #13077 - xfs cannot installed anymore because boot is to small
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
12 months agounbound: Update to 1.17.1
Matthias Fischer [Mon, 24 Apr 2023 17:59:20 +0000 (19:59 +0200)] 
unbound: Update to 1.17.1

For details see:
https://nlnetlabs.nl/projects/unbound/download/#unbound-1-17-1

"Features

    Expose 'statistics-inhibit-zero' as a configuration option; the default
    value retains Unbound's behavior.
    Expose 'max-sent-count' as a configuration option; the default value
    retains Unbound's behavior.
    Merge #461 from Christian Allred: Add max-query-restarts option.
    Exposes an internal configuration but the default value retains
    Unbound's behavior.
    Merge #569 from JINMEI Tatuya: add keep-cache option to
    'unbound-control reload' to keep caches.

Bug Fixes

    Merge #768 from fobser: Arithmetic on a pointer to void is a GNU
    extension.
    In unit test, print python script name list correctly.
    testcode/dohclient sets log identity to its name.
    Clarify the use of MAX_SENT_COUNT in the iterator code.
    Fix that cachedb does not store failures in the external cache.
    Merge #767 from jonathangray: consistently use IPv4/IPv6 in
    unbound.conf.5.
    Fix to ignore tcp events for closed comm points.
    Fix to make sure to not read again after a tcp comm point is closed.
    Fix #775: libunbound: subprocess reap causes parent process reap to
    hang.
    iana portlist update.
    Complementary fix for distutils.sysconfig deprecation in Python 3.10 to
    commit 62c5039ab9da42713e006e840b7578e01d66e7f2.
    Fix #779: [doc] Missing documention in ub_resolve_event() for callback
    parameter was_ratelimited.
    Ignore expired error responses.
    Merge #720 from jonathangray: fix use after free when WSACreateEvent()
    fails.
    Fix for the ignore of tcp events for closed comm points, preserve the
    use after free protection features.
    Fix #782: Segmentation fault in stats.c:404.
    Add SVCB and HTTPS to the types removed by 'unbound-control flush'.
    Clear documentation for interactivity between the subnet module and the
    serve-expired and prefetch configuration options.
    Fix #773: When used with systemd-networkd, unbound does not start until
    systemd-networkd-wait-online.service times out.
    Merge #808: Wrap Makefile script's directory variables in quotes.
    Fix to wrap Makefile scripts directory in quotes for uninstall.
    Fix windows compile for libunbound subprocess reap comm point closes.
    Update github workflows to use checkout v3.
    Fix wildcard in hyperlocal zone service degradation, reported by Sergey
    Kacheev."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
12 months agoCore Update 175: Ship firewall initscript and restart firewall
Peter Müller [Mon, 24 Apr 2023 18:45:53 +0000 (18:45 +0000)] 
Core Update 175: Ship firewall initscript and restart firewall

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
12 months agofirewall: Drop legacy rules for PPPoE/PPTP
Michael Tremer [Fri, 21 Apr 2023 12:23:00 +0000 (12:23 +0000)] 
firewall: Drop legacy rules for PPPoE/PPTP

These rules where created to permit any local traffic to the firewall
when using a PPP connection that utilised Ethernet as transport.

This is however nonsensical and a security issue for any other
connection methods that call the RED interface "red0" and use PPP (e.g.
QMI).

Since PPPoE packets do not flow through iptables, these rules can be
dropped safely. We do not know whether PPTP works at all these days.

Fixes: #13088 - firewall: INPUT accepts all packets when using QMI for dial-in
Tested-by: Stefan Schantl <stefan.schantl@ipfire.org>
Tested-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
12 months agohostapd: Enable QCA vendor extensions to nl80211
Michael Tremer [Thu, 13 Apr 2023 12:06:25 +0000 (12:06 +0000)] 
hostapd: Enable QCA vendor extensions to nl80211

This should allow hostapd to utilize some vendor-specific features in
Qualcomm/Atheros cards. I am not sure what my card supports, but it is
all running fine.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>