diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2004-02-06 15:02:09 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2004-02-06 15:02:09 +0000 |
commit | a2df2e601b01c5442163b1f4c61e73462396e477 (patch) | |
tree | e80bc64ec4c6bd0e4b359c3641b6bf47b9fec792 /net-analyzer/ssldump | |
parent | x86/ppc/hppa stable (diff) | |
download | gentoo-2-a2df2e601b01c5442163b1f4c61e73462396e477.tar.gz gentoo-2-a2df2e601b01c5442163b1f4c61e73462396e477.tar.bz2 gentoo-2-a2df2e601b01c5442163b1f4c61e73462396e477.zip |
patch for new libpcap headers.
Diffstat (limited to 'net-analyzer/ssldump')
-rw-r--r-- | net-analyzer/ssldump/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/ssldump/files/ssldump-0.9-libpcap-header.patch | 10 | ||||
-rw-r--r-- | net-analyzer/ssldump/ssldump-0.9.ebuild | 18 |
3 files changed, 28 insertions, 8 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/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 } |