summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Woods <wwoods@gentoo.org>2003-11-04 19:13:36 +0000
committerWill Woods <wwoods@gentoo.org>2003-11-04 19:13:36 +0000
commite3f704394a6920272d5d91b685f80dd5f9bed941 (patch)
treec460831b99c906bb4cefbbf6f4f5719e99a271c1 /net-analyzer/tcpdump
parenttypo fixed (diff)
downloadgentoo-2-e3f704394a6920272d5d91b685f80dd5f9bed941.tar.gz
gentoo-2-e3f704394a6920272d5d91b685f80dd5f9bed941.tar.bz2
gentoo-2-e3f704394a6920272d5d91b685f80dd5f9bed941.zip
Added files/tcpdump-3.7.2-sctp.patch, fixing bug #25544
Diffstat (limited to 'net-analyzer/tcpdump')
-rw-r--r--net-analyzer/tcpdump/ChangeLog5
-rw-r--r--net-analyzer/tcpdump/Manifest7
-rw-r--r--net-analyzer/tcpdump/files/tcpdump-3.7.2-sctp.patch17
-rw-r--r--net-analyzer/tcpdump/tcpdump-3.7.2.ebuild8
4 files changed, 32 insertions, 5 deletions
diff --git a/net-analyzer/tcpdump/ChangeLog b/net-analyzer/tcpdump/ChangeLog
index 464b95fd7fe7..2f96368a038d 100644
--- a/net-analyzer/tcpdump/ChangeLog
+++ b/net-analyzer/tcpdump/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/tcpdump
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.15 2003/04/28 06:20:28 zwelch Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.16 2003/11/04 19:13:29 wwoods Exp $
+
+ 04 Nov 2003; Will Woods <wwoods@gentoo.org> tcpdump-3.7.2.ebuild:
+ Added files/tcpdump-3.7.2-sctp.patch, fixing bug #25544
*tcpdump-3.7.2 (03 Mar 2003)
diff --git a/net-analyzer/tcpdump/Manifest b/net-analyzer/tcpdump/Manifest
index e70c98266598..86ed435a5b44 100644
--- a/net-analyzer/tcpdump/Manifest
+++ b/net-analyzer/tcpdump/Manifest
@@ -1,8 +1,9 @@
-MD5 aa174178c5891cabc2f12ff2cd8b3d17 ChangeLog 2327
+MD5 450f34ddf78d6acb398bd2dc9042d6b1 ChangeLog 2454
MD5 1de185f65cd5fa5cb3505f78bd8d49e3 tcpdump-3.6.2-r1.ebuild 990
MD5 c914ef7d2cebd9a79a6781bb1cd633b8 tcpdump-3.7.1.ebuild 858
-MD5 bed27b3db62b53c4a484426d491b94ff tcpdump-3.7.2.ebuild 907
+MD5 654b0de9115e9b4d593849036398c466 tcpdump-3.7.2.ebuild 984
MD5 f5295cc511894293cef91f09dd9d9d43 files/digest-tcpdump-3.6.2-r1 65
MD5 ad3cc121211e6bbf52b9e6b882396856 files/digest-tcpdump-3.7.1 65
-MD5 e70e627b145b5d2aa274d4c955a2f8fe files/digest-tcpdump-3.7.2 65
MD5 4562ddac208fb1dc942a46986de4cc74 files/tcpdump-3.6.2-afsprinting.patch 1820
+MD5 e70e627b145b5d2aa274d4c955a2f8fe files/digest-tcpdump-3.7.2 65
+MD5 5e02cff127175efbe4fc3be1f3321508 files/tcpdump-3.7.2-sctp.patch 352
diff --git a/net-analyzer/tcpdump/files/tcpdump-3.7.2-sctp.patch b/net-analyzer/tcpdump/files/tcpdump-3.7.2-sctp.patch
new file mode 100644
index 000000000000..8e7fb258eebf
--- /dev/null
+++ b/net-analyzer/tcpdump/files/tcpdump-3.7.2-sctp.patch
@@ -0,0 +1,17 @@
+--- print-sctp.c.orig 2003-02-26 07:07:22.000000000 +0100
++++ print-sctp.c 2003-07-30 02:03:56.775625176 +0200
+@@ -47,11 +47,13 @@
+ #include <sys/socket.h>
+
+ #include <unistd.h>
++
++#include <netinet/in.h>
++
+ #include "sctpHeader.h"
+ #include "sctpConstants.h"
+ #include <assert.h>
+
+-#include <netinet/in.h>
+
+ #include <stdio.h>
+ #include <string.h>
diff --git a/net-analyzer/tcpdump/tcpdump-3.7.2.ebuild b/net-analyzer/tcpdump/tcpdump-3.7.2.ebuild
index 7fc7e83fb4fa..2809c677fbc1 100644
--- a/net-analyzer/tcpdump/tcpdump-3.7.2.ebuild
+++ b/net-analyzer/tcpdump/tcpdump-3.7.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/tcpdump-3.7.2.ebuild,v 1.6 2003/09/18 21:39:46 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/tcpdump-3.7.2.ebuild,v 1.7 2003/11/04 19:13:29 wwoods Exp $
IUSE="ssl"
@@ -18,6 +18,12 @@ KEYWORDS="x86 ppc sparc alpha mips hppa arm ia64"
DEPEND=">=net-libs/libpcap-0.6.1
ssl? ( >=dev-libs/openssl-0.6.9 )"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-sctp.patch
+}
+
src_compile() {
local myconf