From 1d3a72b72c3372c963dc575ce64708de88513cdc Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 3 Feb 2007 22:34:16 +0000 Subject: [PATCH] Version bump. Package-Manager: portage-2.1.2-r6 --- net-misc/iputils/ChangeLog | 10 ++- net-misc/iputils/Manifest | 36 ++++++--- .../iputils/files/digest-iputils-20070202 | 3 + .../files/iputils-20070202-makefile.patch | 35 +++++++++ net-misc/iputils/iputils-20070202.ebuild | 76 +++++++++++++++++++ 5 files changed, 146 insertions(+), 14 deletions(-) create mode 100644 net-misc/iputils/files/digest-iputils-20070202 create mode 100644 net-misc/iputils/files/iputils-20070202-makefile.patch create mode 100644 net-misc/iputils/iputils-20070202.ebuild diff --git a/net-misc/iputils/ChangeLog b/net-misc/iputils/ChangeLog index 26e149ca8194..3dbfa0dd4b57 100644 --- a/net-misc/iputils/ChangeLog +++ b/net-misc/iputils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/iputils -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/ChangeLog,v 1.44 2006/12/21 05:34:25 vapier Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/ChangeLog,v 1.45 2007/02/03 22:34:16 vapier Exp $ + +*iputils-20070202 (03 Feb 2007) + + 03 Feb 2007; Mike Frysinger + +files/iputils-20070202-makefile.patch, +iputils-20070202.ebuild: + Version bump. 21 Dec 2006; Mike Frysinger iputils-20060512.ebuild: Only generate man pages for USE=doc until next release where they include diff --git a/net-misc/iputils/Manifest b/net-misc/iputils/Manifest index cc0965e7d2e2..e9ce5a1ddd0b 100644 --- a/net-misc/iputils/Manifest +++ b/net-misc/iputils/Manifest @@ -57,20 +57,29 @@ AUX iputils-20060512-makefile.patch 1011 RMD160 703f761f21f03d5b0ba970b16436ce71 MD5 4e95a30129623fe2c1b651f00c2413d0 files/iputils-20060512-makefile.patch 1011 RMD160 703f761f21f03d5b0ba970b16436ce7128f6311c files/iputils-20060512-makefile.patch 1011 SHA256 339cc4826a9352db5829e94c8fd1d1306424a1b34b3612d9936fb2b0ea943ee1 files/iputils-20060512-makefile.patch 1011 +AUX iputils-20070202-makefile.patch 982 RMD160 1b245b116eb9ede2698e7a37122cd1e6fb4c4dfd SHA1 aef3be153f43179c09289028ad945669bd19a0f5 SHA256 10da0ffbbf0d3df72f0a7218cd94a2668eff318e12f402ae3279fec090462b4a +MD5 4dd8c06c9c06338359f7efe5b1791288 files/iputils-20070202-makefile.patch 982 +RMD160 1b245b116eb9ede2698e7a37122cd1e6fb4c4dfd files/iputils-20070202-makefile.patch 982 +SHA256 10da0ffbbf0d3df72f0a7218cd94a2668eff318e12f402ae3279fec090462b4a files/iputils-20070202-makefile.patch 982 DIST iputils-s20060512.tar.bz2 88091 RMD160 7fedbf48a0899e81f9e9d8b4902c0ab3d7b66db7 SHA1 daa7fd4efb9ac0c8800c46325faf487298025412 SHA256 61d5adff80ebe0530c8f4b9933cc8e08d8528012f8a96a788e638b411f369e8e +DIST iputils-s20070202.tar.bz2 88678 RMD160 f6c3600a350537210d6ca43d1b82806bc0fa88f7 SHA1 44a299db16543a68fb80b06d5e6c88760af2aa6e SHA256 86f9f9970b4e2258e5e985d4d74b6ba9145410006c73b6482170525deb0c1957 DIST iputils-ss021109-try.tar.bz2 428335 RMD160 7786bff8416164906208d47853af83581195c6b6 SHA1 8e695eb45d7f63fe2321b59b8cb64bff1078a03a SHA256 06ea9c83b5ff1ed02f526ed798a59e949793da1c232457077e75fcc8a10cdcb4 EBUILD iputils-021109-r3.ebuild 2478 RMD160 4dd808a39dda06bd9cf610a6db233d37cffa12a9 SHA1 60372b3559916d373c09dd001a55850ca922735c SHA256 3d8b4110f6c6b833e6acd574a119ebda4450f3f07f24e6eeabef850d3b94b625 MD5 31bb4f0403d1bbf7919def937f33c240 iputils-021109-r3.ebuild 2478 RMD160 4dd808a39dda06bd9cf610a6db233d37cffa12a9 iputils-021109-r3.ebuild 2478 SHA256 3d8b4110f6c6b833e6acd574a119ebda4450f3f07f24e6eeabef850d3b94b625 iputils-021109-r3.ebuild 2478 -EBUILD iputils-20060512.ebuild 2064 RMD160 8386cf3aa69214520a23f04b5631d995a6015389 SHA1 85a3815ddfac8eb9377d126d5bd0368bbfa8d7db SHA256 6ed3f8c8579c3799b12cf0855796352c5be11014b200137cda60c4e4f26591f3 -MD5 fb5950c3bcee50424fc8bba25ee1062f iputils-20060512.ebuild 2064 -RMD160 8386cf3aa69214520a23f04b5631d995a6015389 iputils-20060512.ebuild 2064 -SHA256 6ed3f8c8579c3799b12cf0855796352c5be11014b200137cda60c4e4f26591f3 iputils-20060512.ebuild 2064 -MISC ChangeLog 7005 RMD160 dad54436e8ed84e2267b53a5473fd20ad3d7c469 SHA1 38ae97fdeff02b03c219ea24fc7864a244911002 SHA256 4fa8f4bfd24126b374901bc4119d840c34730bb3d20d66424c4d57362a3e7808 -MD5 b8ae9a9812ab17f7d47881bc2f0820d8 ChangeLog 7005 -RMD160 dad54436e8ed84e2267b53a5473fd20ad3d7c469 ChangeLog 7005 -SHA256 4fa8f4bfd24126b374901bc4119d840c34730bb3d20d66424c4d57362a3e7808 ChangeLog 7005 +EBUILD iputils-20060512.ebuild 2059 RMD160 3f395fa783cfa5d9965e5f4852e2b87f29da9117 SHA1 c7acf27d3e78f1818d28d52952305f19cb622d2f SHA256 452c2e7fed7a53ec10e64d5b9b68d85e6859af76751c03a21419b3cd7fc28b15 +MD5 ff74ff814b28ec9dc911510bee6205a3 iputils-20060512.ebuild 2059 +RMD160 3f395fa783cfa5d9965e5f4852e2b87f29da9117 iputils-20060512.ebuild 2059 +SHA256 452c2e7fed7a53ec10e64d5b9b68d85e6859af76751c03a21419b3cd7fc28b15 iputils-20060512.ebuild 2059 +EBUILD iputils-20070202.ebuild 1959 RMD160 f01dec3bf8d29f7d7f396e286b69058e1b8ecdc9 SHA1 54885082e8cfefff9e921f370351307dccb8df33 SHA256 690a5668bf494ca405854af4a88b20c4e1ee05100a004e17bbfd2e43cadcf2fd +MD5 6de0ad8d40ba9cb85a777b1168997e71 iputils-20070202.ebuild 1959 +RMD160 f01dec3bf8d29f7d7f396e286b69058e1b8ecdc9 iputils-20070202.ebuild 1959 +SHA256 690a5668bf494ca405854af4a88b20c4e1ee05100a004e17bbfd2e43cadcf2fd iputils-20070202.ebuild 1959 +MISC ChangeLog 7173 RMD160 86194c58a7d096074d625c7dc3e4e91ea298d27a SHA1 962e80e8d5cf204dfe89df4d7c174bd47b56071e SHA256 530d75187f63ec352fc5aa58ce0628064ced41d8b73f40515edbf4d2ad4a5d40 +MD5 4bb18dbd77b5a690b7e94f3a9898d712 ChangeLog 7173 +RMD160 86194c58a7d096074d625c7dc3e4e91ea298d27a ChangeLog 7173 +SHA256 530d75187f63ec352fc5aa58ce0628064ced41d8b73f40515edbf4d2ad4a5d40 ChangeLog 7173 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164 @@ -81,10 +90,13 @@ SHA256 701565fd43b0b8af78eb94ed1f695a3ce68a94674c309bd47a79e4f20fed02b4 files/di MD5 d1a03b4e8b248518bfbdb595e328f009 files/digest-iputils-20060512 253 RMD160 3af2bac60b9609d76247499078f8beb978cedea4 files/digest-iputils-20060512 253 SHA256 cc03114cb4292c3e01b341a32fe72f00b3f736f2af9cd00c6ed6480510dcee35 files/digest-iputils-20060512 253 +MD5 0d7703492a09135b18232f913f7c0c91 files/digest-iputils-20070202 253 +RMD160 943120408b3d693678ded7cd76091f0655102051 files/digest-iputils-20070202 253 +SHA256 cc79f04ebf9d4939fe1d64fd769cd1c8d0fbc6bc17d5bbb36163c8f319e98113 files/digest-iputils-20070202 253 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.6 (GNU/Linux) +Version: GnuPG v2.0.2 (GNU/Linux) -iD8DBQFFihz6K9sYciBdMQMRAirbAJ0T/Go8RhPJDP4iwgY+qjzSbjsFwQCcCswc -NG6w+33q/ZzCMs6W15ombNE= -=+rOS +iD8DBQFFxQ3+8bi6rjpTunYRAueyAJ9uVn3b3xGT5T33qCCW206U87xHMwCfZ27k +4zW52IeFcOFK+5PdIaqkD20= +=tTIq -----END PGP SIGNATURE----- diff --git a/net-misc/iputils/files/digest-iputils-20070202 b/net-misc/iputils/files/digest-iputils-20070202 new file mode 100644 index 000000000000..2884854768ab --- /dev/null +++ b/net-misc/iputils/files/digest-iputils-20070202 @@ -0,0 +1,3 @@ +MD5 1d38fb3cfc2b71496e43cf646bfc1d6e iputils-s20070202.tar.bz2 88678 +RMD160 f6c3600a350537210d6ca43d1b82806bc0fa88f7 iputils-s20070202.tar.bz2 88678 +SHA256 86f9f9970b4e2258e5e985d4d74b6ba9145410006c73b6482170525deb0c1957 iputils-s20070202.tar.bz2 88678 diff --git a/net-misc/iputils/files/iputils-20070202-makefile.patch b/net-misc/iputils/files/iputils-20070202-makefile.patch new file mode 100644 index 000000000000..9426053a16b4 --- /dev/null +++ b/net-misc/iputils/files/iputils-20070202-makefile.patch @@ -0,0 +1,35 @@ +--- Makefile ++++ Makefile +@@ -1,20 +1,17 @@ + # Path to parent kernel include files directory + LIBC_INCLUDE=/usr/include + +-DEFINES= +- + #options if you have a bind>=4.9.4 libresolv (or, maybe, glibc) + LDLIBS=-lresolv +-ADDLIB= + + #options if you compile with libc5, and without a bind>=4.9.4 libresolv + # NOT AVAILABLE. Please, use libresolv. + +-CC=gcc + # What a pity, all new gccs are buggy and -Werror does not work. Sigh. + #CCOPT=-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -Werror +-CCOPT=-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g +-CFLAGS=$(CCOPT) $(GLIBCFIX) $(DEFINES) ++CFLAGS ?= -O2 -g ++CFLAGS += -Wstrict-prototypes -Wall ++CPPFLAGS += -D_GNU_SOURCE + + IPV4_TARGETS=tracepath ping clockdiff rdisc arping tftpd rarpd + IPV6_TARGETS=tracepath6 traceroute6 ping6 +@@ -35,7 +32,7 @@ + rdisc_srv: rdisc_srv.o + + rdisc_srv.o: rdisc.c +- $(CC) $(CFLAGS) -DRDISC_SERVER -o rdisc_srv.o rdisc.c ++ $(CC) $(CFLAGS) $(CPPFLAGS) -DRDISC_SERVER -o rdisc_srv.o rdisc.c + + + check-kernel: diff --git a/net-misc/iputils/iputils-20070202.ebuild b/net-misc/iputils/iputils-20070202.ebuild new file mode 100644 index 000000000000..a56f8ab6c6ea --- /dev/null +++ b/net-misc/iputils/iputils-20070202.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/iputils-20070202.ebuild,v 1.1 2007/02/03 22:34:16 vapier Exp $ + +inherit flag-o-matic eutils toolchain-funcs + +DESCRIPTION="Network monitoring tools including ping and ping6" +HOMEPAGE="http://www.skbuff.net/iputils/" +SRC_URI="http://www.skbuff.net/iputils/iputils-s${PV}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="static ipv6 doc" + +DEPEND="virtual/os-headers + doc? ( + app-text/openjade + dev-perl/SGMLSpm + app-text/docbook-sgml-dtd + app-text/docbook-sgml-utils + )" +RDEPEND="" + +S=${WORKDIR}/${PN}-s${PV} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-021109-gcc34.patch + epatch "${FILESDIR}"/021109-uclibc-no-ether_ntohost.patch + epatch "${FILESDIR}"/${PN}-20070202-makefile.patch + epatch "${FILESDIR}"/${PN}-20060512-kernel-ifaddr.patch + epatch "${FILESDIR}"/${PN}-20060512-linux-headers.patch + + use static && append-ldflags -static + use ipv6 || sed -i -e 's:IPV6_TARGETS=:#IPV6_TARGETS=:' Makefile +} + +src_compile() { + tc-export CC + emake || die "make main failed" + + # We include the extra check for docbook2html + # because when we emerge from a stage1/stage2, + # it may not exist #23156 + if use doc && type -p docbook2html ; then + emake -j1 html man || die + fi +} + +src_install() { + into / + dobin ping || die "ping" + use ipv6 && dobin ping6 + dosbin arping || die "arping" + into /usr + dosbin tracepath || die "tracepath" + use ipv6 && dosbin trace{path,route}6 + dosbin clockdiff rarpd rdisc ipg tftpd || die "misc sbin" + + fperms 4711 /bin/ping + use ipv6 && fperms 4711 /bin/ping6 /usr/sbin/traceroute6 + + dodoc INSTALL RELNOTES + + if use doc ; then + rm -f doc/setkey.8 + use ipv6 \ + && dosym ping.8 /usr/share/man/man8/ping6.8 \ + || rm -f doc/*6.8 + doman doc/*.8 + + dohtml doc/*.html + fi +} -- 2.26.2