]> git.ipfire.org Git - ipfire-2.x.git/log
ipfire-2.x.git
3 years agomisc-progs: Introduce run()
Michael Tremer [Wed, 6 Jan 2021 11:15:47 +0000 (11:15 +0000)] 
misc-progs: Introduce run()

This function invokes a new command similar to safe_system()
but without launching a shell before.

That way, it is possible to execute commands without any risk
of shell command injection from nobody.

Fixes: #12562
Reported-by: Albert Schwarzkopf <ipfire@quitesimple.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Manually set capabilites for etherwake
Michael Tremer [Tue, 5 Jan 2021 16:55:25 +0000 (16:55 +0000)] 
core154: Manually set capabilites for etherwake

The changes are not available in the running instance of
pakfire and tar.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoDrop launch-ether-wake
Michael Tremer [Tue, 5 Jan 2021 16:01:56 +0000 (16:01 +0000)] 
Drop launch-ether-wake

The helper binary is being dropped and etherwake is enabled
for CAP_NET_RAW. This allows execution by unprivileged users
as needed by the web user interface (nobody).

Reported-by: Albert Schwarzkopf <ipfire@quitesimple.org>
Fixes: #12562
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agohostapd: Re-add accidentially removed CONFIG_SAE
Michael Tremer [Wed, 27 Jan 2021 18:56:07 +0000 (18:56 +0000)] 
hostapd: Re-add accidentially removed CONFIG_SAE

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Do not package libloc database files
Michael Tremer [Wed, 27 Jan 2021 18:43:30 +0000 (18:43 +0000)] 
core154: Do not package libloc database files

This is carried over from Core Update 153

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoRevert "make: update to 4.3"
Michael Tremer [Tue, 26 Jan 2021 11:15:04 +0000 (11:15 +0000)] 
Revert "make: update to 4.3"

This reverts commit f1d98a1c3fb2459cf481e9330d113a958be35e58.

The new version of make seems to break building u-boot on armv5tel.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoiptables: Update to version 1.8.7
Adolf Belka [Thu, 21 Jan 2021 20:17:06 +0000 (21:17 +0100)] 
iptables: Update to version 1.8.7

- Update from 1.8.6 to 1.8.7
Florian Westphal (4):
      xtables-monitor: fix rule printing
      xtables-monitor: fix packet family protocol
      xtables-monitor: print packet first
      xtables-monitor:

Pablo Neira Ayuso (2):
      tests: shell: update format of registers in bitwise payloads.
      configure: bump version for 1.8.7 release

Phil Sutter (21):
      nft: Optimize class-based IP prefix matches
      ebtables: Optimize masked MAC address matches
      tests/shell: Add test for bitwise avoidance fixes
      ebtables: Fix for broken chain renaming
      iptables-test.py: Accept multiple test files on commandline
      iptables-test.py: Try to unshare netns by default
      libxtables: Extend MAC address printing/parsing support
      xtables-arp: Don't use ARPT_INV_*
      xshared: Merge some command option-related code
      tests/shell: Test for fixed extension registration
      extensions: dccp: Fix for DCCP type 'INVALID'
      nft: Fix selective chain compatibility checks
      nft: cache: Introduce nft_cache_add_chain()
      nft: Implement nft_chain_foreach()
      nft: cache: Move nft_chain_find() over
      nft: Introduce struct nft_chain
      nft: Introduce a dedicated base chain array
      nft: cache: Sort custom chains by name
      tests: shell: Drop any dump sorting in place
      nft: Avoid pointless table/chain creation
      tests/shell: Fix nft-only/0009-needless-bitwise_0
- Rootfile updated

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship updated perl files
Michael Tremer [Mon, 25 Jan 2021 19:34:16 +0000 (19:34 +0000)] 
core154: Ship updated perl files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agonetwork-functions.pl: Improve zone configuration functions
Leo-Andres Hofmann [Sun, 17 Jan 2021 14:20:04 +0000 (15:20 +0100)] 
network-functions.pl: Improve zone configuration functions

Cache ethernet configuration in public variable "ethernet_settings",
add functions to simplify working with the network configuration.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoRefactor "get_available_network_zones", move to network-functions.pl
Leo-Andres Hofmann [Sun, 17 Jan 2021 14:20:03 +0000 (15:20 +0100)] 
Refactor "get_available_network_zones", move to network-functions.pl

This function nicely translates the ethernet/settings "CONFIG_TYPE"
into a list of available zones. Therefore it should be more accessible!

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomake: update to 4.3
Arne Fitzenreiter [Thu, 21 Jan 2021 13:35:16 +0000 (14:35 +0100)] 
make: update to 4.3

this this needed to build on systems with kernel >=5.5

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agonetwork-hotplug-bridges: Fix logical error in STP_PRIORITY check
Michael Tremer [Mon, 18 Jan 2021 17:05:46 +0000 (17:05 +0000)] 
network-hotplug-bridges: Fix logical error in STP_PRIORITY check

Reported-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agonano: Update to 5.5
Matthias Fischer [Sat, 16 Jan 2021 17:11:35 +0000 (18:11 +0100)] 
nano: Update to 5.5

For details see:
https://www.nano-editor.org/news.php

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship logrotate
Michael Tremer [Mon, 18 Jan 2021 13:06:25 +0000 (13:06 +0000)] 
core154: Ship logrotate

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agologrotate: Update to 3.18.0
Matthias Fischer [Sat, 16 Jan 2021 15:57:56 +0000 (16:57 +0100)] 
logrotate: Update to 3.18.0

Exerpt from 'ChangeLog.md':

"## [3.18.0] - 2021-01-08
  - allow UIDs and GIDs to be specified numerically (#217)
  - add support for Zstandard compressed files (#355)
  - make `delaycompress` not to fail with `rotate 0` (#341)"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agohtop: Update to 3.0.5
Matthias Fischer [Sat, 16 Jan 2021 15:53:07 +0000 (16:53 +0100)] 
htop: Update to 3.0.5

For details see:
https://github.com/htop-dev/htop/blob/master/ChangeLog

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship ipsec-interfaces
Michael Tremer [Mon, 18 Jan 2021 13:05:42 +0000 (13:05 +0000)] 
core154: Ship ipsec-interfaces

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoIPsec: Disable XFRM policy lookup for VTI devices
Michael Tremer [Thu, 14 Jan 2021 18:54:03 +0000 (18:54 +0000)] 
IPsec: Disable XFRM policy lookup for VTI devices

This speeds up throughput slightly

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship sudo
Michael Tremer [Mon, 18 Jan 2021 13:04:55 +0000 (13:04 +0000)] 
core154: Ship sudo

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosudo: Upgrade to 1.9.5p1
Adolf Belka [Thu, 14 Jan 2021 18:37:11 +0000 (19:37 +0100)] 
sudo: Upgrade to 1.9.5p1

- Upgrade sudo from 1.8.10p3 to 1.9.5p1
- Move sudo from legacy release (1.8) branch to stable release (1.9) branch
- Update rootfile
- Changelog available at https://www.sudo.ws/changes.html
- Tested out on vm testbed and sudo is working correctly

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agowpa_supplicant: Update to development version
Michael Tremer [Mon, 18 Jan 2021 13:02:43 +0000 (13:02 +0000)] 
wpa_supplicant: Update to development version

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agohostapd: Update to development version
Michael Tremer [Mon, 18 Jan 2021 13:02:15 +0000 (13:02 +0000)] 
hostapd: Update to development version

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship kmod
Michael Tremer [Wed, 13 Jan 2021 11:20:34 +0000 (11:20 +0000)] 
core154: Ship kmod

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agokmod: Update to 28
Michael Tremer [Wed, 13 Jan 2021 11:20:09 +0000 (11:20 +0000)] 
kmod: Update to 28

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomake.sh: Build zstd earlier in stage2
Michael Tremer [Wed, 30 Dec 2020 17:55:35 +0000 (17:55 +0000)] 
make.sh: Build zstd earlier in stage2

Since programs from the toolchain are linked against this, we need to
make this library available in stage 2, too.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship SSH initscript
Michael Tremer [Wed, 13 Jan 2021 11:14:30 +0000 (11:14 +0000)] 
core154: Ship SSH initscript

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agossh: Ignore any errors when stopping daemon
Michael Tremer [Wed, 13 Jan 2021 11:12:03 +0000 (11:12 +0000)] 
ssh: Ignore any errors when stopping daemon

The SSH init script only kills the main daemon which leads to any child
processes (for remaining connections) being untouched.

killproc returns 4 (unknown error) when not all processes were killed
which is not intended here. Therefore we ignore the error and do not
pause the shut down process for a minute.

Fixes: #12544
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship initscript functions
Michael Tremer [Wed, 13 Jan 2021 10:54:07 +0000 (10:54 +0000)] 
core154: Ship initscript functions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship header.pl
Michael Tremer [Wed, 13 Jan 2021 10:53:15 +0000 (10:53 +0000)] 
core154: Ship header.pl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoheader.pl: Remove duplicate "IpInSubnet" function
Leo-Andres Hofmann [Tue, 12 Jan 2021 18:11:14 +0000 (19:11 +0100)] 
header.pl: Remove duplicate "IpInSubnet" function

This function is deprecated. The commonly used and maintained "IpInSubnet" function can be found in general-functions.pl.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agostrace: update to 5.10
Arne Fitzenreiter [Thu, 7 Jan 2021 13:55:59 +0000 (14:55 +0100)] 
strace: update to 5.10

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoAWS: Ensure the product UUID is uppercase
Michael Tremer [Wed, 13 Jan 2021 10:44:16 +0000 (10:44 +0000)] 
AWS: Ensure the product UUID is uppercase

Newer kernels seem to return this in lowercase format which makes the
comparison to "EC2" fail.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoAWS: Hypervisor UUID has been dropped from newer kernels
Michael Tremer [Wed, 13 Jan 2021 10:42:38 +0000 (10:42 +0000)] 
AWS: Hypervisor UUID has been dropped from newer kernels

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoiw: Update to 5.9
Michael Tremer [Tue, 12 Jan 2021 10:43:52 +0000 (10:43 +0000)] 
iw: Update to 5.9

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship WiFi changes
Michael Tremer [Tue, 12 Jan 2021 10:40:28 +0000 (10:40 +0000)] 
core154: Ship WiFi changes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agowpa_supplicant: Import fresh default configuration
Michael Tremer [Wed, 6 Jan 2021 14:43:14 +0000 (14:43 +0000)] 
wpa_supplicant: Import fresh default configuration

This enables some more features that have been added to wpa_supplicant
over time. In our case we need SAE for WPA3 support.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agowireless client: Try using SHA256 over SHA1 when possible
Michael Tremer [Wed, 6 Jan 2021 14:43:13 +0000 (14:43 +0000)] 
wireless client: Try using SHA256 over SHA1 when possible

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agowireless client: Add support for WPA3
Michael Tremer [Wed, 6 Jan 2021 14:43:12 +0000 (14:43 +0000)] 
wireless client: Add support for WPA3

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship setup
Michael Tremer [Tue, 12 Jan 2021 10:37:17 +0000 (10:37 +0000)] 
core154: Ship setup

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosetup: move gateway setting to red address setting.
Arne Fitzenreiter [Sat, 9 Jan 2021 17:39:00 +0000 (18:39 +0100)] 
setup: move gateway setting to red address setting.

DEFAULT_GATEWAY is used only in RED_STATIC config so it
fits better to this menu and is only selectable if red
is set to static mode.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoflashrom: Only build package for x86_64 and i586
Michael Tremer [Thu, 7 Jan 2021 13:52:01 +0000 (13:52 +0000)] 
flashrom: Only build package for x86_64 and i586

The ARM architectures do not seem to be supported

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship unbound initscript
Michael Tremer [Thu, 7 Jan 2021 11:57:53 +0000 (11:57 +0000)] 
core154: Ship unbound initscript

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agounbound: make local zone transparent
Giovanni Aneloni [Mon, 27 Apr 2020 22:23:57 +0000 (00:23 +0200)] 
unbound: make local zone transparent

Change local zone to "trasnparent" instead of "typetrasnparent" to avoid NXDOMAIN when querying local hosts

Fixes: #12391
Signed-off-by: Giovanni Aneloni <giovanni.aneloni@live.com>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoflashrom: Update to 1.2
Michael Tremer [Thu, 7 Jan 2021 11:39:08 +0000 (11:39 +0000)] 
flashrom: Update to 1.2

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agofirmware-update: It is 2021
Michael Tremer [Thu, 7 Jan 2021 11:37:01 +0000 (11:37 +0000)] 
firmware-update: It is 2021

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agofirmware-update: Update to version 20200107
Michael Tremer [Thu, 7 Jan 2021 11:20:09 +0000 (11:20 +0000)] 
firmware-update: Update to version 20200107

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomake.sh: Build gettext earlier
Michael Tremer [Wed, 6 Jan 2021 17:27:36 +0000 (17:27 +0000)] 
make.sh: Build gettext earlier

msgmerge is needed by attr

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship ddns.cgi
Michael Tremer [Wed, 6 Jan 2021 15:33:36 +0000 (15:33 +0000)] 
core154: Ship ddns.cgi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoddns.cgi: Make dealing with auth tokens more user-friendly.
Stefan Schantl [Wed, 6 Jan 2021 14:18:27 +0000 (15:18 +0100)] 
ddns.cgi: Make dealing with auth tokens more user-friendly.

If a provider supports authentication with a token, now
the username and password fileds will be swapped by some
Java Script code in favour of an input field for the token.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship ddns
Michael Tremer [Wed, 6 Jan 2021 15:32:41 +0000 (15:32 +0000)] 
core154: Ship ddns

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoddns: Add latest upstream patches.
Stefan Schantl [Wed, 6 Jan 2021 14:16:41 +0000 (15:16 +0100)] 
ddns: Add latest upstream patches.

* Add patch to support listing of token providers.
* Add fix to proper encode python string.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agounbound: keep probing when servers are down
Jonatan Schlag [Wed, 6 Jan 2021 10:16:49 +0000 (10:16 +0000)] 
unbound: keep probing when servers are down

Till now when a server was in the "blocking regime" there was one probe
made every 15 min, to see if this server is up again. In situations
where all servers where down (e.g. because of a massive package loss)
it could take up to 15 min to have a working dns again.

This patch changes this behaviour in a way that a server marked down is
probed every 2 min.

Fixes: #12557
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosshfs: Update to 3.7.1
Adolf Belka [Tue, 5 Jan 2021 14:20:57 +0000 (15:20 +0100)] 
sshfs: Update to 3.7.1

- Update sshfs from 2.2 to 3.7.1
- Changelog is available at https://github.com/libfuse/sshfs/releases
- Build had to be changed from autotools to meson/ninja
- Change in rootfiles

Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship fuse
Michael Tremer [Wed, 6 Jan 2021 15:21:32 +0000 (15:21 +0000)] 
core154: Ship fuse

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agofuse: Update to 3.10.1
Adolf Belka [Tue, 5 Jan 2021 14:21:19 +0000 (15:21 +0100)] 
fuse: Update to 3.10.1

- Update fuse from 2.9.7 to 3.10.1
- Update also required by sshfs update
- Changelog is available at https://github.com/libfuse/libfuse/releases
- Build had to be changed from autools to meson/ninja
- Rootfiles changed
- namespace conflict fix patch no longer required. Fix now built into kernel.h

Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship iproute2
Michael Tremer [Wed, 6 Jan 2021 15:17:50 +0000 (15:17 +0000)] 
core154: Ship iproute2

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoiproute2: Update to 5.10.0
Adolf Belka [Wed, 6 Jan 2021 13:43:59 +0000 (14:43 +0100)] 
iproute2: Update to 5.10.0

- Update from 5.8.0 to 5.10.0
- No changelog available
- No changes to the rootfiles

Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship iptables
Michael Tremer [Wed, 6 Jan 2021 15:15:22 +0000 (15:15 +0000)] 
core154: Ship iptables

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoiptables: Update to 1.8.6
Adolf Belka [Wed, 6 Jan 2021 13:43:27 +0000 (14:43 +0100)] 
iptables: Update to 1.8.6

- Update from 1.8.5 to 1.8.6
- Changelog info
Arturo Borrero Gonzalez (1):
      xtables-translate: don't fail if help was requested

Giuseppe Scrivano (1):
      iptables: accept lock file name at runtime

Jan Engelhardt (2):
      doc: document danger of applying REJECT to INVALID CTs
      build: resolve iptables-apply not getting installed

Maciej Żenczykowski (1):
      libxtables: compiler warning fixes for NO_SHARED_LIBS

Pablo Neira Ayuso (4):
      extensions: libxt_conntrack: provide translation for DNAT and SNAT --ctstate
      iptables: replace libnftnl table list by linux list
      iptables-nft: fix basechain policy configuration
      configure: bump version for 1.8.6 release

Phil Sutter (31):
      xtables-restore: Fix verbose mode table flushing
      build: Fix for failing 'make uninstall'
      xtables-translate: Use proper clear_cs function
      tests: shell: Add help output to run-tests.sh
      nft: Make table creation purely implicit
      nft: Be lazy when flushing
      nft: cache: Drop duplicate chain check
      nft: Drop pointless nft_xt_builtin_init() call
      nft: Turn nft_chain_save() into a foreach-callback
      nft: Use nft_chain_find() in two more places
      nft: Reorder enum nft_table_type
      nft: Eliminate table list from cache
      nft: Fix command name in ip6tables error message
      tests: shell: Merge and extend return codes test
      xtables-monitor: Fix ip6tables rule printing
      nft: Fix for ruleset flush while restoring
      Makefile: Add missing man pages to CLEANFILES
      nft: cache: Check consistency with NFT_CL_FAKE, too
      nft: Extend use of nftnl_chain_list_foreach()
      nft: Fold nftnl_rule_list_chain_save() into caller
      nft: Use nft_chain_find() in nft_chain_builtin_init()
      nft: Fix for broken address mask match detection
      extensions: libipt_icmp: Fix translation of type 'any'
      libxtables: Make sure extensions register in revision order
      libxtables: Simplify pending extension registration
      libxtables: Register multiple extensions in ascending order
      nft: Make batch_add_chain() return the added batch object
      nft: Fix error reporting for refreshed transactions
      libiptc: Avoid gcc-10 zero-length array warning
      nft: Fix for concurrent noflush restore calls
      tests: shell: Improve concurrent noflush restore test a bit
- Rootfiles updated

Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agostunnel: Update to 5.57
Adolf Belka [Tue, 5 Jan 2021 17:35:16 +0000 (18:35 +0100)] 
stunnel: Update to 5.57

- Update of stunnel from 5.56 to 5.57
- Changelog Version 5.57, 2020.10.11, urgency: HIGH
    Security bugfixes
        The "redirect" option was fixed to properly handle "verifyChain = yes" (thx to Rob Hoes).
        OpenSSL DLLs updated to version 1.1.1h.
    New features
        New securityLevel configuration file option.
        FIPS support for RHEL-based distributions.
        Support for modern PostgreSQL clients (thx to Bram Geron).
        Windows tooltip texts updated to mention "stunnel".
        TLS 1.3 configuration updated for better compatibility.
    Bugfixes
        Fixed a transfer() loop bug.
        Fixed memory leaks on configuration reloading errors.
        DH/ECDH initialization restored for client sections.
        Delay startup with systemd until network is online.
        bin\libssp-0.dll removed when uninstalling.
        A number of testing framework fixes and improvements.
- No change to rootfiles

Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomisc-progs: ipfirereboot: Remove unused cron functions
Michael Tremer [Wed, 6 Jan 2021 11:51:36 +0000 (11:51 +0000)] 
misc-progs: ipfirereboot: Remove unused cron functions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoconfigroot: Make extrahd.pl executable
Michael Tremer [Wed, 6 Jan 2021 11:39:32 +0000 (11:39 +0000)] 
configroot: Make extrahd.pl executable

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomisc-progs: Set some defaults for CONFIG_ROOT and SNAME
Michael Tremer [Wed, 6 Jan 2021 11:19:18 +0000 (11:19 +0000)] 
misc-progs: Set some defaults for CONFIG_ROOT and SNAME

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomisc-progs: Drop unused upnpctrl
Michael Tremer [Tue, 5 Jan 2021 17:17:33 +0000 (17:17 +0000)] 
misc-progs: Drop unused upnpctrl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomisc-progs: Drop unused updxsetperms
Michael Tremer [Tue, 5 Jan 2021 17:15:11 +0000 (17:15 +0000)] 
misc-progs: Drop unused updxsetperms

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomisc-progs: Drop unused ipfiredeath & ipfirerebirth
Michael Tremer [Tue, 5 Jan 2021 17:02:44 +0000 (17:02 +0000)] 
misc-progs: Drop unused ipfiredeath & ipfirerebirth

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomisc-progs: Drop unused applejuicectrl
Michael Tremer [Tue, 5 Jan 2021 16:59:14 +0000 (16:59 +0000)] 
misc-progs: Drop unused applejuicectrl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoPackage extended attributes in distro.img and Core Updates
Michael Tremer [Tue, 5 Jan 2021 16:53:36 +0000 (16:53 +0000)] 
Package extended attributes in distro.img and Core Updates

System capabilities are stored in extended file system attributes
which are by default not stored in tar balls.

This patch ensures that they are packaged and extracted.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomake.sh: Build acl and attr earlier
Michael Tremer [Tue, 5 Jan 2021 16:09:16 +0000 (16:09 +0000)] 
make.sh: Build acl and attr earlier

These libraries are needed to link tar against them for
extended attribute support

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship general-functions.pl
Michael Tremer [Mon, 4 Jan 2021 10:44:56 +0000 (10:44 +0000)] 
core154: Ship general-functions.pl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agogeneral-functions.pl: Update to fix bug #12428
Adolf Belka [Sat, 2 Jan 2021 12:54:45 +0000 (13:54 +0100)] 
general-functions.pl: Update to fix bug #12428

- Patch of general-functions.pl for implementation of fix provided
by Bernhard Bitsch in bug #12428.
Had to be modified as that fix gave a failure for single character hostnames.
Updated version prevents spaces being put into hostnames and works for single
character hostnames
- Updated subroutine validfqdn to apply consistent rules for hostname & domain name
portions of fqdn
- Minor updates for consistency across validhostname, validdomainname & validfqdn
- Patch implemented into testbed system and confirmed working for hostnames, domain names
and FQDN's.

Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agowget: Update to 1.21
Matthias Fischer [Fri, 1 Jan 2021 15:47:54 +0000 (16:47 +0100)] 
wget: Update to 1.21

Sorry, no changelog found, only:
https://fossies.org/linux/wget/ChangeLog

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship knot
Michael Tremer [Sun, 3 Jan 2021 11:18:06 +0000 (11:18 +0000)] 
core154: Ship knot

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoknot: Update to 3.0.3
Matthias Fischer [Fri, 1 Jan 2021 09:58:16 +0000 (10:58 +0100)] 
knot: Update to 3.0.3

For details see:
https://www.knot-dns.cz/2020-12-15-version-303.html

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoDrop unused Asterisk CGI files
Michael Tremer [Sun, 3 Jan 2021 11:17:28 +0000 (11:17 +0000)] 
Drop unused Asterisk CGI files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoDrop unused upnp.cgi
Michael Tremer [Sun, 3 Jan 2021 11:16:22 +0000 (11:16 +0000)] 
Drop unused upnp.cgi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship updated CGI files
Michael Tremer [Sun, 3 Jan 2021 11:15:45 +0000 (11:15 +0000)] 
core154: Ship updated CGI files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoSyntax fixes in several CGIs
Matthias Fischer [Tue, 29 Dec 2020 12:50:11 +0000 (13:50 +0100)] 
Syntax fixes in several CGIs

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agodhcpcd: Update to 9.4.0
Matthias Fischer [Tue, 29 Dec 2020 12:36:21 +0000 (13:36 +0100)] 
dhcpcd: Update to 9.4.0

For details see:
https://roy.marples.name/archives/dhcpcd-discuss/0003420.html

Former patch for Bug #12552 is now included.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship logwatch
Michael Tremer [Tue, 29 Dec 2020 10:18:44 +0000 (10:18 +0000)] 
core154: Ship logwatch

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agologwatch: Fix unmatched entries from clamav
Matthias Fischer [Fri, 25 Dec 2020 12:07:18 +0000 (13:07 +0100)] 
logwatch: Fix unmatched entries from clamav

This - cosmetic - patch fixes the unnecessary unmatched "Activating the newly
loaded database..."-entries introduced with 'clamav 0.103.0'.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agohostapd: Bump package version
Michael Tremer [Tue, 29 Dec 2020 10:17:09 +0000 (10:17 +0000)] 
hostapd: Bump package version

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agowlanap.cgi: Cosmetic fix - replace 'Save' image with 'Save' button
Matthias Fischer [Mon, 28 Dec 2020 13:40:21 +0000 (14:40 +0100)] 
wlanap.cgi: Cosmetic fix - replace 'Save' image with 'Save' button

Fixed syntax for "value"..

Thanks!

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolang: Update French translation
Stéphane Pautrel [Tue, 29 Dec 2020 10:16:08 +0000 (10:16 +0000)] 
lang: Update French translation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agobacula: Update to 9.6.7
Adolf Belka [Sun, 27 Dec 2020 11:06:27 +0000 (12:06 +0100)] 
bacula: Update to 9.6.7

- Update bacula from 9.6.6 to 9.6.7
This is a minor bug release
See https://sourceforge.net/projects/bacula/files/bacula/9.6.7/ReleaseNotes/
- This is the last of the version 9 series. The next update will be the version 11 series.
- Update of lfs and rootfiles

Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoiperf3: Update to version 3.9
Adolf Belka [Sun, 27 Dec 2020 18:59:29 +0000 (19:59 +0100)] 
iperf3: Update to version 3.9

- Update iperf3 from 3.7 to 3.9
- No changes to rootfiles
- Update patch file to remove pg flag
- Release notes from version 3.8 onwards:-

iperf 3.9 2020-08-17
--------------------
* Notable user-visible changes
  * A --timestamps flag has been added, which prepends a timestamp to
    each output line.  An optional argument to this flag, which is a
    format specification to strftime(3), allows for custom timestamp
    formats (#909, #1028).
  * A --server-bitrate-limit flag has been added as a server-side
    command-line argument.  It allows a server to enforce a maximum
    throughput rate; client connections that specify a higher bitrate
    or exceed this bitrate during a test will be terminated.  The
    bitrate is expressed in bits per second, with an optional trailing
    slash and integer count that specifies an averaging interval over
    which to enforce the limit (#999).
  * A bug that caused increased CPU usage with the --bidir option has
    been fixed (#1011).
* Notable developer-visible changes
  * Fixed various minor memory leaks (#1023).

iperf 3.8.1 2020-06-10
----------------------
* Notable user-visible changes
  * A regression with "make install", where the libiperf shared
    library files were not getting installed, has been fixed (#1013 /
    #1014).

iperf 3.8 2020-06-08
--------------------
* Notable user-visible changes
  * Profiled libraries and binaries are no longer built by default
    (#950).
  * A minimal Dockerfile has been added (#824).
  * A bug with burst mode and unlimited rate has been fixed (#898).
  * Configuring with the --enable-static-bin flag will now cause
    a statically-linked iperf3 binary to be built (#989).
  * Configuring with the --without-sctp flag will now prevent SCTP
    from being auto-detected (#1008).  This flag allows building a
    static binary (see above item) on a CentOS system with SCTP
    installed, because no static SCTP libraries are available.
  * Clock skew between the iperf3 client and server will no longer
    skew the computation of jitter during UDP tests (#842 / #990).
  * A possible buffer overflow in the authentication feature has been
    fixed.  This was only relevant when configuration authentication
    using the libiperf3 API, and did not affect command-line usage.
    Various other improvements and fixes in this area were also made
    (#996).
* Notable developer-visible changes
  * The embedded version of cJSON has been updated to 1.7.13 (#978).
  * Some server authentication functions have been added to the API
    (#911).
  * API access has been added to the connection timeout parameter
    (#1001).
  * Tests for some authentication functions have been added.
  * Various compiler errors and warnings have been fixed.

Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoiperf: Update to 2.0.14a
Adolf Belka [Sun, 27 Dec 2020 18:51:45 +0000 (19:51 +0100)] 
iperf: Update to 2.0.14a

- Update from version 2.0.13 to 2.0.14a
- No change in rootfiles
- Release notes for change:-
o scaling improvements for -P, i.e. improved support for large numbers of traffic threads
o major code refactoring (see doc/DESIGN_NOTES) for maintainability, extensibilty, performance, scaling, memory usage
o support for full duplex traffic using --full-duplex
o support for reverse traffic using --reverse
o support for role-reversal character of asterisk in the transfer id
o transfer id now an incrementing integer and no longer the socket id
o support for TCP connect only tests with --connect-only
o isochronous support compiled in by default, must use config to disable
o support --isochronous for both UDP or TCP traffic to simulate video streams
o use of clock_nanosleep when supported to schedule isochronous burst starts, otherwise use nanosleep delay
o support for --trip-times indicating the client and server clocks are synchronized to an accuracy sufficient, note: consider the use of precision time protocol as well as ask your data center to provide access to a GPS disciplined reference time source
o support for --trip-times with -d and -r bidirectional tests
o output TCP connect times (3WHS) in connect reports
o support for application level tcp connect retries via --connect-retries n
o rate-limited options of -b and --fq-rate supported for unidirectional, full duplex and reverse traffic
o reporter thread designed to automatically cause packet reports to aggregate - mitigating and hopefully removing thread thrashing
o support for frame or burst based reporting or sampling vs time based via -i [f|F] (experimental)
o support for UDP traffic only from client to server with --no-udp-fin
o support for write to read latencies (UDP and TCP) with --trip-times
o support for sum only outputs with --sum-only
o support for little's law calculations in --trip-time outputs
o support for --txstart-time <epoch-time> to schedule client traffic start, timestamp support microseconds, e.g. unix $(expr $(date +%s) + 1).$(date +%N)
o support for --txdelay-time to insert delay between TCP three way handshake (3WHS) and data transfer
o support for --no-connect-sync which disables transmit traffic start synchronization when -P is used, defaults to synchronized
o option of --full-duplex implementation uses a barrier on the client side to synchronize full duplex traffic
o no limits to group sum reports, i.e. all clients will get its own sum report per a server
o improved report timestamps, e.g. end to end or client and server based timestamps with --trip-times
o improved settings messaging
o improved messaging for --tcp-congestion or -Z
o re-implemented -U for single UDP server with minimal threading interactions
o re-implemented -1 or --singleclient where server will serialize traffic runs
o warning message if the test were likely CPU bound instead of network i/o bound
o fix the case when -P <value> is set on the server such that summing output is displayed
o multicast listener will autoset -U (single server), e.g -P > 1 not supported for multicast
o multicast listener no longer busy drops multicast packets during traffic test, i.e. only server thread receives them
o immediate bail out on mutually exclusive command line options
o fix -o or --output using freopen to redirect stdout and stderr to a file
o man page updates with examples
o tested with 1000's of traffic streams, WiFi, 10G and 100G

Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship new procps
Michael Tremer [Sun, 27 Dec 2020 10:58:37 +0000 (10:58 +0000)] 
core154: Ship new procps

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoprocps: Update to 3.3.16
Adolf Belka [Sat, 26 Dec 2020 16:40:32 +0000 (17:40 +0100)] 
procps: Update to 3.3.16

- update from 3.2.8 to 3.3.16
This is also an update from procps to procps-ng
The previous version was no longer being maintained.
- Added autogen.sh into lfs as ity is needed to create the config script.
- Added libdir=/lib line into configure command as default is /usr/lib
- Added mv commands for kill, ps & sysctl to place them into the same locations
as the previous version of procps
- Moved lfsmake2 procps line to after pkg-config in make.sh
The autogen line requires autoconf, libtool, gettext and pkg-config
to be available so procps moved to after them.
- procps-3.2.8-fix_unknown_HZ_value.patch no longer required with new
version so removed.
- rootfile updated.
- libprocps library being maintained by the same people now maitaining this
version of procps.
- information on the releases from 3.3.13 to 3.3.16 available on
https://gitlab.com/procps-ng/procps/-/releases

Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomeson: Update MD5 checksum
Michael Tremer [Sun, 27 Dec 2020 10:37:59 +0000 (10:37 +0000)] 
meson: Update MD5 checksum

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomake.sh: Limit ninja to compute paralellism value
Stefan Schantl [Sat, 26 Dec 2020 17:09:24 +0000 (18:09 +0100)] 
make.sh: Limit ninja to compute paralellism value

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoninja: Allow to limit the parallel build processes.
Stefan Schantl [Sat, 26 Dec 2020 17:09:23 +0000 (18:09 +0100)] 
ninja: Allow to limit the parallel build processes.

When run, ninja normally runs a maximum number of processes in parallel.
By default this is the number of cores on the system plus two. In some cases this can
overheat a CPU or run a system out of memory. If run from the command line, passing a
-jN parameter will limit the number of parallel processes, but some packages embed the
execution of ninja and do not pass a -j parameter.

Using this optional procedure allows us to limit the number of parallel processes
via an environment variable, NINJAJOBS.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomake.sh: Build ninja and meson.
Stefan Schantl [Sat, 26 Dec 2020 16:48:00 +0000 (17:48 +0100)] 
make.sh: Build ninja and meson.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomeson: New package.
Stefan Schantl [Sat, 26 Dec 2020 16:47:59 +0000 (17:47 +0100)] 
meson: New package.

More and more packages uses meson as build environment instead of
autotools or cmake.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoninja: New package
Stefan Schantl [Sat, 26 Dec 2020 16:47:58 +0000 (17:47 +0100)] 
ninja: New package

This tool required to build more and more packages.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoRun "./make.sh lang"
Michael Tremer [Thu, 24 Dec 2020 12:01:12 +0000 (12:01 +0000)] 
Run "./make.sh lang"

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship pakfire.cgi
Michael Tremer [Thu, 24 Dec 2020 12:00:39 +0000 (12:00 +0000)] 
core154: Ship pakfire.cgi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoUpdate (and cosmetic fixes) for 'pakfire.cgi': Added GUI entry for existing, but...
Matthias Fischer [Thu, 24 Dec 2020 00:09:04 +0000 (01:09 +0100)] 
Update (and cosmetic fixes) for 'pakfire.cgi': Added GUI entry for existing, but unused translation string

While preparing the Core153 update, I found by chance that a language string had been added from
Core152 to Core153 which I couldn't find in any CGI-file.

The translation suggested that this string ('Available Updates') could belong to 'pakfire.cgi'.

And I thought that on the pakfire GUI something was actually missing: the heading above the
box listing the 'Available Updates'. Don't know why I didn't saw this before.

So tried to add these missing heading. I hope I made it right...

Some cosmetic fixes:
I also added some space around the text for 'Available Addons' and 'Installed Addons'
because the text lines weren't separated. There is no seen wordwrapping. This required deleting
some unwanted '<br />' in the affected translation strings.

I tried this about 4 years ago, but somehow this patch got lost.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore154: Ship country.cgi
Michael Tremer [Thu, 24 Dec 2020 11:59:46 +0000 (11:59 +0000)] 
core154: Ship country.cgi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocountry.cgi: Cosmetic fix for 'Back'-button'
Matthias Fischer [Thu, 24 Dec 2020 10:56:13 +0000 (11:56 +0100)] 
country.cgi: Cosmetic fix for 'Back'-button'

While testing Peter's patch for Bug #12560 I noticed that the standard 'back'-button
at the end of the page - like in 'ipinfo.cgi' - was implemented as a text string.

I just took the code segment with the 'back'-*image* from 'ipinfo.cgi' to make this
link looking similar to the other pages.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>