summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD.M.D. Ljungmark <spider@gentoo.org>2002-05-11 22:31:37 +0000
committerD.M.D. Ljungmark <spider@gentoo.org>2002-05-11 22:31:37 +0000
commit2ba28655fa807f8f60469d8330b01a8cb6e4c9ce (patch)
tree1ff440b9e4374593f3c82329802594a6ba0199fa /net-libs/libpcap
parentnew package (xtraceroute - opengl traceroute ;)) (diff)
downloadgentoo-2-2ba28655fa807f8f60469d8330b01a8cb6e4c9ce.tar.gz
gentoo-2-2ba28655fa807f8f60469d8330b01a8cb6e4c9ce.tar.bz2
gentoo-2-2ba28655fa807f8f60469d8330b01a8cb6e4c9ce.zip
new version
Diffstat (limited to 'net-libs/libpcap')
-rw-r--r--net-libs/libpcap/ChangeLog6
-rw-r--r--net-libs/libpcap/files/digest-libpcap-0.7.11
-rw-r--r--net-libs/libpcap/libpcap-0.7.1.ebuild41
3 files changed, 47 insertions, 1 deletions
diff --git a/net-libs/libpcap/ChangeLog b/net-libs/libpcap/ChangeLog
index aa84bf9fa006..c2a526eb7fd4 100644
--- a/net-libs/libpcap/ChangeLog
+++ b/net-libs/libpcap/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for net-libs/libpcap
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.1 2002/02/01 21:53:34 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.2 2002/05/11 22:31:37 spider Exp $
+*libpcap-0.7.1 (11 May 2002)
+ 11 May 2002; Spider <spider@gentoo.org> libpcap-0.7.1.ebuild :
+ version bump for the new tcpdump
+
*libpcap-0.6.2-r1 (1 Feb 2002)
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
diff --git a/net-libs/libpcap/files/digest-libpcap-0.7.1 b/net-libs/libpcap/files/digest-libpcap-0.7.1
new file mode 100644
index 000000000000..ac4b7e5b33b1
--- /dev/null
+++ b/net-libs/libpcap/files/digest-libpcap-0.7.1
@@ -0,0 +1 @@
+MD5 0597c23e3496a5c108097b2a0f1bd0c7 libpcap-0.7.1.tar.gz 197653
diff --git a/net-libs/libpcap/libpcap-0.7.1.ebuild b/net-libs/libpcap/libpcap-0.7.1.ebuild
new file mode 100644
index 000000000000..dd854c806edb
--- /dev/null
+++ b/net-libs/libpcap/libpcap-0.7.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-0.7.1.ebuild,v 1.1 2002/05/11 22:31:37 spider Exp $
+
+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"
+
+src_compile() {
+
+ local myconf
+ use ipv6 && myconf="--enable-ipv6"
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --host=${CHOST} ${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() {
+
+ make prefix=${D}/usr mandir=${D}/usr/share/man install
+
+ 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
+}