summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-libs/libpcap/ChangeLog7
-rw-r--r--net-libs/libpcap/files/digest-libpcap-0.7.21
-rw-r--r--net-libs/libpcap/libpcap-0.7.2.ebuild45
3 files changed, 52 insertions, 1 deletions
diff --git a/net-libs/libpcap/ChangeLog b/net-libs/libpcap/ChangeLog
index 003664db93b3..5b6f2e3c39a0 100644
--- a/net-libs/libpcap/ChangeLog
+++ b/net-libs/libpcap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/libpcap
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.12 2003/02/27 19:47:15 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.13 2003/03/03 09:09:38 aliz Exp $
+
+*libpcap-0.7.2 (03 Mar 2003)
+
+ 03 Mar 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Version bump.
27 Feb 2003; Peter Johanson <latexer@gentoo.org> libpcap-0.7.1-r1.ebuild :
Changed to stable on x86
diff --git a/net-libs/libpcap/files/digest-libpcap-0.7.2 b/net-libs/libpcap/files/digest-libpcap-0.7.2
new file mode 100644
index 000000000000..8df951eb5adc
--- /dev/null
+++ b/net-libs/libpcap/files/digest-libpcap-0.7.2
@@ -0,0 +1 @@
+MD5 e3993a5409b98989c7a73e27c5df4d27 libpcap-0.7.2.tar.gz 206173
diff --git a/net-libs/libpcap/libpcap-0.7.2.ebuild b/net-libs/libpcap/libpcap-0.7.2.ebuild
new file mode 100644
index 000000000000..b517da92d9fc
--- /dev/null
+++ b/net-libs/libpcap/libpcap-0.7.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-0.7.2.ebuild,v 1.1 2003/03/03 09:09:38 aliz Exp $
+
+inherit eutils flag-o-matic
+
+S=${WORKDIR}/${P}
+DESCRIPTION="pcap-Library"
+SRC_URI="http://www.tcpdump.org/release/${P}.tar.gz
+ http://www.jp.tcpdump.org/release/${P}.tar.gz"
+HOMEPAGE="http://www.tcpdump.org/"
+
+DEPEND="virtual/glibc"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa"
+
+src_compile() {
+
+ local myconf
+ use ipv6 && myconf="--enable-ipv6"
+
+ append-flags -fPIC
+
+ econf ${myconf} || die "bad configure"
+
+ emake || die "compile problem"
+
+ # no provision for this in the Makefile, so...
+ gcc -Wl,-soname,libpcap.so.0 -shared -fPIC -o libpcap.so.0.6 *.o
+ assert "couldn't make a shared lib"
+}
+
+src_install() {
+
+ einstall || die
+
+ insopts -m 755
+ insinto /usr/lib ; doins libpcap.so.0.6
+ dosym /usr/lib/libpcap.so.0.6 /usr/lib/libpcap.so.0
+ dosym /usr/lib/libpcap.so.0.6 /usr/lib/libpcap.so
+
+ dodoc CREDITS CHANGES FILES README* VERSION LICENSE
+}