summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajiv Aaron Manglani <rajiv@gentoo.org>2007-06-17 23:50:02 +0000
committerRajiv Aaron Manglani <rajiv@gentoo.org>2007-06-17 23:50:02 +0000
commitb1ccc9d194932b5988b437c01d23a6a52b1fc2d0 (patch)
treeee1709dbe66996e7c5f67c17ab98780aa311ffbf /net-dns/dnstop/files
parentAdd ~sparc keyword --- Bug #182196 --- after further investigation, seems (diff)
downloadgentoo-2-b1ccc9d194932b5988b437c01d23a6a52b1fc2d0.tar.gz
gentoo-2-b1ccc9d194932b5988b437c01d23a6a52b1fc2d0.tar.bz2
gentoo-2-b1ccc9d194932b5988b437c01d23a6a52b1fc2d0.zip
version bump. support ipv6 USE flag.
(Portage version: 2.1.2.9)
Diffstat (limited to 'net-dns/dnstop/files')
-rw-r--r--net-dns/dnstop/files/digest-dnstop-20070510-r13
-rw-r--r--net-dns/dnstop/files/dnstop-20070510-handle_ipv6.patch25
2 files changed, 28 insertions, 0 deletions
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;
+ }
+