]> git.ipfire.org Git - people/ms/ipfire-2.x.git/log
people/ms/ipfire-2.x.git
12 months agoOpenVPN: Move the OpenSSL configuration file out of /var/ipfire openvpn-cert-gen
Michael Tremer [Thu, 18 Apr 2024 21:36:52 +0000 (21:36 +0000)] 
OpenVPN: Move the OpenSSL configuration file out of /var/ipfire

We should not have any configuration files that we share in this place,
therefore this patch is moving it into /usr/share/openvpn where we
should be able to update it without any issues.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
12 months agonut: Update to version 2.8.2
Adolf Belka [Wed, 29 May 2024 19:03:13 +0000 (21:03 +0200)] 
nut: Update to version 2.8.2

- Update from version 2.8.1 to 2.8.2
- Update of rootfile
- Changelog
    2.8.2
 - Fix fallout of development in NUT v2.8.0 and/or v2.8.1:
   * dstate machinery: a segmentation fault (null pointer dereference) was
     possible with `INSTCMD` processing of commands without parameters nor
     `TRACKING` identifier. [#2155]
   * USB bus number detection for libusb-1.0 builds was overly zealous and
     wrongly considered zero values as an error. [#2198]
   * `upsmon` recognition of `CAL` state could linger after the calibration
     activity was completed by the hardware, which led to mis-processing of
     shutdown triggers. Also, notification was added to report "finished
     calibration". [issue #2168, PR #2169]
   * `upsmon` recognition of `OFF` state as a trigger for FSD (forced shut
     down) criticality considered also the input line state, which may be
     an independently evolving circumstance. [issue #2278, PR #2279]
   * `upsmon` support for `POLLFAIL_LOG_THROTTLE_MAX` did not neuter the
     applied setting when live-reloading configuration, so commenting it
     away in `upsmon.conf` did not have the effect of resetting the logging
     frequency to default. It also did not reset the counters to certainly
     follow the new configuration for existing faults. [issue #2207, PR #2209]
   * `upsmon` support for `POLLFAIL_LOG_THROTTLE_MAX` had an off-by-one error
     (e.g. reporting "Data stale" or "Driver not connected" every 30 sec with
     `POLLFAIL_LOG_THROTTLE_MAX 5` and `POLLFREQ 5` settings). [#2207]
   * Drivers running with non-default user account (e.g. with `user=root`
     in their configuration) failed to apply group ownership and permissions
     to their Unix socket file for interaction with the local data server.
     [#2185, #2096]
   * Dispatcher script `scripts/python/app/NUT-Monitor` referenced `py3qt3`
     instead of the correct `py3qt5`. It also tries to check both `py2gtk2`
     and `py3qt5` implementations verbosely, even if one is not installed.
     [#2199, #2201]
   * Set the `DesktopFileName` in `scripts/python/app/NUT-Monitor-py3qt5`,
     this binds the application with the desktop file and allow the Open
     Desktop compatible implementation to display the proper icon and
     application name. [#2205]
   * Original recipe for `apc_modbus` strictly required USB support even if
     building NUT without it. [#2262]
   * Builds requested with a specific C/C++ language standard revision via
     `CFLAGS` and `CXXFLAGS` should again be honoured. [PR #2306]
   * Allow requesting detailed debug builds (with disabled optimizations for
     binaries to best match the source code) for supported compilers using
     `configure` script option `--with-debuginfo`. Note that default autoconf
     behavior usually embeds moderate optimizations and debug information on
     its own. [PR #2310]
   * A fix applied among clean-ups between NUT v2.7.4 and v2.8.0 releases
     backfired for `usbhid-ups` subdriver `belkin-hid` which in practice
     relied on the broken older behavior; more details in its entry below.
     [PR #2371]
 - nut-usbinfo.pl, nut-scanner and libnutscan:
   * Library API version for `libnutscan` was bumped from 2.2.0 to 2.5.0
     during evolution of this NUT release.
   * USB VendorID:ProductID support list files generated by the script for
     different OS frameworks now include a comment with other possibly
     compatible driver names, where the respective file format allows for
     comments.
   * Added the concept of `alt_driver_names` in `nutscan_device_t` structure
     for ability to suggest a comment with other possibly compatible driver
     names in configuration snippets generated by `nut-scanner`; practical
     support implemented for USB connected drivers.
   * Added the concept of commented-away suggested option values `comment_tag`
     and a method to `nutscan_add_commented_option_to_device()`, instead of
     hacks in prepared config data which broke some use-cases. [#2221]
   * Command-line option `-U` for USB scan can now be specified several times
     to increase the detail level about hardware link to the device (this was
     previously always suggested, but may be not reliable if USB enumeration
     gets changed over time). [#2221]
   * Added generation of FreeBSD/pfSense quirks for USB devices supported
     by NUT (may get installed to `$datadir` e.g. `/usr/local/share/nut`
     and need to be pasted into your `/boot/loader.conf.local`). [#2159]
   * nut-scanner now avoids creating ambiguous `nutdevN` device section names
     when called separately to scan different media buses (one at a time).
     Now the "bus" name would be embedded (e.g. non-colliding `nutdev-usb1`
     and `nutdev-snmp1`). [#2247]
   * nut-scanner can now discover NUT simulated devices (`.dev` and `.seq`
     files) located in your sysconfig directory, and prepare configuration
     sections with the simulation driver (currently `dummy-ups`). [#2246]
   * nut-scanner now reports `dummy-ups` as driver when scanning NUT "bus"
     with Old or Avahi method. [#2236, #2245]
 - upsd: Fixed conditions for "no listening interface available" diagnosis
   to check how many listeners we succeeded with, not whether the first one
   succeeded or not. If not all requested (non-localhost) listeners were
   available, default to fail the daemon start-up attempt; support for an
   `ALLOW_NOT_ALL_LISTENERS` setting was added to control this behavior. [#723]
 - NUT CI improvements:
   * Added publishing recipes for PyNUT client bindings for NUT, so it ends
     up in the link:https://pypi.org/project/PyNUTClient[PyPI repository].
     [#2158]
   * Added support for new `ccache` namespace concept, where possible. [#2256]
   * Fixed an issue for builds configured `--without-usb`. [#2263]
   * Added a fallback for `libgd` discovery (for CGI etc. builds). [#2287]
   * Made `aspell` TeX module detection more reliable. [#2206]
   * Fixed recipes for completely out-of-tree builds to pass with documentation
     generation and checking on all tested "make" implementations. [#2318]
   * Various other recipe and documentation clean-up efforts. [#2284, #2269,
     #2261]
 - main driver core codebase:
   * Help users of drivers that can be built to support optionally USB and
     other media (like `nutdrv_qx` built for serial-only support), and built
     in fact without USB support but used for USB devices, with some more
     information to make troubleshooting easier. [issue #2259, PR #2260]
   * Driver programs with debug tracing support via `-D` CLI option and/or
     the `NUT_DEBUG_LEVEL` environment variable now check those earlier in
     their life-time, so that initialization routine can be debugged. [#2259]
   * Multiple USB-capable drivers got options to customize `usb_config_index`
     `usb_hid_rep_index`, `usb_hid_desc_index`, `usb_hid_ep_in` and
     `usb_hid_ep_out` hardware connection settings via `ups.conf` options.
     This is treated as experimental, not all code paths may be actually
     using such values from `struct usb_communication_subdriver_t` rather
     than hard-coded defaults. Discovery of correct values is up to the
     user at the moment (using `lsusb`, internet search, luck...) [#2149]
 - nut-driver-enumerator (NDE) service/script:
   * The optional daemon mode (primarily useful for systems which monitor
     a large and dynamic population of power devices) was enhanced with a
     `--daemon-after` variant which parses the configuration once before
     daemonization and this has a chance to fail while not forked off, as
     well as to allow only completing the service unit initialization when
     everything is actually ready to work (so further dependencies can start
     at the proper time). [#682]
   * Also applied other optimizations to the script implementation. [#682]
 - powerpanel text driver now handles status responses in any format and should
   support most devices. [#2156]
 - tripplite_usb driver now allows any device to match if a particular Unit ID
   was not specified in `ups.conf`. [PR #2297, issues #2282 and #2258]
 - snmp-ups driver:
   * added support for Eaton EMP002 sensor for ATS16 NM2 sub-driver. [#2286]
   * mapping table updates for apc-mib sub-driver. [#2264]
 - usbhid-ups driver:
   * `arduino-hid` subdriver was enhanced from "initial bare bones" experimental
     set of mapped data points to support some 20 more mappings to make it more
     useful as an UPS driver, not just a controller developer sandbox. [#2188]
   * `cps-hid` subdriver now supports devices branded as Cyber Energy and built
     by cooperation with Cyber Power Systems. [#2312]
   * `belkin-hid` subdriver now supports Liebert PSI5 devices which have a
     different numeric reading scale than earlier handled models. [issue #2271,
     PR #2272, PR #2369] Generally the wrong-scale processing was addressed,
     including a regression in NUT v2.8.0 which led to zero values
     in voltage data points which NUT v2.7.4 reported well [#2371]
   * The `onlinedischarge` configuration flag name was too ambiguous and got
     deprecated (will be supported but no longer promoted by documentation),
     introducing `onlinedischarge_onbattery` as the meaningful alias. [#2213]
   * Logged notifications about `OL+DISCHRG` state should now be throttled
     (see the driver manual page for more details) [#2214, #2215]:
     - If `battery.charge` is available, make the message when entering the
       state and then only if the charge differs from that when we posted
       the earlier message (e.g. really discharging) and is under
       `onlinedischarge_log_throttle_hovercharge` value (defaults to 100%);
     - Also can throttle to a time frequency configurable by a new option
       `onlinedischarge_log_throttle_sec`, by default 30 sec if `battery.charge`
       is not reported by the device (should be frequent by default, in case
       the UPS-reported state combination does reflect a bad power condition).
 - nutdrv_qx driver:
   * Fixed handling of `battery_voltage_reports_one_pack` configuration flag
     introduced in NUT v2.8.1. [originally by PR #1279; fixed by PR #2324,
     issue #2325]
 - Various code and documentation fixes for NSS crypto support. [#2274, #2268]
 - Laid foundations for the SmartNUT effort (aiming to integrate drivers with
   some other backends than the networked NUT data server process).
 - Eaton contributed recipes and scripts used to create the IPP for Unix
   bundle (aka Eaton IPSS Unix or UPP), a freely available value-added
   packaging of NUT distributed as the UPS software companion for OSes
   where their more complex UPS monitoring/management tools had not been
   ported. This allows for delivery of NUT packages with an interactive
   installer and some system integration scripts (events, notifications,
   status, shutdown daemon...), and was contributed to the NUT upstream
   project by Eaton -- provided "as is" at the moment, and may later serve
   as foundation or inspiration for new NUT features. [#2288]
 - nutconf (C++ library and tool to read and manage NUT configuration files)
   was started in the open by Eaton employees and used in the IPP installer,
   but the code lingered in a side branch. It was now brushed up to our common
   best practices and added to the main codebase. As of this import, there are
   known deficiencies in Windows platform support, as well as some un-awareness
   about configuration key words which appeared in NUT since 2013. [#2290]
 - The `tools/gitlog2changelog.py.in` script was revised, in particular to
   convert section titles (with contributor names coming from Git metadata)
   into plain ASCII character set, for `dblatex` versions which do not allow
   diacritics and other kinds of non-trivial characters in sections. This can
   cause successful builds of `ChangeLog.pdf` file on more platforms, but at
   expense of a semi-cosmetic difference in those names. [PR #2360, PR #2366]

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agopostfix: Update to version 3.9.0
Adolf Belka [Sun, 2 Jun 2024 10:14:16 +0000 (12:14 +0200)] 
postfix: Update to version 3.9.0

- Update from version 3.8.4 to 3.9.0
- Update of rootfile
- With version 3.9.0 the option smtpd_forbid_bare_newline default value is now yes. With
   previous versions the default value was no but to prevent the possibility of an smtp
   smuggling attack the option should be yes. Previous version therefore actively set
   the value to yes and added it to the main.cf file when being installed. With version
   3.9.0 the default value is now yes so the option no longer needs to be added into
   main.cf, so smtp smuggling attack is protected by default now.
- Removed the section from the install.sh file that added the option into main.cf with
   version 3.8.4. From 3.9.0 onwards the default value is yes so no longer needs to be
   actively added into main.cf
- Changelog is too large to paste here. It can be read in the file RELEASE_NOTES in the
   source tarball.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agosamba: Update to version 4.20.1
Adolf Belka [Wed, 29 May 2024 16:01:01 +0000 (18:01 +0200)] 
samba: Update to version 4.20.1

- This v2 version increments the PAK_VER number
- Update from version 4.19.5 to 4.20.1
- Update of rootfile
- Changelog
    4.20.1
   * BUG 15630: dns update debug message is too noisy.
   * BUG 15635: Do not fail PAC validation for RFC8009 checksums types.
   * BUG 15605: Improve performance of lookup_groupmem() in idmap_ad.
   * BUG 15636: Smbcacls incorrectly propagates inheritance with Inherit-Only
     flag.
   * BUG 15611: http library doesn't support 'chunked transfer encoding'.
   * BUG 15600: Provide a systemd service file for the background queue daemon.
    4.20.0
   The changelog is too large to show here. Details can be found at
    https://www.samba.org/samba/history/samba-4.20.0.html
    I did not identify any changes related to how samba is configured in IPFire
    4.19.6
   * BUG 15527: fd_handle_destructor() panics within an smbd_smb2_close() if
     vfs_stat_fsp() fails in fd_close().
   * BUG 15588: samba-gpupdate: Correctly implement site support.
   * BUG 15527: fd_handle_destructor() panics within an smbd_smb2_close() if
     vfs_stat_fsp() fails in fd_close().
   * BUG 15588: samba-gpupdate: Correctly implement site support.
   * BUG 15599: libgpo: Segfault in python bindings.
   * BUG 15580: Packet marshalling push support missing for
     CTDB_CONTROL_TCP_CLIENT_DISCONNECTED and
     CTDB_CONTROL_TCP_CLIENT_PASSED.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agorsync: Update to version 3.3.0
Adolf Belka [Mon, 3 Jun 2024 09:50:56 +0000 (11:50 +0200)] 
rsync: Update to version 3.3.0

- Update from version 3.2.7 to 3.3.0
- Update of rootfile not required
- Changelog
    3.3.0
### BUG FIXES:
- Fixed a bug with `--sparse --inplace` where a trailing gap in the source
  file would not clear out the trailing data in the destination file.
- Fixed an buffer overflow in the checksum2 code if SHA1 is being used for
  the checksum2 algorithm.
- Fixed an issue when rsync is compiled using `_FORTIFY_SOURCE` so that the
  extra tests don't complain about a strlcpy() limit value (which was too
  large, even though it wasn't possible for the larger value to cause an
  overflow).
- Add a backtick to the list of characters that the filename quoting needs
  to escape using backslashes.
- Fixed a string-comparison issue in the internal handling of `--progress`
  (a locale such as tr_TR.utf-8 needed the internal triggering of `--info`
  options to use upper-case flag names to ensure that they match).
- Make sure that a local transfer marks the sender side as trusted.
- Change the argv handling to work with a newer popt library -- one that
  likes to free more data than it used to.
- Rsync now calls `OpenSSL_add_all_algorithms()` when compiled against an
  older openssl library.
- Fixed a problem in the daemon auth for older protocols (29 and before)
  if the openssl library is being used to compute MD4 checksums.
- Fixed `rsync -VV` on Cygwin -- it needed a flush of stdout.
- Fixed an old stats bug that counted devices as symlinks.
### ENHANCEMENTS:
- Enhanced rrsync with the `-no-overwrite` option that allows you to ensure
  that existing files on your restricted but writable directory can't be
  modified.
- Enhanced the manpages to mark links with .UR & .UE. If your nroff doesn't
  support these idioms, touch the file `.md2man-force` in the source
  directory so that `md-convert` gets called with the `--force-link-text`
  option, and that should ensure that your manpages are still readable
  even with the ignored markup.
- Some manpage improvements on the handling of [global] modules.
- Changed the mapfrom & mapto perl scripts (in the support dir) into a
  single python script named idmap.  Converted a couple more perl scripts
  into python.
- Changed the mnt-excl perl script (in the support dir) into a python
  script.
### DEVELOPER RELATED:
 - Updated config.guess (timestamp 2023-01-01) and config.sub (timestamp
   2023-01-21).

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agogit: Update to version 2.45.2
Adolf Belka [Mon, 3 Jun 2024 14:47:28 +0000 (16:47 +0200)] 
git: Update to version 2.45.2

- Update from version 2.44.0 to 2.45.2
- Update of rootfile not required
- Changelog
    2.45.2
In preparing security fixes for four CVEs, we made overly aggressive
"defense in depth" changes that broke legitimate use cases like 'git
lfs' and 'git annex.'  This release is to revert these misguided, if
well-intentioned, changes that were shipped in 2.45.1 and were not
direct security fixes.
      send-email: drop FakeTerm hack
      send-email: avoid creating more than one Term::ReadLine object
      ci: drop mention of BREW_INSTALL_PACKAGES variable
      ci: avoid bare "gcc" for osx-gcc job
      ci: stop installing "gcc-13" for osx-gcc
      hook: plug a new memory leak
      init: use the correct path of the templates directory again
      Revert "core.hooksPath: add some protection while cloning"
      tests: verify that `clone -c core.hooksPath=/dev/null` works again
      clone: drop the protections where hooks aren't run
      Revert "Add a helper function to compare file contents"
      Revert "fsck: warn about symlink pointing inside a gitdir"
    2.45.1
This release merges up the fix that appears in v2.39.4,
v2.40.2, v2.41.1, v2.42.2, v2.43.4 and v2.44.1 to address the
security issues CVE-2024-32002, CVE-2024-32004, CVE-2024-32020,
CVE-2024-32021 and CVE-2024-32465; see the release notes for
these versions for details.
    2.45.0
Backward Compatibility Notes
UI, Workflows & Features
 * Integrate the reftable code into the refs framework as a backend.
   With "git init --ref-format=reftable", hopefully it would be a lot
   more efficient to manage a repository with many references.
 * "git checkout -p" and friends learned that that "@" is a synonym
   for "HEAD".
 * Variants of vimdiff learned to honor mergetool.<variant>.layout
   settings.
 * "git reflog" learned a "list" subcommand that enumerates known reflogs.
 * When a merge conflicted at a submodule, merge-ort backend used to
   unconditionally give a lengthy message to suggest how to resolve
   it.  Now the message can be squelched as an advice message.
 * "git for-each-ref" learned "--include-root-refs" option to show
   even the stuff outside the 'refs/' hierarchy.
 * "git rev-list --missing=print" has learned to optionally take
   "--allow-missing-tips", which allows the objects at the starting
   points to be missing.
 * "git merge-tree" has learned that the three trees involved in the
   3-way merge only need to be trees, not necessarily commits.
 * "git log --merge" learned to pay attention to CHERRY_PICK_HEAD and
   other kinds of *_HEAD pseudorefs.
 * Platform specific tweaks for OS/390 has been added to
   config.mak.uname.
 * Users with safe.bareRepository=explicit can still work from within
   $GIT_DIR of a seconary worktree (which resides at .git/worktrees/$name/)
   of the primary worktree without explicitly specifying the $GIT_DIR
   environment variable or the --git-dir=<path> option.
 * The output format for dates "iso-strict" has been tweaked to show
   a time in the Zulu timezone with "Z" suffix, instead of "+00:00".
 * "git diff" and friends learned two extra configuration variables,
   diff.srcPrefix and diff.dstPrefix.
 * The status.showUntrackedFiles configuration variable had a name
   that tempts users to set a Boolean value expressed in our usual
   "false", "off", and "0", but it only took "no".  This has been
   corrected so "true" and its synonyms are taken as "normal", while
   "false" and its synonyms are taken as "no".
 * Remove an ancient and not well maintained Hg-to-git migration
   script from contrib/.
 * Hints that suggest what to do after resolving conflicts can now be
   squelched by disabling advice.mergeConflict.
 * Allow git-cherry-pick(1) to automatically drop redundant commits via
   a new `--empty` option, similar to the `--empty` options for
   git-rebase(1) and git-am(1). Includes a soft deprecation of
   `--keep-redundant-commits` as well as some related docs changes and
   sequencer code cleanup.
 * "git config" learned "--comment=<message>" option to leave a
   comment immediately after the "variable = value" on the same line
   in the configuration file.
 * core.commentChar used to be limited to a single byte, but has been
   updated to allow an arbitrary multi-byte sequence.
 * "git add -p" and other "interactive hunk selection" UI has learned to
   skip showing the hunk immediately after it has already been shown, and
   an additional action to explicitly ask to reshow the current hunk.
 * "git pack-refs" learned the "--auto" option, which defers the decision of
   whether and how to pack to the ref backend. This is used by the reftable
   backend to avoid repacking of an already-optimal ref database. The new mode
   is triggered from "git gc --auto".
 * "git add -u <pathspec>" and "git commit [-i] <pathspec>" did not
   diagnose a pathspec element that did not match any files in certain
   situations, unlike "git add <pathspec>" did.
 * The userdiff patterns for C# has been updated.
 * Git writes a "waiting for your editor" message on an incomplete
   line after launching an editor, and then append another error
   message on the same line if the editor errors out.  It now clears
   the "waiting for..." line before giving the error message.
 * The filename used for rejected hunks "git apply --reject" creates
   was limited to PATH_MAX, which has been lifted.
 * When "git bisect" reports the commit it determined to be the
   culprit, we used to show it in a format that does not honor common
   UI tweaks, like log.date and log.decorate.  The code has been
   taught to use "git show" to follow more customizations.
Performance, Internal Implementation, Development Support etc.
 * The code to iterate over refs with the reftable backend has seen
   some optimization.
 * More tests that are marked as "ref-files only" have been updated to
   improve test coverage of reftable backend.
 * Some parts of command line completion script (in contrib/) have
   been micro-optimized.
 * The way placeholders are to be marked-up in documentation have been
   specified; use "_<placeholder>_" to typeset the word inside a pair
   of <angle-brackets> emphasized.
 * "git --no-lazy-fetch cmd" allows to run "cmd" while disabling lazy
   fetching of objects from the promisor remote, which may be handy
   for debugging.
 * The implementation in "git clean" that makes "-n" and "-i" ignore
   clean.requireForce has been simplified, together with the
   documentation.
 * Uses of xwrite() helper have been audited and updated for better
   error checking and simpler code.
 * Some trace2 events that lacked def_param have learned to show it,
   enriching the output.
 * The parse-options code that deals with abbreviated long option
   names have been cleaned up.
 * The code in reftable backend that creates new table files works
   better with the tempfile framework to avoid leaving cruft after a
   failure.
 * The reftable code has its own custom binary search function whose
   comparison callback has an unusual interface, which caused the
   binary search to degenerate into a linear search, which has been
   corrected.
 * The code to iterate over reflogs in the reftable has been optimized
   to reduce memory allocation and deallocation.
 * Work to support a repository that work with both SHA-1 and SHA-256
   hash algorithms has started.
 * A new fuzz target that exercises config parsing code has been
   added.
 * Fix the way recently added tests interpolate variables defined
   outside them, and document the best practice to help future
   developers.
 * Introduce an experimental protocol for contributors to propose the
   topic description to be used in the "What's cooking" report, the
   merge commit message for the topic, and in the release notes and
   document it in the SubmittingPatches document.
 * The t/README file now gives a hint on running individual tests in
   the "t/" directory with "make t<num>-*.sh t<num>-*.sh".
   (merge 8d383806fc pb/test-scripts-are-build-targets later to maint).
 * The "hint:" messages given by the advice mechanism, when given a
   message with a blank line, left a line with trailing whitespace,
   which has been cleansed.
 * Documentation rules has been explicitly described how to mark-up
   literal parts and a few manual pages have been updated as examples.
 * The .editorconfig file has been taught that a Makefile uses HT
   indentation.
 * t-prio-queue test has been cleaned up by using C99 compound
   literals; this is meant to also serve as a weather-balloon to smoke
   out folks with compilers who have trouble compiling code that uses
   the feature.
 * Windows binary used to decide the use of unix-domain socket at
   build time, but it learned to make the decision at runtime instead.
 * The "shared repository" test in the t0610 reftable test failed
   under restrictive umask setting (e.g. 007), which has been
   corrected.
 * Document and apply workaround for a buggy version of dash that
   mishandles "local var=val" construct.
 * The codepaths that reach date_mode_from_type() have been updated to
   pass "struct date_mode" by value to make them thread safe.
 * The strategy to compact multiple tables of reftables after many
   operations accumulate many entries has been improved to avoid
   accumulating too many tables uncollected.
 * The code to iterate over reftable blocks has seen some optimization
   to reduce memory allocation and deallocation.
 * The way "git fast-import" handles paths described in its input has
   been tightened up and more clearly documented.
 * The cvsimport tests required that the platform understands
   traditional timezone notations like CST6CDT, which has been
   updated to work on those systems as long as they understand
   POSIX notation with explicit tz transition dates.
 * The code to format trailers have been cleaned up.
    2.44.0
 * "git apply" on a filesystem without filemode support have learned
   to take a hint from what is in the index for the path, even when
   not working with the "--index" or "--cached" option, when checking
   the executable bit match what is required by the preimage in the
   patch.
   (merge 45b625142d cp/apply-core-filemode later to maint).
 * "git column" has been taught to reject negative padding value, as
   it would lead to nonsense behaviour including division by zero.
   (merge 76fb807faa kh/column-reject-negative-padding later to maint).
 * "git am --help" now tells readers what actions are available in
   "git am --whitespace=<action>", in addition to saying that the
   option is passed through to the underlying "git apply".
   (merge a171dac734 jc/am-whitespace-doc later to maint).
 * "git tag --column" failed to check the exit status of its "git
   column" invocation, which has been corrected.
   (merge 92e66478fc rj/tag-column-fix later to maint).
 * Credential helper based on libsecret (in contrib/) has been updated
   to handle an empty password correctly.
   (merge 8f1f2023b7 mh/libsecret-empty-password-fix later to maint).
 * "git difftool --dir-diff" learned to honor the "--trust-exit-code"
   option; it used to always exit with 0 and signalled success.
   (merge eb84c8b6ce ps/difftool-dir-diff-exit-code later to maint).
 * The code incorrectly attempted to use textconv cache when asked,
   even when we are not running in a repository, which has been
   corrected.
   (merge affe355fe7 jk/textconv-cache-outside-repo-fix later to maint).
 * Remove an empty file that shouldn't have been added in the first
   place.
   (merge 4f66942215 js/remove-cruft-files later to maint).
 * The logic to access reflog entries by date and number had ugly
   corner cases at the boundaries, which have been cleaned up.
   (merge 5edd126720 jk/reflog-special-cases-fix later to maint).
 * An error message from "git upload-pack", which responds to "git
   fetch" requests, had a trailing NUL in it, which has been
   corrected.
   (merge 3f4c7a0805 sg/upload-pack-error-message-fix later to maint).
 * Clarify wording in the CodingGuidelines that requires <git-compat-util.h>
   to be the first header file.
   (merge 4e89f0e07c jc/doc-compat-util later to maint).
 * "git commit -v --cleanup=scissors" used to add the scissors line
   twice in the log message buffer, which has been corrected.
   (merge e90cc075cc jt/commit-redundant-scissors-fix later to maint).
 * A custom remote helper no longer cannot access the newly created
   repository during "git clone", which is a regression in Git 2.44.
   This has been corrected.
   (merge 199f44cb2e ps/remote-helper-repo-initialization-fix later to maint).
 * Various parts of upload-pack have been updated to bound the resource
   consumption relative to the size of the repository to protect from
   abusive clients.
   (merge 6cd05e768b jk/upload-pack-bounded-resources later to maint).
 * The upload-pack program, when talking over v2, accepted the
   packfile-uris protocol extension from the client, even if it did
   not advertise the capability, which has been corrected.
   (merge a922bfa3b5 jk/upload-pack-v2-capability-cleanup later to maint).
 * Make sure failure return from merge_bases_many() is properly caught.
   (merge 25fd20eb44 js/merge-base-with-missing-commit later to maint).
 * FSMonitor client code was confused when FSEvents were given in a
   different case on a case-insensitive filesystem, which has been
   corrected.
   (merge 29c139ce78 jh/fsmonitor-icase-corner-case-fix later to maint).
 * The "core.commentChar" configuration variable only allows an ASCII
   character, which was not clearly documented, which has been
   corrected.
   (merge fb7c556f58 kh/doc-commentchar-is-a-byte later to maint).
 * With release 2.44 we got rid of all uses of test_i18ngrep and there
   is no in-flight topic that adds a new use of it.  Make a call to
   test_i18ngrep a hard failure, so that we can remove it at the end
   of this release cycle.
   (merge 381a83dfa3 jc/test-i18ngrep later to maint).
 * The command line completion script (in contrib/) learned to
   complete "git reflog" better.
   (merge 1284f9cc11 rj/complete-reflog later to maint).
 * The logic to complete the command line arguments to "git worktree"
   subcommand (in contrib/) has been updated to correctly honor things
   like "git -C dir" etc.
   (merge 3574816d98 rj/complete-worktree-paths-fix later to maint).
 * When git refuses to create a branch because the proposed branch
   name is not a valid refname, an advice message is given to refer
   the user to exact naming rules.
   (merge 8fbd903e58 kh/branch-ref-syntax-advice later to maint).
 * Code simplification by getting rid of code that sets an environment
   variable that is no longer used.
   (merge 72a8d3f027 pw/rebase-i-ignore-cherry-pick-help-environment later to maint).
 * The code to find the effective end of log messages can fall into an
   endless loop, which has been corrected.
   (merge 2541cba2d6 fs/find-end-of-log-message-fix later to maint).
 * Mark-up used in the documentation has been improved for
   consistency.
   (merge 45d5ed3e50 ja/doc-markup-fixes later to maint).
 * The status.showUntrackedFiles configuration variable was
   incorrectly documented to accept "false", which has been corrected.
 * Leaks from "git restore" have been plugged.
   (merge 2f64da0790 rj/restore-plug-leaks later to maint).
 * "git bugreport --no-suffix" was not supported and instead
   segfaulted, which has been corrected.
   (merge b3b57c69da js/bugreport-no-suffix-fix later to maint).
 * The documentation for "%(trailers[:options])" placeholder in the
   "--pretty" option of commands in the "git log" family has been
   updated.
   (merge bff85a338c bl/doc-key-val-sep-fix later to maint).
 * "git checkout --conflict=bad" reported a bad conflictStyle as if it
   were given to a configuration variable; it has been corrected to
   report that the command line option is bad.
   (merge 5a99c1ac1a pw/checkout-conflict-errorfix later to maint).
 * Code clean-up in the "git log" machinery that implements custom log
   message formatting.
   (merge 1c10b8e5b0 jk/pretty-subject-cleanup later to maint).
 * "git config" corrupted literal HT characters written in the
   configuration file as part of a value, which has been corrected.
   (merge e6895c3f97 ds/config-internal-whitespace-fix later to maint).
 * A unit test for reftable code tried to enumerate all files in a
   directory after reftable operations and expected to see nothing but
   the files it wanted to leave there, but was fooled by .nfs* cruft
   files left, which has been corrected.
   (merge 0068aa7946 ps/reftable-unit-test-nfs-workaround later to maint).
 * The implementation and documentation of "object-format" option
   exchange between the Git itself and its remote helpers did not
   quite match, which has been corrected.
 * The "--pretty=<shortHand>" option of the commands in the "git log"
   family, defined as "[pretty] shortHand = <expansion>" should have
   been looked up case insensitively, but was not, which has been
   corrected.
   (merge f999d5188b bl/pretty-shorthand-config-fix later to maint).
 * "git apply" failed to extract the filename the patch applied to,
   when the change was about an empty file created in or deleted from
   a directory whose name ends with a SP, which has been corrected.
   (merge 776ffd1a30 jc/apply-parse-diff-git-header-names-fix later to maint).
 * Update a more recent tutorial doc.
   (merge 95ab557b4b dg/myfirstobjectwalk-updates later to maint).
 * The test script had an incomplete and ineffective attempt to avoid
   clobbering the testing user's real crontab (and its equivalents),
   which has been completed.
   (merge 73cb87773b es/test-cron-safety later to maint).
 * Use advice_if_enabled() API to rewrite a simple pattern to
   call advise() after checking advice_enabled().
   (merge 6412d01527 rj/use-adv-if-enabled later to maint).
 * Another "set -u" fix for the bash prompt (in contrib/) script.
   (merge d7805bc743 vs/complete-with-set-u-fix later to maint).
 * "git checkout/switch --detach foo", after switching to the detached
   HEAD state, gave the tracking information for the 'foo' branch,
   which was pointless.
 * "git apply" has been updated to lift the hardcoded pathname length
   limit, which in turn allowed a mksnpath() function that is no
   longer used.
   (merge 708f7e0590 rs/apply-lift-path-length-limit later to maint).
 * A file descriptor leak in an error codepath, used when "git apply
   --reject" fails to create the *.rej file, has been corrected.
   (merge 2b1f456adf rs/apply-reject-fd-leakfix later to maint).
 * A config parser callback function fell through instead of returning
   after recognising and processing a variable, wasting cycles, which
   has been corrected.
   (merge a816ccd642 ds/fetch-config-parse-microfix later to maint).
 * Fix was added to work around a regression in libcURL 8.7.0 (which has
   already been fixed in their tip of the tree).
   (merge 92a209bf24 jk/libcurl-8.7-regression-workaround later to maint).
 * The variable that holds the value read from the core.excludefile
   configuration variable used to leak, which has been corrected.
   (merge 0e0fefb29f jc/unleak-core-excludesfile later to maint).
 * vreportf(), which is used by error() and friends, has been taught
   to give the error message printf-format string when its vsnprintf()
   call fails, instead of showing nothing useful to identify the
   nature of the error.
   (merge c63adab961 rs/usage-fallback-to-show-message-format later to maint).
 * Adjust to an upcoming changes to GNU make that breaks our Makefiles.
   (merge 227b8fd902 tb/make-indent-conditional-with-non-spaces later to maint).
 * Git 2.44 introduced a regression that makes the updated code to
   barf in repositories with multi-pack index written by older
   versions of Git, which has been corrected.
 * When .git/rr-cache/ rerere database gets corrupted or rerere is fed to
   work on a file with conflicted hunks resolved incompletely, the rerere
   machinery got confused and segfaulted, which has been corrected.
   (merge 167395bb47 mr/rerere-crash-fix later to maint).
 * The "receive-pack" program (which responds to "git push") was not
   converted to run "git maintenance --auto" when other codepaths that
   used to run "git gc --auto" were updated, which has been corrected.
   (merge 7bf3057d9c ps/run-auto-maintenance-in-receive-pack later to maint).
 * Other code cleanup, docfix, build fix, etc.
   (merge f0e578c69c rs/use-xstrncmpz later to maint).
   (merge 83e6eb7d7a ba/credential-test-clean-fix later to maint).
   (merge 64562d784d jb/doc-interactive-singlekey-do-not-need-perl later to maint).
   (merge c431a235e2 cp/t9146-use-test-path-helpers later to maint).
   (merge 82d75402d5 ds/doc-send-email-capitalization later to maint).
   (merge 41bff66e35 jc/doc-add-placeholder-fix later to maint).
   (merge 6835f0efe9 jw/remote-doc-typofix later to maint).
   (merge 244001aa20 hs/rebase-not-in-progress later to maint).
   (merge 2ca6c07db2 jc/no-include-of-compat-util-from-headers later to maint).
   (merge 87bd7fbb9c rs/fetch-simplify-with-starts-with later to maint).
   (merge f39addd0d9 rs/name-rev-with-mempool later to maint).
   (merge 9a97b43e03 rs/submodule-prefix-simplify later to maint).
   (merge 40b8076462 ak/rebase-autosquash later to maint).
   (merge 3223204456 eg/add-uflags later to maint).
   (merge 5f78d52dce es/config-doc-sort-sections later to maint).
   (merge 781fb7b4c2 as/option-names-in-messages later to maint).
   (merge 51d41dc243 jk/doc-remote-helpers-markup-fix later to maint).
   (merge e1aaf309db pb/ci-win-artifact-names-fix later to maint).
   (merge ad538c61da jc/index-pack-fsck-levels later to maint).
   (merge 67471bc704 ja/doc-formatting-fix later to maint).
   (merge 86f9ce7dd6 bl/doc-config-fixes later to maint).
   (merge 0d527842b7 az/grep-group-error-message-update later to maint).
   (merge 7c43bdf07b rs/strbuf-expand-bad-format later to maint).
   (merge 8b68b48d5c ds/typofix-core-config-doc later to maint).
   (merge 39bb692152 rs/imap-send-use-xsnprintf later to maint).
   (merge 8d320cec60 jc/t2104-style-fixes later to maint).
   (merge b4454d5a7b pw/t3428-cleanup later to maint).
   (merge 84a7c33a4b pf/commitish-committish later to maint).
   (merge 8882ee9d68 la/mailmap-entry later to maint).
   (merge 44bdba2fa6 rs/no-openssl-compilation-fix-on-macos later to maint).
   (merge f412d72c19 yb/replay-doc-linkfix later to maint).
   (merge 5da40be8d7 xx/rfc2822-date-format-in-doc later to maint).

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agovectorscan: Don't build for riscv64
Michael Tremer [Wed, 29 May 2024 09:35:03 +0000 (09:35 +0000)] 
vectorscan: Don't build for riscv64

This architecture does not seem to be support and since we don't support
this as a primary architecture just yet, we will build without this
package.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoMerge remote-tracking branch 'origin/master' into next
Arne Fitzenreiter [Tue, 4 Jun 2024 12:15:20 +0000 (14:15 +0200)] 
Merge remote-tracking branch 'origin/master' into next

12 months agokernel: reset asix88179 twice like in older kernels
Arne Fitzenreiter [Tue, 4 Jun 2024 12:08:53 +0000 (14:08 +0200)] 
kernel: reset asix88179 twice like in older kernels

the kernel developers has removed a reset at bring the
device first up to save time. At my test's this result in
not detecting the link correct. This readd the reset and at
my tests the device has worked.

fixes #13692

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoMerge branch 'master' into next
Arne Fitzenreiter [Mon, 27 May 2024 20:08:11 +0000 (22:08 +0200)] 
Merge branch 'master' into next

12 months agocore187: ship suricata and vectorscan
Arne Fitzenreiter [Mon, 27 May 2024 20:07:21 +0000 (22:07 +0200)] 
core187: ship suricata and vectorscan

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agokernel: update to 6.6.32
Arne Fitzenreiter [Mon, 27 May 2024 20:03:14 +0000 (22:03 +0200)] 
kernel: update to 6.6.32

I hope this fix the problems with ASIX AX99179 USB LAN adaptors

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agohyperscan: Remove from IPFire.
Adolf Belka [Tue, 14 May 2024 10:39:56 +0000 (12:39 +0200)] 
hyperscan: Remove from IPFire.

- hyperscan will move from BSD licence to a proprietary paid for licence from version 5.5
   onwards.
- hyperscan will be replaced by vectorscan, a fork of hyperscan.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agovectorscan: Install vectorscan to replace hypersan
Adolf Belka [Tue, 14 May 2024 10:39:55 +0000 (12:39 +0200)] 
vectorscan: Install vectorscan to replace hypersan

- It has been announced that from hyperscan-5.5 onwards the licence for this package
   will change from BSD tp proprietarty paid for version
- This patch submission installs vectorscan whihc was created as a fork from hyperscan
   andf that is being maintained and has indicated it will suay Open Source
- Created new lfs file
- Created nbew rootfile. This looks to match the hyperscan rootfile closely
- Added vector scan to the make.sh file and removed hyperscan from it.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agodnsdist: Update to 1.9.4
Michael Tremer [Tue, 14 May 2024 10:04:12 +0000 (10:04 +0000)] 
dnsdist: Update to 1.9.4

This release fixes CVE-2024-25581, a denial of service security issue affecting versions 1.9.0, 1.9.1, 1.9.2 and 1.9.3 only. Earlier versions are not affected.

When incoming DNS over HTTPS support is enabled using the nghttp2 provider, and queries are routed to a tcp-only or DNS over TLS backend, an attacker can trigger an assertion failure in DNSdist by sending a request for a zone transfer (AXFR or IXFR) over DNS over HTTPS, causing the process to stop and thus leading to a Denial of Service.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agocore187: ship unbound
Arne Fitzenreiter [Sat, 25 May 2024 08:58:35 +0000 (10:58 +0200)] 
core187: ship unbound

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agounbound: Update to 1.20.0
Matthias Fischer [Mon, 13 May 2024 18:21:02 +0000 (20:21 +0200)] 
unbound: Update to 1.20.0

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

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agocore187: ship e2fsprogs
Arne Fitzenreiter [Sat, 25 May 2024 08:54:24 +0000 (10:54 +0200)] 
core187: ship e2fsprogs

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoe2fsprogs: Fixes bug#13073 - Update to version 1.47.0
Adolf Belka [Sat, 11 May 2024 11:27:23 +0000 (13:27 +0200)] 
e2fsprogs: Fixes bug#13073 - Update to version 1.47.0

- Previously this patch was reverted due to Grub not being able to boot with it.
   This was fixed in Grub-2.12
- Confirmed on my vm testbed that a CU186 install with this e2fsprogs version was able
   to complete the install when the reboot button at the end of the first install stage
   was completed.
- Update from version 1.46.5 to 1.47.0
- Update of rootfile not required
- Changelog
    E2fsprogs 1.47.0 (February 5, 2023)
Updates/Fixes since v1.46.6:
UI and Features
Add support for the orphan_file feature, which speeds up workloads that
are deleting or truncating a large number files in parallel.  This
compat feature was first supported in the v5.15 Linux kernel.
The mke2fs program (via the mke2fs.conf file) now enables the
metadata_csum_seed and orphan_file features by default.  The
metadata_csum_seed feature is an incompat feature which is first
supported in the Linux kernel starting in the 4.4 kernel and e2fsprogs
1.43.
Mke2fs now supports the extended option "assume_storage_prezeroed" which
causes mke2fs to skip zeroing the journal and inode tables and to mark
the inode tables as zeroed.
Add support to tune2fs and e2label to set the label and UUID for a
mounted file system using a ioctl, which is more reliable than modifying
the superblock via writing to the block device.  The kernel support for
setting the label landed in v5.17, while the support for adding the UUID
landed in v6.0.  If the ioctls are not supported, tune2fs and e2label
will fall back old strategy of directly modifying the superblock.
Allow tune2fs to disable the casefold feature after scanning all of the
directories do not have the Casefold flag set.
Fixes
Fix a potential unbalanced mutex unlock when there is a short read while
using the bounce buffer when using direct I/O.
Performance, Internal Implementation, Development Support etc.
Fix various Coverity and compiler warnings.
Add the new function ext2fs_xattrs_read_inode() which takes an in-memory
inode to avoid needing to reread an inode that was already read into
memory.
Teach debugfs logdump command the -n option which forces printing a
specified number of transactions, even when a block missing a magic
number would have stopped the logdump.  (This is for debugging
journalling problems.)
    E2fsprogs 1.46.6 (February 1, 2023)
Updates/Fixes since v1.46.5:
UI and Features
Debugfs's ncheck command now allows the inode number to be surrounded by
angle brackets, to be consistent with other debugfs commands.
Debugfs no longer prints a scary message when debugfs -c (which enables
"catastrophic mode") is used.  This was intended to allow debugfs to
operate on very badly corrupted file systems, but it is now sometimes
used to suppress reading the block and inode bitmaps when they are not
needed.
Resize2fs will round down the requested new file system size to the
nearest cluster boundary when resizing bigalloc file systems.
Improve error messages issued by badblocks.
Fuse2fs now supports an offset=<bytes> option which allows operating on
a file system image which is located starting at the specified offset
from the beginning of the image.
Fixes
Pre-v6.2 Linux kernels had long-standing bug in how the extended
attribute hash was calculated when there were non-ASCII characters in
the xattr name, when the hash would be different depending on whether
the C 'char' type was signed or unsigned.  To address this bug, starting
with e2fsprogs 1.46.6+ and Linux 6.2+, we will accept either the signed
or unsigned hash variant, but only set the unsigned hash variant.  Since
extended attribute names are in practice composed of ASCII characters,
other than various tests (such as generic/454), most users will
hopefully not notice this change.
Avoid triggering udev in dumpe2fs and "resize2fs -P" for file systems
with MMP enabled by opening the device read-only when reading the MMP
block.
Fix MMP handling so it can notice when another writer has modify the MMP
block out from under it when stopping a MMP sessions.
Fix tune2fs so it will detect another device stealing the MMP sessions
while rewriting metadata checksums.
E2fsck will now check to make sure the journal inode does not have the
encrypt flag set.
Fix a deadlock bug in e2fsck's error handler when there are errors
trying to write to the file system.
Fix a bug where e2fsck could fail when specifying an undo file and an
explicit superblock number.
Fix e2image so it won't potentially loop forever for certain invalid
file systems.
Fix resize2fs to honor the E2FSPROGS_FAKE_TIME environment variable.
This allows embedded system builders who use resize2fs as part of their
image build process to create reproducible images.
Fix tune2fs to avoid a crash if the journal replay fails and to make
sure its exit status is non-zero if there is some failure.
Fix tune2fs, fuse2fs, and debugsfs to update j_tail_sequence when
replaying the journal.
Add additional bullet-proofing for very badly corrupted file systems.
Try avoid UBSAN warnings, null pointer derferences, and other memory
bugs.  (Addresses CVE-2022-1304)
Don't fail when the source directory for mke2fs -d doesn't support
extended attributese.
Check for and handle malloc() failures when computing the log filename
in e2fsck and in the libss library.
Fix tune2fs and e2fsck to accept pathames which include '=' characters.
Previously arguments to tune2fs and e2fsck which included '=' characters
are presumed to be blkid specifiers such as UUID=xxx or LABEL=yyy.  If a
specifier is both a valid pathname name and blkid tag name specifier,
priority is given to a blkid resolved pathname.
Improve tune2fs's error messages.
Fix a bug in tune2fs which could cause it to crash if device goes
off-line just as it being opened.
Fix the fsck driver so if it is interrupted while running fsck -N it
doesn't end up kllling all processes on the system.
Fix a crash in badblocks when the user specifies an overly large
number of blocks tested at a time in read/write or nondestructive
mode.
Update and clarify's chattr's man page and usage message.  Fix spelling
typo's in a variety of different man pages and comments.
Performance, Internal Implementation, Development Support etc.
Update to autoconf 2.71.
Update flags used to create shared library on Darwin/MacOS.
Speed up e2fsck's clonning of multiply-claimed blocks so it is
substantially faster on very large file systems.
Add tests/fuzz directory with fuzzers from oss-fuzz.
Add a Github Actions configuration file so that Github will run CI tests
on Linux, Windows and MacOS on a push to the e2fsprogs github repo.
Make the mtab parsing in ext2fs_check_mount_point() more careful so it
won't get confused when a block device shows up in the mnt_name field
for a virtual file system.
Fix the libss's Makefile to create the man page directory before trying
to install its man page.
Fix various Coverity and compiler warnings.
Make tests more portable on various different OS's and system
configurations (e.g., with SELinux enabled, MacOS, and Windows)
Use mallinfo2() instead of mallinfo() where avilable, since mallinfo()
is deprecated on newer glibc versions.
E2fsck will no longer do a full scan of disconnected directory when
trying to print the parent directory, which is pointless and can slow
down e2fsck if there are a large number of disconnected directories.
Debugfs will now print the extended attribute's e_hash field.
Fix the setup-schroot script to work on non-Linux platforms.
Fix ext2fs_compare_generic_bmap() so it correctly compares all of the
bits in the bitmap, and so that it works correctly when comparing a
bitarray bitmap with a rbtree-based bitmap.  (Fortunately, none of the
programs in e2fsprogs uses bitmap comparison functions.)
Fix memory leaks on error paths.
Add support for the configure option --enable-largefile so that
e2fsprogs can utilize largefile support for the MUSL C library.
Add an note that the dict library code has been modified, as required by
the Kazlib license.
Synchronized changes from Android's AOSP e2fsprogs tree.
Updated config.guess and config.sub with newer versions from the FSF.
Add Friulian translation.
Update Chinese, Czech, Dutch, French, German, Malay, Polish, Serbian,
Spanish, Swedish, and Ukrainian translations.

Fixes: bug#13073
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agocore187: ship gcc
Arne Fitzenreiter [Fri, 24 May 2024 05:20:12 +0000 (07:20 +0200)] 
core187: ship gcc

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agocore187: clean filelist from older core update
Arne Fitzenreiter [Fri, 24 May 2024 05:16:20 +0000 (07:16 +0200)] 
core187: clean filelist from older core update

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agogcc: Update to 13.3.0
Michael Tremer [Thu, 23 May 2024 17:38:27 +0000 (17:38 +0000)] 
gcc: Update to 13.3.0

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
12 months agomake.sh: Bump the toolchain version
Michael Tremer [Thu, 23 May 2024 17:38:26 +0000 (17:38 +0000)] 
make.sh: Bump the toolchain version

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
12 months agocore187: start updater
Arne Fitzenreiter [Fri, 24 May 2024 05:13:57 +0000 (07:13 +0200)] 
core187: start updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agocore186: ship header.pl
Arne Fitzenreiter [Sun, 19 May 2024 13:13:23 +0000 (15:13 +0200)] 
core186: ship header.pl

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoheader.pl: Fix parsing BOOTP leases
Michael Tremer [Wed, 15 May 2024 13:20:03 +0000 (13:20 +0000)] 
header.pl: Fix parsing BOOTP leases

If the lease has been handed out over BOOTP, it will never expire.
However, the parser did not account for this case at all which is fixed
in this patch.

Fixes: #13689 - BOOTP breaks the list of DHCP leases due to erroneous parsing
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agokernel: update to 6.6.31
Arne Fitzenreiter [Sun, 19 May 2024 11:26:52 +0000 (13:26 +0200)] 
kernel: update to 6.6.31

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agocore186: ship intel-microcode
Arne Fitzenreiter [Sun, 19 May 2024 11:25:44 +0000 (13:25 +0200)] 
core186: ship intel-microcode

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agointel-microcode: Update to version 20240514
Adolf Belka [Wed, 15 May 2024 15:32:09 +0000 (17:32 +0200)] 
intel-microcode: Update to version 20240514

- Update from version 20240312 to 20240514
- Update of rootfile not required.
- For the changelog details see the releasenote.md file in the source tarball.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agomympd: update to 15.0.1
Arne Fitzenreiter [Fri, 10 May 2024 16:13:24 +0000 (18:13 +0200)] 
mympd: update to 15.0.1

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoRevert "oci-setup: Fixes bug12763"
Michael Tremer [Fri, 10 May 2024 12:02:34 +0000 (12:02 +0000)] 
Revert "oci-setup: Fixes bug12763"

This reverts commit 238a47874fe044ae90129bde10b267063c4305f5.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoRevert "gcp-setup: Fixes bug12763"
Michael Tremer [Fri, 10 May 2024 12:02:33 +0000 (12:02 +0000)] 
Revert "gcp-setup: Fixes bug12763"

This reverts commit 2841a675482879a5eb6bfeaabb268066af762e9d.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoRevert "exoscale-setup: Fixes bug12763"
Michael Tremer [Fri, 10 May 2024 12:02:32 +0000 (12:02 +0000)] 
Revert "exoscale-setup: Fixes bug12763"

This reverts commit 3162b6ccfa2fb22513c7d23d29f0509343f46828.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoRevert "azure-setup: Fixes bug12763"
Michael Tremer [Fri, 10 May 2024 12:02:31 +0000 (12:02 +0000)] 
Revert "azure-setup: Fixes bug12763"

This reverts commit 1db5f96c5ebbb2074c9c0a3edf29866c4769da11.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoRevert "aws-setup: Fixes bug12763"
Michael Tremer [Fri, 10 May 2024 12:02:30 +0000 (12:02 +0000)] 
Revert "aws-setup: Fixes bug12763"

This reverts commit eb0de6531c441663477cf7e139f1bd5321630eef.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoRevert "ip-up: Fixes bug12763"
Michael Tremer [Fri, 10 May 2024 12:02:29 +0000 (12:02 +0000)] 
Revert "ip-up: Fixes bug12763"

This reverts commit 4f455c488ee8542bea4ccbe439351b3e9973c6e4.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoRevert "red: Fixes bug12763"
Michael Tremer [Fri, 10 May 2024 12:02:28 +0000 (12:02 +0000)] 
Revert "red: Fixes bug12763"

This reverts commit 9c28cd59c1b4f535382e5e4e7952d921af8cc03b.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoRevert "static-routes: Fixes bug12763"
Michael Tremer [Fri, 10 May 2024 12:02:27 +0000 (12:02 +0000)] 
Revert "static-routes: Fixes bug12763"

This reverts commit e33ee46e621eb6967c954a9d3b4683880e372579.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
12 months agoipsec-interfaces: Don't throw away errors when creating routes
Michael Tremer [Fri, 10 May 2024 12:02:26 +0000 (12:02 +0000)] 
ipsec-interfaces: Don't throw away errors when creating routes

This partly reverts 87a97a431915849cf6d19e1b7137b4fb0b6dd91d.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agomympd: remove create config start
Arne Fitzenreiter [Fri, 10 May 2024 10:42:29 +0000 (12:42 +0200)] 
mympd: remove create config start

this now resets an existing option like the port to
default.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agokernel: update x86_64 rootfile
Arne Fitzenreiter [Wed, 8 May 2024 11:28:38 +0000 (13:28 +0200)] 
kernel: update x86_64 rootfile

now the correct file

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agoRevert "kernel: update x86_64 rootfile"
Arne Fitzenreiter [Wed, 8 May 2024 11:27:24 +0000 (13:27 +0200)] 
Revert "kernel: update x86_64 rootfile"

This reverts commit 7b68ef8515f53e09bf8da9b68096e0cea4bcb017.

I have copied the rootfile over the config...

13 months agokernel: update x86_64 rootfile
Arne Fitzenreiter [Wed, 8 May 2024 06:19:30 +0000 (06:19 +0000)] 
kernel: update x86_64 rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agobacula: Update to version 13.0.4
Adolf Belka [Mon, 6 May 2024 16:58:20 +0000 (18:58 +0200)] 
bacula: Update to version 13.0.4

- Update from version 11.0.6 to 13.0.4
- Update of rootfile
- Version 13.x has now been released for 12 months so updating the File Daemon to 13.x
   should be good.
- Version 11.x was released 40 months ago.
- Changelog
    The changes are all related to the Director and the Storage Daemon. The changelog states
    that older file daemons "should" be compatible with 13.x DIR & SD. This change ensures
    IPfire "is" compatible with the 13.x DIR & SD.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agoupdate.sh: Add SPAMHAUS_DROP if SPAMHAUS_EDROP was previously used
Adolf Belka [Sat, 4 May 2024 13:05:20 +0000 (15:05 +0200)] 
update.sh: Add SPAMHAUS_DROP if SPAMHAUS_EDROP was previously used

- I realised that the previous patch for update.sh related to the ipblocklist removal
   of ALIENVAULT and SPAMHAUS_EDROP only removed the SPAMHAUS_EDROP setting. It makes sense
   to add SPAMHAUS_DROP to the settings file if SPAMHAUS_EDROP was previously used and
   SPAMHAUS_DROP was not selected.
- This patch adds the above change.

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>
13 months agoupdate contributors
Arne Fitzenreiter [Tue, 7 May 2024 05:04:41 +0000 (07:04 +0200)] 
update contributors

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agokernel: update aarch64 config and rootfile
Arne Fitzenreiter [Tue, 7 May 2024 05:03:38 +0000 (07:03 +0200)] 
kernel: update aarch64 config and rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agokernel: update to 6.6.30
Arne Fitzenreiter [Mon, 6 May 2024 16:03:05 +0000 (18:03 +0200)] 
kernel: update to 6.6.30

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agokernel: Enable XDP
Michael Tremer [Thu, 18 Apr 2024 21:08:55 +0000 (21:08 +0000)] 
kernel: Enable XDP

https://lists.ipfire.org/hyperkitty/list/development@lists.ipfire.org/thread/S4GPL3OBFZ6LMA52JNLHIOPMNA5C3V6R/

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agokernel: update to 6.6.29
Arne Fitzenreiter [Thu, 2 May 2024 10:35:08 +0000 (12:35 +0200)] 
kernel: update to 6.6.29

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agomympd: update to 14.1.2
Arne Fitzenreiter [Mon, 29 Apr 2024 10:40:37 +0000 (12:40 +0200)] 
mympd: update to 14.1.2

This is a small bugfix release.
Changelog:

    Fix: Output enabled state is bool type
    Fix: Add missing sort parameters to home icon for search
    Fix: Set default stream port if stream uri is defined

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agosuricata.yaml: Fix Landlock path settings
Peter Müller [Mon, 22 Apr 2024 16:44:00 +0000 (16:44 +0000)] 
suricata.yaml: Fix Landlock path settings

Suricata will complain if it cannot read its own configuration file,
hence read-only access to /etc/suricata must be allowed. Since the list
applies to directories, rather than files, restricting read access to
only /usr/share/misc/magic.mgc is not possible; reading /usr/share/misc
must be allowed instead.

Fixes: #13645
Tested-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agoRevert "suricata: Disable Landlock support"
Peter Müller [Mon, 22 Apr 2024 16:43:00 +0000 (16:43 +0000)] 
Revert "suricata: Disable Landlock support"

This reverts commit b7da97fd59f010ea8fa7bca845d18e52ca89bc5a.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agolinux: Properly load Landlock module
Peter Müller [Mon, 22 Apr 2024 16:43:00 +0000 (16:43 +0000)] 
linux: Properly load Landlock module

Fixes: #13645
Tested-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agokmod: update rootfile
Arne Fitzenreiter [Sun, 28 Apr 2024 21:04:28 +0000 (21:04 +0000)] 
kmod: update rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agolynis: update rootfile
Arne Fitzenreiter [Sun, 28 Apr 2024 21:04:02 +0000 (21:04 +0000)] 
lynis: update rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agocore186: ship apache initskript
Arne Fitzenreiter [Sun, 28 Apr 2024 13:14:32 +0000 (13:14 +0000)] 
core186: ship apache initskript

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agoinitscripts: Correctly wait for Apache2 to terminate
Michael Tremer [Fri, 26 Apr 2024 15:28:38 +0000 (15:28 +0000)] 
initscripts: Correctly wait for Apache2 to terminate

This is achieved by telling killproc which PIDs to wait for.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agocore186: ship unbound-dhcp-leses-bridge
Arne Fitzenreiter [Sun, 28 Apr 2024 13:12:04 +0000 (13:12 +0000)] 
core186: ship unbound-dhcp-leses-bridge

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agounbound-dhcp-leases-bridge: Make comparison work if old file does not exist
Michael Tremer [Fri, 26 Apr 2024 15:09:19 +0000 (15:09 +0000)] 
unbound-dhcp-leases-bridge: Make comparison work if old file does not exist

This patch catches any errors if the file did not previously exist and
therefore skips the comparison.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agounbound-dhcp-leases-bridge: Only reload if leases have actually changed
Michael Tremer [Fri, 26 Apr 2024 15:09:18 +0000 (15:09 +0000)] 
unbound-dhcp-leases-bridge: Only reload if leases have actually changed

This patches changes that leases will always be written in
alphanumerical order so that we can later compare the newly generated
file with the previous version. If it has not changed, we skip reload
Unbound.

Suggested-by: Nick Howitt <nick@howitts.co.uk>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agounbound-dhcp-leases-bridge: Implement atomic file replacement
Michael Tremer [Fri, 26 Apr 2024 15:09:17 +0000 (15:09 +0000)] 
unbound-dhcp-leases-bridge: Implement atomic file replacement

This change no longer renames the file, but removes the old link and
creates a new link for the temporary file. That helps us to jump out of
the code at any point without worrying about cleaning up the temporary
file.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agocore186: ship tzdata
Arne Fitzenreiter [Sun, 28 Apr 2024 13:07:50 +0000 (13:07 +0000)] 
core186: ship tzdata

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agotzdata: Update to version 2024a
Adolf Belka [Thu, 25 Apr 2024 20:43:02 +0000 (22:43 +0200)] 
tzdata: Update to version 2024a

- Update from version 2023d to 2024a
- Update of rootfile not required
- Changelog
    2024a
  Briefly:
    Kazakhstan unifies on UTC+5 beginning 2024-03-01.
    Palestine springs forward a week later after Ramadan.
    zic no longer pretends to support indefinite-past DST.
    localtime no longer mishandles Ciudad Juárez in 2422.
  Changes to future timestamps
    Kazakhstan unifies on UTC+5.  This affects Asia/Almaty and
     Asia/Qostanay which together represent the eastern portion of the
     country that will transition from UTC+6 on 2024-03-01 at 00:00 to
     join the western portion.  (Thanks to Zhanbolat Raimbekov.)
    Palestine springs forward a week later than previously predicted
     in 2024 and 2025.  (Thanks to Heba Hamad.)  Change spring-forward
     predictions to the second Saturday after Ramadan, not the first;
     this also affects other predictions starting in 2039.
  Changes to past timestamps
    Asia/Ho_Chi_Minh's 1955-07-01 transition occurred at 01:00
     not 00:00.  (Thanks to Đoàn Trần Công Danh.)
    From 1947 through 1949, Toronto's transitions occurred at 02:00
     not 00:00.  (Thanks to Chris Walton.)
    In 1911 Miquelon adopted standard time on June 15, not May 15.
  Changes to code
    The FROM and TO columns of Rule lines can no longer be "minimum"
     or an abbreviation of "minimum", because TZif files do not support
     DST rules that extend into the indefinite past - although these
     rules were supported when TZif files had only 32-bit data, this
     stopped working when 64-bit TZif files were introduced in 1995.
     This should not be a problem for realistic data, since DST was
     first used in the 20th century.  As a transition aid, FROM columns
     like "minimum" are now diagnosed and then treated as if they were
     the year 1900; this should suffice for TZif files on old systems
     with only 32-bit time_t, and it is more compatible with bugs in
     2023c-and-earlier localtime.c.  (Problem reported by Yoshito
     Umaoka.)
    localtime and related functions no longer mishandle some
     timestamps that occur about 400 years after a switch to a time
     zone with a DST schedule.  In 2023d data this problem was visible
     for some timestamps in November 2422, November 2822, etc. in
     America/Ciudad_Juarez.  (Problem reported by Gilmore Davidson.)
    strftime %s now uses tm_gmtoff if available.  (Problem and draft
     patch reported by Dag-Erling Smørgrav.)
  Changes to build procedure
    The leap-seconds.list file is now copied from the IERS instead of
     from its downstream counterpart at NIST, as the IERS version is
     now in the public domain too and tends to be more up-to-date.
     (Thanks to Martin Burnicki for liaisoning with the IERS.)
  Changes to documentation
    The strftime man page documents which struct tm members affect
     which conversion specs, and that tzset is called.  (Problems
     reported by Robert Elz and Steve Summit.)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agocore186: ship sqlite
Arne Fitzenreiter [Sun, 28 Apr 2024 13:05:17 +0000 (13:05 +0000)] 
core186: ship sqlite

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agosqlite: Update to version 3450300
Adolf Belka [Thu, 25 Apr 2024 20:43:01 +0000 (22:43 +0200)] 
sqlite: Update to version 3450300

- Update from version 3450200 to 3450300
- Update of rootfile not required
- Changelog
    3450300
Fix a long-standing bug (going back to version 3.24.0) that might (rarely) cause
 the "old.*" values of an UPDATE trigger to be incorrect if that trigger fires in
 response to an UPSERT. Forum post 284955a3cd454a15.
Fix a bug in sum() that could cause it to return NULL when it should return
 Infinity. Forum post 23b8688ef4.
Other trifling corrections and compiler warning fixes that have come up since the
 previous patch release. See the timeline for details.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agocore186: ship suricata and libhtp
Arne Fitzenreiter [Sun, 28 Apr 2024 13:01:49 +0000 (13:01 +0000)] 
core186: ship suricata and libhtp

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agosuricata: Update to 7.0.5
Michael Tremer [Wed, 24 Apr 2024 08:49:01 +0000 (08:49 +0000)] 
suricata: Update to 7.0.5

This update contains fixes for the following issues:

* CVE-2024-32664 CRITICAL
* CVE-2024-32867 MODERATE

  https://forum.suricata.io/t/suricata-7-0-5-and-6-0-19-released/4617

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agolibhtp: Update to 0.5.48
Michael Tremer [Wed, 24 Apr 2024 08:49:00 +0000 (08:49 +0000)] 
libhtp: Update to 0.5.48

https://github.com/OISF/libhtp/releases/tag/0.5.48

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agocore186: ship kmod
Arne Fitzenreiter [Sun, 28 Apr 2024 12:58:05 +0000 (12:58 +0000)] 
core186: ship kmod

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agokmod: Update to 32
Peter Müller [Mon, 22 Apr 2024 16:48:00 +0000 (16:48 +0000)] 
kmod: Update to 32

Changelog according to the tarball's NEWS file:

- Improvements

        - Use any hash algo known by kernel/openssl instead of keep needing
          to update the mapping

        - Teach kmod to load modprobe.d/depmod.d configuration from ${prefix}/lib
          and allow it to be overriden during build with --with-distconfdir=DIR

        - Make kernel modules directory configurable. This allows distro to
          make kmod use only files from /usr regardless of having a compat
          symlink in place.

        - Install kmod.pc containing the features selected at build time.

        - Install all tools and symlinks by default. Previously kmod relied on
          distro packaging to set up the symlinks in place like modprobe,
          depmod, lsmod, etc. Now those symlinks are created by kmod itself
          and they are always placed in $bindir.

- Bug Fixes

        - Fix warnings due to -Walloc-size

- Others

        - Drop python bindings. Those were not update in ages and not compatible
          with latest python releases.

        - Cleanup test infra, dropping what was not used anymore

        - Drop experimental tools `kmod insert` / `kmod remove`. Building those
          was protected by a configure option never set by distros. They also
          didn't gain enough traction to replace the older interfaces via
          modprobe/insmod/rmmod.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agocore186: ship strongswan
Arne Fitzenreiter [Sun, 28 Apr 2024 12:55:54 +0000 (12:55 +0000)] 
core186: ship strongswan

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agostrongSwan: Update to 5.9.14
Peter Müller [Mon, 22 Apr 2024 16:03:00 +0000 (16:03 +0000)] 
strongSwan: Update to 5.9.14

Please see https://github.com/strongswan/strongswan/releases/tag/5.9.14
for the changelog of this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agoLynis: Update to 3.1.1
Peter Müller [Mon, 22 Apr 2024 16:01:00 +0000 (16:01 +0000)] 
Lynis: Update to 3.1.1

Please see https://cisofy.com/changelog/lynis/#311 for the changelogs
since version 3.0.9.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agoTor: Update to 0.4.8.11
Peter Müller [Mon, 22 Apr 2024 15:58:00 +0000 (15:58 +0000)] 
Tor: Update to 0.4.8.11

Full changelog according to https://gitlab.torproject.org/tpo/core/tor/-/raw/tor-0.4.8.11/ChangeLog:

Changes in version 0.4.8.11 - 2024-04-10
  This is a minor release mostly to upgrade the fallbackdir list. Worth noting
  also that directory authority running this version will now automatically
  reject relays running the end of life 0.4.7.x version.

  o Minor feature (authority):
    - Reject 0.4.7.x series at the authority level. Closes ticket 40896.

  o Minor feature (dirauth, tor26):
    - New IP address and keys.

  o Minor feature (directory authority):
    - Allow BandwidthFiles "node_id" KeyValue without the dollar sign at
      the start of the hexdigit, in order to easier database queries
      combining Tor documents in which the relays fingerprint does not
      include it. Fixes bug 40891; bugfix on 0.4.7 (all supported
      versions of Tor).

  o Minor features (fallbackdir):
    - Regenerate fallback directories generated on April 10, 2024.

  o Minor features (geoip data):
    - Update the geoip files to match the IPFire Location Database, as
      retrieved on 2024/04/10.

  o Minor bugfixes (directory authorities):
    - Add a warning when publishing a vote or signatures to another
      directory authority fails. Fixes bug 40910; bugfix
      on 0.2.0.3-alpha.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agocore186: ship squid
Arne Fitzenreiter [Sun, 28 Apr 2024 12:46:30 +0000 (12:46 +0000)] 
core186: ship squid

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agosquid: Update to 6.9
Matthias Fischer [Wed, 10 Apr 2024 16:16:52 +0000 (18:16 +0200)] 
squid: Update to 6.9

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

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agoRemove orphaned Apache patch
Peter Müller [Sun, 21 Apr 2024 21:10:52 +0000 (21:10 +0000)] 
Remove orphaned Apache patch

See: https://lists.ipfire.org/hyperkitty/list/development@lists.ipfire.org/message/BENPLQ43YKYOWIKIEXHDVEQWNE3SBKEH/

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
13 months agoCore Update 186: Ship and restart Apache
Peter Müller [Sun, 21 Apr 2024 21:10:29 +0000 (21:10 +0000)] 
Core Update 186: Ship and restart Apache

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
13 months agoapache: Update to 2.4.59
Matthias Fischer [Sun, 21 Apr 2024 12:55:25 +0000 (14:55 +0200)] 
apache: Update to 2.4.59

For details see:
https://dlcdn.apache.org/httpd/CHANGES_2.4.59

Fixes CVE-2024-27316 / CVE-2024-24795 / CVE-2023-38709

Previously applied patch (apache-2.4.58_mod_xml2enc_remove_dependency_on_xmlstring_header.patch)
has been removed - is now included.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
13 months agolibloc: Adjust changed URL format
Peter Müller [Sun, 21 Apr 2024 20:09:40 +0000 (20:09 +0000)] 
libloc: Adjust changed URL format

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
13 months agolangs: Update Spamhaus DROP URL
Peter Müller [Sun, 21 Apr 2024 20:06:52 +0000 (20:06 +0000)] 
langs: Update Spamhaus DROP URL

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
13 months agolibloc: Update location database shipped with new installations
Peter Müller [Sun, 21 Apr 2024 20:04:51 +0000 (20:04 +0000)] 
libloc: Update location database shipped with new installations

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
13 months agocore186: ship ipblocklist sources
Arne Fitzenreiter [Fri, 19 Apr 2024 19:55:13 +0000 (19:55 +0000)] 
core186: ship ipblocklist sources

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agobackup.pl: removes any references to ALIENVAULT & SPAMHAUSEDROP from restores
Adolf Belka [Fri, 19 Apr 2024 13:39:41 +0000 (15:39 +0200)] 
backup.pl: removes any references to ALIENVAULT & SPAMHAUSEDROP from restores

- This patch ensures that if a restore is carried out from an earlier version that includes
   ALIENVAULT and/or SPAMHAUS_EDROP that the references will be removed.
- This is the same code as was put into the update.sh file with the previous patch of this
   set.

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>
13 months agoupdate.sh: Remove existing entries for ALIENVAULT & SPAMHAUS_EDROP
Adolf Belka [Fri, 19 Apr 2024 13:39:40 +0000 (15:39 +0200)] 
update.sh: Remove existing entries for ALIENVAULT & SPAMHAUS_EDROP

- This removes any time entries in the modified file for either ALIENVAULT or
   SPAMHAUS_EDROP.
- This also removes any blocklists for either of these sources from the /var/lib/ipblocklist
   directory.
- This patch will ensure that any reference to either of these sources is removed from the
   ipblocklist files.

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>
13 months agosources: Removal of ALIENVAULT and SPAMHAUS_EDROP from ipblocklist sources
Adolf Belka [Fri, 19 Apr 2024 13:39:39 +0000 (15:39 +0200)] 
sources: Removal of ALIENVAULT and SPAMHAUS_EDROP from ipblocklist sources

- ALIENVAULT has not been updated since at least Nov 2022 but probably earlier. There is no
   date for the file to be downloaded but a forum user has log messages from Nov 2022 that
   indicate the file had not changed as therefore no download occurred.
- AT&T aquired AlienVault in August 2018. Somewhere between 2018 and 2022 the list stopped
   getting updated. AlienVault references on the AT&T website are now for a different
   product.
- Discussed in IPFire conf call of April 2024 and agreed to remove the ALIENVAULT
   blocklist.
- On Apr 10th the Spamhaus eDROP list was merged with the Spamhaus DROP list. The eDROP
   list is still available but is now empty. Trying to select the SPAMHAUS_EDROP list
   gives an error message that the blocklist was found to be empty.
- This patch removes both the ALIENVAULT and the SPAMHAUS_EDROP lists from the ipblocklist
   sources file.

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>
13 months agocore185: ship fixes for bug12763
Arne Fitzenreiter [Fri, 19 Apr 2024 18:53:27 +0000 (18:53 +0000)] 
core185: ship fixes for bug12763

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agooci-setup: Fixes bug12763
Adolf Belka [Thu, 11 Apr 2024 15:01:08 +0000 (17:01 +0200)] 
oci-setup: Fixes bug12763

- This ensures that all ip route and ip rule commands are redirected to null if the output
   is not used to feed into a variable.
- This will prevent any error messages related to empty iproute tables being displayed
   during boot if an empty table is accessed.

Fixes: Bug#12763
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>
13 months agogcp-setup: Fixes bug12763
Adolf Belka [Thu, 11 Apr 2024 15:01:07 +0000 (17:01 +0200)] 
gcp-setup: Fixes bug12763

- This ensures that all ip route and ip rule commands are redirected to null if the output
   is not used to feed into a variable.
- This will prevent any error messages related to empty iproute tables being displayed
   during boot if an empty table is accessed.

Fixes: Bug#12763
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>
13 months agoexoscale-setup: Fixes bug12763
Adolf Belka [Thu, 11 Apr 2024 15:01:06 +0000 (17:01 +0200)] 
exoscale-setup: Fixes bug12763

- This ensures that all ip route and ip rule commands are redirected to null if the output
   is not used to feed into a variable.
- This will prevent any error messages related to empty iproute tables being displayed
   during boot if an empty table is accessed.

Fixes: Bug#12763
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>
13 months agoazure-setup: Fixes bug12763
Adolf Belka [Thu, 11 Apr 2024 15:01:05 +0000 (17:01 +0200)] 
azure-setup: Fixes bug12763

- This ensures that all ip route and ip rule commands are redirected to null if the output
   is not used to feed into a variable.
- This will prevent any error messages related to empty iproute tables being displayed
   during boot if an empty table is accessed.

Fixes: Bug#12763
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>
13 months agoaws-setup: Fixes bug12763
Adolf Belka [Thu, 11 Apr 2024 15:01:04 +0000 (17:01 +0200)] 
aws-setup: Fixes bug12763

- This ensures that all ip route and ip rule commands are redirected to null if the output
   is not used to feed into a variable.
- This will prevent any error messages related to empty iproute tables being displayed
   during boot if an empty table is accessed.

Fixes: Bug#12763
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>
13 months agoip-up: Fixes bug12763
Adolf Belka [Thu, 11 Apr 2024 15:01:03 +0000 (17:01 +0200)] 
ip-up: Fixes bug12763

- This ensures that all ip route and ip rule commands are redirected to null if the output
   is not used to feed into a variable.
- This will prevent any error messages related to empty iproute tables being displayed
   during boot if an empty table is accessed.

Fixes: Bug#12763
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>
13 months agored: Fixes bug12763
Adolf Belka [Thu, 11 Apr 2024 15:01:02 +0000 (17:01 +0200)] 
red: Fixes bug12763

- This ensures that all ip route and ip rule commands are redirected to null if the output
   is not used to feed into a variable.
- This will prevent any error messages related to empty iproute tables being displayed
   during boot if an empty table is accessed.

Fixes: Bug#12763
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>
13 months agostatic-routes: Fixes bug12763
Adolf Belka [Thu, 11 Apr 2024 15:01:01 +0000 (17:01 +0200)] 
static-routes: Fixes bug12763

- This ensures that all ip route and ip rule commands are redirected to null if the output
   is not used to feed into a variable.
- This will prevent any error messages related to empty iproute tables being displayed
   during boot.
- Tested on my vm system and confirmed that the fix in ipsec-interfaces stops the "FIB
   table does not exist" and "RTNETLINK answers: no such file or directory" messages during
   boot.

Fixes: Bug#12763
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>
13 months agoipsec-interfaces: Fixes bug12763
Adolf Belka [Thu, 11 Apr 2024 15:01:00 +0000 (17:01 +0200)] 
ipsec-interfaces: Fixes bug12763

- Some of the ip route commands are not redirected to null. This causes the "FIB table does
   not exist" message from bug12763
- This patch makes all ip route commands get redirected to null, preventing the error
   message from being seen at boot.
- One of the ip rule commands is not redirected to null. This causes the "RTNETLINK
    answers: no such file or directory" message.
- This patch makes all ip rule commands get redirected to null, preventing the error
   message from being seen at boot.
- Additional patches in this set ensure that all ip route and ip rule commands in all
   IPFire code is redirected to null unless the output of the ip route or ip rule command
   is used in a variable for use elsewhere in the code.
- Tested on my vm system and confirmed that the fix in ipsec-interfaces stops the "FIB
   table does not exist" and "RTNETLINK answers: no such file or directory" messages during
   boot.

Fixes: Bug#12763
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>
13 months agocore186: remove incinga and sslh if installed
Arne Fitzenreiter [Fri, 19 Apr 2024 06:17:04 +0000 (06:17 +0000)] 
core186: remove incinga and sslh if installed

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agoicinga: Removal of icinga addon
Adolf Belka [Wed, 10 Apr 2024 11:39:39 +0000 (13:39 +0200)] 
icinga: Removal of icinga addon

- As discussed in the Dev conf call on 2024-Jan-08
- The 1.x version of Icinga has been EOL since 2018
- The 2.x version would require a complete new configuration approach as the settings
   and options are completely different to 1.x and so would be a start from scratch.
- removal of icinga from make.sh file
- removal of lfs file
- removal of rootfile
- removal of configuration file
- removal of backup includes file

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
13 months agoinitscripts: Removal of references to sslh
Adolf Belka [Tue, 9 Apr 2024 14:07:09 +0000 (16:07 +0200)] 
initscripts: Removal of references to sslh

- sslh is listed in the initscripts lfs and rootfiles.
- Removal of these references with the bremoval of sslh

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>