Commit Graph

19269 Commits

Author SHA1 Message Date
Peter Müller
7e451c52dc GnuTLS: Update to 3.7.7
Please refer to https://lists.gnupg.org/pipermail/gnutls-help/2022-July/004746.html
the release notes of this version, and https://www.gnutls.org/security-new.html#GNUTLS-SA-2022-07-07
for the accompanying security advisory.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-03 10:57:24 +00:00
Peter Müller
38a5d03f59 linux: Enable PCI passthrough for QEMU
Fixes: #12754
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-08-03 10:57:05 +00:00
Peter Müller
2c4a5bcdf3 Core Update 170: Ship Bash
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-03 10:56:37 +00:00
Peter Müller
7ee41667d0 Bash: Update to 5.1.16
This is a maintenance release that bundles all the previously added
patches, which have therefore been deleted.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-08-03 10:56:22 +00:00
Peter Müller
f22f1e21e9 mpd: Update to 0.23.8
Full changelog since version 0.23.6:

ver 0.23.8 (2022/07/09)
* storage
  - curl: fix crash if web server does not understand WebDAV
* input
  - cdio_paranoia: fix crash if no drive was found
  - cdio_paranoia: faster cancellation
  - cdio_paranoia: don't scan for replay gain tags
  - pipewire: fix playback of very short tracks
  - pipewire: drop all buffers before manual song change
  - pipewire: fix stuttering after manual song change
  - snapcast: fix busy loop while paused
  - snapcast: fix stuttering after resuming playback
* mixer
  - better error messages
  - alsa: fix setting volume before playback starts
  - pipewire: fix crash bug
  - pipewire: fix volume change events with PipeWire 0.3.53
  - pipewire: don't force initial volume=100%
* support libfmt 9

ver 0.23.7 (2022/05/09)
* database
  - upnp: support pupnp 1.14
* decoder
  - ffmpeg: fix HLS seeking
  - opus: fix missing song length on high-latency files
* output
  - shout: require at least libshout 2.4.0
* mixer
  - pipewire: fix volume restore
  - software: update volume of disabled outputs
* support libiconv

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-03 10:56:01 +00:00
Peter Müller
ef43621772 fmt: Update to 9.0.0
Please refer to https://github.com/fmtlib/fmt/releases/tag/9.0.0 for the
release announcement of this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-03 10:56:01 +00:00
Peter Müller
0fe652d886 ninja: Update to 1.11.0
https://groups.google.com/g/ninja-build/c/R2oCyDctDf8/m/-U94Y5I8AgAJ
appears to be the only release note-alike source for this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-03 10:55:43 +00:00
Peter Müller
d8d6b12403 linux: Do not enable dangerous legacy DRM drivers
https://lists.ipfire.org/pipermail/development/2022-July/013886.html

This leaves current Nvidia Nouveau support untouched.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-08-03 10:55:21 +00:00
Peter Müller
ccadea0918 git: Update to 2.37.1
Please refer to
- https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.37.0.txt
- https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.37.1.txt
for the changes since 2.36.1.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-03 10:54:50 +00:00
Peter Müller
26324a2321 NRPE: Update to 4.1.0
Full changelog:

4.1.0 - 2022-07-18

ENHANCEMENTS

    Add support for OpenSSL 3 (and EL9/Debian 11/Ubuntu 22)
    Allow tcpd/libwrap to be excluded from build when present on the system
    Allow loading of full certificate chains
    Change -u (connection issues return UNKNOWN) to include all SSL-layer failures.
    Disable renegotiation and enforce server cipher order when using SSL
    Verify that private keys match certificates when using SSL

FIXES

    Fixed incorrect default for nasty_metachars in nrpe.cfg
    Fixed incorrect help text for --use-adh
    Fixed potential out-of-bound read when used with IPv6

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-03 10:54:47 +00:00
Peter Müller
ef439b6871 linux: Update rootfiles to reflect dropped support of dprintk
See: 883e29630c

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-03 10:54:07 +00:00
Peter Müller
de7a483f6a linux: Update aarch64 rootfile
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-02 15:22:15 +00:00
Peter Müller
6e9f717a33 Core Update 170: Delete orphaned comment from update.sh
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-02 15:19:07 +00:00
Jon Murphy
4e15397dba update.sh: clean out old collectd statistics
- processes-mysqld
- processes-snort
- processes-rtorrent
- processes-asterisk
- processes-java
- processes-spamd
- entropy

Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-02 15:18:31 +00:00
Adolf Belka
b07b7c8dc3 parted: Update LFS to reflect that parted is no longer an addon
- In 2018 parted was moved from being an addon to being a core program
- The rootfile was moved from rootfiles/packages/ to rootfiles/common/
- The LFS was not updated to remove the PAK_VER etc elements.
- This patch adjusts the LFS file to be in line with being a core program

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-02 15:10:50 +00:00
Peter Müller
beb821de57 Core Update 170: Fix sed call
Fixes: #12907
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-02 15:09:55 +00:00
Peter Müller
ee2526274e Core Update 170: Ship hdparm
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-02 06:48:04 +00:00
Peter Müller
bc6384a17b hdparm: Update to 9.64
Changes according to https://sourceforge.net/p/hdparm/news/2022/07/hdparm-964-is-released/:

Fixed bug whereby output from "hdparm --Istdin" would sometimes be truncated.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-08-02 06:47:42 +00:00
Peter Müller
03595939e2 rpcsvc-proto: Update to 1.4.3
NEWS mentions:

Version 1.4.3
* Fix rpcgen build on macos arm64

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-08-02 06:47:20 +00:00
Peter Müller
7a2a5e9288 Core Update 170: Delete stale Unbound library
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-02 06:46:32 +00:00
Matthias Fischer
ee90ed8271 unbound: Update to 1.16.2
For details see:
https://nlnetlabs.nl/projects/unbound/download/#unbound-1-16-2

"Features

    Merge #718: Introduce infra-cache-max-rtt option to config max retransmit timeout.

Bug Fixes

    Fix the novel ghost domain issues CVE-2022-30698 and CVE-2022-30699.

    Fix bug introduced in 'improve val_sigcrypt.c::algo_needs_missing
    for one loop pass'.

    Merge PR #668 from Cristian Rodríguez: Set IP_BIND_ADDRESS_NO_PORT
    on outbound tcp sockets.

    Fix verbose EDE error printout.

    Fix dname count in sldns parse type descriptor for SVCB and HTTPS.

    For windows crosscompile, fix setting the IPV6_MTU socket option
    equivalent (IPV6_USER_MTU); allows cross compiling with latest cross-compiler versions.

    Merge PR 714: Avoid treat normal hosts as unresponsive servers. And fixup the lock code.

    iana portlist update.

    Update documentation for 'outbound-msg-retry:'.

    Tests for ghost domain fixes."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-02 06:45:53 +00:00
Peter Müller
7caecf45fb linux: Give CONFIG_RANDOMIZE_BASE on aarch64 another try
Quoted from https://capsule8.com/blog/kernel-configuration-glossary/:

> Significance: Critical
>
> In support of Kernel Address Space Layout Randomization (KASLR) this randomizes
> the physical address at which the kernel image is decompressed and the virtual
> address where the kernel image is mapped as a security feature that deters
> exploit attempts relying on knowledge of the location of kernel code internals.

We tried to enable this back in 2020, and failed. Since then, things
may have been improved, so let's give this low-hanging fruit another
try.

Fixes: #12363
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-01 10:20:20 +00:00
Peter Müller
67261075a3 Core Update 170: Ship vulnerabilities.cgi
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-01 10:19:46 +00:00
Peter Müller
7ee2eec3a2 vulnerabilities.cgi: Add Retbleed (CVE-2022-29900, CVE-2022-29901)
Please refer to https://comsec.ethz.ch/research/microarch/retbleed/ for
further details on this vulnerability.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-08-01 10:19:19 +00:00
Peter Müller
1f82d37eae Core Update 170: Silly me screwed up initscript calls :-/
Studies reveal intelligent life before the first cup of coffee is
possibly in theory, but does not exist in practice.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-08-01 09:14:03 +00:00
Peter Müller
ef3ca7d6da linux: Update kernel configuration for x86_64
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-30 11:03:53 +00:00
Peter Müller
861080834d linux: Update ARM rootfiles
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-29 17:09:56 +00:00
Peter Müller
ec175339bf logwatch: Fix rootfile
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-29 17:06:15 +00:00
Peter Müller
9375c96ff2 Core Update 170: Ship kmod
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-29 17:04:43 +00:00
Peter Müller
59c6ea57fa kmod: Update to 30
Please refer to the tarballs's NEWS file for release announcements.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-29 17:04:28 +00:00
Peter Müller
ffce292e7a CUPS: Update to 2.4.2
Please refer to https://github.com/OpenPrinting/cups/releases/tag/v2.4.2
for the release notes of this version. Most notably for IPFire, it comes
with OpenSSL support again.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-29 17:04:17 +00:00
Peter Müller
21aac1a554 Samba: Update to 4.16.4
This is a security release, please refer to https://www.samba.org/samba/latest_news.html#4.16.4
for the respective advisory.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-29 17:04:06 +00:00
Peter Müller
3543c24f41 Core Update 170: Ship Pakfire changes
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-28 13:48:17 +00:00
Robin Roevens
5cc18f9c12 pakfire: Replace getmetadata duplicate code
- Use getmetadata function in services.cgi to determine installed
  addon services to display. Removing code duplication and intel that
  should only be known by pakfire itself.
- Removed hardcoded exclusions:
  - squid should show up correctly using the new metadata info
  - mdadm is part of core and will never show up here
  - alsa, unknown if this problem still exists, but if it is, this
    should be handled somewhere else.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
2022-07-28 13:44:29 +00:00
Robin Roevens
2be67e3841 pakfire: Add getmetadata function
- Added new getmetadata function for easy access to all available
  metadata of a pak without knowledge about or need to parse
  pakfire internal db files.
- Added new 'pakfire info' functionality for displaying all available
  metadata of (a) pak(s) to the user, using the new getmetadata.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
2022-07-28 13:44:29 +00:00
Robin Roevens
e360a9cb13 pakfire: Replace status duplicate code
- Make use of renewed status function in pakfire.cgi removing duplicate
  code

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
2022-07-28 13:44:29 +00:00
Robin Roevens
074b509724 pakfire: Refactor status seperating UI and logic
- Removed UI code from status function now returning hash with status
  properties.
- Removed function coreupdate_available as it is now not used anymore
- Added UI code to pakfire status routine
- Added meaningfull exitcode to status:
  - 2: Core update available
  - 3: Pak update available
  - 4: Reboot required
  - Error codes can be added together: 2+3 = 5 means both core update
    and pak update is available

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
2022-07-28 13:44:29 +00:00
Robin Roevens
2b921b796d pakfire: Add list upgrade functionality
- Added possibility to list available upgrades from commandline
  using 'pakfire list upgrade'.
- Added exitcode to 'pakfire list'
- Moved 'Pakfire has finished' log message inside END block to
  always log when pakfire exited.
- Fix: allow [options] between 'list' and [installed/notinstalled/
  upgrade] parameters (Partly fixes Bug #12868)

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
2022-07-28 13:44:29 +00:00
Robin Roevens
5e1dbc95f7 pakfire: Optimize upgradecore function
upgradecore function should just upgrade the core:
Moved check if upgrade is necessary to pakfire upgrade code, removing
code from upgradecore function duplicating codedbinfo workings.
Also adding more vebosity to pakfire upgrade.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
2022-07-28 13:44:29 +00:00
Robin Roevens
c6d055a85b pakfire: Replace dbgetlist duplicate code
Replace dbgetlist code duplicating dblist and getmetafile
workings with call to actual dblist and getmetafile functions.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
2022-07-28 13:44:29 +00:00
Robin Roevens
4bac9fdd12 pakfire: Replace duplicate code with dblist functioncall
Replace pakfire install code duplicating dblist working with call
to actual dblist function.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
2022-07-28 13:44:29 +00:00
Robin Roevens
2b25c02932 pakfire: Translate WUI header/footer text
Add en/nl/fr/de translations for:
  - Traffic: In XXX bit/s Out XXX bit/s
  - IPFire X.XX (xxx) - Core Update XXX ...

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
2022-07-28 13:44:29 +00:00
Robin Roevens
0bd5b13195 pakfire: Refactor dblist seperating UI and logic
- Removed UI code from dblist function and refactor it making it return
  a hash representing the pak db for easier handling of this data.
- Moved core update check in dblist to new seperate dbcoreinfo function
  making it return a hash with current and possibly available core
  version info.
- Update existing calls to dblist
- Bring UI parts previously in dblist to pakfire program itself,
  pakfire.cgi and index.cgi with a few small enhancements:
  - Translations for 'Core-Update', 'Release', 'Update' and 'Version'
  - Add currently installed version numbers to installed paks list in
    pakfire.cgi
  - Add 'Installed: yes/no' to pakfire list output so people not using
    colors have this information too. (Partly fixes Bug #12868)
  - Add update available details to pakfire list output if package has
    updates available.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
2022-07-28 13:44:29 +00:00
Peter Müller
f201005f46 Core Update 170: Stop Suricata before extracting files
Stopping services before potentially tampering with files they use is a
more sane approach than doing the latter and hope the running service
can cope with it. Suricata, at least, reportedly doesn't.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-28 13:42:48 +00:00
Peter Müller
b3d408d8c8 Core Update 170: Ship kernel and regenerate initial ramdisks locally
Per https://lists.ipfire.org/pipermail/development/2022-July/013889.html,
we ship the updated kernel in Core Update 170, but generate the initial
ramdisks locally to save space.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-28 13:41:12 +00:00
Peter Müller
5591a68c05 linux: Enable Intel DMA Remapping Devices by default on x86_64
If available, the kernel will enable IOMMU (a/k/a DMA remapping) by
default on boot. To tools making use of that, particularly hypervisors,
this provides better security without any downsides.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-28 13:35:20 +00:00
Peter Müller
37895e21bf linux: Update to 5.15.57
Please refer to https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.57
for the changelog of this version. Since it introduces
architecture-dependent rootfile changes due to CPU side-channel
mitigations, changes to ARM rootfiles have been omitted due to the lack
of hardware.

Supposed hardening changes will be submitted separately.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-28 13:34:52 +00:00
Peter Müller
533cfb1b77 Core Update 170: Harden mount options of /boot on existing installations
The second version of this patch uses @ instead of / for sed delimiters,
which makes the command less hard to read. Since Core Update 170 already
requires a reboot at this point, the respective directive is omitted.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-28 13:34:17 +00:00
Peter Müller
e404dab5e4 installer: Harden mount options of /boot partition
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-28 13:34:07 +00:00
Michael Tremer
14909d5fe9 cups-pdf: Fix applying patch
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-27 09:49:36 +00:00