diff options
author | Rajiv Aaron Manglani <rajiv@gentoo.org> | 2007-06-17 23:50:02 +0000 |
---|---|---|
committer | Rajiv Aaron Manglani <rajiv@gentoo.org> | 2007-06-17 23:50:02 +0000 |
commit | fcbda59faf19dbb647382a839185c53c018e99d6 (patch) | |
tree | 327950b6e1d3b86faaabf6530076e76f6fee0a96 /net-dns | |
parent | Add ~sparc keyword --- Bug #182196 --- after further investigation, seems (diff) | |
download | historical-fcbda59faf19dbb647382a839185c53c018e99d6.tar.gz historical-fcbda59faf19dbb647382a839185c53c018e99d6.tar.bz2 historical-fcbda59faf19dbb647382a839185c53c018e99d6.zip |
version bump. support ipv6 USE flag.
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/dnstop/ChangeLog | 10 | ||||
-rw-r--r-- | net-dns/dnstop/Manifest | 20 | ||||
-rw-r--r-- | net-dns/dnstop/dnstop-20070510-r1.ebuild | 38 | ||||
-rw-r--r-- | net-dns/dnstop/files/digest-dnstop-20070510-r1 | 3 | ||||
-rw-r--r-- | net-dns/dnstop/files/dnstop-20070510-handle_ipv6.patch | 25 |
5 files changed, 90 insertions, 6 deletions
diff --git a/net-dns/dnstop/ChangeLog b/net-dns/dnstop/ChangeLog index 14d2cea25daa..c537b94e1d95 100644 --- a/net-dns/dnstop/ChangeLog +++ b/net-dns/dnstop/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dns/dnstop -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/dnstop/ChangeLog,v 1.16 2006/10/16 03:49:26 rajiv Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/dnstop/ChangeLog,v 1.17 2007/06/17 23:50:02 rajiv Exp $ + +*dnstop-20070510-r1 (17 Jun 2007) + + 17 Jun 2007; Rajiv Aaron Manglani <rajiv@gentoo.org> + +files/dnstop-20070510-handle_ipv6.patch, +dnstop-20070510-r1.ebuild: + version bump. support ipv6 USE flag. 16 Oct 2006; Rajiv Aaron Manglani <rajiv@gentoo.org> -dnstop-20031113.ebuild: diff --git a/net-dns/dnstop/Manifest b/net-dns/dnstop/Manifest index a60794c94dbe..321b3f9ef582 100644 --- a/net-dns/dnstop/Manifest +++ b/net-dns/dnstop/Manifest @@ -1,12 +1,21 @@ +AUX dnstop-20070510-handle_ipv6.patch 766 RMD160 cc8d88f0150f0919676ec6ae65b31abb88d1b65b SHA1 c09c46e919401d471b679182acc2a0b4bf97ddee SHA256 2d3cf6e0bcda5dafcb28ca4df481d182e3c512a905459827f7415dd3b4ec1ffd +MD5 3a89d003c355c5aca227aea854108aaa files/dnstop-20070510-handle_ipv6.patch 766 +RMD160 cc8d88f0150f0919676ec6ae65b31abb88d1b65b files/dnstop-20070510-handle_ipv6.patch 766 +SHA256 2d3cf6e0bcda5dafcb28ca4df481d182e3c512a905459827f7415dd3b4ec1ffd files/dnstop-20070510-handle_ipv6.patch 766 DIST dnstop-20050405.tar.gz 11227 RMD160 0c9bd4ea6ac716f886a207bca2a93a794ce1f802 SHA1 57293a8ca8edf75f2eb169208b786fd4acd2d3c8 SHA256 ce1deb8f65d724926ca34ffeb088ccfc87be083218ca346c6125c5d9b39ed040 +DIST dnstop-20070510.tar.gz 25023 RMD160 9447fb27dc94612f3a52f0770f4c55b2d13ba79d SHA1 2f16f5df50af0c2e511fe078baf9501abb1824b8 SHA256 fafe60e4a2e4eade57d5c875a402d5269edd28483265d3199fc63bddd41fb82b EBUILD dnstop-20050405.ebuild 738 RMD160 52f85b2ff4eccba2871cd860bacbc437d2bb3331 SHA1 6b07236d422c1b84ceff02a3b317dd05d25e9fe3 SHA256 18015780a7a4fcd82de82033cc7e43518b4e0ff481e4faba69822ee0afa36cb7 MD5 9be781610416b3f395985b1a10c5901e dnstop-20050405.ebuild 738 RMD160 52f85b2ff4eccba2871cd860bacbc437d2bb3331 dnstop-20050405.ebuild 738 SHA256 18015780a7a4fcd82de82033cc7e43518b4e0ff481e4faba69822ee0afa36cb7 dnstop-20050405.ebuild 738 -MISC ChangeLog 2138 RMD160 fb6335776d9887d9a020c2126ec95869b489a101 SHA1 032160facfb2725d8e5009f127e5eef4c8149dec SHA256 a9c35cd994962ef4b2840935678ca93a99f605f1fee7420f332cc1ce4f788a8e -MD5 bc3c9b79b30a76143089b61cfe225e23 ChangeLog 2138 -RMD160 fb6335776d9887d9a020c2126ec95869b489a101 ChangeLog 2138 -SHA256 a9c35cd994962ef4b2840935678ca93a99f605f1fee7420f332cc1ce4f788a8e ChangeLog 2138 +EBUILD dnstop-20070510-r1.ebuild 864 RMD160 cac4017d38c53154d7ec15de0c81742d06104144 SHA1 1d5658641e104a6531aeccce881280b7e9aa3956 SHA256 6ccce226562f1e4cedfae1a6f019e2cd9acd093c9db84de8dd3f9f6cc7b0d316 +MD5 4a8788a5d5ae9d541f7fde9369e50244 dnstop-20070510-r1.ebuild 864 +RMD160 cac4017d38c53154d7ec15de0c81742d06104144 dnstop-20070510-r1.ebuild 864 +SHA256 6ccce226562f1e4cedfae1a6f019e2cd9acd093c9db84de8dd3f9f6cc7b0d316 dnstop-20070510-r1.ebuild 864 +MISC ChangeLog 2340 RMD160 d270dbaacba25481c6f5bdd3540dbc1ad63bb21b SHA1 7001a2eca825a5d3e2931f24aeafddf08bf4c580 SHA256 8546b6e0cbab2091140248c14bc23044ab84a98e0c4eeb11e09ac62f23123258 +MD5 ff4902440cb5a6bd558e1b3053ca7819 ChangeLog 2340 +RMD160 d270dbaacba25481c6f5bdd3540dbc1ad63bb21b ChangeLog 2340 +SHA256 8546b6e0cbab2091140248c14bc23044ab84a98e0c4eeb11e09ac62f23123258 ChangeLog 2340 MISC metadata.xml 257 RMD160 7716423decf8296528ca21eaa830fac2816fa991 SHA1 01e7fba79bf45ff5ed3b3b12d421a7b8c084142b SHA256 9b843be0ba934a7342d5c3a52eb98e022e171baab73193f3dc8f3d86fe23b1ef MD5 c546ddef0d0bcf060c017bc93b2dc621 metadata.xml 257 RMD160 7716423decf8296528ca21eaa830fac2816fa991 metadata.xml 257 @@ -14,3 +23,6 @@ SHA256 9b843be0ba934a7342d5c3a52eb98e022e171baab73193f3dc8f3d86fe23b1ef metadata MD5 63f675a74d23470a1c704e7cb58c2d1d files/digest-dnstop-20050405 244 RMD160 61d39d70f5614574e89e8229809e8cb07992c4ec files/digest-dnstop-20050405 244 SHA256 d9d04c075d807cac5e993dab1a9f9c73a71fc4f74070ac856b8e8ba61b9e077e files/digest-dnstop-20050405 244 +MD5 bc135924d45132d93bde43cd7986454b files/digest-dnstop-20070510-r1 244 +RMD160 28d8051d9db935781e5284e97df0d14d4f4996cc files/digest-dnstop-20070510-r1 244 +SHA256 fb7cd790d640857edcb05549e74a8816dc1763eb44be7cf64bb89060f24b6c31 files/digest-dnstop-20070510-r1 244 diff --git a/net-dns/dnstop/dnstop-20070510-r1.ebuild b/net-dns/dnstop/dnstop-20070510-r1.ebuild new file mode 100644 index 000000000000..8901dee83b0b --- /dev/null +++ b/net-dns/dnstop/dnstop-20070510-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/dnstop/dnstop-20070510-r1.ebuild,v 1.1 2007/06/17 23:50:02 rajiv Exp $ + +inherit flag-o-matic + +DESCRIPTION="Displays various tables of DNS traffic on your network." +HOMEPAGE="http://dnstop.measurement-factory.com/" +SRC_URI="http://dnstop.measurement-factory.com/src/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" + +IUSE="ipv6" +DEPEND="sys-libs/ncurses + virtual/libpcap" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-handle_ipv6.patch" +} + +src_compile() { + use ipv6 && append-flags -DUSE_IPV6 + + sed -i "s:^CFLAGS=.*$:CFLAGS=${CFLAGS} -DUSE_PPP:" Makefile + + emake || die "emake failed." +} + +src_install() { + dobin dnstop + doman dnstop.8 + dodoc LICENSE + dodoc CHANGES +} diff --git a/net-dns/dnstop/files/digest-dnstop-20070510-r1 b/net-dns/dnstop/files/digest-dnstop-20070510-r1 new file mode 100644 index 000000000000..55fd5a8f8a28 --- /dev/null +++ b/net-dns/dnstop/files/digest-dnstop-20070510-r1 @@ -0,0 +1,3 @@ +MD5 a68f764a10c7ad7bf16a19223df865af dnstop-20070510.tar.gz 25023 +RMD160 9447fb27dc94612f3a52f0770f4c55b2d13ba79d dnstop-20070510.tar.gz 25023 +SHA256 fafe60e4a2e4eade57d5c875a402d5269edd28483265d3199fc63bddd41fb82b dnstop-20070510.tar.gz 25023 diff --git a/net-dns/dnstop/files/dnstop-20070510-handle_ipv6.patch b/net-dns/dnstop/files/dnstop-20070510-handle_ipv6.patch new file mode 100644 index 000000000000..4405b7686c67 --- /dev/null +++ b/net-dns/dnstop/files/dnstop-20070510-handle_ipv6.patch @@ -0,0 +1,25 @@ +diff -uNr dnstop-20070510/dnstop.c dnstop-20070510-r1/dnstop.c +--- dnstop-20070510/dnstop.c 2007-05-11 00:51:12.000000000 -0400 ++++ dnstop-20070510-r1/dnstop.c 2007-06-17 18:57:26.000000000 -0400 +@@ -825,8 +825,10 @@ + memcpy(&family, pkt, sizeof(family)); + if (AF_INET == family) + return handle_ipv4((struct ip *)(pkt + 4), len - 4); ++#if USE_IPV6 + if (AF_INET6 == family) + return handle_ipv6((struct ip6_hdr *)(pkt + 4), len - 4); ++#endif + return 0; + } + +@@ -838,8 +840,10 @@ + memcpy(&family, pkt, sizeof(family)); + if (AF_INET == ntohl(family)) + return handle_ipv4((struct ip *)(pkt + 4), len - 4); ++#if USE_IPV6 + if (AF_INET6 == ntohl(family)) + return handle_ipv6((struct ip6_hdr *)(pkt + 4), len - 4); ++#endif + return 0; + } + |