diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-01-25 23:47:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-01-25 23:47:17 +0000 |
commit | 973c6ab4417b0fbd52a7ac03471d1fc8bc0ca7c2 (patch) | |
tree | b70a88c82716552d7b1f82794fe5b740295c716e /net-analyzer | |
parent | changing maintainer of this ebuild to me... waiting on bug #17172 to close be... (diff) | |
download | historical-973c6ab4417b0fbd52a7ac03471d1fc8bc0ca7c2.tar.gz historical-973c6ab4417b0fbd52a7ac03471d1fc8bc0ca7c2.tar.bz2 historical-973c6ab4417b0fbd52a7ac03471d1fc8bc0ca7c2.zip |
compile against latest libpcap #39389
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/packit/ChangeLog | 5 | ||||
-rw-r--r-- | net-analyzer/packit/packit-0.6.0c-r1.ebuild | 10 | ||||
-rw-r--r-- | net-analyzer/packit/packit-0.7.ebuild | 10 |
3 files changed, 22 insertions, 3 deletions
diff --git a/net-analyzer/packit/ChangeLog b/net-analyzer/packit/ChangeLog index e1a91ed7ec76..ff256fe4bb10 100644 --- a/net-analyzer/packit/ChangeLog +++ b/net-analyzer/packit/ChangeLog @@ -1,9 +1,12 @@ # ChangeLog for net-analyzer/packit # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/packit/ChangeLog,v 1.4 2003/10/19 22:52:47 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/packit/ChangeLog,v 1.5 2004/01/25 23:47:17 vapier Exp $ *packit-0.7 (20 Oct 2003) + 25 Jan 2004; Mike Frysinger <vapier@gentoo.org> : + Update to use latest libpcap #39389 by Sven Wegener. + 20 Oct 2003; Heinrich Wendel <lanius@gentoo.org> packit-0.7.ebuild: bump diff --git a/net-analyzer/packit/packit-0.6.0c-r1.ebuild b/net-analyzer/packit/packit-0.6.0c-r1.ebuild index c0269cf2fc7e..543be5fb7598 100644 --- a/net-analyzer/packit/packit-0.6.0c-r1.ebuild +++ b/net-analyzer/packit/packit-0.6.0c-r1.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/packit/packit-0.6.0c-r1.ebuild,v 1.3 2003/10/09 02:33:17 hillster Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/packit/packit-0.6.0c-r1.ebuild,v 1.4 2004/01/25 23:47:17 vapier Exp $ inherit eutils @@ -14,6 +14,14 @@ KEYWORDS="x86" DEPEND=">=net-libs/libnet-1.1.0-r3" +src_unpack() { + unpack ${A} + cd ${S} + has_version '>=net-libs/libpcap-0.8.1' \ + && sed -i 's!^#include <net/bpf.h>$!#include <pcap-bpf.h>!' \ + include/packit.h +} + src_compile() { econf || die "configure failed" emake || die "configure failed" diff --git a/net-analyzer/packit/packit-0.7.ebuild b/net-analyzer/packit/packit-0.7.ebuild index 12a733c8f405..76de0a0d5d0a 100644 --- a/net-analyzer/packit/packit-0.7.ebuild +++ b/net-analyzer/packit/packit-0.7.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/packit/packit-0.7.ebuild,v 1.1 2003/10/19 22:52:47 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/packit/packit-0.7.ebuild,v 1.2 2004/01/25 23:47:17 vapier Exp $ inherit eutils @@ -14,6 +14,14 @@ KEYWORDS="~x86" DEPEND=">=net-libs/libnet-1.1.0-r3" +src_unpack() { + unpack ${A} + cd ${S} + has_version '>=net-libs/libpcap-0.8.1' \ + && sed -i 's!^#include <net/bpf.h>$!#include <pcap-bpf.h>!' \ + include/packit.h +} + src_install() { make install DESTDIR=${D} || die dodoc INSTALL LICENSE VERSION docs/* |