mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 01:16:59 +02:00
net-misc/iputils: Sync with gentoo
It's from gentoo commit 80d3fbb3ef48a969bac05c1f0469e8b9efa32a8d.
This commit is contained in:
parent
d133e03f4a
commit
0236ee3efc
@ -1,219 +0,0 @@
|
|||||||
# ChangeLog for net-misc/iputils
|
|
||||||
# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
|
|
||||||
# (auto-generated from git log)
|
|
||||||
|
|
||||||
*iputils-99999999 (09 Aug 2015)
|
|
||||||
*iputils-20121221-r2 (09 Aug 2015)
|
|
||||||
*iputils-20121221-r1 (09 Aug 2015)
|
|
||||||
*iputils-20121221 (09 Aug 2015)
|
|
||||||
|
|
||||||
09 Aug 2015; Robin H. Johnson <robbat2@gentoo.org>
|
|
||||||
+files/021109-uclibc-no-ether_ntohost.patch,
|
|
||||||
+files/iputils-20071127-nonroot-floodping.patch,
|
|
||||||
+files/iputils-20100418-so_mark.patch,
|
|
||||||
+files/iputils-20121221-crypto-build.patch,
|
|
||||||
+files/iputils-20121221-makefile.patch,
|
|
||||||
+files/iputils-20121221-openssl.patch,
|
|
||||||
+files/iputils-20121221-owl-pingsock.diff,
|
|
||||||
+files/iputils-20121221-parallel-doc.patch,
|
|
||||||
+files/iputils-20121221-printf-size.patch,
|
|
||||||
+files/iputils-20121221-strtod.patch,
|
|
||||||
+files/iputils-20121221-tftpd-setid.patch,
|
|
||||||
+files/iputils-20121221-tftpd-syslog.patch,
|
|
||||||
+files/iputils-99999999-openssl.patch,
|
|
||||||
+files/iputils-99999999-tftpd-syslog.patch, +files/rarpd.conf.d,
|
|
||||||
+files/rarpd.init.d, +iputils-20121221.ebuild, +iputils-20121221-r1.ebuild,
|
|
||||||
+iputils-20121221-r2.ebuild, +iputils-99999999.ebuild, +metadata.xml:
|
|
||||||
proj/gentoo: Initial commit
|
|
||||||
|
|
||||||
This commit represents a new era for Gentoo:
|
|
||||||
Storing the gentoo-x86 tree in Git, as converted from CVS.
|
|
||||||
|
|
||||||
This commit is the start of the NEW history.
|
|
||||||
Any historical data is intended to be grafted onto this point.
|
|
||||||
|
|
||||||
Creation process:
|
|
||||||
1. Take final CVS checkout snapshot
|
|
||||||
2. Remove ALL ChangeLog* files
|
|
||||||
3. Transform all Manifests to thin
|
|
||||||
4. Remove empty Manifests
|
|
||||||
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
|
|
||||||
5.1. Do not touch files with -kb/-ko keyword flags.
|
|
||||||
|
|
||||||
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
||||||
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration
|
|
||||||
tests
|
|
||||||
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this
|
|
||||||
project
|
|
||||||
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo
|
|
||||||
developer, wrote Git features for the migration
|
|
||||||
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve
|
|
||||||
cvs2svn
|
|
||||||
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
|
|
||||||
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014
|
|
||||||
work in migration
|
|
||||||
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
|
|
||||||
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on
|
|
||||||
the bikeshed
|
|
||||||
|
|
||||||
09 Aug 2015; Ulrich Müller <ulm@gentoo.org> files/rarpd.init.d:
|
|
||||||
[QA] Remove executable bit from files, bug 550434.
|
|
||||||
|
|
||||||
*iputils-20150815 (20 Aug 2015)
|
|
||||||
|
|
||||||
20 Aug 2015; Lars Wendler <polynomial-c@gentoo.org>
|
|
||||||
+files/iputils-20150815-nonroot-floodping.patch,
|
|
||||||
+files/iputils-20150815-ping6_crypto.patch,
|
|
||||||
+files/iputils-20150815-ping_default_ipv4.patch, +iputils-20150815.ebuild,
|
|
||||||
metadata.xml:
|
|
||||||
Bump to version 20150815.
|
|
||||||
|
|
||||||
Package-Manager: portage-2.2.20.1
|
|
||||||
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
|
||||||
|
|
||||||
24 Aug 2015; Justin Lecher <jlec@gentoo.org> iputils-20150815.ebuild,
|
|
||||||
metadata.xml:
|
|
||||||
Use https by default
|
|
||||||
|
|
||||||
Convert all URLs for sites supporting encrypted connections from http to
|
|
||||||
https
|
|
||||||
|
|
||||||
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
|
||||||
|
|
||||||
24 Aug 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml:
|
|
||||||
Revert DOCTYPE SYSTEM https changes in metadata.xml
|
|
||||||
|
|
||||||
repoman does not yet accept the https version.
|
|
||||||
This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450.
|
|
||||||
|
|
||||||
Bug: https://bugs.gentoo.org/552720
|
|
||||||
|
|
||||||
*iputils-20150815-r1 (05 Oct 2015)
|
|
||||||
|
|
||||||
05 Oct 2015; Julian Ospald <hasufell@gentoo.org>
|
|
||||||
+iputils-20150815-r1.ebuild, iputils-99999999.ebuild:
|
|
||||||
add libressl support
|
|
||||||
|
|
||||||
05 Oct 2015; Julian Ospald <hasufell@gentoo.org> iputils-20150815-r1.ebuild,
|
|
||||||
iputils-99999999.ebuild:
|
|
||||||
fix bash substitution for libressl USE flag
|
|
||||||
|
|
||||||
16 Oct 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
|
|
||||||
Update remote-ids
|
|
||||||
|
|
||||||
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
|
||||||
|
|
||||||
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
|
|
||||||
Unify quoting in metadata.xml files for machine processing
|
|
||||||
|
|
||||||
Force unified quoting in all metadata.xml files since lxml does not
|
|
||||||
preserve original use of single and double quotes. Ensuring unified
|
|
||||||
quoting before the process allows distinguishing the GLEP 67-related
|
|
||||||
metadata.xml changes from unrelated quoting changes.
|
|
||||||
|
|
||||||
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
|
|
||||||
Replace all herds with appropriate projects (GLEP 67)
|
|
||||||
|
|
||||||
Replace all uses of herd with appropriate project maintainers, or no
|
|
||||||
maintainers in case of herds requested to be disbanded.
|
|
||||||
|
|
||||||
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
|
|
||||||
Set appropriate maintainer types in metadata.xml (GLEP 67)
|
|
||||||
|
|
||||||
07 Mar 2016; Anthony G. Basile <blueness@gentoo.org>
|
|
||||||
iputils-20121221-r2.ebuild:
|
|
||||||
add libressl support to version 20121221-r2
|
|
||||||
|
|
||||||
Package-Manager: portage-2.2.26
|
|
||||||
|
|
||||||
07 Mar 2016; Anthony G. Basile <blueness@gentoo.org>
|
|
||||||
-iputils-20150815.ebuild:
|
|
||||||
remove 20150815 without libressl support
|
|
||||||
|
|
||||||
Package-Manager: portage-2.2.26
|
|
||||||
|
|
||||||
07 Mar 2016; Lars Wendler <polynomial-c@gentoo.org>
|
|
||||||
+files/iputils-20150815-defines_and_libs.patch,
|
|
||||||
+files/iputils-20150815-handle_single_protocol_system.patch,
|
|
||||||
-files/iputils-20150815-ping6_crypto.patch,
|
|
||||||
-files/iputils-20150815-ping_default_ipv4.patch, iputils-20150815-r1.ebuild:
|
|
||||||
Replaced two patches with upstream equivalents.
|
|
||||||
|
|
||||||
Package-Manager: portage-2.2.27
|
|
||||||
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
|
||||||
|
|
||||||
*iputils-20160308 (09 Mar 2016)
|
|
||||||
|
|
||||||
09 Mar 2016; Lars Wendler <polynomial-c@gentoo.org>
|
|
||||||
iputils-20150815-r1.ebuild, +iputils-20160308.ebuild:
|
|
||||||
Bump to version 20160308
|
|
||||||
|
|
||||||
Package-Manager: portage-2.2.27
|
|
||||||
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
|
||||||
|
|
||||||
*iputils-20151218 (19 Apr 2016)
|
|
||||||
|
|
||||||
19 Apr 2016; Lars Wendler <polynomial-c@gentoo.org>
|
|
||||||
+iputils-20151218.ebuild:
|
|
||||||
Bump to version 20151218
|
|
||||||
|
|
||||||
Package-Manager: portage-2.2.28
|
|
||||||
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
|
||||||
|
|
||||||
19 Apr 2016; Lars Wendler <polynomial-c@gentoo.org> iputils-99999999.ebuild:
|
|
||||||
Synced live ebuild with latest official release.
|
|
||||||
|
|
||||||
Package-Manager: portage-2.2.28
|
|
||||||
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
|
||||||
|
|
||||||
19 Apr 2016; Lars Wendler <polynomial-c@gentoo.org>
|
|
||||||
-iputils-20121221.ebuild, -iputils-20150815-r1.ebuild:
|
|
||||||
Removed old.
|
|
||||||
|
|
||||||
Package-Manager: portage-2.2.28
|
|
||||||
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
|
||||||
|
|
||||||
18 May 2016; Austin English <wizardedit@gentoo.org> files/rarpd.init.d:
|
|
||||||
use #!/sbin/openrc-run instead of #!/sbin/runscript
|
|
||||||
|
|
||||||
25 May 2016; Jeroen Roovers <jer@gentoo.org> iputils-20151218.ebuild:
|
|
||||||
Stable for HPPA PPC64 (bug #583960).
|
|
||||||
|
|
||||||
Package-Manager: portage-2.3.0_rc1
|
|
||||||
RepoMan-Options: --ignore-arches
|
|
||||||
|
|
||||||
25 May 2016; Matt Turner <mattst88@gentoo.org> iputils-20151218.ebuild:
|
|
||||||
alpha stable, bug 583960.
|
|
||||||
|
|
||||||
26 May 2016; Lars Wendler <polynomial-c@gentoo.org> iputils-20151218.ebuild:
|
|
||||||
x86 stable (bug #583960).
|
|
||||||
|
|
||||||
Package-Manager: portage-2.2.28
|
|
||||||
RepoMan-Options: --include-arches="x86"
|
|
||||||
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
|
||||||
|
|
||||||
27 May 2016; Lars Wendler <polynomial-c@gentoo.org> iputils-20151218.ebuild:
|
|
||||||
amd64 stable (bug #583960).
|
|
||||||
|
|
||||||
Package-Manager: portage-2.2.28
|
|
||||||
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
|
||||||
|
|
||||||
01 Jun 2016; Mike Frysinger <vapier@gentoo.org> iputils-20151218.ebuild:
|
|
||||||
mark 20151218 arm/arm64/ia64/m68k/ppc/s390/sh/sparc stable #583960
|
|
||||||
|
|
||||||
01 Jun 2016; Mike Frysinger <vapier@gentoo.org> iputils-20151218.ebuild,
|
|
||||||
iputils-99999999.ebuild:
|
|
||||||
make -lresolv linkage dynamic #584132
|
|
||||||
|
|
||||||
01 Jun 2016; Mike Frysinger <vapier@gentoo.org> iputils-20121221-r2.ebuild,
|
|
||||||
iputils-20151218.ebuild, iputils-20160308.ebuild, iputils-99999999.ebuild:
|
|
||||||
update traceroute blocker after package move #584362
|
|
||||||
|
|
||||||
19 Jun 2016; Benda Xu <heroxbd@gentoo.org> iputils-20151218.ebuild,
|
|
||||||
iputils-20160308.ebuild, iputils-99999999.ebuild:
|
|
||||||
remove EPREFIX from dosym.
|
|
||||||
|
|
||||||
ebuild helpers includes EPREFIX by default.
|
|
||||||
|
|
||||||
Package-Manager: portage-2.2.28
|
|
||||||
|
|
@ -1,592 +0,0 @@
|
|||||||
# ChangeLog for net-misc/iputils
|
|
||||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/ChangeLog,v 1.145 2015/05/04 02:35:57 vapier Exp $
|
|
||||||
|
|
||||||
04 May 2015; Mike Frysinger <vapier@gentoo.org> iputils-20121221-r2.ebuild,
|
|
||||||
iputils-99999999.ebuild:
|
|
||||||
Fix install of clockdiff #547752 by Robert Sebastian Gerus.
|
|
||||||
|
|
||||||
25 Apr 2015; Mike Frysinger <vapier@gentoo.org> iputils-20121221-r2.ebuild,
|
|
||||||
iputils-99999999.ebuild:
|
|
||||||
Fix install of arping and add blocker against net-misc/arping.
|
|
||||||
|
|
||||||
*iputils-20121221-r2 (25 Apr 2015)
|
|
||||||
|
|
||||||
25 Apr 2015; Mike Frysinger <vapier@gentoo.org>
|
|
||||||
+files/iputils-20121221-parallel-doc.patch,
|
|
||||||
+files/iputils-20121221-tftpd-setid.patch,
|
|
||||||
+files/iputils-20121221-tftpd-syslog.patch, +iputils-20121221-r2.ebuild,
|
|
||||||
iputils-99999999.ebuild, metadata.xml:
|
|
||||||
Add fix from upstream for checking tftpd set*id calls. Add USE flags to
|
|
||||||
control all the utils (other than ping) as they are all fairly uncommon. Drop
|
|
||||||
ipg entirely as it is a pretty useless script. Re-add support for traceroute
|
|
||||||
via the new USE flag.
|
|
||||||
|
|
||||||
25 Apr 2015; Mike Frysinger <vapier@gentoo.org> +files/rarpd.conf.d,
|
|
||||||
+files/rarpd.init.d, iputils-99999999.ebuild:
|
|
||||||
Add init.d script for rarpd #312623 by Weeve.
|
|
||||||
|
|
||||||
25 Apr 2015; Mike Frysinger <vapier@gentoo.org>
|
|
||||||
+files/iputils-20121221-strtod.patch, iputils-99999999.ebuild:
|
|
||||||
Fix -i number parsing in some locales #472592 by Sergey Fionov.
|
|
||||||
|
|
||||||
25 Apr 2015; Mike Frysinger <vapier@gentoo.org> iputils-20121221-r1.ebuild,
|
|
||||||
iputils-99999999.ebuild:
|
|
||||||
Require gnutls be built w/USE=openssl #546116 by Patrick Lauer.
|
|
||||||
|
|
||||||
25 Apr 2015; Mike Frysinger <vapier@gentoo.org>
|
|
||||||
+files/iputils-99999999-openssl.patch,
|
|
||||||
+files/iputils-99999999-tftpd-syslog.patch, -files/iputils-20070202-idn.patch,
|
|
||||||
-files/iputils-20071127-infiniband.patch,
|
|
||||||
-files/iputils-20071127-kernel-ifaddr.patch,
|
|
||||||
-files/iputils-20100418-aliasing.patch,
|
|
||||||
-files/iputils-20100418-makefile.patch, -files/iputils-20100418-openssl.patch,
|
|
||||||
-files/iputils-20100418-printf-size.patch,
|
|
||||||
-files/iputils-20100418-proper-libs.patch,
|
|
||||||
-files/iputils-20101006-owl-pingsock.diff, iputils-99999999.ebuild:
|
|
||||||
Update patches against latest git.
|
|
||||||
|
|
||||||
04 Apr 2015; Mike Frysinger <vapier@gentoo.org> iputils-20121221-r1.ebuild:
|
|
||||||
Mark arm64/m68k/s390/sh stable.
|
|
||||||
|
|
||||||
07 Dec 2014; Markus Meier <maekke@gentoo.org> iputils-20121221-r1.ebuild:
|
|
||||||
arm stable, bug #517720
|
|
||||||
|
|
||||||
06 Dec 2014; Agostino Sarubbo <ago@gentoo.org> iputils-20121221-r1.ebuild:
|
|
||||||
Stable for ia64, wrt bug #517720
|
|
||||||
|
|
||||||
04 Dec 2014; Agostino Sarubbo <ago@gentoo.org> iputils-20121221-r1.ebuild:
|
|
||||||
Stable for ppc64, wrt bug #517720
|
|
||||||
|
|
||||||
03 Dec 2014; Agostino Sarubbo <ago@gentoo.org> iputils-20121221-r1.ebuild:
|
|
||||||
Stable for ppc, wrt bug #517720
|
|
||||||
|
|
||||||
02 Dec 2014; Agostino Sarubbo <ago@gentoo.org> iputils-20121221-r1.ebuild:
|
|
||||||
Stable for alpha, wrt bug #517720
|
|
||||||
|
|
||||||
01 Dec 2014; Agostino Sarubbo <ago@gentoo.org> iputils-20121221-r1.ebuild:
|
|
||||||
Stable for sparc, wrt bug #517720
|
|
||||||
|
|
||||||
25 Nov 2014; Agostino Sarubbo <ago@gentoo.org> iputils-20121221-r1.ebuild:
|
|
||||||
Stable for x86, wrt bug #517720
|
|
||||||
|
|
||||||
22 Nov 2014; Mikle Kolyada <zlogene@gentoo.org> iputils-20121221-r1.ebuild:
|
|
||||||
amd64 stable wrt bug #517720
|
|
||||||
|
|
||||||
22 Nov 2014; Jeroen Roovers <jer@gentoo.org> iputils-20121221-r1.ebuild:
|
|
||||||
Stable for HPPA (bug #517720).
|
|
||||||
|
|
||||||
03 Nov 2014; Mike Frysinger <vapier@gentoo.org> iputils-20121221.ebuild:
|
|
||||||
Mark m68k stable.
|
|
||||||
|
|
||||||
25 Aug 2014; Christopher Reffett <2011creffett@gentoo.org>
|
|
||||||
-iputils-20101006-r2.ebuild:
|
|
||||||
Security cleanup wrt bug 408183
|
|
||||||
|
|
||||||
29 Apr 2014; Mike Frysinger <vapier@gentoo.org> iputils-20121221-r1.ebuild,
|
|
||||||
iputils-99999999.ebuild:
|
|
||||||
Put USE=gnutls behind USE=ssl since only one of openssl/gnutls can be used at
|
|
||||||
a time #509100 by David Heidelberger.
|
|
||||||
|
|
||||||
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> iputils-20121221-r1.ebuild,
|
|
||||||
iputils-20121221.ebuild, iputils-99999999.ebuild:
|
|
||||||
Add arm64 love.
|
|
||||||
|
|
||||||
26 Oct 2013; Mike Frysinger <vapier@gentoo.org> iputils-20101006-r2.ebuild,
|
|
||||||
iputils-20121221-r1.ebuild, iputils-20121221.ebuild, iputils-99999999.ebuild:
|
|
||||||
Fix license to reflect source -- BSD-4.
|
|
||||||
|
|
||||||
09 Jun 2013; Mike Frysinger <vapier@gentoo.org> metadata.xml:
|
|
||||||
Add upstream CPE tag (security info) from ChromiumOS.
|
|
||||||
|
|
||||||
08 Feb 2013; Agostino Sarubbo <ago@gentoo.org> iputils-20121221.ebuild:
|
|
||||||
Stable for alpha, wrt bug #408183
|
|
||||||
|
|
||||||
08 Feb 2013; Agostino Sarubbo <ago@gentoo.org> iputils-20121221.ebuild:
|
|
||||||
Stable for s390, wrt bug #408183
|
|
||||||
|
|
||||||
08 Feb 2013; Agostino Sarubbo <ago@gentoo.org> iputils-20121221.ebuild:
|
|
||||||
Stable for sh, wrt bug #408183
|
|
||||||
|
|
||||||
06 Feb 2013; Agostino Sarubbo <ago@gentoo.org> iputils-20121221.ebuild:
|
|
||||||
Stable for sparc, wrt bug #408183
|
|
||||||
|
|
||||||
31 Jan 2013; Agostino Sarubbo <ago@gentoo.org> iputils-20121221.ebuild:
|
|
||||||
Stable for ppc, wrt bug #408183
|
|
||||||
|
|
||||||
31 Jan 2013; Agostino Sarubbo <ago@gentoo.org> iputils-20121221.ebuild:
|
|
||||||
Stable for ppc64, wrt bug #408183
|
|
||||||
|
|
||||||
30 Jan 2013; Agostino Sarubbo <ago@gentoo.org> iputils-20121221.ebuild:
|
|
||||||
Stable for x86, wrt bug #408183
|
|
||||||
|
|
||||||
29 Jan 2013; Agostino Sarubbo <ago@gentoo.org> iputils-20121221.ebuild:
|
|
||||||
Stable for ia64, wrt bug #408183
|
|
||||||
|
|
||||||
28 Jan 2013; Mike Frysinger <vapier@gentoo.org> iputils-20121221-r1.ebuild,
|
|
||||||
iputils-20121221.ebuild, iputils-99999999.ebuild:
|
|
||||||
Use slot 0 for openssl as pointed out by Zac Medico.
|
|
||||||
|
|
||||||
28 Jan 2013; Jeroen Roovers <jer@gentoo.org> iputils-20121221.ebuild:
|
|
||||||
Stable for HPPA (bug #408183).
|
|
||||||
|
|
||||||
28 Jan 2013; Mike Frysinger <vapier@gentoo.org> iputils-20121221.ebuild,
|
|
||||||
iputils-20121221-r1.ebuild, iputils-99999999.ebuild:
|
|
||||||
Have USE=static depend on USE=static-libs in all of its lib packages #454410
|
|
||||||
by Sergey Popov. Also put ssl/gnutls behind USE=ipv6 since that code is only
|
|
||||||
used in ping6.
|
|
||||||
|
|
||||||
28 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> iputils-20121221.ebuild:
|
|
||||||
Stable on arm, wrt bug #408183
|
|
||||||
|
|
||||||
28 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> iputils-20121221.ebuild:
|
|
||||||
Stable on amd64, wrt bug #408183
|
|
||||||
|
|
||||||
*iputils-20121221-r1 (27 Jan 2013)
|
|
||||||
|
|
||||||
27 Jan 2013; Mike Frysinger <vapier@gentoo.org> +iputils-20121221-r1.ebuild,
|
|
||||||
iputils-99999999.ebuild:
|
|
||||||
Move traceroute6 to the traceroute package. Move arping/clockdiff to bin.
|
|
||||||
Use new file capabilities to allow people to execute
|
|
||||||
arping/clockdiff/ping/ping6.
|
|
||||||
|
|
||||||
26 Jan 2013; Mike Frysinger <vapier@gentoo.org>
|
|
||||||
files/iputils-20121221-makefile.patch:
|
|
||||||
Fix CC/CFLAGS handling #454136 by Alphat-PC.
|
|
||||||
|
|
||||||
*iputils-20121221 (25 Jan 2013)
|
|
||||||
|
|
||||||
25 Jan 2013; Mike Frysinger <vapier@gentoo.org>
|
|
||||||
+files/iputils-20121221-crypto-build.patch,
|
|
||||||
+files/iputils-20121221-makefile.patch, +files/iputils-20121221-openssl.patch,
|
|
||||||
+files/iputils-20121221-owl-pingsock.diff,
|
|
||||||
+files/iputils-20121221-printf-size.patch, +iputils-20121221.ebuild,
|
|
||||||
iputils-20101006-r2.ebuild, iputils-99999999.ebuild:
|
|
||||||
Version bump #453806 by Agostino Sarubbo.
|
|
||||||
|
|
||||||
20 Apr 2012; Samuli Suominen <ssuominen@gentoo.org>
|
|
||||||
-files/iputils-20070202-makefile.patch, -iputils-20100418-r1.ebuild,
|
|
||||||
-files/iputils-20100418-arping-broadcast.patch,
|
|
||||||
-files/iputils-20100418-ping-CVE-2010-2529.patch, -iputils-20101006.ebuild,
|
|
||||||
-iputils-20101006-r1.ebuild,
|
|
||||||
-files/iputils-20101006-tracepath-error-typo.patch:
|
|
||||||
old
|
|
||||||
|
|
||||||
13 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org>
|
|
||||||
iputils-20101006-r2.ebuild:
|
|
||||||
ppc64 stable wrt #394191
|
|
||||||
|
|
||||||
04 Jan 2012; Brent Baude <ranger@gentoo.org> iputils-20101006-r2.ebuild:
|
|
||||||
Marking iputils-20101006-r2 ppc for bug 394191
|
|
||||||
|
|
||||||
17 Dec 2011; Raúl Porcel <armin76@gentoo.org> iputils-20101006-r2.ebuild:
|
|
||||||
alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #394191
|
|
||||||
|
|
||||||
14 Dec 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
|
|
||||||
iputils-20101006-r2.ebuild:
|
|
||||||
x86 stable wrt bug #394191
|
|
||||||
|
|
||||||
12 Dec 2011; Agostino Sarubbo <ago@gentoo.org> iputils-20101006-r2.ebuild:
|
|
||||||
Stable for AMD64, wrt bug #394191
|
|
||||||
|
|
||||||
12 Dec 2011; Jeroen Roovers <jer@gentoo.org> iputils-20101006-r2.ebuild:
|
|
||||||
Stable for HPPA (bug #394191).
|
|
||||||
|
|
||||||
*iputils-20101006-r2 (09 Nov 2011)
|
|
||||||
|
|
||||||
09 Nov 2011; Mike Frysinger <vapier@gentoo.org> +iputils-20101006-r2.ebuild,
|
|
||||||
+files/iputils-20101006-owl-pingsock.diff, iputils-99999999.ebuild:
|
|
||||||
Add patch from OWL for non-root/set*id/cap ping support.
|
|
||||||
|
|
||||||
21 Sep 2011; Michał Górny <mgorny@gentoo.org> iputils-99999999.ebuild:
|
|
||||||
Migrate to git-2.
|
|
||||||
|
|
||||||
*iputils-20101006-r1 (07 Aug 2011)
|
|
||||||
|
|
||||||
07 Aug 2011; Samuli Suominen <ssuominen@gentoo.org>
|
|
||||||
+files/iputils-20071127-infiniband.patch, +iputils-20101006-r1.ebuild,
|
|
||||||
iputils-99999999.ebuild:
|
|
||||||
Import Fedora patch to remove sysfsutils depend from arping.c wrt #377687 by
|
|
||||||
Anthony Basile
|
|
||||||
|
|
||||||
*iputils-20101006 (19 Feb 2011)
|
|
||||||
|
|
||||||
19 Feb 2011; Mike Frysinger <vapier@gentoo.org> +iputils-20101006.ebuild,
|
|
||||||
+files/iputils-20101006-tracepath-error-typo.patch, iputils-99999999.ebuild:
|
|
||||||
Version bump, and unify git/non-git ebuilds in the process.
|
|
||||||
|
|
||||||
07 Jan 2011; Brent Baude <ranger@gentoo.org> iputils-20100418-r1.ebuild:
|
|
||||||
stable ppc, bug 342277
|
|
||||||
|
|
||||||
06 Jan 2011; Raúl Porcel <armin76@gentoo.org> iputils-20100418-r1.ebuild:
|
|
||||||
ia64/m68k/s390/sh/sparc stable wrt #342277
|
|
||||||
|
|
||||||
27 Dec 2010; Brent Baude <ranger@gentoo.org> iputils-20100418-r1.ebuild:
|
|
||||||
stable ppc64, bug 342277
|
|
||||||
|
|
||||||
27 Dec 2010; Jeroen Roovers <jer@gentoo.org> iputils-20100418-r1.ebuild:
|
|
||||||
Stable for HPPA (bug #342277).
|
|
||||||
|
|
||||||
25 Dec 2010; Markus Meier <maekke@gentoo.org> iputils-20100418-r1.ebuild:
|
|
||||||
arm stable, bug #342277
|
|
||||||
|
|
||||||
22 Dec 2010; Tobias Klausmann <klausman@gentoo.org>
|
|
||||||
iputils-20100418-r1.ebuild:
|
|
||||||
Stable on alpha, bug #342277
|
|
||||||
|
|
||||||
22 Dec 2010; Markos Chandras <hwoarang@gentoo.org>
|
|
||||||
iputils-20100418-r1.ebuild:
|
|
||||||
Stable on amd64 wrt bug #342277
|
|
||||||
|
|
||||||
16 Dec 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
|
|
||||||
iputils-20100418-r1.ebuild:
|
|
||||||
x86 stable wrt bug #342277
|
|
||||||
|
|
||||||
*iputils-20100418-r1 (14 Sep 2010)
|
|
||||||
|
|
||||||
14 Sep 2010; Mike Frysinger <vapier@gentoo.org> +iputils-20100418-r1.ebuild,
|
|
||||||
+files/iputils-20100418-arping-broadcast.patch:
|
|
||||||
Add fix for arping broadcast handling #337049 by Aleksander Machniak.
|
|
||||||
|
|
||||||
06 Sep 2010; Brent Baude <ranger@gentoo.org> iputils-20100418.ebuild:
|
|
||||||
Marking iputils-20100418 ppc64 for bug 332527
|
|
||||||
|
|
||||||
04 Sep 2010; Raúl Porcel <armin76@gentoo.org> iputils-20100418.ebuild:
|
|
||||||
alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #332527
|
|
||||||
|
|
||||||
31 Aug 2010; Mike Frysinger <vapier@gentoo.org> iputils-20100418.ebuild,
|
|
||||||
+files/iputils-20100418-openssl.patch, +files/iputils-20100418-so_mark.patch:
|
|
||||||
Make openssl support optional #335436 by Jorge Manuel B. S. Vicetto. Fix
|
|
||||||
building with older linux headers #335347 by Mark Wagner.
|
|
||||||
|
|
||||||
30 Aug 2010; Jeroen Roovers <jer@gentoo.org> iputils-20100418.ebuild:
|
|
||||||
Stable for HPPA PPC (bug #332527).
|
|
||||||
|
|
||||||
29 Aug 2010; Markos Chandras <hwoarang@gentoo.org>
|
|
||||||
iputils-20100418.ebuild:
|
|
||||||
Stable on amd64 wrt bug #332527
|
|
||||||
|
|
||||||
28 Aug 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
|
|
||||||
iputils-20100418.ebuild:
|
|
||||||
x86 stable wrt security bug #332527
|
|
||||||
|
|
||||||
22 Aug 2010; Luca Barbato <lu_zero@gentoo.org>
|
|
||||||
+files/iputils-20100418-proper-libs.patch, iputils-20100418.ebuild:
|
|
||||||
Fix cross compilation
|
|
||||||
|
|
||||||
14 Aug 2010; Diego E. Pettenò <flameeyes@gentoo.org>
|
|
||||||
iputils-20100418.ebuild:
|
|
||||||
Add missing dependency over sysfsutils (bug #332703, reported by Ryan
|
|
||||||
Hill, diagnosed by Lars Wendler).
|
|
||||||
|
|
||||||
*iputils-20100418 (14 Aug 2010)
|
|
||||||
|
|
||||||
14 Aug 2010; Mike Frysinger <vapier@gentoo.org> +iputils-20100418.ebuild,
|
|
||||||
+files/iputils-20100418-aliasing.patch,
|
|
||||||
+files/iputils-20100418-makefile.patch,
|
|
||||||
+files/iputils-20100418-ping-CVE-2010-2529.patch,
|
|
||||||
+files/iputils-20100418-printf-size.patch:
|
|
||||||
Version bump #306101 by Andrew Brouwers. Add fix for ping CVE-2010-2529
|
|
||||||
#332527 by Tim Sammut.
|
|
||||||
|
|
||||||
07 Jan 2010; Christian Faulhammer <fauli@gentoo.org>
|
|
||||||
iputils-20071127-r2.ebuild:
|
|
||||||
Transfer Prefix keywords
|
|
||||||
|
|
||||||
23 Aug 2009; Diego E. Pettenò <flameeyes@gentoo.org>
|
|
||||||
iputils-20070202.ebuild:
|
|
||||||
Drop to ~mips (for docbook cleanup).
|
|
||||||
|
|
||||||
*iputils-20071127-r2 (10 Jun 2008)
|
|
||||||
|
|
||||||
10 Jun 2008; <chainsaw@gentoo.org>
|
|
||||||
+files/iputils-20071127-nonroot-floodping.patch,
|
|
||||||
+iputils-20071127-r2.ebuild:
|
|
||||||
Introduce USE=SECURITY_HAZARD which allows non-root users to floodping.
|
|
||||||
This can be useful in some IXP/ISP environments where 10Gbit fibre links
|
|
||||||
have to be tested. As the name suggests, it should not be enabled unless
|
|
||||||
you know it makes sense for your situation.
|
|
||||||
|
|
||||||
*iputils-20071127-r1 (20 Apr 2008)
|
|
||||||
|
|
||||||
20 Apr 2008; Mike Frysinger <vapier@gentoo.org>
|
|
||||||
+files/iputils-20070202-idn.patch, +iputils-20071127-r1.ebuild:
|
|
||||||
Add support for USE=idn #218638 by Hanno Boeck.
|
|
||||||
|
|
||||||
20 Apr 2008; Mike Frysinger <vapier@gentoo.org> iputils-20071127.ebuild:
|
|
||||||
Mark amd64 stable.
|
|
||||||
|
|
||||||
31 Mar 2008; Sven Wegener <swegener@gentoo.org> iputils-20071127.ebuild:
|
|
||||||
Use mirror://gentoo/ for the manpages.
|
|
||||||
|
|
||||||
29 Mar 2008; Raúl Porcel <armin76@gentoo.org> iputils-20071127.ebuild:
|
|
||||||
alpha/ia64/sparc stable wrt #214734
|
|
||||||
|
|
||||||
29 Mar 2008; Jeroen Roovers <jer@gentoo.org> iputils-20071127.ebuild:
|
|
||||||
Stable for HPPA (bug #214734).
|
|
||||||
|
|
||||||
29 Mar 2008; Brent Baude <ranger@gentoo.org> ChangeLog:
|
|
||||||
Marking iputils-20071127 ppc for bug 214734
|
|
||||||
|
|
||||||
29 Mar 2008; Brent Baude <ranger@gentoo.org> iputils-20071127.ebuild:
|
|
||||||
stable ppc64, bug 214734
|
|
||||||
|
|
||||||
29 Mar 2008; Dawid Węgliński <cla@gentoo.org> iputils-20071127.ebuild:
|
|
||||||
Stable on x86 (bug #214734)
|
|
||||||
|
|
||||||
29 Mar 2008; Mike Frysinger <vapier@gentoo.org> iputils-20071127.ebuild:
|
|
||||||
Fixup manpage install.
|
|
||||||
|
|
||||||
28 Mar 2008; Brent Baude <ranger@gentoo.org> iputils-20071127.ebuild:
|
|
||||||
stable ppc, bug 214734
|
|
||||||
|
|
||||||
*iputils-20071127 (26 Jan 2008)
|
|
||||||
|
|
||||||
26 Jan 2008; Mike Frysinger <vapier@gentoo.org>
|
|
||||||
+files/iputils-20071127-gcc34.patch,
|
|
||||||
+files/iputils-20071127-kernel-ifaddr.patch, +iputils-20071127.ebuild:
|
|
||||||
Version bump #207289.
|
|
||||||
|
|
||||||
28 Oct 2007; Mike Frysinger <vapier@gentoo.org> iputils-20070202.ebuild:
|
|
||||||
Block net-misc/rarpd #197110 by kouyu.
|
|
||||||
|
|
||||||
21 Oct 2007; nixnut <nixnut@gentoo.org> iputils-20070202.ebuild:
|
|
||||||
Stable on ppc wrt bug 195915
|
|
||||||
|
|
||||||
19 Oct 2007; Raúl Porcel <armin76@gentoo.org> iputils-20070202.ebuild:
|
|
||||||
alpha/ia64/sparc stable wrt #195915
|
|
||||||
|
|
||||||
16 Oct 2007; Christoph Mende <angelos@gentoo.org> iputils-20070202.ebuild:
|
|
||||||
Stable on amd64 wrt bug #195915
|
|
||||||
|
|
||||||
16 Oct 2007; Markus Rothe <corsair@gentoo.org> iputils-20070202.ebuild:
|
|
||||||
Stable on ppc64; bug #195915
|
|
||||||
|
|
||||||
15 Oct 2007; Christian Faulhammer <opfer@gentoo.org>
|
|
||||||
iputils-20070202.ebuild:
|
|
||||||
stable x86, bug 195915
|
|
||||||
|
|
||||||
15 Oct 2007; Jeroen Roovers <jer@gentoo.org> iputils-20070202.ebuild:
|
|
||||||
Stable for HPPA (bug #195915).
|
|
||||||
|
|
||||||
15 Oct 2007; Mike Frysinger <vapier@gentoo.org>
|
|
||||||
+files/iputils-20070202-no-open-max.patch, iputils-20070202.ebuild:
|
|
||||||
Fix building with newer kernel headers that lack OPEN_MAX #195861 by Markus
|
|
||||||
Meier.
|
|
||||||
|
|
||||||
*iputils-99999999 (30 Apr 2007)
|
|
||||||
|
|
||||||
30 Apr 2007; Mike Frysinger <vapier@gentoo.org> +iputils-99999999.ebuild:
|
|
||||||
Live git version.
|
|
||||||
|
|
||||||
09 Feb 2007; Alexander H. Færøy <eroyf@gentoo.org>
|
|
||||||
iputils-20060512.ebuild:
|
|
||||||
Stable on MIPS; bug #165179
|
|
||||||
|
|
||||||
05 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org>
|
|
||||||
iputils-20060512.ebuild:
|
|
||||||
Stable on alpha wrt bug #165179.
|
|
||||||
|
|
||||||
05 Feb 2007; Jeroen Roovers <jer@gentoo.org> iputils-20060512.ebuild:
|
|
||||||
Stable for HPPA (bug #165179).
|
|
||||||
|
|
||||||
04 Feb 2007; Steve Dibb <beandog@gentoo.org> iputils-20060512.ebuild:
|
|
||||||
amd64 stable, bug 165179
|
|
||||||
|
|
||||||
04 Feb 2007; nixnut <nixnut@gentoo.org> iputils-20060512.ebuild:
|
|
||||||
Stable on ppc wrt bug 165179
|
|
||||||
|
|
||||||
04 Feb 2007; Markus Rothe <corsair@gentoo.org> iputils-20060512.ebuild:
|
|
||||||
Added ~ppc64; bug #165179
|
|
||||||
|
|
||||||
03 Feb 2007; Torsten Veller <tove@gentoo.org> iputils-20060512.ebuild:
|
|
||||||
Stable on x86 (#165179)
|
|
||||||
|
|
||||||
03 Feb 2007; Jason Wever <weeve@gentoo.org> iputils-20060512.ebuild:
|
|
||||||
Stable on SPARC wrt bug #165179.
|
|
||||||
|
|
||||||
*iputils-20070202 (03 Feb 2007)
|
|
||||||
|
|
||||||
03 Feb 2007; Mike Frysinger <vapier@gentoo.org>
|
|
||||||
+files/iputils-20070202-makefile.patch, +iputils-20070202.ebuild:
|
|
||||||
Version bump.
|
|
||||||
|
|
||||||
21 Dec 2006; Mike Frysinger <vapier@gentoo.org> iputils-20060512.ebuild:
|
|
||||||
Only generate man pages for USE=doc until next release where they include
|
|
||||||
man pages #158660.
|
|
||||||
|
|
||||||
*iputils-20060512 (20 Dec 2006)
|
|
||||||
|
|
||||||
20 Dec 2006; Mike Frysinger <vapier@gentoo.org>
|
|
||||||
+files/iputils-20060512-RFC3542.patch, +files/iputils-20060512-gcc4.patch,
|
|
||||||
+files/iputils-20060512-kernel-ifaddr.patch,
|
|
||||||
+files/iputils-20060512-linux-headers.patch,
|
|
||||||
+files/iputils-20060512-makefile.patch, +iputils-20060512.ebuild:
|
|
||||||
Version bump.
|
|
||||||
|
|
||||||
20 Aug 2006; Mike Frysinger <vapier@gentoo.org>
|
|
||||||
+files/iputils-021109-ipv6-updates.patch, iputils-021109-r3.ebuild:
|
|
||||||
Handle ipv6 define updates in newer kernels #134751 by Mekong.
|
|
||||||
|
|
||||||
08 Jun 2006; Mike Frysinger <vapier@gentoo.org>
|
|
||||||
+files/iputils-021109-gcc4.patch, iputils-021109-r3.ebuild:
|
|
||||||
Fixup a lot of incorrect type use.
|
|
||||||
|
|
||||||
06 May 2006; Mike Frysinger <vapier@gentoo.org> iputils-021109-r3.ebuild:
|
|
||||||
Generate a ping6.8 symlink to ping.8 as pointed out by Matej Stepanek #132010.
|
|
||||||
|
|
||||||
29 May 2005; <solar@gentoo.org> iputils-021109-r3.ebuild:
|
|
||||||
echangelog - update package to use libc expanded variable elibc_uclibc vs
|
|
||||||
uclibc so USE=-* works
|
|
||||||
|
|
||||||
02 May 2005; Mike Frysinger <vapier@gentoo.org>
|
|
||||||
+files/iputils-021109-bindnow.patch, -files/021109-gcc34.patch,
|
|
||||||
+files/iputils-021109-gcc34.patch, iputils-021109-r3.ebuild:
|
|
||||||
Update the gcc-inline patch by Dave Stahl #80969 and fix lazy bindings for
|
|
||||||
setuid apps #77526.
|
|
||||||
|
|
||||||
18 Jan 2005; Mike Frysinger <vapier@gentoo.org>
|
|
||||||
-files/iputils-021109-pfkey.patch, iputils-021109-r3.ebuild:
|
|
||||||
Punt setkey since ipsec-tools exists now to handle it #78588.
|
|
||||||
|
|
||||||
03 Jan 2005; Mike Frysinger <vapier@gentoo.org> iputils-021109-r3.ebuild:
|
|
||||||
Restore USE=doc with an extra check in case we're in the middle of a
|
|
||||||
bootstrap #23156.
|
|
||||||
|
|
||||||
03 Jan 2005; Mike Frysinger <vapier@gentoo.org> iputils-021109-r3.ebuild:
|
|
||||||
Make sure linux/ipsec.h is usuable before building ipsec stuff #67569.
|
|
||||||
|
|
||||||
03 Jan 2005; Mike Frysinger <vapier@gentoo.org>
|
|
||||||
+files/021109-ipg-linux-2.6.patch, iputils-021109-r3.ebuild:
|
|
||||||
Add support to ipg for newer kernels #71756 by Christoph M.
|
|
||||||
|
|
||||||
06 Oct 2004; Travis Tilley <lv@gentoo.org>
|
|
||||||
+files/iputils-021109-linux-udp-header.patch, iputils-021109-r3.ebuild:
|
|
||||||
fix compiling iputils using newer glibc snapshots
|
|
||||||
|
|
||||||
04 Aug 2004; Jon Portnoy <avenj@gentoo.org> iputils-021109-r3.ebuild :
|
|
||||||
Fix bison sed line. Bugs 59414 and 59191.
|
|
||||||
|
|
||||||
01 Jul 2004; Jon Hood <squinky86@gentoo.org> iputils-020927.ebuild,
|
|
||||||
iputils-021109-r3.ebuild:
|
|
||||||
virtual/glibc -> virtual/libc
|
|
||||||
|
|
||||||
28 Jun 2004; Brandon Hale <tseng@gentoo.org> iputils-021109-r3.ebuild:
|
|
||||||
Stable on x86.
|
|
||||||
|
|
||||||
15 Jun 2004; <solar@gentoo.org> iputils-021109-r3.ebuild,
|
|
||||||
files/iputils-20020927-no-ether_ntohost.patch:
|
|
||||||
added patch to allow iputils to compile with uclibc
|
|
||||||
|
|
||||||
14 Jun 2004; Aron Griffis <agriffis@gentoo.org> iputils-020927.ebuild:
|
|
||||||
Fix use invocation
|
|
||||||
|
|
||||||
*iputils-021109-r3 (24 Apr 2004)
|
|
||||||
|
|
||||||
24 Apr 2004; Mike Frysinger <vapier@gentoo.org> :
|
|
||||||
Remove racoon since (1) net-firewall/ipsec-tools installs this and
|
|
||||||
(2) the packaged racoon has a nice remote DoS #48847.
|
|
||||||
|
|
||||||
*iputils-021109-r2 (07 Apr 2004)
|
|
||||||
|
|
||||||
09 Apr 2004; Travis Tilley <lv@gentoo.org> iputils-021109-r1.ebuild:
|
|
||||||
marked stable on amd64
|
|
||||||
|
|
||||||
08 Apr 2004; Joshua Kinard <kumba@gentoo.org> iputils-020927.ebuild:
|
|
||||||
Typo fix
|
|
||||||
|
|
||||||
07 Apr 2004; Mike Frysinger <vapier@gentoo.org> :
|
|
||||||
Clean up src_unpack and src_compile steps and add flex/openssl to DEPEND #38774.
|
|
||||||
|
|
||||||
23 Mar 2004; Daniel Ahlberg <aliz@gentoo.org> iputils-021109-r1.ebuild:
|
|
||||||
Closing #44555.
|
|
||||||
|
|
||||||
01 Mar 2004; Tom Gall <tgall@gentoo.org> iputils-021109-r1.ebuild:
|
|
||||||
make sure ppc64 has yacc dependancy
|
|
||||||
|
|
||||||
16 Jan 2004; Bartosch Pixa <darkspecter@gentoo.org> :
|
|
||||||
set ppc in keywords
|
|
||||||
|
|
||||||
13 Jan 2004; Ned Ludd <solar@gentoo.org> iputils-021109-r1.ebuild:
|
|
||||||
Make ipv6 traceroute6, tracepath6 and ping6 made optional based on
|
|
||||||
ipv6 use flag. Prepare for x86 stable in the next day to two for
|
|
||||||
GRP release.
|
|
||||||
|
|
||||||
*iputils-021109-r1 (13 Jan 2004)
|
|
||||||
|
|
||||||
12 Jan 2004; Luca Barbato <lu_zero@gentoo.org> iputils-021109.ebuild:
|
|
||||||
Marked ppc to match the linux-headers changes
|
|
||||||
|
|
||||||
08 Jan 2004; <plasmaroo@gentoo.org> iputils-021109.ebuild:
|
|
||||||
Added 2.6 support; this now installs setkey and racoon if you have 2.6
|
|
||||||
headers.
|
|
||||||
|
|
||||||
*iputils-021109 (16 Nov 2003)
|
|
||||||
|
|
||||||
16 Nov 2003; Joshua Kinard <kumba@gentoo.org> iputils-021109.ebuild:
|
|
||||||
Version bump to a package that appears to be beta. It builds against 2.4.22+
|
|
||||||
linux-headers, however, so worth testing.
|
|
||||||
|
|
||||||
*iputils-020927 (03 Jan 2003)
|
|
||||||
|
|
||||||
21 Sep 2003; Mike Frysinger <vapier@gentoo.org> :
|
|
||||||
Add static support #29202.
|
|
||||||
|
|
||||||
12 Aug 2003; Jason Wever <weeve@gentoo.org> iputils-020927.ebuild:
|
|
||||||
Changed ~sparc keyword to sparc.
|
|
||||||
|
|
||||||
07 Jul 2003; Jan Seidel <tuxus@gentoo.org> iputils-020927.ebuild:
|
|
||||||
Mark stable on mips
|
|
||||||
|
|
||||||
01 Jul 2003; Luca Barbato <lu_zero@gentoo.org> iputils-020927.ebuild:
|
|
||||||
Mark stable on ppc
|
|
||||||
|
|
||||||
24 Jun 2003; Aron Griffis <agriffis@gentoo.org> iputils-020927.ebuild:
|
|
||||||
Mark stable on alpha
|
|
||||||
|
|
||||||
20 Jun 2003; Jon Portnoy <avenj@gentoo.org> iputils-020927.ebuild :
|
|
||||||
Temporarily yanked out all of the USE="doc" stuff until a more
|
|
||||||
permanent fix can be implemented. Was breaking emerge system for
|
|
||||||
users with doc in USE.
|
|
||||||
|
|
||||||
06 Apr 2003; Guy Martin <gmsoft@gentoo.org> iputils-020927.ebuild :
|
|
||||||
Marked stable on hppa. Changed depend sys-kernel/linux-headers to virtual/os-headers.
|
|
||||||
|
|
||||||
24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> iputils-020927.ebuild :
|
|
||||||
Added testing mips keyword to the ebuild.
|
|
||||||
|
|
||||||
03 Jan 2003; Daniel Ahlberg <aliz@gentoo.org> iputils-020927.ebuild :
|
|
||||||
Version bump, found by Torgeir Hansen <torgeir@trenger.ro> in #13052.
|
|
||||||
Made use of "doc" use variable to decide whetever to depend on openjade to
|
|
||||||
compile and install documentation.
|
|
||||||
|
|
||||||
03 Jan 2003; Daniel Ahlberg <aliz@gentoo.org> iputils-020124-r1.ebuild :
|
|
||||||
Changed where the bins are installed. Also made ping and traceroute tools setuid.
|
|
||||||
Closes #10090.
|
|
||||||
|
|
||||||
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
|
|
||||||
|
|
||||||
*iputils-020124-r1 (16 Aug 2002)
|
|
||||||
|
|
||||||
06 Apr 2003; Guy Martin <gmsoft@gentoo.org> iputils-020124-r1.ebuild :
|
|
||||||
Changed depend sys-kernel/linux-headers to virtual/os-headers.
|
|
||||||
|
|
||||||
12 Feb 2003; Guy Martin <gmsoft@gentoo.org> iputils-020124-r1.ebuild :
|
|
||||||
Added hppa to keywords.
|
|
||||||
|
|
||||||
24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> iputils-020124-r1.ebuild :
|
|
||||||
Added stable mips keyword to the ebuild.
|
|
||||||
|
|
||||||
16 Aug 2002; Matthew Turk <satai@gentoo.org> ChangeLog:
|
|
||||||
|
|
||||||
Updated by enabling documentation; recent changes in DocBook ebuilds have
|
|
||||||
fixed the outstanding issues.
|
|
||||||
|
|
||||||
*iputils-020124 (16 Jul 2002)
|
|
||||||
|
|
||||||
24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> iputils-020124.ebuild :
|
|
||||||
Added stable mips keyword to the ebuild.
|
|
||||||
|
|
||||||
16 Jul 2002; Grant Goodyear <g2boojum@gentoo.org> ChangeLog :
|
|
||||||
|
|
||||||
new package
|
|
@ -1,33 +1,4 @@
|
|||||||
AUX 021109-uclibc-no-ether_ntohost.patch 635 SHA256 cf8135fd380918890a1da8de438d5283111f1e9ea0754b4f5c78bb703fcf617b SHA512 29ccbbf19bd40e9c929af403227f49586a4cb79d7ef948710b34b0813d116017530ef1bf0082b093b4179edff1daa275906cfb9a565f61dd5bed10f24b66fd38 WHIRLPOOL e5390a41b0764d78cda651dd6fff2ebd4f206dc6f5b34da370c19cee7d44f373035fc1efa2bf90924b5a06ca48f344f80a2c902abe04eb588d01e0a9d59bf79d
|
DIST iputils-20210202.tar.gz 513055 BLAKE2B 37f3c10ff3918d40fe2eae1e4b19ed711b97c30cd2d682e42f484a11a28ab7c93975a51fbb7a8b1c1d725fc9051ae773bc2e81b9d80a2dd0e6ff55867d54875d SHA512 af600fe74e1b78c0da66c378f55eb468d62206aaae1864693f7ec79833c9c0de95843573d1792627695f08ecfcdb4e79c354065daf178d393fcc6ef9a8a5d526
|
||||||
AUX iputils-20071127-nonroot-floodping.patch 497 SHA256 f0c7c2d4843873da96f795fb766a65ed39b6d8ab74ae4aa5a47444c9a3db0e52 SHA512 96ea32977cdb2e3c98341b75214a35e88296600d14bc929f7691951325be8e90e8ff6ccf83fb2419db3c910a8169fb2a4348000fab33679039ec5cf2d07a3ee8 WHIRLPOOL 1f880978cf70188d0d59e79396f8c5962655c00cbf7f7c7adb800316dea1b6748ddbc788681c9831edf0fbb1153e85b5ca35e0e3c131b0a5b4884fa511119c0c
|
DIST iputils-20210722.tar.gz 530745 BLAKE2B 4d6a2afaea1027e7992d374bbaa300f952f56225c998ecc6c3d332fef046dd8032e5afaff1cdc916d048f9d84cc8a85736a26a3176e66e111e02c9dbfcb0f195 SHA512 8f85bf468f8ef1e2832e9bbf9009552df4a6d723dd130fa0d5b2aa3bae617c972f936143c2370c3b4ce2ba2499828c91a299ee42cf81fa81aabe10552db2b328
|
||||||
AUX iputils-20100418-so_mark.patch 597 SHA256 3c0c3e93d3b458a02f856be3681c2dd5bfb18933e4752e90dc277cdd353b3576 SHA512 453ef3f8c53e2c2cef54f19219b892e51a83a6109f73a4f10712aec729509f02e6b830ab7ca85843a70f3d9c9860f084b256290f638741d573a5205ba89fe469 WHIRLPOOL 502e9ee110555644fd7d19d64afba3d2777844faca6fe0111b4b7356e3262c011b8de13475db1e70dff9225e3883d7e3e27d1f96f240a80d4c5c9ab0a29c9560
|
DIST iputils-manpages-20210202.tar.xz 19204 BLAKE2B b9d43962890ae5fe9e4c21fb23c8911c22cbfb35a28521a2f0611d7813e4c21979f6b309569cdb57dd9b3a30653278982194ca08a815cfb41566a379930d124b SHA512 d5cced9a5e4acffbe35d20a796d038336d06f512c3ee47bc6e37782b4645d5c35b16e18aaae298547b60fe644e5608efe7847f2de6175bfcd39128d230ee4cd1
|
||||||
AUX iputils-20121221-crypto-build.patch 1325 SHA256 cafc281c70d46f2964489b4c19c981bcf203b4c6266d4f49437c3fe67e2027b2 SHA512 922daa01f00c19f8237515b2d3ab73b87daa957cfc491382def2ce1c098ffed943ad4952c94134f3155570f64353abf5348523ea773ce7eb457578f975cc92d2 WHIRLPOOL a39c7dbb9b37849cc3560dc1f814a8c18a9ff9b55e19c3587a7c49286d55323f96d42d33c6f2723d3868506c252272e1d2d6bc3370eb935b479c89514f03c9c5
|
DIST iputils-manpages-20210722.tar.xz 19208 BLAKE2B 7d6b126debeee2a4e5437b7d26a9fee5c759ae72fa9b7acb1a04bb673f14af742f5580aad6ae1c34048933d95d09c4adcf024fabdc20851297131877cbfa10d0 SHA512 c1521e76f5b8cb99d7226ca1bd916b1861b6c0f9655ad0e396dd8d997be6cdc37ee0e81ac325ea4ebb3b349b394e7f1c45081ddc25b778fd294928a7b2dc0415
|
||||||
AUX iputils-20121221-makefile.patch 1791 SHA256 779632822e3440f3b898a50955cb8fb72177f0d1623c9da7c0a8afa68313435f SHA512 5899942b73d4d13e0ff85f22a81e9107b2a04c82cac6b59559a521c5d0bf25007e34b61b2dfdb40c21b221a108f6ba72c1a51fa59359a400ad045c9394c176db WHIRLPOOL c0c13046265ad44d23bde66cf48f64803591b4577861fde0ad7873001cbd9284c8593ce277a39d077b5bab635d0f8aa53ad124ea724bbc4584db36570028f90f
|
|
||||||
AUX iputils-20121221-openssl.patch 2378 SHA256 cc1af5ccdd593b4fa43273cf7de8b9552f0a5d33a72a35fcc4f94cf2c6fc9a44 SHA512 05240c00d0a1f9f878a9826d54cbd0128c2ed5ce7cab4685907956156c3cf2131ccd563812b64490bf915a75f52851396966a590027fc4c1886b2d19f421718b WHIRLPOOL 66052233f933cf30fe1572578012faa380f53580307e880e9a94c001ea14e585b3e28693c8e3883ee6350bb6af04a6931732ebaa284c4e3851b64081e042d081
|
|
||||||
AUX iputils-20121221-owl-pingsock.diff 6374 SHA256 915e18ee5a03f5636b408ff34a5576ad8899a3d93d5fe8182984c3565bd94375 SHA512 2f2577230d8bc864adc562c4c5bf33cde3bbabfde633406165b2b61df4e13e2dba74c8561f70d88c3932fc49a41a0276533b715ade208c8608348e4d065c8395 WHIRLPOOL 205179fa205e8bd88a9077cf628ec1a060189ee01d55c45dbe754f3bc36a496531cb9eab120507eff5d72140c934a7480d6a015fa6020f7dcecdfbc6ef590443
|
|
||||||
AUX iputils-20121221-parallel-doc.patch 2042 SHA256 151aed9018976387d4001050b41ad5e28630a6e8ab88a0f8501ceb5c9424620e SHA512 cc3a0416c1380d4b799412769270f8fa522a8f931706b318f33add4b02b82e76b177ae6c976408405a83a6c84036f918a41cb3008ee17bf39ea30e8d1f5dc46d WHIRLPOOL adf1b6f7351dd3a255403529268b0c805198905123d6663ef860c72c6bf848029158419b701be39ce144f575de76b76140836ae30259aef2662df9e1c2a57659
|
|
||||||
AUX iputils-20121221-printf-size.patch 1671 SHA256 a1ed939d0e008bca06208ae34e3f17a0ddc66b50f1679f82a630b52cdfbd111a SHA512 ff5491ad5a0396bee41fcbfc1384699d396c24da093bd2209dead67f52efcec462dbfb4a43008083742d0139da7bd52e922499b5f7eae028384c74930453dd33 WHIRLPOOL 8582495e9c58a01c3aafe6d0c968df910e672af20d420980ba7503800ad75e308c62cd53f86b5aaa8ef9d232ee7a0a4ea7bb3d9cd9735045ae0f6a21f8e419ee
|
|
||||||
AUX iputils-20121221-strtod.patch 1133 SHA256 461a883439a09854b483bce02187aa78eb16cb88364a834257d52f00ca4941cc SHA512 2e4dc1bdc8192c7c028bacb7f82fc13de2529f1dfdba71bbb05f04b468a609b343f8e1798bf991a1326d03a701428256960b2c0b7601bc84b50076b64c5ee946 WHIRLPOOL c781f7cab0d0910a48f91eb24647c0fda29b986ed11d35b1f275fb9cc6c1c2e53c0ea062668fed2d560a6bac751d7fa7f50b907324a79bbe560cffc65078833a
|
|
||||||
AUX iputils-20121221-tftpd-setid.patch 815 SHA256 8b1351b43b69a9147b93a0744e57d2634c1fd2abf99856a7447d633bde9cbce4 SHA512 55f7fe0d7312429dd1ec3a9232a4e6436b1115b1b555d5af52f5ee04fe54fdf782dbb018d0dbae1c2e38913057bfa42261a2e57d90c0063b8259029adfa08123 WHIRLPOOL df55138a63fb1b1998e5957eb33f8dfd008dbf9d0701f89dc1bb56a9841b4b9e66ec8d76b83652409655e9b4a953f858eec005fe19463283437a2e477f4ac448
|
|
||||||
AUX iputils-20121221-tftpd-syslog.patch 1075 SHA256 8502f11dd440a9df42da52e3426fa93aa4e4d879093be723601a4adf52c62d2b SHA512 43fa506475f138e92d04bd6a4417511caa3ed1636f6dea5d3930b6dca164a809338ab1f24b4bf084581ff849189a8240929182fa24897e252994851a6aae5188 WHIRLPOOL b32d3eeb0dd48012e8e5ed6ad14d603c1280e7203ce5ba6f465bfc005bb44b5fcac23eced9a6b7353966749541ab75380b347c98e46805e3e542562474f024df
|
|
||||||
AUX iputils-20150815-defines_and_libs.patch 977 SHA256 276fa94c93839d97de60239d381b7904c2f18f8c9453534d1871c5c88049c35c SHA512 e9f7c2a3f1956d3d0c800bba05873b81f77c4271c7ba72bc8268672bd35c32f5bb72dac85341c816698cfb247da99c597adda045296642fe070077863ff8e6f5 WHIRLPOOL 4f9f9a8b1ff5e2a2fae3e0e2ecb8a2b7a72626488dd399f46556bfdfbc19aa3cfb002d58f6955cb5395a0cc3ba10ef5c3d021bff7a5139fc0496653baa5fc67c
|
|
||||||
AUX iputils-20150815-handle_single_protocol_system.patch 2513 SHA256 a230b16fbf35a85f07587b3a6a1da86f69fec1ef39f97486fd7a2bfc62cbefd4 SHA512 ee69c4bb933871a9884ca6d6aa9b84216a20f509b92f7378466f82288b5a2cf9505a63d6ca576e501b9f98079b26ac1d9f87f22d9f52d96100bd6661dc0c004b WHIRLPOOL 2f6f3e76dff78fc325e39ce38cc24b5bd373c28182417ed4ec277f104f99a676c1b8e2de09dcde889d9e9f589b4b0028eb1cde4e5528c5314107873af893edf7
|
|
||||||
AUX iputils-20150815-nonroot-floodping.patch 406 SHA256 0a2409e1dd040620adc88720f1bb3955d2121762dc600865167332f9b90f3f57 SHA512 4f63d788d4aeccd66c410b6cc3352934a9b7d9b1222dedbcd7688c2b884b620a308b44e2dc777421cef20365a6ae371d59ad349f76bc5fcc751f90169a8f0d34 WHIRLPOOL 56d86953105832e589e2b75ea6a806c09ae21d8b9f82e6734cd0b5522b7dfb0291c6f65fdd4baffa120281dc176dd6a5d0bf6f730bd35147a6e654feb02eb5cf
|
|
||||||
AUX iputils-99999999-openssl.patch 2532 SHA256 0ffcce81badea00e84bdaf49929bc657ab574e98824a65ea3cd9015421372644 SHA512 2f782d93466d2db7d01295c7ec7c24fdb529e28f76c703c112d5dc8b4600402a68d4caf3c1df4f8879149e6fa52bb208dd14879cb01741544ccd49552e017afb WHIRLPOOL f51c56cbf23076f3db504a008e1eb732c9f961c86f815af57dfde96627fd2f15cc9fccae26481bb39a4365d3333e9080984f46bbd9370b9cfbfaf52625b5dfe3
|
|
||||||
AUX iputils-99999999-tftpd-syslog.patch 1075 SHA256 8502f11dd440a9df42da52e3426fa93aa4e4d879093be723601a4adf52c62d2b SHA512 43fa506475f138e92d04bd6a4417511caa3ed1636f6dea5d3930b6dca164a809338ab1f24b4bf084581ff849189a8240929182fa24897e252994851a6aae5188 WHIRLPOOL b32d3eeb0dd48012e8e5ed6ad14d603c1280e7203ce5ba6f465bfc005bb44b5fcac23eced9a6b7353966749541ab75380b347c98e46805e3e542562474f024df
|
|
||||||
AUX rarpd.conf.d 250 SHA256 86e79f5a4be44f8b15a8743b4b3128f2bcc40a553f81ebfd902c590f82d12a60 SHA512 8ff4c38b4f51f92ec6d66a446272e0cd9d958c3075162c5a4aa47eb54bb69f27045b888f8a547394ab3de51bdb69f14b8df528785a8c967fa33ab0c4db329338 WHIRLPOOL bf9e8b6d15dfaa4e76e0af91781cfa675b6db547e9293ea67f0ced50ed2e7ccd880bcbdffac12a197f85f1d643148cb806a10ce9d586c89be1f26248c1fc6aaf
|
|
||||||
AUX rarpd.init.d 590 SHA256 a2ba31119ad6b5ea5cd8932a28aeac6621979cc001f00cfeed2900d5a3087799 SHA512 16d9276aa0f7c5fc808123d4344e9884a436c0cb7cfab74c283cdccb6312ad3403e83a1691da75671515511cfab5f1d4063fa5adc4c071034d240e3be5b11666 WHIRLPOOL c3b38a2bb65ebbb001cef510b6ecba9b9ed2147e95aacd4dd5fb51a626a6437bc7462729140c89e37f131ae4005638e557ef38abc355e9ca01c884633e73f2d3
|
|
||||||
DIST iputils-20160308.tar.gz 195348 SHA256 803d11b14af1bd3852c83111cc29e904bc3ca936c093dbb419d0671d3c9d964b SHA512 6b4d6e58ab8f1218f3ab52da695f252bd3e0004ffce755f2378b44fc3b4fbf9beb9beef51ff12f14348a07f6fe8525e64dba7f5d7b70997423d2c98c5ff7dde2 WHIRLPOOL 8a5691fdb70c6a9741adfc09206a4fac041616c6e81e9ef918435fed09c6085a35592eb72055dfbe2a237ab8ed1a018aa824968ff15ad842b923e28743f5cdbf
|
|
||||||
DIST iputils-s20121221-manpages.tar.bz2 23778 SHA256 6fc7ed7d281b7a2ee00e4f75e5465c90498c685bcc988afdff74db4eaa736d1c SHA512 006be62e61bf1555c99dbd5aac270cbd8d1074a3016fdde3aeed47e5c9b1acd326aa30a596c532d6688827f7f61966a6e3141eaa3b6f4f943eb21ac227282d8c WHIRLPOOL da0ccb577c4b2189553419df2c093404752fb2865eb3e0bfececfc242d930ceb44f96b32d945cfdd0c9ca060359651b2ec8479db5cc9220cda412dfeee5e910d
|
|
||||||
DIST iputils-s20121221.tar.bz2 155344 SHA256 450f549fc5b620c23c5929aa6d54b7ddfc7ee1cb1e8efdc5e8bb21d8d0c5319f SHA512 693d240becd766c345c3af2053fc0699b9358e54d667d40738c21d731b70e779112d81476a220d8300ca54250120385414a13610d445996f95a90571047389f4 WHIRLPOOL 64529180eb4b8e2f7a60c18df7cac49e10a4b7702514252d418b16dcdc10a85ccb0a7f8beb51274cc9d708be2026c4c136e720986795fd39d314e4f9d5590ec9
|
|
||||||
DIST iputils-s20151218-manpages.tar.xz 22336 SHA256 ae60dcf7a5a83d02008c03888935fd2dcff56c9f86734d4656b6284a7631a28d SHA512 964b9e22b18b67215ea48e046c45768cd86076b53db2131b00ac721be9e7de4edadefb74855d81861f12b4e10dcecd90d29f0098c2c4568d7601d97e756be0a3 WHIRLPOOL 82e3c9930861ed2df00c3b40488212dc36d5d65d62e1e7245d778ff77c6660a93bdd1dd8931cdddba4a631a9321741c0c2246d0cf48b22fc562ee7a066ac75fd
|
|
||||||
DIST iputils-s20151218.tar.bz2 157187 SHA256 549f58d71951e52b46595829134d4e330642f522f50026917fadc349a54825a1 SHA512 4bf0eed0ae5603e872afb0e09be039df3822a7723e8cbb8cbe578d69d8c457ffac9bdbe2eb17b32c95968e5e4ad6204af955617482c5701671f0f476b560b65c WHIRLPOOL e5b1d89eeaf64c2be97217eff37ef9aea33f69925683067c5366eb8db30a0b8cd8e96c2c18eedb573c965a6508efcb9e67effa66da1ad8bd606a1c1ffff9adf7
|
|
||||||
DIST iputils-s20160308-manpages.tar.xz 22684 SHA256 e21ef842d2eb4fa21f64cb872101bc9f979d24127fb680247d4a95ffc94a3958 SHA512 fe55ee334f1a99c6d93f4d18d97666d307676ced77175b73139f888af8f4f0ddc0f1d0511ab71d234f57909def606bf5c3aede2db28a0f73eb5628b9c8e16cac WHIRLPOOL 2675551b615efdf54a77bcb1dbe22c89b1ae5cd783c7bf33c703b81f54239096c1a7e13e7c8d6abd8b4ed5b0cbbd6f3b59d4102279c8cfb6f0a0bf6e070aab93
|
|
||||||
EBUILD iputils-20121221-r1.ebuild 2823 SHA256 18221323f1267a0fb814e01726a19beb0a80d22b00d2f0a705beb1d3f34091b8 SHA512 9e02c7d71f597db483a59dd54432b90042d71a45a8bb6d8963e86d23a15e2f866815bea546b7a9b6b1e69064bdbb43876e0c20c1f781668605fb56b9c67636e5 WHIRLPOOL 2b265e7a769d856fe276d0594f5e63443302a41cf7704f625eaa8f83c8e6d7253264ef83deddbed06d50b2680a7af24ca1d57de67f24c5ad1c78c6afc7267761
|
|
||||||
EBUILD iputils-20121221-r2.ebuild 4067 SHA256 270b45588a0b939dee1a2aa146e1834a8eab45433fac46b7e4b18cd520001cb2 SHA512 82af64e45ba1fab047bfa52c1f19a699951fe5f93db50c7a9f6a41dbd71c1526137ebaacd202b11692cc99ca31134503ebb9e962cbb51b158218080110149071 WHIRLPOOL d18f718aa5237d2a4e1dae304fe9541aa948f4dd3fdb988fbf89ce30cff6d4d64766b87d5ff8ad7c06728f244b0972bffebb4d6c10c6b570753b146b7de13c55
|
|
||||||
EBUILD iputils-20151218.ebuild 3993 SHA256 18fad93a6d12a11df41c61c738677d25d04b9f74fa4392f2f51db9f91d55ab1a SHA512 976d5835e5fd9ca201128e915331672282e6d5a9c45307a113d7fb036fdfc060382ab1e7c1bbeeb474f5d8b45823bf654a7aacb9231f00d3540b4a153a83c38e WHIRLPOOL 5748989ba51c72445632438b55537cb18967c4fe855e431403b31d1f981833529d523f3b4baa726f3e40c6d9f177d03e2d2eeb255aad5309505d9ce0a3ea0a7d
|
|
||||||
EBUILD iputils-20160308.ebuild 3852 SHA256 d85490324b8d12233c062fbb926a1469687e78c71d712fbc3518d5cb40d06953 SHA512 6f244550fa0b14b79dcb5f3f693992c5d6510d896af5463b45eeb36d895bf3a442fb98ada689064b0b4514c87a36c67db906ab848782d1355d5817a5600095ce WHIRLPOOL 8df2bb278d27f029255632c01d4db3ebf7cf4779999f65cf7bec4aafef64bf0b7eb0cd470968329093fa3a020f1060be43e376998bab3222ca49f50871dfe7dc
|
|
||||||
EBUILD iputils-99999999.ebuild 4006 SHA256 11b07766edf2c9745600c590794994842682d85aa72cef4f09bd78ac2cbe0c47 SHA512 8d1e0e75bc7ac4b6dd0c68e0aaf0f3b80fade0068835d99983d6b86eaa3a5cdcb6f375fdd40a8b46a743ba17cb3fbdab4fe41fc9012be835cd4725fd866ac8b9 WHIRLPOOL dabaa8eed0ab6cf5f6602276802be696baf454ad54c876c45f8c04588c20ab7864dba6175deef183ab332988aefb98789a4499ccefc2175cf21ed767c2da7095
|
|
||||||
MISC ChangeLog 7970 SHA256 ae430beba5edda8b26eccf28d06db18b663df3a9d154586d170b88153af74fb6 SHA512 f03c05f477c04c8516431f7215f950a7cff4b7f5d8665a405e520572f962906917bc568b3a654213e85ddafdb5ece101df219cd8d332f7974758293f91fb3e73 WHIRLPOOL 9cb29fe2fb3efa03539a9a2368e91ac545d15ba98f919d67b7600edca985ad14b9f5af88f740560317374e470845328241b134d3b4096ae23d8d13d7e8ef2ecb
|
|
||||||
MISC ChangeLog-2015 22418 SHA256 9558c8a0c5143189ef51deae9371d71bd200f5f08a8aff2de94786c42a06b400 SHA512 01a5bbc5d9f4cadd403c4a455d029792278e23c5d78c830fcc685e5706bc19ec240e3807e48da80d0ed84e103e7ddf465f7b9500af42b31bd6fb8d22465e76cb WHIRLPOOL 3aa152858f0cca507036021355ce50823635655e932d51c3f4e7915b1239385931f07385d19a0e04e6795b628f356cdf8a7e6b39b20280c9de7eaf7e4cf6fade
|
|
||||||
MISC metadata.xml 1698 SHA256 f42c67ff65e69eecd35829e42ad6f7ecddc6a92c79996557146f1c2099eaedf4 SHA512 f1d211dbe4212072614039c5aea1996270560a24dfa3734af86c4f1f4254cc3abf8440c03d8894b925b71b970e70fb60e79682753655a68b82203cdc401f6ebc WHIRLPOOL 745fa143c468727485be53de43f4748f170588a9d2f36a2d5aff4681c1e1a484866b7e59e91db724fb5948d383f61ff232791966fe112bd6a2e34d4d671d521e
|
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
--- iputils/rarpd.c.mps 2004-06-10 15:27:01.000000000 +0200
|
|
||||||
+++ iputils/rarpd.c 2004-06-10 15:26:29.000000000 +0200
|
|
||||||
@@ -42,7 +42,9 @@ int listen_arp;
|
|
||||||
char *ifname;
|
|
||||||
char *tftp_dir = "/etc/tftpboot";
|
|
||||||
|
|
||||||
+#ifndef __UCLIBC__
|
|
||||||
extern int ether_ntohost(char *name, unsigned char *ea);
|
|
||||||
+#endif
|
|
||||||
void usage(void) __attribute__((noreturn));
|
|
||||||
|
|
||||||
struct iflink
|
|
||||||
@@ -305,7 +307,11 @@ struct rarp_map *rarp_lookup(int ifindex
|
|
||||||
6,
|
|
||||||
};
|
|
||||||
|
|
||||||
+#ifndef __UCLIBC__
|
|
||||||
if (ether_ntohost(ename, lladdr) != 0 ||
|
|
||||||
+#else
|
|
||||||
+ if (
|
|
||||||
+#endif
|
|
||||||
(hp = gethostbyname(ename)) == NULL) {
|
|
||||||
if (verbose)
|
|
||||||
syslog(LOG_INFO, "not found in /etc/ethers");
|
|
@ -1,11 +0,0 @@
|
|||||||
--- iputils-s20071127/ping_common.h.orig 2008-06-10 11:16:06.000000000 +0100
|
|
||||||
+++ iputils-s20071127/ping_common.h 2008-06-10 11:16:18.000000000 +0100
|
|
||||||
@@ -28,7 +28,7 @@
|
|
||||||
|
|
||||||
#define MAXWAIT 10 /* max seconds to wait for response */
|
|
||||||
#define MININTERVAL 10 /* Minimal interpacket gap */
|
|
||||||
-#define MINUSERINTERVAL 200 /* Minimal allowed interval for non-root */
|
|
||||||
+#define MINUSERINTERVAL 0 /* Minimal allowed interval for non-root */
|
|
||||||
|
|
||||||
#define SCHINT(a) (((a) <= MININTERVAL) ? MININTERVAL : (a))
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
|||||||
https://bugs.gentoo.org/335347
|
|
||||||
|
|
||||||
fix building with older linux headers that don't define SO_MARK
|
|
||||||
|
|
||||||
--- ping_common.c
|
|
||||||
+++ ping_common.c
|
|
||||||
@@ -485,6 +485,7 @@
|
|
||||||
fprintf(stderr, "Warning: no SO_TIMESTAMP support, falling back to SIOCGSTAMP\n");
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
+#ifdef SO_MARK
|
|
||||||
if (options & F_MARK) {
|
|
||||||
if (setsockopt(icmp_sock, SOL_SOCKET, SO_MARK,
|
|
||||||
&mark, sizeof(mark)) == -1) {
|
|
||||||
@@ -494,6 +495,7 @@
|
|
||||||
fprintf(stderr, "Warning: Failed to set mark %d\n", mark);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
/* Set some SNDTIMEO to prevent blocking forever
|
|
||||||
* on sends, when device is too slow or stalls. Just put limit
|
|
@ -1,35 +0,0 @@
|
|||||||
From 568e990d30fc7e9416e0a6f8c74ea5013921eaec Mon Sep 17 00:00:00 2001
|
|
||||||
From: Arjan van de Ven <arjanvandeven@gmail.com>
|
|
||||||
Date: Wed, 16 Jan 2013 03:12:15 +0900
|
|
||||||
Subject: [PATCH [iputils]] ping6: Fix build command line argument with gnutls.
|
|
||||||
|
|
||||||
The ping6 command can use either openssl or gnutls...
|
|
||||||
and the Makefile has a bunch of setup for defining which of the two to use.
|
|
||||||
|
|
||||||
Unfortunately, the final -D define on the commandline to enable gnutls
|
|
||||||
inside the ping6.c file didn't actually make it onto the gcc
|
|
||||||
commandline.
|
|
||||||
This patch adds the $(DEF_CRYPTO) Makefile variable to fix this gap.
|
|
||||||
|
|
||||||
Signed-off-by: Arjan van de Ven <arjanvandeven@gmail.com>
|
|
||||||
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
|
|
||||||
---
|
|
||||||
Makefile | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/Makefile b/Makefile
|
|
||||||
index c62d9df..89249f5 100644
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -149,7 +149,7 @@ LIB_clockdiff = $(LIB_CAP)
|
|
||||||
DEF_ping_common = $(DEF_CAP) $(DEF_IDN)
|
|
||||||
DEF_ping = $(DEF_CAP) $(DEF_IDN) $(DEF_WITHOUT_IFADDRS)
|
|
||||||
LIB_ping = $(LIB_CAP) $(LIB_IDN)
|
|
||||||
-DEF_ping6 = $(DEF_CAP) $(DEF_IDN) $(DEF_WITHOUT_IFADDRS) $(DEF_ENABLE_PING6_RTHDR)
|
|
||||||
+DEF_ping6 = $(DEF_CAP) $(DEF_IDN) $(DEF_WITHOUT_IFADDRS) $(DEF_ENABLE_PING6_RTHDR) $(DEF_CRYPTO)
|
|
||||||
LIB_ping6 = $(LIB_CAP) $(LIB_IDN) $(LIB_RESOLV) $(LIB_CRYPTO)
|
|
||||||
|
|
||||||
ping: ping_common.o
|
|
||||||
--
|
|
||||||
1.8.0.2
|
|
||||||
|
|
@ -1,61 +0,0 @@
|
|||||||
From c66609d2c830d6fe06f48f5d38c54eb5cc6f2975 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Mike Frysinger <vapier@gentoo.org>
|
|
||||||
Date: Thu, 24 Jan 2013 23:36:16 -0500
|
|
||||||
Subject: [PATCH [iputils]] fix handling of CFLAGS
|
|
||||||
|
|
||||||
This defaults CFLAGS to -O3 without clobbering settings people have set
|
|
||||||
up in the environment already.
|
|
||||||
|
|
||||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
||||||
---
|
|
||||||
Makefile | 13 +++++--------
|
|
||||||
1 file changed, 5 insertions(+), 8 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/Makefile b/Makefile
|
|
||||||
index 2c49940..ecabac3 100644
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -2,8 +2,6 @@
|
|
||||||
# Configuration
|
|
||||||
#
|
|
||||||
|
|
||||||
-# CC
|
|
||||||
-CC=gcc
|
|
||||||
# Path to parent kernel include files directory
|
|
||||||
LIBC_INCLUDE=/usr/include
|
|
||||||
# Libraries
|
|
||||||
@@ -48,11 +46,10 @@ ENABLE_RDISC_SERVER=no
|
|
||||||
|
|
||||||
# -------------------------------------
|
|
||||||
# What a pity, all new gccs are buggy and -Werror does not work. Sigh.
|
|
||||||
-# CCOPT=-fno-strict-aliasing -Wstrict-prototypes -Wall -Werror -g
|
|
||||||
-CCOPT=-fno-strict-aliasing -Wstrict-prototypes -Wall -g
|
|
||||||
-CCOPTOPT=-O3
|
|
||||||
-GLIBCFIX=-D_GNU_SOURCE
|
|
||||||
-DEFINES=
|
|
||||||
+# CFLAGS+=-fno-strict-aliasing -Wstrict-prototypes -Wall -Werror -g
|
|
||||||
+CFLAGS?=-O3 -g
|
|
||||||
+CFLAGS+=-fno-strict-aliasing -Wstrict-prototypes -Wall
|
|
||||||
+CPPFLAGS+=-D_GNU_SOURCE
|
|
||||||
LDLIB=
|
|
||||||
|
|
||||||
FUNC_LIB = $(if $(filter static,$(1)),$(LDFLAG_STATIC) $(2) $(LDFLAG_DYNAMIC),$(2))
|
|
||||||
@@ -113,7 +110,6 @@ IPV4_TARGETS=tracepath ping clockdiff rdisc arping tftpd rarpd
|
|
||||||
IPV6_TARGETS=tracepath6 traceroute6 ping6
|
|
||||||
TARGETS=$(IPV4_TARGETS) $(IPV6_TARGETS)
|
|
||||||
|
|
||||||
-CFLAGS=$(CCOPTOPT) $(CCOPT) $(GLIBCFIX) $(DEFINES)
|
|
||||||
LDLIBS=$(LDLIB) $(ADDLIB)
|
|
||||||
|
|
||||||
UNAME_N:=$(shell uname -n)
|
|
||||||
@@ -132,6 +128,7 @@ all: $(TARGETS)
|
|
||||||
$(COMPILE.c) $< $(DEF_$(patsubst %.o,%,$@)) -S -o $@
|
|
||||||
%.o: %.c
|
|
||||||
$(COMPILE.c) $< $(DEF_$(patsubst %.o,%,$@)) -o $@
|
|
||||||
+LINK.o += $(CFLAGS)
|
|
||||||
$(TARGETS): %: %.o
|
|
||||||
$(LINK.o) $^ $(LIB_$@) $(LDLIBS) -o $@
|
|
||||||
|
|
||||||
--
|
|
||||||
1.8.0.2
|
|
||||||
|
|
@ -1,92 +0,0 @@
|
|||||||
From b57d77dcfa5cb363b7eba5b331324669a8505ac4 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Mike Frysinger <vapier@gentoo.org>
|
|
||||||
Date: Thu, 24 Jan 2013 23:32:39 -0500
|
|
||||||
Subject: [PATCH [iputils]] ping6: allow disabling of openssl support
|
|
||||||
|
|
||||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
||||||
---
|
|
||||||
Makefile | 5 ++++-
|
|
||||||
ping6.c | 14 +++++++++++++-
|
|
||||||
2 files changed, 17 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/Makefile b/Makefile
|
|
||||||
index 89249f5..2c49940 100644
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -36,7 +36,7 @@ ARPING_DEFAULT_DEVICE=
|
|
||||||
|
|
||||||
# GNU TLS library for ping6 [yes|no|static]
|
|
||||||
USE_GNUTLS=yes
|
|
||||||
-# Crypto library for ping6 [shared|static]
|
|
||||||
+# Crypto library for ping6 [shared|static|no]
|
|
||||||
USE_CRYPTO=shared
|
|
||||||
# Resolv library for ping6 [yes|static]
|
|
||||||
USE_RESOLV=yes
|
|
||||||
@@ -63,7 +63,10 @@ ifneq ($(USE_GNUTLS),no)
|
|
||||||
LIB_CRYPTO = $(call FUNC_LIB,$(USE_GNUTLS),$(LDFLAG_GNUTLS))
|
|
||||||
DEF_CRYPTO = -DUSE_GNUTLS
|
|
||||||
else
|
|
||||||
+ifneq ($(USE_CRYPTO),no)
|
|
||||||
LIB_CRYPTO = $(call FUNC_LIB,$(USE_CRYPTO),$(LDFLAG_CRYPTO))
|
|
||||||
+ DEF_CRYPTO = -DUSE_OPENSSL
|
|
||||||
+endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
# USE_RESOLV: LIB_RESOLV
|
|
||||||
diff --git a/ping6.c b/ping6.c
|
|
||||||
index c39864d..f2f90af 100644
|
|
||||||
--- a/ping6.c
|
|
||||||
+++ b/ping6.c
|
|
||||||
@@ -168,8 +168,10 @@ static int icmp_sock;
|
|
||||||
|
|
||||||
#ifdef USE_GNUTLS
|
|
||||||
# include <gnutls/openssl.h>
|
|
||||||
-#else
|
|
||||||
+# define USE_CRYPTO
|
|
||||||
+#elif defined USE_OPENSSL
|
|
||||||
# include <openssl/md5.h>
|
|
||||||
+# define USE_CRYPTO
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Node Information query */
|
|
||||||
@@ -326,6 +328,7 @@ static void niquery_init_nonce(void)
|
|
||||||
#if !PING6_NONCE_MEMORY
|
|
||||||
static int niquery_nonce(__u8 *nonce, int fill)
|
|
||||||
{
|
|
||||||
+# ifdef USE_CRYPTO
|
|
||||||
static __u8 digest[MD5_DIGEST_LENGTH];
|
|
||||||
static int seq = -1;
|
|
||||||
|
|
||||||
@@ -348,6 +351,10 @@ static int niquery_nonce(__u8 *nonce, int fill)
|
|
||||||
return -1;
|
|
||||||
return ntohsp((__u16 *)nonce);
|
|
||||||
}
|
|
||||||
+# else
|
|
||||||
+ fprintf(stderr, "ping6: function not available; crypto disabled\n");
|
|
||||||
+ exit(3);
|
|
||||||
+# endif
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
@@ -502,6 +509,7 @@ static int niquery_option_subject_addr_handler(int index, const char *arg)
|
|
||||||
|
|
||||||
static int niquery_option_subject_name_handler(int index, const char *arg)
|
|
||||||
{
|
|
||||||
+#ifdef USE_CRYPTO
|
|
||||||
static char nigroup_buf[INET6_ADDRSTRLEN + 1 + IFNAMSIZ];
|
|
||||||
unsigned char *dnptrs[2], **dpp, **lastdnptr;
|
|
||||||
int n;
|
|
||||||
@@ -627,6 +635,10 @@ errexit:
|
|
||||||
free(idn);
|
|
||||||
free(name);
|
|
||||||
exit(1);
|
|
||||||
+#else
|
|
||||||
+ fprintf(stderr, "ping6: function not available; crypto disabled\n");
|
|
||||||
+ exit(3);
|
|
||||||
+#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
int niquery_option_help_handler(int index, const char *arg)
|
|
||||||
--
|
|
||||||
1.8.0.2
|
|
||||||
|
|
@ -1,224 +0,0 @@
|
|||||||
http://openwall.info/wiki/people/segoon/ping
|
|
||||||
|
|
||||||
--- iputils-s20101006/ping.c
|
|
||||||
+++ iputils-s20101006/ping.c
|
|
||||||
@@ -88,6 +88,7 @@ struct sockaddr_in whereto; /* who to pi
|
|
||||||
int optlen = 0;
|
|
||||||
int settos = 0; /* Set TOS, Precendence or other QOS options */
|
|
||||||
int icmp_sock; /* socket file descriptor */
|
|
||||||
+int using_ping_socket = 0;
|
|
||||||
u_char outpack[0x10000];
|
|
||||||
int maxpacket = sizeof(outpack);
|
|
||||||
|
|
||||||
@@ -123,7 +124,11 @@ main(int argc, char **argv)
|
|
||||||
char *target, hnamebuf[MAX_HOSTNAMELEN];
|
|
||||||
char rspace[3 + 4 * NROUTES + 1]; /* record route space */
|
|
||||||
|
|
||||||
- icmp_sock = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
|
|
||||||
+ icmp_sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_ICMP);
|
|
||||||
+ if (icmp_sock != -1)
|
|
||||||
+ using_ping_socket = 1;
|
|
||||||
+ else
|
|
||||||
+ icmp_sock = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
|
|
||||||
socket_errno = errno;
|
|
||||||
|
|
||||||
uid = getuid();
|
|
||||||
@@ -377,13 +382,35 @@ main(int argc, char **argv)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
- if ((options&F_STRICTSOURCE) &&
|
|
||||||
- bind(icmp_sock, (struct sockaddr*)&source, sizeof(source)) == -1) {
|
|
||||||
- perror("bind");
|
|
||||||
- exit(2);
|
|
||||||
+ if (!using_ping_socket) {
|
|
||||||
+ if ((options&F_STRICTSOURCE) &&
|
|
||||||
+ bind(icmp_sock, (struct sockaddr*)&source, sizeof(source)) == -1) {
|
|
||||||
+ perror("bind");
|
|
||||||
+ exit(2);
|
|
||||||
+ }
|
|
||||||
+ } else {
|
|
||||||
+ struct sockaddr_in sa;
|
|
||||||
+ socklen_t sl;
|
|
||||||
+
|
|
||||||
+ sa.sin_family = AF_INET;
|
|
||||||
+ sa.sin_port = 0;
|
|
||||||
+ sa.sin_addr.s_addr = (options&F_STRICTSOURCE) ?
|
|
||||||
+ source.sin_addr.s_addr : 0;
|
|
||||||
+ sl = sizeof(sa);
|
|
||||||
+
|
|
||||||
+ if (bind(icmp_sock, (struct sockaddr *) &sa, sl) == -1) {
|
|
||||||
+ perror("bind");
|
|
||||||
+ exit(2);
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ if (getsockname(icmp_sock, (struct sockaddr *) &sa, &sl) == -1) {
|
|
||||||
+ perror("getsockname");
|
|
||||||
+ exit(2);
|
|
||||||
+ }
|
|
||||||
+ ident = sa.sin_port;
|
|
||||||
}
|
|
||||||
|
|
||||||
- if (1) {
|
|
||||||
+ if (!using_ping_socket) {
|
|
||||||
struct icmp_filter filt;
|
|
||||||
filt.data = ~((1<<ICMP_SOURCE_QUENCH)|
|
|
||||||
(1<<ICMP_DEST_UNREACH)|
|
|
||||||
@@ -398,6 +425,12 @@ main(int argc, char **argv)
|
|
||||||
hold = 1;
|
|
||||||
if (setsockopt(icmp_sock, SOL_IP, IP_RECVERR, (char *)&hold, sizeof(hold)))
|
|
||||||
fprintf(stderr, "WARNING: your kernel is veeery old. No problems.\n");
|
|
||||||
+ if (using_ping_socket) {
|
|
||||||
+ if (setsockopt(icmp_sock, SOL_IP, IP_RECVTTL, (char *)&hold, sizeof(hold)))
|
|
||||||
+ perror("WARNING: setsockopt(IP_RECVTTL)");
|
|
||||||
+ if (setsockopt(icmp_sock, SOL_IP, IP_RETOPTS, (char *)&hold, sizeof(hold)))
|
|
||||||
+ perror("WARNING: setsockopt(IP_RETOPTS)");
|
|
||||||
+ }
|
|
||||||
|
|
||||||
/* record route option */
|
|
||||||
if (options & F_RROUTE) {
|
|
||||||
@@ -566,6 +599,7 @@ int receive_error_msg()
|
|
||||||
nerrors++;
|
|
||||||
} else if (e->ee_origin == SO_EE_ORIGIN_ICMP) {
|
|
||||||
struct sockaddr_in *sin = (struct sockaddr_in*)(e+1);
|
|
||||||
+ int error_pkt;
|
|
||||||
|
|
||||||
if (res < sizeof(icmph) ||
|
|
||||||
target.sin_addr.s_addr != whereto.sin_addr.s_addr ||
|
|
||||||
@@ -576,9 +610,18 @@ int receive_error_msg()
|
|
||||||
goto out;
|
|
||||||
}
|
|
||||||
|
|
||||||
- acknowledge(ntohs(icmph.un.echo.sequence));
|
|
||||||
+ error_pkt = (e->ee_type != ICMP_REDIRECT &&
|
|
||||||
+ e->ee_type != ICMP_SOURCE_QUENCH);
|
|
||||||
+ if (error_pkt) {
|
|
||||||
+ acknowledge(ntohs(icmph.un.echo.sequence));
|
|
||||||
+ net_errors++;
|
|
||||||
+ nerrors++;
|
|
||||||
+ }
|
|
||||||
+ else {
|
|
||||||
+ saved_errno = 0;
|
|
||||||
+ }
|
|
||||||
|
|
||||||
- if (!working_recverr) {
|
|
||||||
+ if (!using_ping_socket && !working_recverr) {
|
|
||||||
struct icmp_filter filt;
|
|
||||||
working_recverr = 1;
|
|
||||||
/* OK, it works. Add stronger filter. */
|
|
||||||
@@ -589,15 +632,14 @@ int receive_error_msg()
|
|
||||||
perror("\rWARNING: setsockopt(ICMP_FILTER)");
|
|
||||||
}
|
|
||||||
|
|
||||||
- net_errors++;
|
|
||||||
- nerrors++;
|
|
||||||
if (options & F_QUIET)
|
|
||||||
goto out;
|
|
||||||
if (options & F_FLOOD) {
|
|
||||||
- write_stdout("\bE", 2);
|
|
||||||
+ if (error_pkt)
|
|
||||||
+ write_stdout("\bE", 2);
|
|
||||||
} else {
|
|
||||||
print_timestamp();
|
|
||||||
- printf("From %s icmp_seq=%u ", pr_addr(sin->sin_addr.s_addr), ntohs(icmph.un.echo.sequence));
|
|
||||||
+ printf("From %s: icmp_seq=%u ", pr_addr(sin->sin_addr.s_addr), ntohs(icmph.un.echo.sequence));
|
|
||||||
pr_icmph(e->ee_type, e->ee_code, e->ee_info, NULL);
|
|
||||||
fflush(stdout);
|
|
||||||
}
|
|
||||||
@@ -695,15 +737,41 @@ parse_reply(struct msghdr *msg, int cc,
|
|
||||||
struct iphdr *ip;
|
|
||||||
int hlen;
|
|
||||||
int csfailed;
|
|
||||||
+ struct cmsghdr *cmsg;
|
|
||||||
+ int ttl;
|
|
||||||
+ __u8 *opts;
|
|
||||||
+ int optlen;
|
|
||||||
|
|
||||||
/* Check the IP header */
|
|
||||||
ip = (struct iphdr *)buf;
|
|
||||||
- hlen = ip->ihl*4;
|
|
||||||
- if (cc < hlen + 8 || ip->ihl < 5) {
|
|
||||||
- if (options & F_VERBOSE)
|
|
||||||
- fprintf(stderr, "ping: packet too short (%d bytes) from %s\n", cc,
|
|
||||||
- pr_addr(from->sin_addr.s_addr));
|
|
||||||
- return 1;
|
|
||||||
+ if (!using_ping_socket) {
|
|
||||||
+ hlen = ip->ihl*4;
|
|
||||||
+ if (cc < hlen + 8 || ip->ihl < 5) {
|
|
||||||
+ if (options & F_VERBOSE)
|
|
||||||
+ fprintf(stderr, "ping: packet too short (%d bytes) from %s\n", cc,
|
|
||||||
+ pr_addr(from->sin_addr.s_addr));
|
|
||||||
+ return 1;
|
|
||||||
+ }
|
|
||||||
+ ttl = ip->ttl;
|
|
||||||
+ opts = buf + sizeof(struct iphdr);
|
|
||||||
+ optlen = hlen - sizeof(struct iphdr);
|
|
||||||
+ } else {
|
|
||||||
+ hlen = 0;
|
|
||||||
+ ttl = 0;
|
|
||||||
+ opts = buf;
|
|
||||||
+ optlen = 0;
|
|
||||||
+ for (cmsg = CMSG_FIRSTHDR(msg); cmsg; cmsg = CMSG_NXTHDR(msg, cmsg)) {
|
|
||||||
+ if (cmsg->cmsg_level != SOL_IP)
|
|
||||||
+ continue;
|
|
||||||
+ if (cmsg->cmsg_type == IP_TTL) {
|
|
||||||
+ if (cmsg->cmsg_len < sizeof(int))
|
|
||||||
+ continue;
|
|
||||||
+ ttl = *(int *) CMSG_DATA(cmsg);
|
|
||||||
+ } else if (cmsg->cmsg_type == IP_RETOPTS) {
|
|
||||||
+ opts = (__u8 *) CMSG_DATA(cmsg);
|
|
||||||
+ optlen = cmsg->cmsg_len;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Now the ICMP part */
|
|
||||||
@@ -716,7 +784,7 @@ parse_reply(struct msghdr *msg, int cc,
|
|
||||||
return 1; /* 'Twas not our ECHO */
|
|
||||||
if (gather_statistics((__u8*)icp, sizeof(*icp), cc,
|
|
||||||
ntohs(icp->un.echo.sequence),
|
|
||||||
- ip->ttl, 0, tv, pr_addr(from->sin_addr.s_addr),
|
|
||||||
+ ttl, 0, tv, pr_addr(from->sin_addr.s_addr),
|
|
||||||
pr_echo_reply))
|
|
||||||
return 0;
|
|
||||||
} else {
|
|
||||||
@@ -807,7 +875,7 @@ parse_reply(struct msghdr *msg, int cc,
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!(options & F_FLOOD)) {
|
|
||||||
- pr_options(buf + sizeof(struct iphdr), hlen);
|
|
||||||
+ pr_options(opts, optlen + sizeof(struct iphdr));
|
|
||||||
|
|
||||||
if (options & F_AUDIBLE)
|
|
||||||
putchar('\a');
|
|
||||||
@@ -916,8 +984,7 @@ void pr_icmph(__u8 type, __u8 code, __u3
|
|
||||||
printf("Redirect, Bad Code: %d", code);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
- if (icp)
|
|
||||||
- printf("(New nexthop: %s)\n", pr_addr(icp->un.gateway));
|
|
||||||
+ printf("(New nexthop: %s)\n", pr_addr(icp ? icp->un.gateway : info));
|
|
||||||
if (icp && (options & F_VERBOSE))
|
|
||||||
pr_iph((struct iphdr*)(icp + 1));
|
|
||||||
break;
|
|
||||||
@@ -1217,7 +1284,7 @@ void install_filter(void)
|
|
||||||
insns
|
|
||||||
};
|
|
||||||
|
|
||||||
- if (once)
|
|
||||||
+ if (once || using_ping_socket)
|
|
||||||
return;
|
|
||||||
once = 1;
|
|
||||||
|
|
||||||
--- iputils-s20101006/ping_common.c
|
|
||||||
+++ iputils-s20101006/ping_common.c
|
|
||||||
@@ -515,7 +515,8 @@ void setup(int icmp_sock)
|
|
||||||
*p++ = i;
|
|
||||||
}
|
|
||||||
|
|
||||||
- ident = htons(getpid() & 0xFFFF);
|
|
||||||
+ if (!ident)
|
|
||||||
+ ident = htons(getpid() & 0xFFFF);
|
|
||||||
|
|
||||||
set_signal(SIGINT, sigexit);
|
|
||||||
set_signal(SIGALRM, sigexit);
|
|
@ -1,74 +0,0 @@
|
|||||||
From 4e322b85a12ba3ef5e8118724e3442b2ebb0f6d6 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Mike Frysinger <vapier@gentoo.org>
|
|
||||||
Date: Wed, 1 Aug 2012 11:43:34 -0400
|
|
||||||
Subject: [PATCH iputils] doc: fix parallel build of html/man pages
|
|
||||||
|
|
||||||
The use of the same tempdir prevents building of these files in parallel.
|
|
||||||
So build all of them in unique tempdirs so we can do them in parallel.
|
|
||||||
|
|
||||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
||||||
---
|
|
||||||
doc/Makefile | 37 ++++++++++++++++++++++++-------------
|
|
||||||
1 file changed, 24 insertions(+), 13 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/doc/Makefile b/doc/Makefile
|
|
||||||
index 7ec4f1c..4f930a3 100644
|
|
||||||
--- a/doc/Makefile
|
|
||||||
+++ b/doc/Makefile
|
|
||||||
@@ -12,29 +12,40 @@ man: $(MANFILES)
|
|
||||||
# lots of some strange temporary junk directories and files.
|
|
||||||
# So, scope it to a temporary dir and clean all after each run.
|
|
||||||
|
|
||||||
-$(HTMLFILES): index.db
|
|
||||||
- @-rm -rf tmp.db2html
|
|
||||||
- @mkdir tmp.db2html
|
|
||||||
- @set -e; cd tmp.db2html; docbook2html ../$< ; mv *.html ..
|
|
||||||
- @-rm -rf tmp.db2html
|
|
||||||
+SETUP_TMPDIR = \
|
|
||||||
+ t="tmp.db2html.$@"; \
|
|
||||||
+ rm -rf $$t; \
|
|
||||||
+ mkdir $$t; \
|
|
||||||
+ cd $$t
|
|
||||||
+CLEAN_TMPDIR = \
|
|
||||||
+ cd ..; \
|
|
||||||
+ rm -rf $$t
|
|
||||||
+
|
|
||||||
+MAKE_HTML = \
|
|
||||||
+ @set -e; \
|
|
||||||
+ $(SETUP_TMPDIR); \
|
|
||||||
+ docbook2html ../$<; \
|
|
||||||
+ mv *.html ..; \
|
|
||||||
+ $(CLEAN_TMPDIR)
|
|
||||||
|
|
||||||
+$(HTMLFILES): index.db
|
|
||||||
+ $(MAKE_HTML)
|
|
||||||
iputils.html: iputils.db
|
|
||||||
- @-rm -rf tmp.db2html
|
|
||||||
- @mkdir tmp.db2html
|
|
||||||
- @set -e; cd tmp.db2html; docbook2html -u -o html ../$< ; mv html/$@ ..
|
|
||||||
- @-rm -rf tmp.db2html
|
|
||||||
+ $(MAKE_HTML)
|
|
||||||
|
|
||||||
# docbook2man produces utterly ugly output and I did not find
|
|
||||||
# any way to customize this but hacking backend perl script a little.
|
|
||||||
# Well, hence...
|
|
||||||
|
|
||||||
$(MANFILES): index.db
|
|
||||||
- @-mkdir tmp.db2man
|
|
||||||
- @set -e; cd tmp.db2man; nsgmls ../$< | sgmlspl ../docbook2man-spec.pl ; mv $@ ..
|
|
||||||
- @-rm -rf tmp.db2man
|
|
||||||
+ @set -e; \
|
|
||||||
+ $(SETUP_TMPDIR); \
|
|
||||||
+ nsgmls ../$< | sgmlspl ../docbook2man-spec.pl; \
|
|
||||||
+ mv $@ ..; \
|
|
||||||
+ $(CLEAN_TMPDIR)
|
|
||||||
|
|
||||||
clean:
|
|
||||||
- @rm -rf $(MANFILES) $(HTMLFILES) iputils.html tmp.db2html tmp.db2man
|
|
||||||
+ @rm -rf $(MANFILES) $(HTMLFILES) iputils.html tmp.db2html* tmp.db2man*
|
|
||||||
|
|
||||||
snapshot:
|
|
||||||
@date "+%y%m%d" > snapshot.db
|
|
||||||
--
|
|
||||||
2.3.5
|
|
||||||
|
|
@ -1,64 +0,0 @@
|
|||||||
From 23fcb10ae15a96aa9e5a823cfe0b612d9522691c Mon Sep 17 00:00:00 2001
|
|
||||||
From: Mike Frysinger <vapier@gentoo.org>
|
|
||||||
Date: Sat, 14 Aug 2010 01:16:42 -0400
|
|
||||||
Subject: [PATCH [iputils]] tracepath: re-use printf return in print_host
|
|
||||||
|
|
||||||
Since the printf funcs already return the length of chars displayed,
|
|
||||||
use that value instead of re-calculating the length with strlen.
|
|
||||||
|
|
||||||
This also fixes the handling of the strlen return -- it's a size_t,
|
|
||||||
not an int.
|
|
||||||
|
|
||||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
||||||
---
|
|
||||||
tracepath.c | 11 ++++-------
|
|
||||||
tracepath6.c | 11 ++++-------
|
|
||||||
2 files changed, 8 insertions(+), 14 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/tracepath.c b/tracepath.c
|
|
||||||
index 8a08f1d..f155816 100644
|
|
||||||
--- a/tracepath.c
|
|
||||||
+++ b/tracepath.c
|
|
||||||
@@ -73,13 +73,10 @@ void data_wait(int fd)
|
|
||||||
|
|
||||||
void print_host(const char *a, const char *b, int both)
|
|
||||||
{
|
|
||||||
- int plen = 0;
|
|
||||||
- printf("%s", a);
|
|
||||||
- plen = strlen(a);
|
|
||||||
- if (both) {
|
|
||||||
- printf(" (%s)", b);
|
|
||||||
- plen += strlen(b) + 3;
|
|
||||||
- }
|
|
||||||
+ int plen;
|
|
||||||
+ plen = printf("%s", a);
|
|
||||||
+ if (both)
|
|
||||||
+ plen += printf(" (%s)", b);
|
|
||||||
if (plen >= HOST_COLUMN_SIZE)
|
|
||||||
plen = HOST_COLUMN_SIZE - 1;
|
|
||||||
printf("%*s", HOST_COLUMN_SIZE - plen, "");
|
|
||||||
diff --git a/tracepath6.c b/tracepath6.c
|
|
||||||
index 126fadf..bee95c3 100644
|
|
||||||
--- a/tracepath6.c
|
|
||||||
+++ b/tracepath6.c
|
|
||||||
@@ -86,13 +86,10 @@ void data_wait(int fd)
|
|
||||||
|
|
||||||
void print_host(const char *a, const char *b, int both)
|
|
||||||
{
|
|
||||||
- int plen = 0;
|
|
||||||
- printf("%s", a);
|
|
||||||
- plen = strlen(a);
|
|
||||||
- if (both) {
|
|
||||||
- printf(" (%s)", b);
|
|
||||||
- plen += strlen(b) + 3;
|
|
||||||
- }
|
|
||||||
+ int plen;
|
|
||||||
+ plen = printf("%s", a);
|
|
||||||
+ if (both)
|
|
||||||
+ plen += printf(" (%s)", b);
|
|
||||||
if (plen >= HOST_COLUMN_SIZE)
|
|
||||||
plen = HOST_COLUMN_SIZE - 1;
|
|
||||||
printf("%*s", HOST_COLUMN_SIZE - plen, "");
|
|
||||||
--
|
|
||||||
1.8.0.2
|
|
||||||
|
|
@ -1,45 +0,0 @@
|
|||||||
https://bugs.gentoo.org/472592
|
|
||||||
|
|
||||||
From dd0aa192626f94d08e399fc2a743ee72c50853fb Mon Sep 17 00:00:00 2001
|
|
||||||
From: Mike Frysinger <vapier@gentoo.org>
|
|
||||||
Date: Fri, 24 Apr 2015 20:41:31 -0400
|
|
||||||
Subject: [PATCH iputils] ping: fix -i number parsing in locales
|
|
||||||
|
|
||||||
Always use #.# format for the -i flag even when the current locale uses
|
|
||||||
a different separator. Locale de_DE which uses #,# normally.
|
|
||||||
|
|
||||||
Simple testcase:
|
|
||||||
$ make USE_IDN=1
|
|
||||||
$ LANG=de_DE.UTF8 ./ping -i 0.5 localhost
|
|
||||||
|
|
||||||
Reported-by: Sergey Fionov <fionov@gmail.com>
|
|
||||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
||||||
---
|
|
||||||
ping_common.c | 8 ++++++++
|
|
||||||
1 file changed, 8 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/ping_common.c b/ping_common.c
|
|
||||||
index 62f53a6..0a37e09 100644
|
|
||||||
--- a/ping_common.c
|
|
||||||
+++ b/ping_common.c
|
|
||||||
@@ -269,9 +269,17 @@ void common_options(int ch)
|
|
||||||
double dbl;
|
|
||||||
char *ep;
|
|
||||||
|
|
||||||
+#ifdef USE_IDN
|
|
||||||
+ setlocale(LC_ALL, "C");
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
errno = 0;
|
|
||||||
dbl = strtod(optarg, &ep);
|
|
||||||
|
|
||||||
+#ifdef USE_IDN
|
|
||||||
+ setlocale(LC_ALL, "");
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
if (errno || *ep != '\0' ||
|
|
||||||
!finite(dbl) || dbl < 0.0 || dbl >= (double)INT_MAX / 1000 - 1.0) {
|
|
||||||
fprintf(stderr, "ping: bad timing interval\n");
|
|
||||||
--
|
|
||||||
2.3.5
|
|
||||||
|
|
@ -1,34 +0,0 @@
|
|||||||
From d81a44625b04d487c895473aa77af13420b7afdd Mon Sep 17 00:00:00 2001
|
|
||||||
From: YOSHIFUJI Hideaki <hideaki.yoshifuji@miraclelinux.com>
|
|
||||||
Date: Thu, 19 Jun 2014 17:25:49 +0900
|
|
||||||
Subject: [PATCH iputils] tftpd: Exit if setuid()/setgid() failed.
|
|
||||||
|
|
||||||
Signed-off-by: YOSHIFUJI Hideaki <hideaki.yoshifuji@miraclelinux.com>
|
|
||||||
---
|
|
||||||
tftpd.c | 10 ++++++++--
|
|
||||||
1 file changed, 8 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/tftpd.c b/tftpd.c
|
|
||||||
index 2a39ec4..e3af2f4 100644
|
|
||||||
--- a/tftpd.c
|
|
||||||
+++ b/tftpd.c
|
|
||||||
@@ -111,8 +111,14 @@ int main(int ac, char **av)
|
|
||||||
|
|
||||||
/* Sanity. If parent forgot to setuid() on us. */
|
|
||||||
if (geteuid() == 0) {
|
|
||||||
- setgid(65534);
|
|
||||||
- setuid(65534);
|
|
||||||
+ if (setgid(65534)) {
|
|
||||||
+ syslog(LOG_ERR, "setgid");
|
|
||||||
+ exit(1);
|
|
||||||
+ }
|
|
||||||
+ if (setuid(65534)) {
|
|
||||||
+ syslog(LOG_ERR, "setuid");
|
|
||||||
+ exit(1);
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
|
|
||||||
ac--; av++;
|
|
||||||
--
|
|
||||||
2.3.5
|
|
||||||
|
|
@ -1,38 +0,0 @@
|
|||||||
From e88ed3752872d7c7ca37d95eb4d434ca4d3c4eae Mon Sep 17 00:00:00 2001
|
|
||||||
From: Mike Frysinger <vapier@gentoo.org>
|
|
||||||
Date: Sat, 19 Apr 2014 10:39:39 -0400
|
|
||||||
Subject: [PATCH iputils] tftpd: fix syslog setup
|
|
||||||
|
|
||||||
Commit d81a44625b04d487c895473aa77af13420b7afdd added support for checking
|
|
||||||
the set*id calls, but would call syslog() before it had called openlog().
|
|
||||||
Move the call up earlier to fix that.
|
|
||||||
|
|
||||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
||||||
---
|
|
||||||
tftpd.c | 3 ++-
|
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/tftpd.c b/tftpd.c
|
|
||||||
index e3af2f4..7ddc8eb 100644
|
|
||||||
--- a/tftpd.c
|
|
||||||
+++ b/tftpd.c
|
|
||||||
@@ -109,6 +109,8 @@ int main(int ac, char **av)
|
|
||||||
register int n = 0;
|
|
||||||
int on = 1;
|
|
||||||
|
|
||||||
+ openlog("tftpd", LOG_PID, LOG_DAEMON);
|
|
||||||
+
|
|
||||||
/* Sanity. If parent forgot to setuid() on us. */
|
|
||||||
if (geteuid() == 0) {
|
|
||||||
if (setgid(65534)) {
|
|
||||||
@@ -125,7 +127,6 @@ int main(int ac, char **av)
|
|
||||||
while (ac-- > 0 && n < MAXARG)
|
|
||||||
dirs[n++] = *av++;
|
|
||||||
|
|
||||||
- openlog("tftpd", LOG_PID, LOG_DAEMON);
|
|
||||||
if (ioctl(0, FIONBIO, &on) < 0) {
|
|
||||||
syslog(LOG_ERR, "ioctl(FIONBIO): %m\n");
|
|
||||||
exit(1);
|
|
||||||
--
|
|
||||||
2.3.5
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
|||||||
From ba739daf98450fe725569724eefc64a2afdeb909 Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Pavel=20=C5=A0imerda?= <psimerda@redhat.com>
|
|
||||||
Date: Thu, 20 Aug 2015 16:16:14 +0200
|
|
||||||
Subject: [PATCH] ping: fix defines and libs in Makefile
|
|
||||||
|
|
||||||
---
|
|
||||||
Makefile | 8 ++++----
|
|
||||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/Makefile b/Makefile
|
|
||||||
index 9b0b70f..4eea516 100644
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -153,10 +153,10 @@ DEF_clockdiff = $(DEF_CAP)
|
|
||||||
LIB_clockdiff = $(LIB_CAP)
|
|
||||||
|
|
||||||
# ping / ping6
|
|
||||||
-DEF_ping_common = $(DEF_CAP) $(DEF_IDN)
|
|
||||||
-DEF_ping6_common = $(DEF_CAP) $(DEF_IDN)
|
|
||||||
-DEF_ping = $(DEF_CAP) $(DEF_IDN) $(DEF_WITHOUT_IFADDRS)
|
|
||||||
-LIB_ping = $(LIB_CAP) $(LIB_IDN) $(LIB_RESOLV)
|
|
||||||
+DEF_ping = $(DEF_CAP) $(DEF_IDN) $(DEF_CRYPTO) $(DEF_WITHOUT_IFADDRS)
|
|
||||||
+DEF_ping_common = $(DEF_ping)
|
|
||||||
+DEF_ping6_common = $(DEF_ping)
|
|
||||||
+LIB_ping = $(LIB_CAP) $(LIB_IDN) $(LIB_CRYPTO) $(LIB_RESOLV)
|
|
||||||
|
|
||||||
ping: ping_common.o ping6_common.o
|
|
||||||
ping.o ping_common.o ping6_common.o: ping.h in6_flowlabel.h
|
|
@ -1,70 +0,0 @@
|
|||||||
From 9fd870a4bac0b8b2070c38452f378ef1eb7d460a Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Pavel=20=C5=A0imerda?= <psimerda@redhat.com>
|
|
||||||
Date: Fri, 21 Aug 2015 00:55:56 +0200
|
|
||||||
Subject: [PATCH] ping: handle single protocol systems
|
|
||||||
|
|
||||||
---
|
|
||||||
ping.c | 28 ++++++++++++++++++----------
|
|
||||||
1 file changed, 18 insertions(+), 10 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/ping.c b/ping.c
|
|
||||||
index ec9708e..95a10a7 100644
|
|
||||||
--- a/ping.c
|
|
||||||
+++ b/ping.c
|
|
||||||
@@ -110,26 +110,26 @@ static struct sockaddr_in source = { .sin_family = AF_INET };
|
|
||||||
static char *device;
|
|
||||||
static int pmtudisc = -1;
|
|
||||||
|
|
||||||
-static void create_socket(socket_st *sock, int family, int socktype, int protocol)
|
|
||||||
+static void create_socket(socket_st *sock, int family, int socktype, int protocol, int requisite)
|
|
||||||
{
|
|
||||||
errno = 0;
|
|
||||||
|
|
||||||
sock->fd = socket(family, socktype, protocol);
|
|
||||||
|
|
||||||
- /* Fallback to raw socket when ping socket failed */
|
|
||||||
- if (sock->fd == -1 && socktype == SOCK_DGRAM) {
|
|
||||||
+ /* Attempt creating a raw socket when ping socket failed */
|
|
||||||
+ if (sock->fd == -1 && errno != EAFNOSUPPORT && socktype == SOCK_DGRAM) {
|
|
||||||
if (options & F_VERBOSE)
|
|
||||||
fprintf(stderr, "ping: socket: %s, attempting raw socket...\n", strerror(errno));
|
|
||||||
- create_socket(sock, family, SOCK_RAW, protocol);
|
|
||||||
+ create_socket(sock, family, SOCK_RAW, protocol, requisite);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (sock->fd == -1) {
|
|
||||||
- if (socktype == SOCK_RAW)
|
|
||||||
- fprintf(stderr, "ping: socket: %s (raw socket required by specified options).\n", strerror(errno));
|
|
||||||
- else
|
|
||||||
+ if (requisite || errno != EAFNOSUPPORT || options & F_VERBOSE)
|
|
||||||
fprintf(stderr, "ping: socket: %s\n", strerror(errno));
|
|
||||||
- exit(2);
|
|
||||||
+ if (requisite)
|
|
||||||
+ exit(2);
|
|
||||||
+ return;
|
|
||||||
}
|
|
||||||
|
|
||||||
sock->socktype = socktype;
|
|
||||||
@@ -442,11 +442,19 @@ main(int argc, char **argv)
|
|
||||||
/* Create sockets */
|
|
||||||
enable_capability_raw();
|
|
||||||
if (hints.ai_family != AF_INET6)
|
|
||||||
- create_socket(&sock4, AF_INET, hints.ai_socktype, IPPROTO_ICMP);
|
|
||||||
+ create_socket(&sock4, AF_INET, hints.ai_socktype, IPPROTO_ICMP, hints.ai_family == AF_INET);
|
|
||||||
if (hints.ai_family != AF_INET)
|
|
||||||
- create_socket(&sock6, AF_INET6, hints.ai_socktype, IPPROTO_ICMPV6);
|
|
||||||
+ create_socket(&sock6, AF_INET6, hints.ai_socktype, IPPROTO_ICMPV6, sock4.fd == -1);
|
|
||||||
disable_capability_raw();
|
|
||||||
|
|
||||||
+ /* Limit address family on single-protocol systems */
|
|
||||||
+ if (hints.ai_family == AF_UNSPEC) {
|
|
||||||
+ if (sock4.fd == -1)
|
|
||||||
+ hints.ai_family = AF_INET6;
|
|
||||||
+ else if (sock6.fd == -1)
|
|
||||||
+ hints.ai_family = AF_INET;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
/* Set socket options */
|
|
||||||
if (settos)
|
|
||||||
set_socket_option(&sock4, IPPROTO_IP, IP_TOS, &settos, sizeof settos);
|
|
@ -1,11 +0,0 @@
|
|||||||
--- iputils-s20150815/ping.h
|
|
||||||
+++ iputils-s20150815/ping.h
|
|
||||||
@@ -61,7 +61,7 @@
|
|
||||||
|
|
||||||
#define MAXWAIT 10 /* max seconds to wait for response */
|
|
||||||
#define MININTERVAL 10 /* Minimal interpacket gap */
|
|
||||||
-#define MINUSERINTERVAL 200 /* Minimal allowed interval for non-root */
|
|
||||||
+#define MINUSERINTERVAL 0 /* Minimal allowed interval for non-root */
|
|
||||||
|
|
||||||
#define SCHINT(a) (((a) <= MININTERVAL) ? MININTERVAL : (a))
|
|
||||||
|
|
@ -0,0 +1,47 @@
|
|||||||
|
https://github.com/iputils/iputils/commit/79d713eab6181e219bf932b404706f6f59ff2539.patch
|
||||||
|
https://bugs.gentoo.org/818022
|
||||||
|
|
||||||
|
From: Byron Stanoszek <gandalf@winds.org>
|
||||||
|
Date: Thu, 16 Sep 2021 23:38:54 +0200
|
||||||
|
Subject: [PATCH] ping: Remove 'unsupported IPv6' warning on disabled IPv6
|
||||||
|
|
||||||
|
Regression was introduced in d141cb6 as introduced condition
|
||||||
|
|
||||||
|
if ((errno == EAFNOSUPPORT && socktype == AF_INET6) || options & F_VERBOSE || requisite)
|
||||||
|
|
||||||
|
was wrong, it should have been:
|
||||||
|
|
||||||
|
if ((errno == EAFNOSUPPORT && family == AF_INET6 && requisite) || options & F_VERBOSE)
|
||||||
|
|
||||||
|
but bug was hidden as `family == AF_INET6' was always false until
|
||||||
|
otherwise correct fix 904cdb6 ("ping: AF_INET6 is address family not
|
||||||
|
socket type [lgtm scan]") propagated the error.
|
||||||
|
|
||||||
|
Tested on kernel booted with ipv6.disable=1 (disabling via sysctl, i.e.
|
||||||
|
sysctl -w net.ipv6.conf.all.disable_ipv6=1; sysctl -w net.ipv6.conf.default.disable_ipv6=1
|
||||||
|
does not trigger the issue as it exit with "socket: Address family not
|
||||||
|
supported by protocol" - errno EADDRNOTAVAIL).
|
||||||
|
|
||||||
|
Fixes: d141cb6 ("ping: work with older kernels that don't support ping sockets")
|
||||||
|
Closes: https://github.com/iputils/iputils/issues/293
|
||||||
|
Closes: https://github.com/iputils/iputils/pull/370
|
||||||
|
|
||||||
|
Reported-by: lekto <lekto@o2.pl>
|
||||||
|
Reviewed-by: Andrew Clayton <andrew@digital-domain.net>
|
||||||
|
Reviewed-by: Petr Vorel <pvorel@suse.cz>
|
||||||
|
Signed-off-by: Byron Stanoszek <gandalf@winds.org>
|
||||||
|
[ pvorel: create commit from Byron's patch on the issue, do analysis and wrote commit message ]
|
||||||
|
Signed-off-by: Petr Vorel <pvorel@suse.cz>
|
||||||
|
--- a/ping/ping.c
|
||||||
|
+++ b/ping/ping.c
|
||||||
|
@@ -150,8 +150,8 @@ static void create_socket(struct ping_rts *rts, socket_st *sock, int family,
|
||||||
|
/* Report error related to disabled IPv6 only when IPv6 also failed or in
|
||||||
|
* verbose mode. Report other errors always.
|
||||||
|
*/
|
||||||
|
- if ((errno == EAFNOSUPPORT && family == AF_INET6) ||
|
||||||
|
- rts->opt_verbose || requisite)
|
||||||
|
+ if ((errno == EAFNOSUPPORT && family == AF_INET6 && requisite) ||
|
||||||
|
+ rts->opt_verbose)
|
||||||
|
error(0, errno, "socket");
|
||||||
|
if (requisite)
|
||||||
|
exit(2);
|
@ -0,0 +1,202 @@
|
|||||||
|
https://github.com/iputils/iputils/commit/3163c49f9f4ad473a00d8a345ee334a028376011.patch
|
||||||
|
https://bugs.gentoo.org/807973
|
||||||
|
|
||||||
|
From: Heiko Becker <heirecka@exherbo.org>
|
||||||
|
Date: Fri, 23 Jul 2021 16:32:46 +0200
|
||||||
|
Subject: [PATCH] meson: Make tests optional
|
||||||
|
|
||||||
|
Now can be disabled with -DSKIP_TESTS=true.
|
||||||
|
|
||||||
|
It allows to avoid meson error during build when ip isn't installed.
|
||||||
|
|
||||||
|
Closes: #359
|
||||||
|
|
||||||
|
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
|
||||||
|
Signed-off-by: Heiko Becker <heirecka@exherbo.org>
|
||||||
|
[ pvorel: Rename variable TEST => SKIP_TESTS, default false, adjust
|
||||||
|
the description ]
|
||||||
|
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
|
||||||
|
--- a/meson_options.txt
|
||||||
|
+++ b/meson_options.txt
|
||||||
|
@@ -72,3 +72,6 @@ option('INSTALL_SYSTEMD_UNITS', type: 'boolean', value: false,
|
||||||
|
|
||||||
|
option('USE_GETTEXT', type: 'boolean', value: true,
|
||||||
|
description: 'Enable I18N')
|
||||||
|
+
|
||||||
|
+option('SKIP_TESTS', type: 'boolean', value: false,
|
||||||
|
+ description: 'Skip tests during build')
|
||||||
|
--- a/ping/meson.build
|
||||||
|
+++ b/ping/meson.build
|
||||||
|
@@ -27,86 +27,6 @@ if (setcap_ping)
|
||||||
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
|
-##### TESTS #####
|
||||||
|
-
|
||||||
|
-# TODO: ::1 generates DEPRECATION: ":" is not allowed in test name "ping -c1 ::1", it has been replaced with "_"
|
||||||
|
-
|
||||||
|
-# GitHub CI does not have working IPv6
|
||||||
|
-# https://github.com/actions/virtual-environments/issues/668
|
||||||
|
-ipv6_dst = []
|
||||||
|
-ipv6_switch = []
|
||||||
|
-r = run_command('ip', '-6', 'a')
|
||||||
|
-if r.stdout().strip().contains('::1')
|
||||||
|
- message('IPv6 enabled')
|
||||||
|
- ipv6_dst = [ '::1' ]
|
||||||
|
- ipv6_switch = [ '-6' ]
|
||||||
|
-else
|
||||||
|
- message('WARNING: IPv6 disabled')
|
||||||
|
+if not get_option('SKIP_TESTS')
|
||||||
|
+ subdir('test')
|
||||||
|
endif
|
||||||
|
-
|
||||||
|
-run_as_root = false
|
||||||
|
-r = run_command('id', '-u')
|
||||||
|
-if r.stdout().strip().to_int() == 0
|
||||||
|
- message('running as root')
|
||||||
|
- run_as_root = true
|
||||||
|
-else
|
||||||
|
- message('running as normal user')
|
||||||
|
-endif
|
||||||
|
-
|
||||||
|
-foreach dst : [ 'localhost', '127.0.0.1' ] + ipv6_dst
|
||||||
|
- foreach switch : [ '', '-4' ] + ipv6_switch
|
||||||
|
- args = [ '-c1', dst ]
|
||||||
|
- should_fail = false
|
||||||
|
-
|
||||||
|
- if switch != ''
|
||||||
|
- args = [switch] + args
|
||||||
|
- if (switch == '-4' and dst == '::1') or (switch == '-6' and dst == '127.0.0.1')
|
||||||
|
- should_fail = true
|
||||||
|
- endif
|
||||||
|
- endif
|
||||||
|
-
|
||||||
|
- name = 'ping ' + ' '.join(args)
|
||||||
|
- test(name, ping, args : args, should_fail : should_fail)
|
||||||
|
- endforeach
|
||||||
|
-endforeach
|
||||||
|
-
|
||||||
|
-ping_tests_opt = [
|
||||||
|
- [ '-c1' ],
|
||||||
|
- [ '-c5', '-i0.1' ],
|
||||||
|
- [ '-c1', '-I', 'lo' ],
|
||||||
|
- [ '-c1', '-w1' ],
|
||||||
|
- [ '-c1', '-W1' ],
|
||||||
|
- [ '-c1', '-W1.1' ],
|
||||||
|
-]
|
||||||
|
-foreach dst : [ '127.0.0.1' ] + ipv6_dst
|
||||||
|
- foreach args : ping_tests_opt
|
||||||
|
- args += [ dst ]
|
||||||
|
- name = 'ping ' + ' '.join(args)
|
||||||
|
- test(name, ping, args : args)
|
||||||
|
- endforeach
|
||||||
|
-endforeach
|
||||||
|
-
|
||||||
|
-ping_tests_opt_fail = [
|
||||||
|
- [ '-c1.1' ],
|
||||||
|
- [ '-I', 'nonexisting' ],
|
||||||
|
- [ '-w0.1' ],
|
||||||
|
- [ '-w0,1' ],
|
||||||
|
-]
|
||||||
|
-foreach dst : [ '127.0.0.1' ] + ipv6_dst
|
||||||
|
- foreach args : ping_tests_opt_fail
|
||||||
|
- args += [ dst ]
|
||||||
|
- name = 'ping ' + ' '.join(args)
|
||||||
|
- test(name, ping, args : args, should_fail : true)
|
||||||
|
- endforeach
|
||||||
|
-endforeach
|
||||||
|
-
|
||||||
|
-ping_tests_user_fail = [
|
||||||
|
- [ '-c1', '-i0.001' ], # -c1 required to quit ping when running as root
|
||||||
|
-]
|
||||||
|
-foreach dst : [ '127.0.0.1' ] + ipv6_dst
|
||||||
|
- foreach args : ping_tests_user_fail
|
||||||
|
- args += [ dst ]
|
||||||
|
- name = 'ping ' + ' '.join(args)
|
||||||
|
- test(name, ping, args : args, should_fail : not run_as_root)
|
||||||
|
- endforeach
|
||||||
|
-endforeach
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/ping/test/meson.build
|
||||||
|
@@ -0,0 +1,81 @@
|
||||||
|
+# TODO: ::1 generates DEPRECATION: ":" is not allowed in test name "ping -c1 ::1", it has been replaced with "_"
|
||||||
|
+
|
||||||
|
+# GitHub CI does not have working IPv6
|
||||||
|
+# https://github.com/actions/virtual-environments/issues/668
|
||||||
|
+ipv6_dst = []
|
||||||
|
+ipv6_switch = []
|
||||||
|
+r = run_command('ip', '-6', 'a')
|
||||||
|
+if r.stdout().strip().contains('::1')
|
||||||
|
+ message('IPv6 enabled')
|
||||||
|
+ ipv6_dst = [ '::1' ]
|
||||||
|
+ ipv6_switch = [ '-6' ]
|
||||||
|
+else
|
||||||
|
+ message('WARNING: IPv6 disabled')
|
||||||
|
+endif
|
||||||
|
+
|
||||||
|
+run_as_root = false
|
||||||
|
+r = run_command('id', '-u')
|
||||||
|
+if r.stdout().strip().to_int() == 0
|
||||||
|
+ message('running as root')
|
||||||
|
+ run_as_root = true
|
||||||
|
+else
|
||||||
|
+ message('running as normal user')
|
||||||
|
+endif
|
||||||
|
+
|
||||||
|
+foreach dst : [ 'localhost', '127.0.0.1' ] + ipv6_dst
|
||||||
|
+ foreach switch : [ '', '-4' ] + ipv6_switch
|
||||||
|
+ args = [ '-c1', dst ]
|
||||||
|
+ should_fail = false
|
||||||
|
+
|
||||||
|
+ if switch != ''
|
||||||
|
+ args = [switch] + args
|
||||||
|
+ if (switch == '-4' and dst == '::1') or (switch == '-6' and dst == '127.0.0.1')
|
||||||
|
+ should_fail = true
|
||||||
|
+ endif
|
||||||
|
+ endif
|
||||||
|
+
|
||||||
|
+ name = 'ping ' + ' '.join(args)
|
||||||
|
+ test(name, ping, args : args, should_fail : should_fail)
|
||||||
|
+ endforeach
|
||||||
|
+endforeach
|
||||||
|
+
|
||||||
|
+ping_tests_opt = [
|
||||||
|
+ [ '-c1' ],
|
||||||
|
+ [ '-c5', '-i0.1' ],
|
||||||
|
+ [ '-c1', '-I', 'lo' ],
|
||||||
|
+ [ '-c1', '-w1' ],
|
||||||
|
+ [ '-c1', '-W1' ],
|
||||||
|
+ [ '-c1', '-W1.1' ],
|
||||||
|
+]
|
||||||
|
+foreach dst : [ '127.0.0.1' ] + ipv6_dst
|
||||||
|
+ foreach args : ping_tests_opt
|
||||||
|
+ args += [ dst ]
|
||||||
|
+ name = 'ping ' + ' '.join(args)
|
||||||
|
+ test(name, ping, args : args)
|
||||||
|
+ endforeach
|
||||||
|
+endforeach
|
||||||
|
+
|
||||||
|
+ping_tests_opt_fail = [
|
||||||
|
+ [ '-c1.1' ],
|
||||||
|
+ [ '-I', 'nonexisting' ],
|
||||||
|
+ [ '-w0.1' ],
|
||||||
|
+ [ '-w0,1' ],
|
||||||
|
+]
|
||||||
|
+foreach dst : [ '127.0.0.1' ] + ipv6_dst
|
||||||
|
+ foreach args : ping_tests_opt_fail
|
||||||
|
+ args += [ dst ]
|
||||||
|
+ name = 'ping ' + ' '.join(args)
|
||||||
|
+ test(name, ping, args : args, should_fail : true)
|
||||||
|
+ endforeach
|
||||||
|
+endforeach
|
||||||
|
+
|
||||||
|
+ping_tests_user_fail = [
|
||||||
|
+ [ '-c1', '-i0.001' ], # -c1 required to quit ping when running as root
|
||||||
|
+]
|
||||||
|
+foreach dst : [ '127.0.0.1' ] + ipv6_dst
|
||||||
|
+ foreach args : ping_tests_user_fail
|
||||||
|
+ args += [ dst ]
|
||||||
|
+ name = 'ping ' + ' '.join(args)
|
||||||
|
+ test(name, ping, args : args, should_fail : not run_as_root)
|
||||||
|
+ endforeach
|
||||||
|
+endforeach
|
@ -1,97 +0,0 @@
|
|||||||
From 321d64b9f94653322e678e34ac214ddb73a71db8 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Mike Frysinger <vapier@gentoo.org>
|
|
||||||
Date: Thu, 24 Jan 2013 23:32:39 -0500
|
|
||||||
Subject: [PATCH iputils] ping6: allow disabling of openssl support
|
|
||||||
|
|
||||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
||||||
---
|
|
||||||
Makefile | 5 ++++-
|
|
||||||
iputils_md5dig.h | 4 +++-
|
|
||||||
ping6.c | 10 ++++++++++
|
|
||||||
3 files changed, 17 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/Makefile b/Makefile
|
|
||||||
index 54e5a6d..7147f08 100644
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -36,7 +36,7 @@ ARPING_DEFAULT_DEVICE=
|
|
||||||
|
|
||||||
# Libgcrypt (for MD5) for ping6 [yes|no|static]
|
|
||||||
USE_GCRYPT=yes
|
|
||||||
-# Crypto library for ping6 [shared|static]
|
|
||||||
+# Crypto library for ping6 [shared|static|no]
|
|
||||||
USE_CRYPTO=shared
|
|
||||||
# Resolv library for ping6 [yes|static]
|
|
||||||
USE_RESOLV=yes
|
|
||||||
@@ -63,7 +63,10 @@ ifneq ($(USE_GCRYPT),no)
|
|
||||||
LIB_CRYPTO = $(call FUNC_LIB,$(USE_GCRYPT),$(LDFLAG_GCRYPT))
|
|
||||||
DEF_CRYPTO = -DUSE_GCRYPT
|
|
||||||
else
|
|
||||||
+ifneq ($(USE_CRYPTO),no)
|
|
||||||
LIB_CRYPTO = $(call FUNC_LIB,$(USE_CRYPTO),$(LDFLAG_CRYPTO))
|
|
||||||
+ DEF_CRYPTO = -DUSE_OPENSSL
|
|
||||||
+endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
# USE_RESOLV: LIB_RESOLV
|
|
||||||
diff --git a/iputils_md5dig.h b/iputils_md5dig.h
|
|
||||||
index 4cec866..d6c4d46 100644
|
|
||||||
--- a/iputils_md5dig.h
|
|
||||||
+++ b/iputils_md5dig.h
|
|
||||||
@@ -5,8 +5,10 @@
|
|
||||||
# include <stdlib.h>
|
|
||||||
# include <gcrypt.h>
|
|
||||||
# define IPUTILS_MD5DIG_LEN 16
|
|
||||||
-#else
|
|
||||||
+# define USE_CRYPTO
|
|
||||||
+#elif defined(USE_OPENSSL)
|
|
||||||
# include <openssl/md5.h>
|
|
||||||
+# define USE_CRYPTO
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef USE_GCRYPT
|
|
||||||
diff --git a/ping6.c b/ping6.c
|
|
||||||
index 7085f31..7b7c1af 100644
|
|
||||||
--- a/ping6.c
|
|
||||||
+++ b/ping6.c
|
|
||||||
@@ -324,6 +324,7 @@ static void niquery_init_nonce(void)
|
|
||||||
#if !PING6_NONCE_MEMORY
|
|
||||||
static int niquery_nonce(__u8 *nonce, int fill)
|
|
||||||
{
|
|
||||||
+# ifdef USE_CRYPTO
|
|
||||||
static __u8 digest[MD5_DIGEST_LENGTH];
|
|
||||||
static int seq = -1;
|
|
||||||
|
|
||||||
@@ -346,6 +347,10 @@ static int niquery_nonce(__u8 *nonce, int fill)
|
|
||||||
return -1;
|
|
||||||
return ntohsp((__u16 *)nonce);
|
|
||||||
}
|
|
||||||
+# else
|
|
||||||
+ fprintf(stderr, "ping6: function not available; crypto disabled\n");
|
|
||||||
+ exit(3);
|
|
||||||
+# endif
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
@@ -500,6 +505,7 @@ static int niquery_option_subject_addr_handler(int index, const char *arg)
|
|
||||||
|
|
||||||
static int niquery_option_subject_name_handler(int index, const char *arg)
|
|
||||||
{
|
|
||||||
+#ifdef USE_CRYPTO
|
|
||||||
static char nigroup_buf[INET6_ADDRSTRLEN + 1 + IFNAMSIZ];
|
|
||||||
unsigned char *dnptrs[2], **dpp, **lastdnptr;
|
|
||||||
int n;
|
|
||||||
@@ -625,6 +631,10 @@ errexit:
|
|
||||||
free(idn);
|
|
||||||
free(name);
|
|
||||||
exit(1);
|
|
||||||
+#else
|
|
||||||
+ fprintf(stderr, "ping6: function not available; crypto disabled\n");
|
|
||||||
+ exit(3);
|
|
||||||
+#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
int niquery_option_help_handler(int index, const char *arg)
|
|
||||||
--
|
|
||||||
2.3.5
|
|
||||||
|
|
@ -1,38 +0,0 @@
|
|||||||
From e88ed3752872d7c7ca37d95eb4d434ca4d3c4eae Mon Sep 17 00:00:00 2001
|
|
||||||
From: Mike Frysinger <vapier@gentoo.org>
|
|
||||||
Date: Sat, 19 Apr 2014 10:39:39 -0400
|
|
||||||
Subject: [PATCH iputils] tftpd: fix syslog setup
|
|
||||||
|
|
||||||
Commit d81a44625b04d487c895473aa77af13420b7afdd added support for checking
|
|
||||||
the set*id calls, but would call syslog() before it had called openlog().
|
|
||||||
Move the call up earlier to fix that.
|
|
||||||
|
|
||||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
||||||
---
|
|
||||||
tftpd.c | 3 ++-
|
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/tftpd.c b/tftpd.c
|
|
||||||
index e3af2f4..7ddc8eb 100644
|
|
||||||
--- a/tftpd.c
|
|
||||||
+++ b/tftpd.c
|
|
||||||
@@ -109,6 +109,8 @@ int main(int ac, char **av)
|
|
||||||
register int n = 0;
|
|
||||||
int on = 1;
|
|
||||||
|
|
||||||
+ openlog("tftpd", LOG_PID, LOG_DAEMON);
|
|
||||||
+
|
|
||||||
/* Sanity. If parent forgot to setuid() on us. */
|
|
||||||
if (geteuid() == 0) {
|
|
||||||
if (setgid(65534)) {
|
|
||||||
@@ -125,7 +127,6 @@ int main(int ac, char **av)
|
|
||||||
while (ac-- > 0 && n < MAXARG)
|
|
||||||
dirs[n++] = *av++;
|
|
||||||
|
|
||||||
- openlog("tftpd", LOG_PID, LOG_DAEMON);
|
|
||||||
if (ioctl(0, FIONBIO, &on) < 0) {
|
|
||||||
syslog(LOG_ERR, "ioctl(FIONBIO): %m\n");
|
|
||||||
exit(1);
|
|
||||||
--
|
|
||||||
2.3.5
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
# Config file for /etc/init.d/rarpd
|
|
||||||
|
|
||||||
# You probably want to select the interface for this to listen on.
|
|
||||||
# By default it uses loopback which most likely won't help.
|
|
||||||
RARPD_IFACE="lo"
|
|
||||||
|
|
||||||
# See the rarpd(8) manpage for more info.
|
|
||||||
RARPD_OPTS="-b /tftpboot"
|
|
@ -1,20 +0,0 @@
|
|||||||
#!/sbin/openrc-run
|
|
||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
pidfile="/var/run/rarpd.pid"
|
|
||||||
command="/usr/sbin/rarpd"
|
|
||||||
# The -d option keeps it from forking. This way s-s-d can do the fork and
|
|
||||||
# set up the pidfile with the right value below.
|
|
||||||
command_args="-d ${RARPD_OPTS} ${RARPD_IFACE}"
|
|
||||||
start_stop_daemon_args="--background --make-pidfile"
|
|
||||||
|
|
||||||
start_pre() {
|
|
||||||
if [ ! -f /etc/ethers ] ; then
|
|
||||||
eerror "Please create /etc/ethers with the following content:"
|
|
||||||
eerror "[MAC address] [name or IP]"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
}
|
|
@ -1,104 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
# For released versions, we precompile the man/html pages and store
|
|
||||||
# them in a tarball on our mirrors. This avoids ugly issues while
|
|
||||||
# building stages, and when the jade/sgml packages are broken (which
|
|
||||||
# seems to be more common than would be nice).
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
|
|
||||||
inherit flag-o-matic eutils toolchain-funcs fcaps
|
|
||||||
if [[ ${PV} == "99999999" ]] ; then
|
|
||||||
EGIT_REPO_URI="git://www.linux-ipv6.org/gitroot/iputils"
|
|
||||||
inherit git-2
|
|
||||||
else
|
|
||||||
SRC_URI="http://www.skbuff.net/iputils/iputils-s${PV}.tar.bz2
|
|
||||||
mirror://gentoo/iputils-s${PV}-manpages.tar.bz2"
|
|
||||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-linux ~x86-linux"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Network monitoring tools including ping and ping6"
|
|
||||||
HOMEPAGE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iputils"
|
|
||||||
|
|
||||||
LICENSE="BSD-4"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="caps doc gnutls idn ipv6 SECURITY_HAZARD ssl static"
|
|
||||||
|
|
||||||
LIB_DEPEND="caps? ( sys-libs/libcap[static-libs(+)] )
|
|
||||||
idn? ( net-dns/libidn[static-libs(+)] )
|
|
||||||
ipv6? ( ssl? (
|
|
||||||
gnutls? (
|
|
||||||
net-libs/gnutls[openssl(+)]
|
|
||||||
net-libs/gnutls[static-libs(+)]
|
|
||||||
)
|
|
||||||
!gnutls? ( dev-libs/openssl:0[static-libs(+)] )
|
|
||||||
) )"
|
|
||||||
RDEPEND="!net-misc/rarpd
|
|
||||||
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
static? ( ${LIB_DEPEND} )
|
|
||||||
virtual/os-headers"
|
|
||||||
if [[ ${PV} == "99999999" ]] ; then
|
|
||||||
DEPEND+="
|
|
||||||
app-text/openjade
|
|
||||||
dev-perl/SGMLSpm
|
|
||||||
app-text/docbook-sgml-dtd
|
|
||||||
app-text/docbook-sgml-utils
|
|
||||||
"
|
|
||||||
fi
|
|
||||||
|
|
||||||
S=${WORKDIR}/${PN}-s${PV}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/021109-uclibc-no-ether_ntohost.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-20121221-openssl.patch #335436
|
|
||||||
epatch "${FILESDIR}"/${PN}-20121221-crypto-build.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-20100418-so_mark.patch #335347
|
|
||||||
epatch "${FILESDIR}"/${PN}-20121221-makefile.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-20121221-printf-size.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-20121221-owl-pingsock.diff
|
|
||||||
use SECURITY_HAZARD && epatch "${FILESDIR}"/${PN}-20071127-nonroot-floodping.patch
|
|
||||||
use static && append-ldflags -static
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
tc-export CC
|
|
||||||
emake \
|
|
||||||
USE_CAP=$(usex caps) \
|
|
||||||
USE_IDN=$(usex idn) \
|
|
||||||
USE_GNUTLS=$(usex gnutls) \
|
|
||||||
USE_CRYPTO=$(usex ssl) \
|
|
||||||
$(use ipv6 || echo IPV6_TARGETS=)
|
|
||||||
|
|
||||||
if [[ ${PV} == "99999999" ]] ; then
|
|
||||||
emake -j1 html man
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
ipv6() { usex ipv6 "$*" '' ; }
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
into /
|
|
||||||
dobin arping ping $(ipv6 ping6)
|
|
||||||
into /usr
|
|
||||||
dobin clockdiff
|
|
||||||
dosbin rarpd rdisc ipg tftpd tracepath $(ipv6 tracepath6)
|
|
||||||
|
|
||||||
dodoc INSTALL RELNOTES
|
|
||||||
use ipv6 \
|
|
||||||
&& dosym ping.8 /usr/share/man/man8/ping6.8 \
|
|
||||||
|| rm -f doc/*6.8
|
|
||||||
rm -f doc/{setkey,traceroute6}.8
|
|
||||||
doman doc/*.8
|
|
||||||
|
|
||||||
use doc && dohtml doc/*.html
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
fcaps cap_net_raw \
|
|
||||||
bin/{ar,}ping \
|
|
||||||
$(ipv6 bin/ping6) \
|
|
||||||
usr/bin/clockdiff
|
|
||||||
}
|
|
@ -1,154 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
# For released versions, we precompile the man/html pages and store
|
|
||||||
# them in a tarball on our mirrors. This avoids ugly issues while
|
|
||||||
# building stages, and when the jade/sgml packages are broken (which
|
|
||||||
# seems to be more common than would be nice).
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
|
|
||||||
inherit flag-o-matic eutils toolchain-funcs fcaps
|
|
||||||
if [[ ${PV} == "99999999" ]] ; then
|
|
||||||
EGIT_REPO_URI="git://www.linux-ipv6.org/gitroot/iputils"
|
|
||||||
inherit git-2
|
|
||||||
else
|
|
||||||
SRC_URI="http://www.skbuff.net/iputils/iputils-s${PV}.tar.bz2
|
|
||||||
mirror://gentoo/iputils-s${PV}-manpages.tar.bz2"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Network monitoring tools including ping and ping6"
|
|
||||||
HOMEPAGE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iputils"
|
|
||||||
|
|
||||||
LICENSE="BSD-4"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="arping caps clockdiff doc gnutls idn ipv6 libressl rarpd rdisc SECURITY_HAZARD ssl static tftpd tracepath traceroute"
|
|
||||||
|
|
||||||
LIB_DEPEND="caps? ( sys-libs/libcap[static-libs(+)] )
|
|
||||||
idn? ( net-dns/libidn[static-libs(+)] )
|
|
||||||
ipv6? ( ssl? (
|
|
||||||
gnutls? (
|
|
||||||
net-libs/gnutls[openssl(+)]
|
|
||||||
net-libs/gnutls[static-libs(+)]
|
|
||||||
)
|
|
||||||
!gnutls? (
|
|
||||||
!libressl? ( dev-libs/openssl:0[static-libs(+)] )
|
|
||||||
libressl? ( dev-libs/libressl[static-libs(+)] )
|
|
||||||
)
|
|
||||||
) )"
|
|
||||||
RDEPEND="arping? ( !net-misc/arping )
|
|
||||||
rarpd? ( !net-misc/rarpd )
|
|
||||||
traceroute? ( !net-analyzer/traceroute )
|
|
||||||
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
static? ( ${LIB_DEPEND} )
|
|
||||||
virtual/os-headers"
|
|
||||||
if [[ ${PV} == "99999999" ]] ; then
|
|
||||||
DEPEND+="
|
|
||||||
app-text/openjade
|
|
||||||
dev-perl/SGMLSpm
|
|
||||||
app-text/docbook-sgml-dtd
|
|
||||||
app-text/docbook-sgml-utils
|
|
||||||
"
|
|
||||||
fi
|
|
||||||
|
|
||||||
S=${WORKDIR}/${PN}-s${PV}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/021109-uclibc-no-ether_ntohost.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-20121221-openssl.patch #335436
|
|
||||||
epatch "${FILESDIR}"/${PN}-20121221-crypto-build.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-20100418-so_mark.patch #335347
|
|
||||||
epatch "${FILESDIR}"/${PN}-20121221-tftpd-setid.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-20121221-tftpd-syslog.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-20121221-makefile.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-20121221-parallel-doc.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-20121221-printf-size.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-20121221-owl-pingsock.diff
|
|
||||||
epatch "${FILESDIR}"/${PN}-20121221-strtod.patch #472592
|
|
||||||
use SECURITY_HAZARD && epatch "${FILESDIR}"/${PN}-20071127-nonroot-floodping.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
use static && append-ldflags -static
|
|
||||||
|
|
||||||
IPV4_TARGETS=(
|
|
||||||
ping
|
|
||||||
$(for v in arping clockdiff rarpd rdisc tftpd tracepath ; do usev ${v} ; done)
|
|
||||||
)
|
|
||||||
IPV6_TARGETS=(
|
|
||||||
ping6
|
|
||||||
$(usex tracepath 'tracepath6' '')
|
|
||||||
$(usex traceroute 'traceroute6' '')
|
|
||||||
)
|
|
||||||
use ipv6 || IPV6_TARGETS=()
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
tc-export CC
|
|
||||||
emake \
|
|
||||||
USE_CAP=$(usex caps) \
|
|
||||||
USE_IDN=$(usex idn) \
|
|
||||||
USE_GNUTLS=$(usex gnutls) \
|
|
||||||
USE_CRYPTO=$(usex ssl) \
|
|
||||||
IPV4_TARGETS="${IPV4_TARGETS[*]}" \
|
|
||||||
IPV6_TARGETS="${IPV6_TARGETS[*]}"
|
|
||||||
|
|
||||||
if [[ ${PV} == "99999999" ]] ; then
|
|
||||||
emake html man
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
into /
|
|
||||||
dobin ping $(usex ipv6 'ping6' '')
|
|
||||||
use ipv6 && dosym ping.8 "${EPREFIX}"/usr/share/man/man8/ping6.8
|
|
||||||
doman doc/ping.8
|
|
||||||
|
|
||||||
if use arping ; then
|
|
||||||
dobin arping
|
|
||||||
doman doc/arping.8
|
|
||||||
fi
|
|
||||||
|
|
||||||
into /usr
|
|
||||||
|
|
||||||
local u
|
|
||||||
for u in clockdiff rarpd rdisc tftpd tracepath ; do
|
|
||||||
if use ${u} ; then
|
|
||||||
case ${u} in
|
|
||||||
clockdiff) dobin ${u};;
|
|
||||||
*) dosbin ${u};;
|
|
||||||
esac
|
|
||||||
doman doc/${u}.8
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if use tracepath && use ipv6 ; then
|
|
||||||
dosbin tracepath6
|
|
||||||
dosym tracepath.8 "${EPREFIX}"/usr/share/man/man8/tracepath6.8
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use traceroute && use ipv6 ; then
|
|
||||||
dosbin traceroute6
|
|
||||||
doman doc/traceroute6.8
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use rarpd ; then
|
|
||||||
newinitd "${FILESDIR}"/rarpd.init.d rarpd
|
|
||||||
newconfd "${FILESDIR}"/rarpd.conf.d rarpd
|
|
||||||
fi
|
|
||||||
|
|
||||||
dodoc INSTALL RELNOTES
|
|
||||||
|
|
||||||
use doc && dohtml doc/*.html
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
fcaps cap_net_raw \
|
|
||||||
bin/ping \
|
|
||||||
$(usex ipv6 'bin/ping6' '') \
|
|
||||||
$(usex arping 'bin/arping' '') \
|
|
||||||
$(usex clockdiff 'usr/bin/clockdiff' '')
|
|
||||||
}
|
|
@ -1,159 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
# For released versions, we precompile the man/html pages and store
|
|
||||||
# them in a tarball on our mirrors. This avoids ugly issues while
|
|
||||||
# building stages, and when the jade/sgml packages are broken (which
|
|
||||||
# seems to be more common than would be nice).
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit flag-o-matic eutils toolchain-funcs fcaps
|
|
||||||
if [[ ${PV} == "99999999" ]] ; then
|
|
||||||
EGIT_REPO_URI="git://www.linux-ipv6.org/gitroot/iputils"
|
|
||||||
inherit git-2
|
|
||||||
else
|
|
||||||
SRC_URI="http://www.skbuff.net/iputils/iputils-s${PV}.tar.bz2
|
|
||||||
https://dev.gentoo.org/~polynomial-c/iputils-s${PV}-manpages.tar.xz"
|
|
||||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-linux ~x86-linux"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Network monitoring tools including ping and ping6"
|
|
||||||
HOMEPAGE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iputils"
|
|
||||||
|
|
||||||
LICENSE="BSD-4"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="arping caps clockdiff doc gcrypt idn ipv6 libressl rarpd rdisc SECURITY_HAZARD ssl static tftpd tracepath traceroute"
|
|
||||||
|
|
||||||
LIB_DEPEND="caps? ( sys-libs/libcap[static-libs(+)] )
|
|
||||||
idn? ( net-dns/libidn[static-libs(+)] )
|
|
||||||
ipv6? ( ssl? (
|
|
||||||
gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] )
|
|
||||||
!gcrypt? (
|
|
||||||
!libressl? ( dev-libs/openssl:0[static-libs(+)] )
|
|
||||||
libressl? ( dev-libs/libressl[static-libs(+)] )
|
|
||||||
)
|
|
||||||
) )"
|
|
||||||
RDEPEND="arping? ( !net-misc/arping )
|
|
||||||
rarpd? ( !net-misc/rarpd )
|
|
||||||
traceroute? ( !net-analyzer/traceroute )
|
|
||||||
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
static? ( ${LIB_DEPEND} )
|
|
||||||
virtual/os-headers"
|
|
||||||
if [[ ${PV} == "99999999" ]] ; then
|
|
||||||
DEPEND+="
|
|
||||||
app-text/openjade
|
|
||||||
dev-perl/SGMLSpm
|
|
||||||
app-text/docbook-sgml-dtd
|
|
||||||
app-text/docbook-sgml-utils
|
|
||||||
"
|
|
||||||
fi
|
|
||||||
|
|
||||||
S=${WORKDIR}/${PN}-s${PV}
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/021109-uclibc-no-ether_ntohost.patch
|
|
||||||
"${FILESDIR}"/${PN}-99999999-openssl.patch #335436
|
|
||||||
"${FILESDIR}"/${PN}-99999999-tftpd-syslog.patch
|
|
||||||
"${FILESDIR}"/${PN}-20121221-makefile.patch
|
|
||||||
"${FILESDIR}"/${PN}-20121221-parallel-doc.patch
|
|
||||||
"${FILESDIR}"/${PN}-20121221-strtod.patch #472592
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
use SECURITY_HAZARD && PATCHES+=( "${FILESDIR}"/${PN}-20071127-nonroot-floodping.patch )
|
|
||||||
epatch "${PATCHES[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
use static && append-ldflags -static
|
|
||||||
|
|
||||||
IPV4_TARGETS=(
|
|
||||||
ping
|
|
||||||
$(for v in arping clockdiff rarpd rdisc tftpd tracepath ; do usev ${v} ; done)
|
|
||||||
)
|
|
||||||
IPV6_TARGETS=(
|
|
||||||
ping6
|
|
||||||
$(usex tracepath 'tracepath6' '')
|
|
||||||
$(usex traceroute 'traceroute6' '')
|
|
||||||
)
|
|
||||||
use ipv6 || IPV6_TARGETS=()
|
|
||||||
}
|
|
||||||
|
|
||||||
ldflag_resolv() {
|
|
||||||
# See if the system includes a libresolv. #584132
|
|
||||||
echo "main(){}" > "${T}"/resolv.c
|
|
||||||
if ${CC} ${CFLAGS} ${LDFLAGS} "${T}"/resolv.c -lresolv -o "${T}"/resolv 2>/dev/null ; then
|
|
||||||
echo -lresolv
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
tc-export CC
|
|
||||||
emake \
|
|
||||||
USE_CAP=$(usex caps) \
|
|
||||||
USE_IDN=$(usex idn) \
|
|
||||||
USE_GCRYPT=$(usex gcrypt) \
|
|
||||||
USE_CRYPTO=$(usex ssl) \
|
|
||||||
LDFLAG_RESOLV=$(ldflag_resolv) \
|
|
||||||
IPV4_TARGETS="${IPV4_TARGETS[*]}" \
|
|
||||||
IPV6_TARGETS="${IPV6_TARGETS[*]}"
|
|
||||||
|
|
||||||
if [[ ${PV} == "99999999" ]] ; then
|
|
||||||
emake html man
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
into /
|
|
||||||
dobin ping $(usex ipv6 'ping6' '')
|
|
||||||
use ipv6 && dosym ping.8 /usr/share/man/man8/ping6.8
|
|
||||||
doman doc/ping.8
|
|
||||||
|
|
||||||
if use arping ; then
|
|
||||||
dobin arping
|
|
||||||
doman doc/arping.8
|
|
||||||
fi
|
|
||||||
|
|
||||||
into /usr
|
|
||||||
|
|
||||||
local u
|
|
||||||
for u in clockdiff rarpd rdisc tftpd tracepath ; do
|
|
||||||
if use ${u} ; then
|
|
||||||
case ${u} in
|
|
||||||
clockdiff) dobin ${u};;
|
|
||||||
*) dosbin ${u};;
|
|
||||||
esac
|
|
||||||
doman doc/${u}.8
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if use tracepath && use ipv6 ; then
|
|
||||||
dosbin tracepath6
|
|
||||||
dosym tracepath.8 /usr/share/man/man8/tracepath6.8
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use traceroute && use ipv6 ; then
|
|
||||||
dosbin traceroute6
|
|
||||||
doman doc/traceroute6.8
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use rarpd ; then
|
|
||||||
newinitd "${FILESDIR}"/rarpd.init.d rarpd
|
|
||||||
newconfd "${FILESDIR}"/rarpd.conf.d rarpd
|
|
||||||
fi
|
|
||||||
|
|
||||||
dodoc INSTALL RELNOTES
|
|
||||||
|
|
||||||
use doc && dohtml doc/*.html
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
fcaps cap_net_raw \
|
|
||||||
bin/ping \
|
|
||||||
$(usex ipv6 'bin/ping6' '') \
|
|
||||||
$(usex arping 'bin/arping' '') \
|
|
||||||
$(usex clockdiff 'usr/bin/clockdiff' '')
|
|
||||||
}
|
|
@ -1,166 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
# For released versions, we precompile the man/html pages and store
|
|
||||||
# them in a tarball on our mirrors. This avoids ugly issues while
|
|
||||||
# building stages, and when the jade/sgml packages are broken (which
|
|
||||||
# seems to be more common than would be nice).
|
|
||||||
# Required packages for doc generation:
|
|
||||||
# app-text/docbook-sgml-utils
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit flag-o-matic eutils toolchain-funcs fcaps
|
|
||||||
if [[ ${PV} == "99999999" ]] ; then
|
|
||||||
EGIT_REPO_URI="https://github.com/iputils/iputils.git"
|
|
||||||
inherit git-r3
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/iputils/iputils/archive/s${PV}.tar.gz -> ${P}.tar.gz
|
|
||||||
https://dev.gentoo.org/~polynomial-c/iputils-s${PV}-manpages.tar.xz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Network monitoring tools including ping and ping6"
|
|
||||||
HOMEPAGE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iputils"
|
|
||||||
|
|
||||||
LICENSE="BSD-4"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="arping caps clockdiff doc gcrypt idn ipv6 libressl nettle +openssl rarpd rdisc SECURITY_HAZARD ssl static tftpd tracepath traceroute"
|
|
||||||
|
|
||||||
LIB_DEPEND="caps? ( sys-libs/libcap[static-libs(+)] )
|
|
||||||
idn? ( net-dns/libidn[static-libs(+)] )
|
|
||||||
ipv6? ( ssl? (
|
|
||||||
gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] )
|
|
||||||
nettle? ( dev-libs/nettle[static-libs(+)] )
|
|
||||||
openssl? (
|
|
||||||
!libressl? ( dev-libs/openssl:0[static-libs(+)] )
|
|
||||||
libressl? ( dev-libs/libressl[static-libs(+)] )
|
|
||||||
)
|
|
||||||
) )"
|
|
||||||
RDEPEND="arping? ( !net-misc/arping )
|
|
||||||
rarpd? ( !net-misc/rarpd )
|
|
||||||
traceroute? ( !net-analyzer/traceroute )
|
|
||||||
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
static? ( ${LIB_DEPEND} )
|
|
||||||
virtual/os-headers"
|
|
||||||
if [[ ${PV} == "99999999" ]] ; then
|
|
||||||
DEPEND+="
|
|
||||||
app-text/openjade
|
|
||||||
dev-perl/SGMLSpm
|
|
||||||
app-text/docbook-sgml-dtd
|
|
||||||
app-text/docbook-sgml-utils
|
|
||||||
"
|
|
||||||
fi
|
|
||||||
|
|
||||||
REQUIRED_USE="ipv6? ( ssl? ( ^^ ( gcrypt nettle openssl ) ) )"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${PN}-s${PV}
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/021109-uclibc-no-ether_ntohost.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch ${PATCHES[@]}
|
|
||||||
use SECURITY_HAZARD && epatch "${FILESDIR}"/${PN}-20150815-nonroot-floodping.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
use static && append-ldflags -static
|
|
||||||
|
|
||||||
TARGETS=(
|
|
||||||
ping
|
|
||||||
$(for v in arping clockdiff rarpd rdisc tftpd tracepath ; do usev ${v} ; done)
|
|
||||||
)
|
|
||||||
if use ipv6 ; then
|
|
||||||
TARGETS+=(
|
|
||||||
$(usex tracepath 'tracepath6' '')
|
|
||||||
$(usex traceroute 'traceroute6' '')
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
myconf=(
|
|
||||||
USE_CRYPTO=no
|
|
||||||
USE_GCRYPT=no
|
|
||||||
USE_NETTLE=no
|
|
||||||
)
|
|
||||||
|
|
||||||
if use ipv6 && use ssl ; then
|
|
||||||
myconf=(
|
|
||||||
USE_CRYPTO=$(usex openssl)
|
|
||||||
USE_GCRYPT=$(usex gcrypt)
|
|
||||||
USE_NETTLE=$(usex nettle)
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
tc-export CC
|
|
||||||
emake \
|
|
||||||
USE_CAP=$(usex caps) \
|
|
||||||
USE_IDN=$(usex idn) \
|
|
||||||
IPV4_DEFAULT=$(usex ipv6 'no' 'yes') \
|
|
||||||
TARGETS="${TARGETS[*]}" \
|
|
||||||
${myconf[@]}
|
|
||||||
|
|
||||||
if [[ ${PV} == "99999999" ]] ; then
|
|
||||||
emake html man
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
into /
|
|
||||||
dobin ping
|
|
||||||
dosym ping /bin/ping4
|
|
||||||
if use ipv6 ; then
|
|
||||||
dosym ping /bin/ping6
|
|
||||||
dosym ping.8 /usr/share/man/man8/ping6.8
|
|
||||||
fi
|
|
||||||
doman doc/ping.8
|
|
||||||
|
|
||||||
if use arping ; then
|
|
||||||
dobin arping
|
|
||||||
doman doc/arping.8
|
|
||||||
fi
|
|
||||||
|
|
||||||
into /usr
|
|
||||||
|
|
||||||
local u
|
|
||||||
for u in clockdiff rarpd rdisc tftpd tracepath ; do
|
|
||||||
if use ${u} ; then
|
|
||||||
case ${u} in
|
|
||||||
clockdiff) dobin ${u};;
|
|
||||||
*) dosbin ${u};;
|
|
||||||
esac
|
|
||||||
doman doc/${u}.8
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if use tracepath && use ipv6 ; then
|
|
||||||
dosbin tracepath6
|
|
||||||
dosym tracepath.8 /usr/share/man/man8/tracepath6.8
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use traceroute && use ipv6 ; then
|
|
||||||
dosbin traceroute6
|
|
||||||
doman doc/traceroute6.8
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use rarpd ; then
|
|
||||||
newinitd "${FILESDIR}"/rarpd.init.d rarpd
|
|
||||||
newconfd "${FILESDIR}"/rarpd.conf.d rarpd
|
|
||||||
fi
|
|
||||||
|
|
||||||
dodoc INSTALL RELNOTES
|
|
||||||
|
|
||||||
use doc && dohtml doc/*.html
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
fcaps cap_net_raw \
|
|
||||||
bin/ping \
|
|
||||||
$(usex arping 'bin/arping' '') \
|
|
||||||
$(usex clockdiff 'usr/bin/clockdiff' '')
|
|
||||||
}
|
|
173
sdk_container/src/third_party/portage-stable/net-misc/iputils/iputils-20210202.ebuild
vendored
Normal file
173
sdk_container/src/third_party/portage-stable/net-misc/iputils/iputils-20210202.ebuild
vendored
Normal file
@ -0,0 +1,173 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# For released versions, we precompile the man/html pages and store
|
||||||
|
# them in a tarball on our mirrors. This avoids ugly issues while
|
||||||
|
# building stages, and reduces dependencies.
|
||||||
|
# To regenerate man/html pages emerge iputils-99999999[doc] with
|
||||||
|
# EGIT_COMMIT set to release tag, all USE flags enabled and
|
||||||
|
# tar ${S}/doc folder.
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
PLOCALES="de fr ja pt_BR tr uk zh_CN"
|
||||||
|
|
||||||
|
inherit fcaps flag-o-matic meson plocale systemd toolchain-funcs
|
||||||
|
|
||||||
|
if [[ ${PV} == "99999999" ]] ; then
|
||||||
|
EGIT_REPO_URI="https://github.com/iputils/iputils.git"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/iputils/iputils/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
https://dev.gentoo.org/~whissi/dist/iputils/${PN}-manpages-${PV}.tar.xz"
|
||||||
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Network monitoring tools including ping and ping6"
|
||||||
|
HOMEPAGE="https://wiki.linuxfoundation.org/networking/iputils"
|
||||||
|
|
||||||
|
LICENSE="BSD GPL-2+ rdisc"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="+arping caps clockdiff doc gcrypt idn ipv6 nettle nls rarpd rdisc ssl static tftpd tracepath traceroute6"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
nls? ( sys-devel/gettext )
|
||||||
|
"
|
||||||
|
|
||||||
|
LIB_DEPEND="
|
||||||
|
caps? ( sys-libs/libcap[static-libs(+)] )
|
||||||
|
idn? ( net-dns/libidn2:=[static-libs(+)] )
|
||||||
|
nls? ( virtual/libintl[static-libs(+)] )
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
traceroute6? ( !net-analyzer/traceroute )
|
||||||
|
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
virtual/os-headers
|
||||||
|
static? ( ${LIB_DEPEND} )
|
||||||
|
"
|
||||||
|
|
||||||
|
if [[ ${PV} == "99999999" ]] ; then
|
||||||
|
BDEPEND+="
|
||||||
|
app-text/docbook-xml-dtd:4.2
|
||||||
|
app-text/docbook-xml-dtd:4.5
|
||||||
|
app-text/docbook-xsl-ns-stylesheets
|
||||||
|
app-text/docbook-xsl-stylesheets
|
||||||
|
dev-libs/libxslt:0
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
plocale_get_locales > po/LINGUAS || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
use static && append-ldflags -static
|
||||||
|
|
||||||
|
local emesonargs=(
|
||||||
|
-DUSE_CAP="$(usex caps true false)"
|
||||||
|
-DUSE_IDN="$(usex idn true false)"
|
||||||
|
-DBUILD_ARPING="$(usex arping true false)"
|
||||||
|
-DBUILD_CLOCKDIFF="$(usex clockdiff true false)"
|
||||||
|
-DBUILD_PING="true"
|
||||||
|
-DBUILD_RARPD="$(usex rarpd true false)"
|
||||||
|
-DBUILD_RDISC="$(usex rdisc true false)"
|
||||||
|
-DENABLE_RDISC_SERVER="$(usex rdisc true false)"
|
||||||
|
-DBUILD_TFTPD="$(usex tftpd true false)"
|
||||||
|
-DBUILD_TRACEPATH="$(usex tracepath true false)"
|
||||||
|
-DBUILD_TRACEROUTE6="$(usex ipv6 $(usex traceroute6 true false) false)"
|
||||||
|
-DBUILD_NINFOD="false"
|
||||||
|
-DNINFOD_MESSAGES="false"
|
||||||
|
-DNO_SETCAP_OR_SUID="true"
|
||||||
|
-Dsystemdunitdir="$(systemd_get_systemunitdir)"
|
||||||
|
-DUSE_GETTEXT="$(usex nls true false)"
|
||||||
|
)
|
||||||
|
|
||||||
|
if [[ "${PV}" == 99999999 ]] ; then
|
||||||
|
emesonargs+=(
|
||||||
|
-DBUILD_HTML_MANS="$(usex doc true false)"
|
||||||
|
-DBUILD_MANS="true"
|
||||||
|
)
|
||||||
|
else
|
||||||
|
emesonargs+=(
|
||||||
|
-DBUILD_HTML_MANS="false"
|
||||||
|
-DBUILD_MANS="false"
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
tc-export CC
|
||||||
|
meson_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
meson_src_install
|
||||||
|
|
||||||
|
dodir /bin
|
||||||
|
local my_bin
|
||||||
|
for my_bin in $(usex arping arping '') ping ; do
|
||||||
|
mv "${ED}"/usr/bin/${my_bin} "${ED}"/bin/ || die
|
||||||
|
done
|
||||||
|
dosym ping /bin/ping4
|
||||||
|
|
||||||
|
if use tracepath ; then
|
||||||
|
dosym tracepath /usr/bin/tracepath4
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use ipv6 ; then
|
||||||
|
dosym ping /bin/ping6
|
||||||
|
|
||||||
|
if use tracepath ; then
|
||||||
|
dosym tracepath /usr/bin/tracepath6
|
||||||
|
dosym tracepath.8 /usr/share/man/man8/tracepath6.8
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${PV}" != 99999999 ]] ; then
|
||||||
|
local -a man_pages
|
||||||
|
local -a html_man_pages
|
||||||
|
|
||||||
|
while IFS= read -r -u 3 -d $'\0' my_bin
|
||||||
|
do
|
||||||
|
my_bin=$(basename "${my_bin}")
|
||||||
|
[[ -z "${my_bin}" ]] && continue
|
||||||
|
|
||||||
|
if [[ -f "${S}/doc/${my_bin}.8" ]] ; then
|
||||||
|
man_pages+=( ${my_bin}.8 )
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -f "${S}/doc/${my_bin}.html" ]] ; then
|
||||||
|
html_man_pages+=( ${my_bin}.html )
|
||||||
|
fi
|
||||||
|
done 3< <(find "${ED}"/{bin,usr/bin,usr/sbin} -type f -perm -a+x -print0 2>/dev/null)
|
||||||
|
|
||||||
|
pushd doc &>/dev/null || die
|
||||||
|
doman "${man_pages[@]}"
|
||||||
|
if use doc ; then
|
||||||
|
docinto html
|
||||||
|
dodoc "${html_man_pages[@]}"
|
||||||
|
fi
|
||||||
|
popd &>/dev/null || die
|
||||||
|
else
|
||||||
|
if use doc ; then
|
||||||
|
mv "${ED}"/usr/share/${PN} "${ED}"/usr/share/doc/${PF}/html || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
fcaps cap_net_raw \
|
||||||
|
bin/ping \
|
||||||
|
$(usex arping 'bin/arping' '') \
|
||||||
|
$(usex clockdiff 'usr/bin/clockdiff' '')
|
||||||
|
}
|
192
sdk_container/src/third_party/portage-stable/net-misc/iputils/iputils-20210722-r1.ebuild
vendored
Normal file
192
sdk_container/src/third_party/portage-stable/net-misc/iputils/iputils-20210722-r1.ebuild
vendored
Normal file
@ -0,0 +1,192 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# For released versions, we precompile the man/html pages and store
|
||||||
|
# them in a tarball on our mirrors. This avoids ugly issues while
|
||||||
|
# building stages, and reduces dependencies.
|
||||||
|
# To regenerate man/html pages emerge iputils-99999999[doc] with
|
||||||
|
# EGIT_COMMIT set to release tag, all USE flags enabled and
|
||||||
|
# tar ${S}/doc folder.
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
PLOCALES="de fr ja pt_BR tr uk zh_CN"
|
||||||
|
|
||||||
|
inherit fcaps flag-o-matic meson plocale systemd toolchain-funcs
|
||||||
|
|
||||||
|
if [[ ${PV} == "99999999" ]] ; then
|
||||||
|
EGIT_REPO_URI="https://github.com/iputils/iputils.git"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/iputils/iputils/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
https://dev.gentoo.org/~whissi/dist/iputils/${PN}-manpages-${PV}.tar.xz"
|
||||||
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Network monitoring tools including ping and ping6"
|
||||||
|
HOMEPAGE="https://wiki.linuxfoundation.org/networking/iputils"
|
||||||
|
|
||||||
|
LICENSE="BSD GPL-2+ rdisc"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="+arping caps clockdiff doc gcrypt idn ipv6 nettle nls rarpd rdisc ssl static test tftpd tracepath traceroute6"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
test? ( sys-apps/iproute2 )
|
||||||
|
nls? ( sys-devel/gettext )
|
||||||
|
"
|
||||||
|
|
||||||
|
LIB_DEPEND="
|
||||||
|
caps? ( sys-libs/libcap[static-libs(+)] )
|
||||||
|
idn? ( net-dns/libidn2:=[static-libs(+)] )
|
||||||
|
nls? ( virtual/libintl[static-libs(+)] )
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
traceroute6? ( !net-analyzer/traceroute )
|
||||||
|
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
virtual/os-headers
|
||||||
|
static? ( ${LIB_DEPEND} )
|
||||||
|
"
|
||||||
|
|
||||||
|
if [[ ${PV} == "99999999" ]] ; then
|
||||||
|
BDEPEND+="
|
||||||
|
app-text/docbook-xml-dtd:4.2
|
||||||
|
app-text/docbook-xml-dtd:4.5
|
||||||
|
app-text/docbook-xsl-ns-stylesheets
|
||||||
|
app-text/docbook-xsl-stylesheets
|
||||||
|
dev-libs/libxslt:0
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
# Upstream; drop on bump
|
||||||
|
"${FILESDIR}"/${P}-optional-tests.patch
|
||||||
|
# Upstream; drop on bump
|
||||||
|
"${FILESDIR}"/${P}-fix-no-ipv6-ping.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
plocale_get_locales > po/LINGUAS || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
use static && append-ldflags -static
|
||||||
|
|
||||||
|
local emesonargs=(
|
||||||
|
-DUSE_CAP="$(usex caps true false)"
|
||||||
|
-DUSE_IDN="$(usex idn true false)"
|
||||||
|
-DBUILD_ARPING="$(usex arping true false)"
|
||||||
|
-DBUILD_CLOCKDIFF="$(usex clockdiff true false)"
|
||||||
|
-DBUILD_PING="true"
|
||||||
|
-DBUILD_RARPD="$(usex rarpd true false)"
|
||||||
|
-DBUILD_RDISC="$(usex rdisc true false)"
|
||||||
|
-DENABLE_RDISC_SERVER="$(usex rdisc true false)"
|
||||||
|
-DBUILD_TFTPD="$(usex tftpd true false)"
|
||||||
|
-DBUILD_TRACEPATH="$(usex tracepath true false)"
|
||||||
|
-DBUILD_TRACEROUTE6="$(usex ipv6 $(usex traceroute6 true false) false)"
|
||||||
|
-DBUILD_NINFOD="false"
|
||||||
|
-DNINFOD_MESSAGES="false"
|
||||||
|
-DNO_SETCAP_OR_SUID="true"
|
||||||
|
-Dsystemdunitdir="$(systemd_get_systemunitdir)"
|
||||||
|
-DUSE_GETTEXT="$(usex nls true false)"
|
||||||
|
$(meson_use !test SKIP_TESTS)
|
||||||
|
)
|
||||||
|
|
||||||
|
if [[ "${PV}" == 99999999 ]] ; then
|
||||||
|
emesonargs+=(
|
||||||
|
-DBUILD_HTML_MANS="$(usex doc true false)"
|
||||||
|
-DBUILD_MANS="true"
|
||||||
|
)
|
||||||
|
else
|
||||||
|
emesonargs+=(
|
||||||
|
-DBUILD_HTML_MANS="false"
|
||||||
|
-DBUILD_MANS="false"
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
tc-export CC
|
||||||
|
meson_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
if [[ ${EUID} != 0 ]]; then
|
||||||
|
einfo "Tests require root privileges; Skipping ..."
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
meson_src_test
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
meson_src_install
|
||||||
|
|
||||||
|
dodir /bin
|
||||||
|
local my_bin
|
||||||
|
for my_bin in $(usex arping arping '') ping ; do
|
||||||
|
mv "${ED}"/usr/bin/${my_bin} "${ED}"/bin/ || die
|
||||||
|
done
|
||||||
|
dosym ping /bin/ping4
|
||||||
|
|
||||||
|
if use tracepath ; then
|
||||||
|
dosym tracepath /usr/bin/tracepath4
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use ipv6 ; then
|
||||||
|
dosym ping /bin/ping6
|
||||||
|
|
||||||
|
if use tracepath ; then
|
||||||
|
dosym tracepath /usr/bin/tracepath6
|
||||||
|
dosym tracepath.8 /usr/share/man/man8/tracepath6.8
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${PV}" != 99999999 ]] ; then
|
||||||
|
local -a man_pages
|
||||||
|
local -a html_man_pages
|
||||||
|
|
||||||
|
while IFS= read -r -u 3 -d $'\0' my_bin
|
||||||
|
do
|
||||||
|
my_bin=$(basename "${my_bin}")
|
||||||
|
[[ -z "${my_bin}" ]] && continue
|
||||||
|
|
||||||
|
if [[ -f "${S}/doc/${my_bin}.8" ]] ; then
|
||||||
|
man_pages+=( ${my_bin}.8 )
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -f "${S}/doc/${my_bin}.html" ]] ; then
|
||||||
|
html_man_pages+=( ${my_bin}.html )
|
||||||
|
fi
|
||||||
|
done 3< <(find "${ED}"/{bin,usr/bin,usr/sbin} -type f -perm -a+x -print0 2>/dev/null)
|
||||||
|
|
||||||
|
pushd doc &>/dev/null || die
|
||||||
|
doman "${man_pages[@]}"
|
||||||
|
if use doc ; then
|
||||||
|
docinto html
|
||||||
|
dodoc "${html_man_pages[@]}"
|
||||||
|
fi
|
||||||
|
popd &>/dev/null || die
|
||||||
|
else
|
||||||
|
if use doc ; then
|
||||||
|
mv "${ED}"/usr/share/${PN} "${ED}"/usr/share/doc/${PF}/html || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
fcaps cap_net_raw \
|
||||||
|
bin/ping \
|
||||||
|
$(usex arping 'bin/arping' '') \
|
||||||
|
$(usex clockdiff 'usr/bin/clockdiff' '')
|
||||||
|
}
|
190
sdk_container/src/third_party/portage-stable/net-misc/iputils/iputils-20210722.ebuild
vendored
Normal file
190
sdk_container/src/third_party/portage-stable/net-misc/iputils/iputils-20210722.ebuild
vendored
Normal file
@ -0,0 +1,190 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# For released versions, we precompile the man/html pages and store
|
||||||
|
# them in a tarball on our mirrors. This avoids ugly issues while
|
||||||
|
# building stages, and reduces dependencies.
|
||||||
|
# To regenerate man/html pages emerge iputils-99999999[doc] with
|
||||||
|
# EGIT_COMMIT set to release tag, all USE flags enabled and
|
||||||
|
# tar ${S}/doc folder.
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
PLOCALES="de fr ja pt_BR tr uk zh_CN"
|
||||||
|
|
||||||
|
inherit fcaps flag-o-matic meson plocale systemd toolchain-funcs
|
||||||
|
|
||||||
|
if [[ ${PV} == "99999999" ]] ; then
|
||||||
|
EGIT_REPO_URI="https://github.com/iputils/iputils.git"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/iputils/iputils/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
https://dev.gentoo.org/~whissi/dist/iputils/${PN}-manpages-${PV}.tar.xz"
|
||||||
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Network monitoring tools including ping and ping6"
|
||||||
|
HOMEPAGE="https://wiki.linuxfoundation.org/networking/iputils"
|
||||||
|
|
||||||
|
LICENSE="BSD GPL-2+ rdisc"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="+arping caps clockdiff doc gcrypt idn ipv6 nettle nls rarpd rdisc ssl static test tftpd tracepath traceroute6"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
test? ( sys-apps/iproute2 )
|
||||||
|
nls? ( sys-devel/gettext )
|
||||||
|
"
|
||||||
|
|
||||||
|
LIB_DEPEND="
|
||||||
|
caps? ( sys-libs/libcap[static-libs(+)] )
|
||||||
|
idn? ( net-dns/libidn2:=[static-libs(+)] )
|
||||||
|
nls? ( virtual/libintl[static-libs(+)] )
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
traceroute6? ( !net-analyzer/traceroute )
|
||||||
|
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
virtual/os-headers
|
||||||
|
static? ( ${LIB_DEPEND} )
|
||||||
|
"
|
||||||
|
|
||||||
|
if [[ ${PV} == "99999999" ]] ; then
|
||||||
|
BDEPEND+="
|
||||||
|
app-text/docbook-xml-dtd:4.2
|
||||||
|
app-text/docbook-xml-dtd:4.5
|
||||||
|
app-text/docbook-xsl-ns-stylesheets
|
||||||
|
app-text/docbook-xsl-stylesheets
|
||||||
|
dev-libs/libxslt:0
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
# Upstream; drop on bump
|
||||||
|
"${FILESDIR}"/${P}-optional-tests.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
plocale_get_locales > po/LINGUAS || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
use static && append-ldflags -static
|
||||||
|
|
||||||
|
local emesonargs=(
|
||||||
|
-DUSE_CAP="$(usex caps true false)"
|
||||||
|
-DUSE_IDN="$(usex idn true false)"
|
||||||
|
-DBUILD_ARPING="$(usex arping true false)"
|
||||||
|
-DBUILD_CLOCKDIFF="$(usex clockdiff true false)"
|
||||||
|
-DBUILD_PING="true"
|
||||||
|
-DBUILD_RARPD="$(usex rarpd true false)"
|
||||||
|
-DBUILD_RDISC="$(usex rdisc true false)"
|
||||||
|
-DENABLE_RDISC_SERVER="$(usex rdisc true false)"
|
||||||
|
-DBUILD_TFTPD="$(usex tftpd true false)"
|
||||||
|
-DBUILD_TRACEPATH="$(usex tracepath true false)"
|
||||||
|
-DBUILD_TRACEROUTE6="$(usex ipv6 $(usex traceroute6 true false) false)"
|
||||||
|
-DBUILD_NINFOD="false"
|
||||||
|
-DNINFOD_MESSAGES="false"
|
||||||
|
-DNO_SETCAP_OR_SUID="true"
|
||||||
|
-Dsystemdunitdir="$(systemd_get_systemunitdir)"
|
||||||
|
-DUSE_GETTEXT="$(usex nls true false)"
|
||||||
|
$(meson_use !test SKIP_TESTS)
|
||||||
|
)
|
||||||
|
|
||||||
|
if [[ "${PV}" == 99999999 ]] ; then
|
||||||
|
emesonargs+=(
|
||||||
|
-DBUILD_HTML_MANS="$(usex doc true false)"
|
||||||
|
-DBUILD_MANS="true"
|
||||||
|
)
|
||||||
|
else
|
||||||
|
emesonargs+=(
|
||||||
|
-DBUILD_HTML_MANS="false"
|
||||||
|
-DBUILD_MANS="false"
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
tc-export CC
|
||||||
|
meson_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
if [[ ${EUID} != 0 ]]; then
|
||||||
|
einfo "Tests require root privileges; Skipping ..."
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
meson_src_test
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
meson_src_install
|
||||||
|
|
||||||
|
dodir /bin
|
||||||
|
local my_bin
|
||||||
|
for my_bin in $(usex arping arping '') ping ; do
|
||||||
|
mv "${ED}"/usr/bin/${my_bin} "${ED}"/bin/ || die
|
||||||
|
done
|
||||||
|
dosym ping /bin/ping4
|
||||||
|
|
||||||
|
if use tracepath ; then
|
||||||
|
dosym tracepath /usr/bin/tracepath4
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use ipv6 ; then
|
||||||
|
dosym ping /bin/ping6
|
||||||
|
|
||||||
|
if use tracepath ; then
|
||||||
|
dosym tracepath /usr/bin/tracepath6
|
||||||
|
dosym tracepath.8 /usr/share/man/man8/tracepath6.8
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${PV}" != 99999999 ]] ; then
|
||||||
|
local -a man_pages
|
||||||
|
local -a html_man_pages
|
||||||
|
|
||||||
|
while IFS= read -r -u 3 -d $'\0' my_bin
|
||||||
|
do
|
||||||
|
my_bin=$(basename "${my_bin}")
|
||||||
|
[[ -z "${my_bin}" ]] && continue
|
||||||
|
|
||||||
|
if [[ -f "${S}/doc/${my_bin}.8" ]] ; then
|
||||||
|
man_pages+=( ${my_bin}.8 )
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -f "${S}/doc/${my_bin}.html" ]] ; then
|
||||||
|
html_man_pages+=( ${my_bin}.html )
|
||||||
|
fi
|
||||||
|
done 3< <(find "${ED}"/{bin,usr/bin,usr/sbin} -type f -perm -a+x -print0 2>/dev/null)
|
||||||
|
|
||||||
|
pushd doc &>/dev/null || die
|
||||||
|
doman "${man_pages[@]}"
|
||||||
|
if use doc ; then
|
||||||
|
docinto html
|
||||||
|
dodoc "${html_man_pages[@]}"
|
||||||
|
fi
|
||||||
|
popd &>/dev/null || die
|
||||||
|
else
|
||||||
|
if use doc ; then
|
||||||
|
mv "${ED}"/usr/share/${PN} "${ED}"/usr/share/doc/${PF}/html || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
fcaps cap_net_raw \
|
||||||
|
bin/ping \
|
||||||
|
$(usex arping 'bin/arping' '') \
|
||||||
|
$(usex clockdiff 'usr/bin/clockdiff' '')
|
||||||
|
}
|
@ -1,159 +1,185 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Id$
|
|
||||||
|
|
||||||
# For released versions, we precompile the man/html pages and store
|
# For released versions, we precompile the man/html pages and store
|
||||||
# them in a tarball on our mirrors. This avoids ugly issues while
|
# them in a tarball on our mirrors. This avoids ugly issues while
|
||||||
# building stages, and when the jade/sgml packages are broken (which
|
# building stages, and reduces dependencies.
|
||||||
# seems to be more common than would be nice).
|
# To regenerate man/html pages emerge iputils-99999999[doc] with
|
||||||
|
# EGIT_COMMIT set to release tag, all USE flags enabled and
|
||||||
|
# tar ${S}/doc folder.
|
||||||
|
|
||||||
EAPI=5
|
EAPI="7"
|
||||||
|
|
||||||
|
PLOCALES="de fr ja pt_BR tr uk zh_CN"
|
||||||
|
|
||||||
|
inherit fcaps flag-o-matic meson plocale systemd toolchain-funcs
|
||||||
|
|
||||||
inherit flag-o-matic eutils toolchain-funcs fcaps
|
|
||||||
if [[ ${PV} == "99999999" ]] ; then
|
if [[ ${PV} == "99999999" ]] ; then
|
||||||
EGIT_REPO_URI="git://www.linux-ipv6.org/gitroot/iputils"
|
EGIT_REPO_URI="https://github.com/iputils/iputils.git"
|
||||||
inherit git-2
|
inherit git-r3
|
||||||
else
|
else
|
||||||
SRC_URI="http://www.skbuff.net/iputils/iputils-s${PV}.tar.bz2
|
SRC_URI="https://github.com/iputils/iputils/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||||
https://dev.gentoo.org/~polynomial-c/iputils-s${PV}-manpages.tar.xz"
|
https://dev.gentoo.org/~whissi/dist/iputils/${PN}-manpages-${PV}.tar.xz"
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux"
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DESCRIPTION="Network monitoring tools including ping and ping6"
|
DESCRIPTION="Network monitoring tools including ping and ping6"
|
||||||
HOMEPAGE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iputils"
|
HOMEPAGE="https://wiki.linuxfoundation.org/networking/iputils"
|
||||||
|
|
||||||
LICENSE="BSD-4"
|
LICENSE="BSD GPL-2+ rdisc"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="arping caps clockdiff doc gcrypt idn ipv6 libressl rarpd rdisc SECURITY_HAZARD ssl static tftpd tracepath traceroute"
|
IUSE="+arping caps clockdiff doc gcrypt idn ipv6 nettle nls rarpd rdisc ssl static test tftpd tracepath traceroute6"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
LIB_DEPEND="caps? ( sys-libs/libcap[static-libs(+)] )
|
BDEPEND="
|
||||||
idn? ( net-dns/libidn[static-libs(+)] )
|
virtual/pkgconfig
|
||||||
ipv6? ( ssl? (
|
test? ( sys-apps/iproute2 )
|
||||||
gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] )
|
nls? ( sys-devel/gettext )
|
||||||
!gcrypt? (
|
"
|
||||||
!libressl? ( dev-libs/openssl:0[static-libs(+)] )
|
|
||||||
libressl? ( dev-libs/libressl[static-libs(+)] )
|
LIB_DEPEND="
|
||||||
)
|
caps? ( sys-libs/libcap[static-libs(+)] )
|
||||||
) )"
|
idn? ( net-dns/libidn2:=[static-libs(+)] )
|
||||||
RDEPEND="arping? ( !net-misc/arping )
|
nls? ( virtual/libintl[static-libs(+)] )
|
||||||
rarpd? ( !net-misc/rarpd )
|
"
|
||||||
traceroute? ( !net-analyzer/traceroute )
|
|
||||||
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
RDEPEND="
|
||||||
DEPEND="${RDEPEND}
|
traceroute6? ( !net-analyzer/traceroute )
|
||||||
|
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
virtual/os-headers
|
||||||
static? ( ${LIB_DEPEND} )
|
static? ( ${LIB_DEPEND} )
|
||||||
virtual/os-headers"
|
"
|
||||||
|
|
||||||
if [[ ${PV} == "99999999" ]] ; then
|
if [[ ${PV} == "99999999" ]] ; then
|
||||||
DEPEND+="
|
BDEPEND+="
|
||||||
app-text/openjade
|
app-text/docbook-xml-dtd:4.2
|
||||||
dev-perl/SGMLSpm
|
app-text/docbook-xml-dtd:4.5
|
||||||
app-text/docbook-sgml-dtd
|
app-text/docbook-xsl-ns-stylesheets
|
||||||
app-text/docbook-sgml-utils
|
app-text/docbook-xsl-stylesheets
|
||||||
|
dev-libs/libxslt:0
|
||||||
"
|
"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
S=${WORKDIR}/${PN}-s${PV}
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/021109-uclibc-no-ether_ntohost.patch
|
|
||||||
"${FILESDIR}"/${PN}-99999999-openssl.patch #335436
|
|
||||||
"${FILESDIR}"/${PN}-99999999-tftpd-syslog.patch
|
|
||||||
"${FILESDIR}"/${PN}-20121221-makefile.patch
|
|
||||||
"${FILESDIR}"/${PN}-20121221-parallel-doc.patch
|
|
||||||
"${FILESDIR}"/${PN}-20121221-strtod.patch #472592
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
use SECURITY_HAZARD && PATCHES+=( "${FILESDIR}"/${PN}-20071127-nonroot-floodping.patch )
|
default
|
||||||
epatch "${PATCHES[@]}"
|
|
||||||
|
plocale_get_locales > po/LINGUAS || die
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
use static && append-ldflags -static
|
use static && append-ldflags -static
|
||||||
|
|
||||||
IPV4_TARGETS=(
|
local emesonargs=(
|
||||||
ping
|
-DUSE_CAP="$(usex caps true false)"
|
||||||
$(for v in arping clockdiff rarpd rdisc tftpd tracepath ; do usev ${v} ; done)
|
-DUSE_IDN="$(usex idn true false)"
|
||||||
|
-DBUILD_ARPING="$(usex arping true false)"
|
||||||
|
-DBUILD_CLOCKDIFF="$(usex clockdiff true false)"
|
||||||
|
-DBUILD_PING="true"
|
||||||
|
-DBUILD_RARPD="$(usex rarpd true false)"
|
||||||
|
-DBUILD_RDISC="$(usex rdisc true false)"
|
||||||
|
-DENABLE_RDISC_SERVER="$(usex rdisc true false)"
|
||||||
|
-DBUILD_TFTPD="$(usex tftpd true false)"
|
||||||
|
-DBUILD_TRACEPATH="$(usex tracepath true false)"
|
||||||
|
-DBUILD_TRACEROUTE6="$(usex ipv6 $(usex traceroute6 true false) false)"
|
||||||
|
-DBUILD_NINFOD="false"
|
||||||
|
-DNINFOD_MESSAGES="false"
|
||||||
|
-DNO_SETCAP_OR_SUID="true"
|
||||||
|
-Dsystemdunitdir="$(systemd_get_systemunitdir)"
|
||||||
|
-DUSE_GETTEXT="$(usex nls true false)"
|
||||||
|
$(meson_use !test SKIP_TESTS)
|
||||||
)
|
)
|
||||||
IPV6_TARGETS=(
|
|
||||||
ping6
|
|
||||||
$(usex tracepath 'tracepath6' '')
|
|
||||||
$(usex traceroute 'traceroute6' '')
|
|
||||||
)
|
|
||||||
use ipv6 || IPV6_TARGETS=()
|
|
||||||
}
|
|
||||||
|
|
||||||
ldflag_resolv() {
|
if [[ "${PV}" == 99999999 ]] ; then
|
||||||
# See if the system includes a libresolv. #584132
|
emesonargs+=(
|
||||||
echo "main(){}" > "${T}"/resolv.c
|
-DBUILD_HTML_MANS="$(usex doc true false)"
|
||||||
if ${CC} ${CFLAGS} ${LDFLAGS} "${T}"/resolv.c -lresolv -o "${T}"/resolv 2>/dev/null ; then
|
-DBUILD_MANS="true"
|
||||||
echo -lresolv
|
)
|
||||||
|
else
|
||||||
|
emesonargs+=(
|
||||||
|
-DBUILD_HTML_MANS="false"
|
||||||
|
-DBUILD_MANS="false"
|
||||||
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
meson_src_configure
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
tc-export CC
|
tc-export CC
|
||||||
emake \
|
meson_src_compile
|
||||||
USE_CAP=$(usex caps) \
|
}
|
||||||
USE_IDN=$(usex idn) \
|
|
||||||
USE_GCRYPT=$(usex gcrypt) \
|
|
||||||
USE_CRYPTO=$(usex ssl) \
|
|
||||||
LDFLAG_RESOLV=$(ldflag_resolv) \
|
|
||||||
IPV4_TARGETS="${IPV4_TARGETS[*]}" \
|
|
||||||
IPV6_TARGETS="${IPV6_TARGETS[*]}"
|
|
||||||
|
|
||||||
if [[ ${PV} == "99999999" ]] ; then
|
src_test() {
|
||||||
emake html man
|
if [[ ${EUID} != 0 ]]; then
|
||||||
|
einfo "Tests require root privileges; Skipping ..."
|
||||||
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
meson_src_test
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
into /
|
meson_src_install
|
||||||
dobin ping $(usex ipv6 'ping6' '')
|
|
||||||
use ipv6 && dosym ping.8 /usr/share/man/man8/ping6.8
|
|
||||||
doman doc/ping.8
|
|
||||||
|
|
||||||
if use arping ; then
|
dodir /bin
|
||||||
dobin arping
|
local my_bin
|
||||||
doman doc/arping.8
|
for my_bin in $(usex arping arping '') ping ; do
|
||||||
fi
|
mv "${ED}"/usr/bin/${my_bin} "${ED}"/bin/ || die
|
||||||
|
|
||||||
into /usr
|
|
||||||
|
|
||||||
local u
|
|
||||||
for u in clockdiff rarpd rdisc tftpd tracepath ; do
|
|
||||||
if use ${u} ; then
|
|
||||||
case ${u} in
|
|
||||||
clockdiff) dobin ${u};;
|
|
||||||
*) dosbin ${u};;
|
|
||||||
esac
|
|
||||||
doman doc/${u}.8
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
dosym ping /bin/ping4
|
||||||
|
|
||||||
if use tracepath && use ipv6 ; then
|
if use tracepath ; then
|
||||||
dosbin tracepath6
|
dosym tracepath /usr/bin/tracepath4
|
||||||
dosym tracepath.8 /usr/share/man/man8/tracepath6.8
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if use traceroute && use ipv6 ; then
|
if use ipv6 ; then
|
||||||
dosbin traceroute6
|
dosym ping /bin/ping6
|
||||||
doman doc/traceroute6.8
|
|
||||||
|
if use tracepath ; then
|
||||||
|
dosym tracepath /usr/bin/tracepath6
|
||||||
|
dosym tracepath.8 /usr/share/man/man8/tracepath6.8
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if use rarpd ; then
|
if [[ "${PV}" != 99999999 ]] ; then
|
||||||
newinitd "${FILESDIR}"/rarpd.init.d rarpd
|
local -a man_pages
|
||||||
newconfd "${FILESDIR}"/rarpd.conf.d rarpd
|
local -a html_man_pages
|
||||||
|
|
||||||
|
while IFS= read -r -u 3 -d $'\0' my_bin
|
||||||
|
do
|
||||||
|
my_bin=$(basename "${my_bin}")
|
||||||
|
[[ -z "${my_bin}" ]] && continue
|
||||||
|
|
||||||
|
if [[ -f "${S}/doc/${my_bin}.8" ]] ; then
|
||||||
|
man_pages+=( ${my_bin}.8 )
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -f "${S}/doc/${my_bin}.html" ]] ; then
|
||||||
|
html_man_pages+=( ${my_bin}.html )
|
||||||
|
fi
|
||||||
|
done 3< <(find "${ED}"/{bin,usr/bin,usr/sbin} -type f -perm -a+x -print0 2>/dev/null)
|
||||||
|
|
||||||
|
pushd doc &>/dev/null || die
|
||||||
|
doman "${man_pages[@]}"
|
||||||
|
if use doc ; then
|
||||||
|
docinto html
|
||||||
|
dodoc "${html_man_pages[@]}"
|
||||||
|
fi
|
||||||
|
popd &>/dev/null || die
|
||||||
|
else
|
||||||
|
if use doc ; then
|
||||||
|
mv "${ED}"/usr/share/${PN} "${ED}"/usr/share/doc/${PF}/html || die
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dodoc INSTALL RELNOTES
|
|
||||||
|
|
||||||
use doc && dohtml doc/*.html
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
fcaps cap_net_raw \
|
fcaps cap_net_raw \
|
||||||
bin/ping \
|
bin/ping \
|
||||||
$(usex ipv6 'bin/ping6' '') \
|
|
||||||
$(usex arping 'bin/arping' '') \
|
$(usex arping 'bin/arping' '') \
|
||||||
$(usex clockdiff 'usr/bin/clockdiff' '')
|
$(usex clockdiff 'usr/bin/clockdiff' '')
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="project">
|
<maintainer type="project">
|
||||||
<email>base-system@gentoo.org</email>
|
<email>base-system@gentoo.org</email>
|
||||||
@ -10,13 +10,11 @@
|
|||||||
<flag name="clockdiff">Build and install clockdiff -- tool for comparing clocks via ICMP packets</flag>
|
<flag name="clockdiff">Build and install clockdiff -- tool for comparing clocks via ICMP packets</flag>
|
||||||
<flag name="gcrypt">Use <pkg>dev-libs/libgcrypt</pkg> for md5 support</flag>
|
<flag name="gcrypt">Use <pkg>dev-libs/libgcrypt</pkg> for md5 support</flag>
|
||||||
<flag name="nettle">Use <pkg>dev-libs/nettle</pkg> for md5 support</flag>
|
<flag name="nettle">Use <pkg>dev-libs/nettle</pkg> for md5 support</flag>
|
||||||
<flag name="openssl">Use <pkg>dev-libs/openssl</pkg> for md5 support</flag>
|
|
||||||
<flag name="rarpd">Build and install rarpd -- server for handling RARP (reverse ARP) requests; generally only used by old systems</flag>
|
<flag name="rarpd">Build and install rarpd -- server for handling RARP (reverse ARP) requests; generally only used by old systems</flag>
|
||||||
<flag name="rdisc">Build and install rdisc -- server for the client side of the ICMP router discover protocol</flag>
|
<flag name="rdisc">Build and install rdisc -- server for the client side of the ICMP router discover protocol</flag>
|
||||||
<flag name="tftpd">Build and install tftpd -- server for the Trivial File Transfer Protocol (see also <pkg>net-ftp/tftp-hpa</pkg>)</flag>
|
<flag name="tftpd">Build and install tftpd -- server for the Trivial File Transfer Protocol (see also <pkg>net-ftp/tftp-hpa</pkg>)</flag>
|
||||||
<flag name="tracepath">Build and install tracepath -- tool for tracing network paths for discovering MTU values</flag>
|
<flag name="tracepath">Build and install tracepath -- tool for tracing network paths for discovering MTU values</flag>
|
||||||
<flag name="traceroute">Build and install traceroute -- tool for tracing network paths (see also <pkg>net-analyzer/traceroute</pkg>)</flag>
|
<flag name="traceroute6">Build and install deprecated traceroute6 tool. It's recommended to use <pkg>net-analyzer/traceroute</pkg> instead.</flag>
|
||||||
<flag name="SECURITY_HAZARD">Allow non-root users to flood (ping -f). This is generally a very bad idea.</flag>
|
|
||||||
</use>
|
</use>
|
||||||
<upstream>
|
<upstream>
|
||||||
<remote-id type="cpe">cpe:/a:skbuff:iputils</remote-id>
|
<remote-id type="cpe">cpe:/a:skbuff:iputils</remote-id>
|
||||||
|
Loading…
Reference in New Issue
Block a user