summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-02-06 15:02:09 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-02-06 15:02:09 +0000
commit49c382213ce067cfabb34303efce092947d01cfd (patch)
tree96c804f28a134529ff3cd24d8225f4a5a45d10a0 /net-analyzer
parentx86/ppc/hppa stable (diff)
downloadhistorical-49c382213ce067cfabb34303efce092947d01cfd.tar.gz
historical-49c382213ce067cfabb34303efce092947d01cfd.tar.bz2
historical-49c382213ce067cfabb34303efce092947d01cfd.zip
patch for new libpcap headers.
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/ssldump/ChangeLog8
-rw-r--r--net-analyzer/ssldump/Manifest5
-rw-r--r--net-analyzer/ssldump/files/ssldump-0.9-libpcap-header.patch10
-rw-r--r--net-analyzer/ssldump/ssldump-0.9.ebuild18
4 files changed, 31 insertions, 10 deletions
diff --git a/net-analyzer/ssldump/ChangeLog b/net-analyzer/ssldump/ChangeLog
index 81814d296ee3..7a3f8b7a9e97 100644
--- a/net-analyzer/ssldump/ChangeLog
+++ b/net-analyzer/ssldump/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/ssldump
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ssldump/ChangeLog,v 1.2 2003/06/20 04:17:44 vapier Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ssldump/ChangeLog,v 1.3 2004/02/06 15:02:09 aliz Exp $
+
+ 06 Feb 2004; Daniel Ahlberg <aliz@gentoo.org> ssldump-0.9.ebuild,
+ files/ssldump-0.9-libpcap-header.patch:
+ Added patch for new libpcap headers.
*ssldump-0.9 (19 May 2003)
diff --git a/net-analyzer/ssldump/Manifest b/net-analyzer/ssldump/Manifest
index e6ea9954e623..4fa1ae4a5dcb 100644
--- a/net-analyzer/ssldump/Manifest
+++ b/net-analyzer/ssldump/Manifest
@@ -1,3 +1,4 @@
-MD5 9d7047b5ba73dc6996c09a0a4aa8b2bb ChangeLog 398
-MD5 d7c39de1a84be86f494eac90eb5ec201 ssldump-0.9.ebuild 790
+MD5 8a953379335e53e6a1c6fc2e8b66129f ssldump-0.9.ebuild 877
+MD5 f0ab175f002cacd62f3a0c3bd3141c75 ChangeLog 546
MD5 e48ef1ebd171e60a677b90bbe65a8a6f files/digest-ssldump-0.9 65
+MD5 fb8f0f38b6d7247b85572b321c691ccd files/ssldump-0.9-libpcap-header.patch 246
diff --git a/net-analyzer/ssldump/files/ssldump-0.9-libpcap-header.patch b/net-analyzer/ssldump/files/ssldump-0.9-libpcap-header.patch
new file mode 100644
index 000000000000..95f9fda31dc0
--- /dev/null
+++ b/net-analyzer/ssldump/files/ssldump-0.9-libpcap-header.patch
@@ -0,0 +1,10 @@
+--- base/pcap-snoop.c 2002-09-09 21:02:58.000000000 +0000
++++ base/pcap-snoop.c 2004-02-06 14:59:37.278455352 +0000
+@@ -49,7 +49,6 @@
+
+ #include <pcap.h>
+ #include <unistd.h>
+-#include <net/bpf.h>
+ #ifndef _WIN32
+ #include <sys/param.h>
+ #endif
diff --git a/net-analyzer/ssldump/ssldump-0.9.ebuild b/net-analyzer/ssldump/ssldump-0.9.ebuild
index 06fef405a100..ed8b3e9e8e12 100644
--- a/net-analyzer/ssldump/ssldump-0.9.ebuild
+++ b/net-analyzer/ssldump/ssldump-0.9.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ssldump/ssldump-0.9.ebuild,v 1.3 2003/09/05 23:44:49 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ssldump/ssldump-0.9.ebuild,v 1.4 2004/02/06 15:02:09 aliz Exp $
+
+inherit gnuconfig
IUSE="ssl"
@@ -11,18 +13,22 @@ SRC_URI="http://www.rtfm.com/ssldump/${MY_P}.tar.gz"
HOMEPAGE="http://www.rtfm.com/ssldump/"
SLOT="0"
-KEYWORDS="x86"
+KEYWORDS="x86 ~amd64"
LICENSE="GPL-2"
DEPEND=">=net-libs/libpcap-0.6.1
ssl? ( >=dev-libs/openssl-0.6.9 )"
+src_unpack() {
+ unpack ${A} ; cd ${S}
+
+ epatch ${FILESDIR}/${P}-libpcap-header.patch
+}
src_compile() {
- local myconf
+ gnuconfig_update
- use ssl || myconf="--without-crypto"
- econf ${myconf} || die
+ econf `use_with ssl crypto` || die
emake || die
}