iputils: Update to version 20221126

Message ID 20230104115048.5547-1-adolf.belka@ipfire.org
State Accepted
Commit 42b0bb0d7a1e414243a40ac09a22daa5502d84c0
Headers
Series iputils: Update to version 20221126 |

Commit Message

Adolf Belka Jan. 4, 2023, 11:50 a.m. UTC
  - Update from version 20210202 to 20221126
- Update of rootfile - none of the removed tools were in the rootfile
- Changelog
    20221126
	* removed tools (issue: #363)
		- ninfod (commit: 8f0d897, reason: experimental unused protocol)
		- rarpd  (commit: fba7b62, reason: superseded by DHCP protocol)
		- rdisc  (commit: 7447806, reason: superseded by DHCP protocol)
	* license
		- use SPDX identifiers for license names
	* tree
		- make _GNU_SOURCE mandatory (commit: 2410ed1, PR: #402)
	* arping
		- fix: exit 0 if running in deadline mode and we see replies (commit: 854873b,
		  PR: #395)
		- fix: check correct variable (commit: 8a6a2ce, PR: #395)
		- man: Mention IPv4 only and ndisc6(8) (commit: 6becbb3)
	* clockdiff
		- setcap-setuid.sh: Add cap_sys_nice for clockdiff (commit: 9139397, issue:
		  #326, #422)
		- document CAP_SYS_NICE requirement (PR: #416)
	* ping
		- feature: add option -C to call connect() before sending/receiving - useful
		  when using Path MTU Discovery (commit: 07eca4a, PR: #391)
		- feature: add option -e to set Identifier field for ICMP ECHO_REQUEST (commit:
		  43e38f2, PR: #426)
		- feature: print various debug info on -v (issue: #411)
		- feature: print config options on -V (PR: #432)
		- fix: -m (SO_MARK) in 32-bit archs (commit: fecf335, PR: #394, more fixes will
		  come next release)
		- fix: potential memory leakage on -p option (commit: 626ea66, PR: #409)
		- fix: socket error reporting (commit: bbe451f, issue: #406)
		- fix: make ping_rts struct static - fix occasional segfault (commit: 7861af9,
		  issue: #423)
		- fix: add SA_RESTART to sa_flags - avoid missing output in write on aarch64
		  (commit: 09f1b37, issue: #424)
		- security: drop capabilities for IPv4 (commit: 5990843, PR: #400)
		- print warning on missing '%'-notation (commit: c4b8b44, issue: #398, PR: #405)
		- man: add "IPV6 LINK-LOCAL DESTINATIONS" section (PR: #405)
		- man: use "ICMP datagram socket" (PR: #405)
	* CI
		- Debian: unstable -> testing (stability)
		- Ubuntu: xenial -> bionic, groovy -> jammy (EOL)
		- remove CentOS 8 (EOL, commit: 931504a)
	* localization
		- new translations: Georgian (by Temuri Doghonadze)
		- many updates
		- 100% translated: Czech, Finnish, Georgian, Korean, Turkish, Ukrainian
	* tests
		- don't fail when ip binary missing (issue: #383, PR: #390)
    20211215
	* removed tools (issue: #363)
		- tftpd: removing commit: 341975a, PR: #369
		  replacement:
		  - tftp-hpa (https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git)
		  - dnsmasq (https://thekelleys.org.uk/dnsmasq/doc.html)
		- traceroute6: removing commit: a139421, PR: #362
		  replacement:
		  - mtr (https://www.bitwizard.nl/mtr/)
		  - traceroute (http://traceroute.sourceforge.net/)
		  - tracepath (https://github.com/iputils/iputils/blob/master/tracepath.c)
		  WARNING: More tools (ninfod, rarpd, rdisc) are going to be removed in next
		  release, see issue: #363
	* Meson build system
		- require version 0.40 (due multiple install_dir for custom_target; commit: 65941ab)
	* arping
		- fix: ARP protocol field for AX.25 and NETROM (PR: #360)
	* clockdiff
		- fix man: remove duplicated word (PR: #384)
	* ninfod
		- fix: build with -DNINFOD_MESSAGES=false (commit: a0b3917)
		- systemd unit: add ProtectHostname, ProtectKernelLogs (PR: #375)
	* ping
		- fix: remove 'unsupported IPv6' warning on disabled IPv6 (issue: #293, PR: #370)
		- fix: ping6 binding to VRF and address (PR: #344)
		- fix: print reply from Subnet-Router anycast address (issue: #371)
		- fix: print reply with wrong source with warning (issue: #371)
		- fix: set mark (SO_MARK) on probe socket (PR: #340)
		- fix: man: update lowered minimum ping interval (issue: #367)
		- fix: mark is unsigned int, not signed (PR: #345)
	* rarpd
		- systemd unit: add ProtectHostname, ProtectKernelLogs (PR: #375)
	* rdisc
		- systemd unit: add ProtectHostname, ProtectKernelLogs (PR: #375)
	* localization
		- fix: add missing cs, id, ko languages (commit: be8f704)
		- new translations: Finnish, Korean
		- updated translations: German, Japanese, Turkish, Ukrainian
	* CI
		- add build with some non-default options (commit: c4a5373)
		- remove Tumbleweed (not only ocassional bugs: 086de3c, b19df68, but the way
		  how repos are published often breaks using it)
		- add latest CentOS (currently CentOS 8, commit: 5f3711e)
	* tests
		- add -V test for all binaries (commit: 802fade)
		- make tests optional with -DSKIP_TESTS=true (PR: #359)
    20210722
	* Meson build system
		- enable NO_SETCAP_OR_SUID by default
	* clockdiff
		- fix missing new line
	* ping
		- lower minimal interval for flooding to 2 (issue: #317)
		- revert f7710a1 ("Add strict pattern matching on response when pattern was
		  provided") to fix broken report of truncated packets (issue: #320, PR: #331)
	* rdisc
		- systemd unit: remove PrivateUsers=yes from systemd service file (issue: #314)
		- systemd unit: support /etc/default/rdisc environment file (for Debian, PR: #356)
		- systemd unit: Add DynamicUser=yes (PR: #358)
		- systemd unit: add CAP_NET_ADMIN capability (PR: #351)
		- Add support for capability/setuid (PR: #347, #348) NOTE: This is strongly
		  discouraged as normal uses could possibly modify routing tables, recommended
		  way is to run it as systemd service which does not require it to be enabled.
		  It's added just for non-systemd users, which should run allow it to run just
		  for dedicated user.
		- set correct caps in setcap-setuid.sh
	* traceroute6
		- mention -V in usage() (PR: #323)
	* localization
		- new translations: Czech (100%), Indonesian (94%)
		- updated translations: Portuguese (Brazil, 95%), Indonesian (94%), French:
		  (58%), Chinese (Simplified, 53%)
		- fully translated languages in this release: Czech, Turkish, Ukrainian
	* CI
		- migrate from Travis CI to GitHub Actions (PR: #336)
		- add very basic ping testing (issue: #338, PR: #243)
		- skip tests on Ubuntu Xenial (commit: 9833cae)
		- various build.sh improvements
	* tests
		- skip tests on disabled IPv6 (commit: f10bfd8)
		- fix: flood ping test should pass on root (commit: 3dff080)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/iputils | 8 +++++---
 lfs/iputils                     | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)
  

Comments

Peter Müller Jan. 5, 2023, 10:44 a.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> - Update from version 20210202 to 20221126
> - Update of rootfile - none of the removed tools were in the rootfile
> - Changelog
>     20221126
> 	* removed tools (issue: #363)
> 		- ninfod (commit: 8f0d897, reason: experimental unused protocol)
> 		- rarpd  (commit: fba7b62, reason: superseded by DHCP protocol)
> 		- rdisc  (commit: 7447806, reason: superseded by DHCP protocol)
> 	* license
> 		- use SPDX identifiers for license names
> 	* tree
> 		- make _GNU_SOURCE mandatory (commit: 2410ed1, PR: #402)
> 	* arping
> 		- fix: exit 0 if running in deadline mode and we see replies (commit: 854873b,
> 		  PR: #395)
> 		- fix: check correct variable (commit: 8a6a2ce, PR: #395)
> 		- man: Mention IPv4 only and ndisc6(8) (commit: 6becbb3)
> 	* clockdiff
> 		- setcap-setuid.sh: Add cap_sys_nice for clockdiff (commit: 9139397, issue:
> 		  #326, #422)
> 		- document CAP_SYS_NICE requirement (PR: #416)
> 	* ping
> 		- feature: add option -C to call connect() before sending/receiving - useful
> 		  when using Path MTU Discovery (commit: 07eca4a, PR: #391)
> 		- feature: add option -e to set Identifier field for ICMP ECHO_REQUEST (commit:
> 		  43e38f2, PR: #426)
> 		- feature: print various debug info on -v (issue: #411)
> 		- feature: print config options on -V (PR: #432)
> 		- fix: -m (SO_MARK) in 32-bit archs (commit: fecf335, PR: #394, more fixes will
> 		  come next release)
> 		- fix: potential memory leakage on -p option (commit: 626ea66, PR: #409)
> 		- fix: socket error reporting (commit: bbe451f, issue: #406)
> 		- fix: make ping_rts struct static - fix occasional segfault (commit: 7861af9,
> 		  issue: #423)
> 		- fix: add SA_RESTART to sa_flags - avoid missing output in write on aarch64
> 		  (commit: 09f1b37, issue: #424)
> 		- security: drop capabilities for IPv4 (commit: 5990843, PR: #400)
> 		- print warning on missing '%'-notation (commit: c4b8b44, issue: #398, PR: #405)
> 		- man: add "IPV6 LINK-LOCAL DESTINATIONS" section (PR: #405)
> 		- man: use "ICMP datagram socket" (PR: #405)
> 	* CI
> 		- Debian: unstable -> testing (stability)
> 		- Ubuntu: xenial -> bionic, groovy -> jammy (EOL)
> 		- remove CentOS 8 (EOL, commit: 931504a)
> 	* localization
> 		- new translations: Georgian (by Temuri Doghonadze)
> 		- many updates
> 		- 100% translated: Czech, Finnish, Georgian, Korean, Turkish, Ukrainian
> 	* tests
> 		- don't fail when ip binary missing (issue: #383, PR: #390)
>     20211215
> 	* removed tools (issue: #363)
> 		- tftpd: removing commit: 341975a, PR: #369
> 		  replacement:
> 		  - tftp-hpa (https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git)
> 		  - dnsmasq (https://thekelleys.org.uk/dnsmasq/doc.html)
> 		- traceroute6: removing commit: a139421, PR: #362
> 		  replacement:
> 		  - mtr (https://www.bitwizard.nl/mtr/)
> 		  - traceroute (http://traceroute.sourceforge.net/)
> 		  - tracepath (https://github.com/iputils/iputils/blob/master/tracepath.c)
> 		  WARNING: More tools (ninfod, rarpd, rdisc) are going to be removed in next
> 		  release, see issue: #363
> 	* Meson build system
> 		- require version 0.40 (due multiple install_dir for custom_target; commit: 65941ab)
> 	* arping
> 		- fix: ARP protocol field for AX.25 and NETROM (PR: #360)
> 	* clockdiff
> 		- fix man: remove duplicated word (PR: #384)
> 	* ninfod
> 		- fix: build with -DNINFOD_MESSAGES=false (commit: a0b3917)
> 		- systemd unit: add ProtectHostname, ProtectKernelLogs (PR: #375)
> 	* ping
> 		- fix: remove 'unsupported IPv6' warning on disabled IPv6 (issue: #293, PR: #370)
> 		- fix: ping6 binding to VRF and address (PR: #344)
> 		- fix: print reply from Subnet-Router anycast address (issue: #371)
> 		- fix: print reply with wrong source with warning (issue: #371)
> 		- fix: set mark (SO_MARK) on probe socket (PR: #340)
> 		- fix: man: update lowered minimum ping interval (issue: #367)
> 		- fix: mark is unsigned int, not signed (PR: #345)
> 	* rarpd
> 		- systemd unit: add ProtectHostname, ProtectKernelLogs (PR: #375)
> 	* rdisc
> 		- systemd unit: add ProtectHostname, ProtectKernelLogs (PR: #375)
> 	* localization
> 		- fix: add missing cs, id, ko languages (commit: be8f704)
> 		- new translations: Finnish, Korean
> 		- updated translations: German, Japanese, Turkish, Ukrainian
> 	* CI
> 		- add build with some non-default options (commit: c4a5373)
> 		- remove Tumbleweed (not only ocassional bugs: 086de3c, b19df68, but the way
> 		  how repos are published often breaks using it)
> 		- add latest CentOS (currently CentOS 8, commit: 5f3711e)
> 	* tests
> 		- add -V test for all binaries (commit: 802fade)
> 		- make tests optional with -DSKIP_TESTS=true (PR: #359)
>     20210722
> 	* Meson build system
> 		- enable NO_SETCAP_OR_SUID by default
> 	* clockdiff
> 		- fix missing new line
> 	* ping
> 		- lower minimal interval for flooding to 2 (issue: #317)
> 		- revert f7710a1 ("Add strict pattern matching on response when pattern was
> 		  provided") to fix broken report of truncated packets (issue: #320, PR: #331)
> 	* rdisc
> 		- systemd unit: remove PrivateUsers=yes from systemd service file (issue: #314)
> 		- systemd unit: support /etc/default/rdisc environment file (for Debian, PR: #356)
> 		- systemd unit: Add DynamicUser=yes (PR: #358)
> 		- systemd unit: add CAP_NET_ADMIN capability (PR: #351)
> 		- Add support for capability/setuid (PR: #347, #348) NOTE: This is strongly
> 		  discouraged as normal uses could possibly modify routing tables, recommended
> 		  way is to run it as systemd service which does not require it to be enabled.
> 		  It's added just for non-systemd users, which should run allow it to run just
> 		  for dedicated user.
> 		- set correct caps in setcap-setuid.sh
> 	* traceroute6
> 		- mention -V in usage() (PR: #323)
> 	* localization
> 		- new translations: Czech (100%), Indonesian (94%)
> 		- updated translations: Portuguese (Brazil, 95%), Indonesian (94%), French:
> 		  (58%), Chinese (Simplified, 53%)
> 		- fully translated languages in this release: Czech, Turkish, Ukrainian
> 	* CI
> 		- migrate from Travis CI to GitHub Actions (PR: #336)
> 		- add very basic ping testing (issue: #338, PR: #243)
> 		- skip tests on Ubuntu Xenial (commit: 9833cae)
> 		- various build.sh improvements
> 	* tests
> 		- skip tests on disabled IPv6 (commit: f10bfd8)
> 		- fix: flood ping test should pass on root (commit: 3dff080)
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
>  config/rootfiles/common/iputils | 8 +++++---
>  lfs/iputils                     | 6 +++---
>  2 files changed, 8 insertions(+), 6 deletions(-)
> 
> diff --git a/config/rootfiles/common/iputils b/config/rootfiles/common/iputils
> index 37e0cb603..83b2e7824 100644
> --- a/config/rootfiles/common/iputils
> +++ b/config/rootfiles/common/iputils
> @@ -1,14 +1,16 @@
>  bin/ping
> -#etc/rc.d/init.d/ninfod.sh
>  #usr/bin/arping
>  #usr/bin/clockdiff
>  usr/bin/ping
>  usr/bin/tracepath
> -#usr/sbin/ninfod
> -#usr/sbin/rdisc
> +#usr/share/locale/cs/LC_MESSAGES/iputils.mo
>  #usr/share/locale/de/LC_MESSAGES/iputils.mo
> +#usr/share/locale/fi/LC_MESSAGES/iputils.mo
>  #usr/share/locale/fr/LC_MESSAGES/iputils.mo
> +#usr/share/locale/id/LC_MESSAGES/iputils.mo
>  #usr/share/locale/ja/LC_MESSAGES/iputils.mo
> +#usr/share/locale/ka/LC_MESSAGES/iputils.mo
> +#usr/share/locale/ko/LC_MESSAGES/iputils.mo
>  #usr/share/locale/pt_BR/LC_MESSAGES/iputils.mo
>  #usr/share/locale/tr/LC_MESSAGES/iputils.mo
>  #usr/share/locale/uk/LC_MESSAGES/iputils.mo
> diff --git a/lfs/iputils b/lfs/iputils
> index 663651e34..d881a0f74 100644
> --- a/lfs/iputils
> +++ b/lfs/iputils
> @@ -1,7 +1,7 @@
>  ###############################################################################
>  #                                                                             #
>  # IPFire.org - A linux based firewall                                         #
> -# Copyright (C) 2007-2021  IPFire Team  <info@ipfire.org>                     #
> +# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
>  #                                                                             #
>  # This program is free software: you can redistribute it and/or modify        #
>  # it under the terms of the GNU General Public License as published by        #
> @@ -24,7 +24,7 @@
>  
>  include Config
>  
> -VER        = 20210202
> +VER        = 20221126
>  
>  THISAPP    = iputils-$(VER)
>  DL_FILE    = $(THISAPP).tar.gz
> @@ -40,7 +40,7 @@ objects = $(DL_FILE)
>  
>  $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>  
> -$(DL_FILE)_BLAKE2 = 37f3c10ff3918d40fe2eae1e4b19ed711b97c30cd2d682e42f484a11a28ab7c93975a51fbb7a8b1c1d725fc9051ae773bc2e81b9d80a2dd0e6ff55867d54875d
> +$(DL_FILE)_BLAKE2 = 97bdc49810ce9e517211323e8e8ffd2f2be505704d67533db0e8f296701048b82c61b39062aab4a8fa148b29175636a657c2dcdd65e3a16b1572d2f392b8ecf0
>  
>  install : $(TARGET)
>
  

Patch

diff --git a/config/rootfiles/common/iputils b/config/rootfiles/common/iputils
index 37e0cb603..83b2e7824 100644
--- a/config/rootfiles/common/iputils
+++ b/config/rootfiles/common/iputils
@@ -1,14 +1,16 @@ 
 bin/ping
-#etc/rc.d/init.d/ninfod.sh
 #usr/bin/arping
 #usr/bin/clockdiff
 usr/bin/ping
 usr/bin/tracepath
-#usr/sbin/ninfod
-#usr/sbin/rdisc
+#usr/share/locale/cs/LC_MESSAGES/iputils.mo
 #usr/share/locale/de/LC_MESSAGES/iputils.mo
+#usr/share/locale/fi/LC_MESSAGES/iputils.mo
 #usr/share/locale/fr/LC_MESSAGES/iputils.mo
+#usr/share/locale/id/LC_MESSAGES/iputils.mo
 #usr/share/locale/ja/LC_MESSAGES/iputils.mo
+#usr/share/locale/ka/LC_MESSAGES/iputils.mo
+#usr/share/locale/ko/LC_MESSAGES/iputils.mo
 #usr/share/locale/pt_BR/LC_MESSAGES/iputils.mo
 #usr/share/locale/tr/LC_MESSAGES/iputils.mo
 #usr/share/locale/uk/LC_MESSAGES/iputils.mo
diff --git a/lfs/iputils b/lfs/iputils
index 663651e34..d881a0f74 100644
--- a/lfs/iputils
+++ b/lfs/iputils
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2021  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 20210202
+VER        = 20221126
 
 THISAPP    = iputils-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 37f3c10ff3918d40fe2eae1e4b19ed711b97c30cd2d682e42f484a11a28ab7c93975a51fbb7a8b1c1d725fc9051ae773bc2e81b9d80a2dd0e6ff55867d54875d
+$(DL_FILE)_BLAKE2 = 97bdc49810ce9e517211323e8e8ffd2f2be505704d67533db0e8f296701048b82c61b39062aab4a8fa148b29175636a657c2dcdd65e3a16b1572d2f392b8ecf0
 
 install : $(TARGET)