Commit Graph

22427 Commits

Author SHA1 Message Date
Adolf Belka
b673eaeba7 sysvinit: Update to version 3.10
- Update from version 3.08 to 3.10
- Update of rootfile not required
- Renamed build_mountpoint patch
- Changelog
    3.10
	When the user executes "machinectl stop", systemd sends SIGRTMIN+4 to PID 1
	 in the container, and expects that to initiate a graceful shutdown
	 (power-off). SysV init now catches this signal and initiates a shutdown
	 (shutdown -hP now).
	Fix issue in bootlogd which could cause the service to enter an endless loop
	 (and use too much CPU) when it is able to open a device for writing, but not
	 actually able to write to it. This resulted in bootlogd closing and
	 re-opening the device over and over. Now bootlogd should simply fail
	 gracefully when it cannot write to an open file/device.
	Fix formatting in shutdown.8 manual page. Cleaned up whitespace and special
	 characters.
    3.09
	On Linux distributions which use the musl C library (instead of glibc) we can now
	 build properly. Specifically, the hddown helper program now builds on musl C
	 systems.
	The reboot command is now able to pass messages to the underlying firmware on
	 Linux systems during a reboot. This allows the admin to pass information to the
	 underlying firmware to, for example, ask the system to boot from another
	 partition. Should be helpful on Raspberry Pi systems.
	 The reboot command can pass a message to the firmware when using the "-m"
	 command line flag.
	This release also improves the Makefile's clean directive.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-23 09:59:24 +00:00
Michael Tremer
9f029c8e08 core189: Ship suricata because of the updated Rust compiler
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-23 09:58:58 +00:00
Adolf Belka
34b3e9a0a2 rust: Update to version 1.80.1
- Update from version 1.67.0 to 1.80.1
- Update of rootfile (x86_64 & aarch64)
- Changelog is too large to include here. There are more than 1000 lines from 1.67.0 to
   1.80.1
   Details can be found at https://doc.rust-lang.org/stable/releases.html

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-23 09:58:25 +00:00
Michael Tremer
ae330c5074 core189: Ship p11-kit
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-23 09:58:15 +00:00
Adolf Belka
c26ea9ee01 p11-kit: Update to version 0.25.5
- Update from version 0.25.3 to 0.25.5
- Update of rootfile
- Changelog
    0.25.5
	* iter: fix recursive attribute loading [PR#642]
	* fix building on FreeBSD 14.0 (amd64) [PR#644]
	* test fix [PR#645]
    0.25.4
	* rpc: add support for recursive attributes [PR#624, PR#629, PR#631, PR#633]
	* p11-kit: add function to check run-time version of the library [PR#637]
	* p11-kit: expose version information through macros [PR#635]
	* p11-kit: add option to specify CKA_ID in generate-keypair and import-object
	  commands [PR#615]
	* p11-kit: add --provider option to specify PKCS#11 module when using p11-kit
	  commands [PR#611]
	* p11-kit: fix a bug where eddsa mechanism isn't recognized in generate-keypair
	  [PR#617]
	* p11-kit: fallback to C_GetFunctionList when C_GetInterface returns
	  CKR_FUNCTION_NOT_SUPPORTED [PR#622]
	* bug and build fixes [PR#603, PR#604, PR#605, PR#606, PR#609, PR#614, PR#616,
	  PR#619, PR#627, PR#628, PR#632, PR#636, PR#639]

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-23 09:58:07 +00:00
Michael Tremer
7648f3afe4 core189: Ship GnuTLS
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-23 09:57:55 +00:00
Adolf Belka
c5fe41d3f9 gnutls: Update to version 3.8.7
- Update from version 3.8.5 to 3.8.7
- Update of rootfile
- Changelog
    3.8.7
	** libgnutls: New configure option to compile out DSA support
	   The --disable-dsa configure option has been added to completely disable DSA
	   algorithm support.
	** libgnutls: Experimental support for X25519Kyber768Draft00 key exchange in TLS
	   For testing purposes, the hybrid post-quantum key exchange defined
	   in draft-tls-westerbaan-xyber768d00 has been implemented using
	   liboqs. Since the algorithm is still not finalized, the support of
	   this key exchange is disabled by default and can be enabled with
	   the --with-liboqs configure option.
    3.8.6
	** libgnutls: PBMAC1 is now supported as a MAC mechanism for PKCS#12
	   To be compliant with FIPS 140-3, PKCS#12 files with MAC based on
	   PBKDF2 (PBMAC1) is now supported, according to the specification
	   proposed in draft-ietf-lamps-pkcs12-pbmac1.
	** libgnutls: SHA3 extendable output functions (XOF) are now supported
	   SHA3 XOF, SHAKE128 and SHAKE256, are now usable through a new
	   public API gnutls_hash_squeeze.
	** API and ABI modifications:
		gnutls_pkcs12_generate_mac3: New function
		gnutls_pkcs12_flags_t: New enum
		gnutls_hash_squeeze: New function

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-23 09:57:36 +00:00
Adolf Belka
f093cb3fbe binutils: Update to version 2.43
- Update from version 2.42 to 2.43
- Update of rootfile (x86_64 & aarch64)
- Changelog
    2.43
	* Update copyright years
	* config.sub: recognize nanoMIPS CPUs
	* config.guess: recognize ironclad OS
	* config.sub: recognize ironclad OS
	* config.sub: recognize *-*-uefi
	* Recognize the VideoCore 4 processor
	* config.guess: detect LLVM-libc via features.h
	* config.sub: add LLVM-libc support
	* .pre-commit-config.yaml: Bump black hook to 24.3.0
	* .pre-commit-config.yaml: New.
	* Makefile.def: Add configure-gdbserver and all-gdbserver
	  dependencies on all-libiconv.
	* Makefile.in: Re-generate.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-23 09:57:09 +00:00
Michael Tremer
76ffe6380c core189: Ship the new toolchain
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-23 09:56:55 +00:00
Michael Tremer
fb0aac9beb Start Core Update 189
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-23 09:53:22 +00:00
Michael Tremer
d1f7d501c1 Merge remote-tracking branch 'ms/toolchain-2024-08-02' into next 2024-08-23 09:51:19 +00:00
Michael Tremer
5be3501e7c make.sh: Integrate the rootfile consistency check
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-23 09:50:39 +00:00
Michael Tremer
deb9501433 make.sh: Refactor the broken rootfile check
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-23 09:33:31 +00:00
Michael Tremer
cc4a17f46c Run "./make.sh lang"
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-23 09:22:17 +00:00
Michael Tremer
787d9428af make.sh: Fix printing the total build time
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-23 09:19:49 +00:00
Michael Tremer
2b4d457c2f Revert "make.sh: Swap mount propagation"
This reverts commit f3c360cd6e.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-21 14:36:11 +00:00
Michael Tremer
9a07118b71 make.sh: Remove the brackets from build options
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-21 14:29:58 +00:00
Michael Tremer
0e2cf06a8c core188: Ship suricata and arping because of SO bump in libnet
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-21 14:17:58 +00:00
Michael Tremer
9207afd883 core188: Ship lang.pl
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-21 16:17:22 +02:00
Michael Tremer
d7eb312d0f guardian.cgi: Use the new service widget
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-21 16:14:40 +02:00
Michael Tremer
17ef83f223 header.pl: Fix language loading
We have been importing the language files many times when they are
actually rather slow. This just tidies this up.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-21 16:02:42 +02:00
Michael Tremer
ba8a6d83bd header.pl: Remove an unused variable
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-21 16:02:13 +02:00
Michael Tremer
a561a1d866 lang.pl: Fix all sorts of whitespace issues
No functional changes.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-21 16:01:40 +02:00
Michael Tremer
cc0304b7bd index.cgi: Improve the warning box
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-21 15:47:08 +02:00
Michael Tremer
590dcf8703 samba.cgi: Fix styling of the configuration form
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-21 15:25:13 +02:00
Michael Tremer
0a8800657d samba.cgi: Use the new service status widget
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-21 15:20:51 +02:00
Michael Tremer
9984ed3d5a firewall.cgi: Fix messy table striping
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-21 15:11:59 +02:00
Michael Tremer
828f2bdd44 CSS: Make the black less agressive
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-21 12:35:55 +02:00
Michael Tremer
3fb7849c21 services.cgi: Search for suricata by its PID
suricata renames itself and therefore we cannot find the process by its
name.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-21 12:24:24 +02:00
Michael Tremer
234fd050d4 vpnmain.cgi: Fix colouring of the connection status when disconnected
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-21 12:22:40 +02:00
Michael Tremer
8ead2ddf3d unbound-dhcp-leases-bridge: Watch unbound
This patch adds a watcher thread which monitors if Unbound is still
alive. If not, it will wait until Unbound comes back, rewrite the leases
file and reload Unbound to get it back into sync.

Afterwards Unbound will receive updates as usual.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-21 10:10:33 +01:00
Michael Tremer
048d2be91a make.sh: Remove all traces of KCFG
This variable is no longer been used and has been abused way too much in
the past. May it rest in pieces.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-20 16:08:32 +00:00
Michael Tremer
f9864480df rtl8812au: Fix build with updated KVER
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-20 16:08:16 +00:00
Michael Tremer
0a110703ca Revert "make.sh: Fix build with kernels < 6.0.0"
This reverts commit 8ea702f3f8.

This commit seems to introduce many more regressions when building
packages which I cannot easily reproduce.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-20 08:39:24 +00:00
Michael Tremer
9287c6c9c7 core188: Ship the network AQM script
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-19 18:17:12 +00:00
Michael Tremer
58846b68b4 AQM: Revert back to only use fq_codel by default
We have defaulted to CAKE for all devices that quality. That has however
resulted in worse network quality as some devices could not provide the
compute power necessary for CAKE. There are however only very few
benefits to run an unconfigured CAKE.

This patch changes this back to fq_codel which is computationally
cheaper and should deliver 99% of the throughput that CAKE does. This is
presumably the better trade-off.

We don't use fq_codel on wireless devices since the kernel is running
this for each client. It would have been nice to only apply this to
wireless interfaces in AP mode, but I cannot find a way to tell the
difference with asking NETLINK.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-19 19:13:19 +01:00
Michael Tremer
bd4e688e64 core188: Ship backup.pl
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-19 18:11:02 +00:00
Michael Tremer
643db076b4 backup.pl: Use a sane timestamp format
I don't think it is nice to mix underscare and dash.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-19 18:10:12 +00:00
Adolf Belka
5b2ee7520f backup.pl: Fixes bug13734 - tar treats colon in filename as remote location
- When a user tries to restore on the console from a backup on IPFire that has a colon in
   the filename the tar treats this as meaning that everything after the colon is
   information about a remote location to do the extraction to. This results in a filename
   that cannot be found, and a remote location that is not correct and the tar operation
   fails.
- This has been confirmed by myself.
- If the user tries a restore from a file downloaded to another computer then for most, if
   not all browsers, the colon will have been replaced by an underscore or other character.
   Firefox, Chromium and Vivaldi do this.
- So any backup file that is selected to be restored using the WUI will no longer have a
   colon in the filename.
- This patch adds --force-local to the tar command, which means that tar will treat the
   colon as a character in the filename. This will ensure that if a user has any backup
   files stored on their IPFire system, with a colon in the filename then doing a restore
   from this file will not cause tar to fail.
- The NOW variable is also changed to replace the colon by a dash and to separate the date
   and time by an underscore. This filename will be accepted by browsers, without doing
   any replacements. Tested out with Firefox, Chromium & Vivaldi.
- The above ensures that both the new and old filename versions will work for doing a
   restore.

Fixes: bug13734
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Tested-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-19 18:09:46 +00:00
Michael Tremer
691d149aa1 linux: Don't reset CFLAGS/CXXFLAGS
The kernel's build system uses its own CFLAGS for building the kernel
but for the tooling we want to use our own CFLAGS.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-19 18:09:17 +00:00
Michael Tremer
9db251ee0b linux: Tidy up the messy KVER variable
This variable never actually held the kernel version. There were always
suffixes appended and other things changed about it. This makes it a lot
simpler as this variable now holds the actual kernel version.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-19 18:09:17 +00:00
Michael Tremer
c3cf778698 make.sh: Fix variable name
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-19 18:08:59 +00:00
Michael Tremer
8ea702f3f8 make.sh: Fix build with kernels < 6.0.0
unshare(8) seems to fail with kernels older than 6.0.0 when mounting
the /proc filesystem in the inner namespace. This seems to be an bug
where unshare does not even try to mount the /proc filesystem but tries
to make its mount propagation private.

This is now solved in that way that we will use unshare on newer kernels
but will fall back on manually mounting the /proc filesystem once we have
entered the chroot environment.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-19 18:06:23 +00:00
Michael Tremer
f3c360cd6e make.sh: Swap mount propagation
When we create the outer mount namespace, we still want to receive any
mounts from the host system which is why we set it to slave.

The second mount namespace should be a copy of the outer one but should not
propagate anything back to the outer mount namespace.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-19 18:05:16 +00:00
Arne Fitzenreiter
da7dbb1af2 kernel: remove obsolete asix patch
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-08-19 17:24:30 +02:00
Arne Fitzenreiter
d1f10f3b15 kernel: update to 6.6.47
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-08-19 17:24:09 +02:00
Michael Tremer
d2df099be3 flash-images: Increase the size of the root partition
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-19 13:02:38 +00:00
Michael Tremer
d54e39f935 gnupg: This package no longer seems to be able to link against LDAP
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-19 10:01:01 +00:00
Michael Tremer
b373901fad lcdproc: Fix build with GCC 14
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-19 10:01:01 +00:00
Michael Tremer
d26c687fbd telnet: Fix build with GCC 14
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-19 10:01:01 +00:00