bumping libpcap to 0.8.3 for tcpdump Bugzilla Bug 46258
authorNed Ludd <solar@gentoo.org>
Tue, 30 Mar 2004 21:05:36 +0000 (21:05 +0000)
committerNed Ludd <solar@gentoo.org>
Tue, 30 Mar 2004 21:05:36 +0000 (21:05 +0000)
net-libs/libpcap/ChangeLog
net-libs/libpcap/Manifest
net-libs/libpcap/files/digest-libpcap-0.8.3 [new file with mode: 0644]
net-libs/libpcap/libpcap-0.7.2.ebuild
net-libs/libpcap/libpcap-0.8.3.ebuild [new file with mode: 0644]

index 09f5a56be0969b05ffcba97c4310557273b8a1a2..6c1b4d8295a2ea97a005af471ba41cb75e0835b6 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for net-libs/libpcap
 # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.20 2004/03/01 20:42:57 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.21 2004/03/30 21:05:34 solar Exp $
+
+  30 Mar 2004; <solar@gentoo.org> :
+  bumping libpcap to 0.8.3 for tcpdump Bugzilla Bug 46258
 
 *libpcap-0.7.2-r1 (15 Feb 2004)
 *libpcap-0.8.1-r1 (15 Feb 2004)
index 24ff188f0d3f30e8cc1bf7dd5d62dab980ae29b7..d2af888bb3856ccc08f275dbbe787c8413e5fa52 100644 (file)
@@ -1,11 +1,13 @@
-MD5 f2530d9bfd406eeaae41b39b89977b35 libpcap-0.8.1-r1.ebuild 1188
+MD5 6132a5359b73e331510222e20ae7f557 ChangeLog 3136
 MD5 4edc7ca25d7593d5dd3f087e06e29243 libpcap-0.8.1.ebuild 1096
 MD5 b108ccf84b15b81e3ac2a5318873aeb7 libpcap-0.7.2-r1.ebuild 1125
-MD5 7067a1566fd2c6882f4d9a95da554c66 libpcap-0.7.2.ebuild 1110
-MD5 e63613f69ab2d8e935dad221fab8fa6c ChangeLog 3040
+MD5 c0e72b2a6d016dc65e929dbd2b4c26a0 libpcap-0.7.2.ebuild 1107
+MD5 f2530d9bfd406eeaae41b39b89977b35 libpcap-0.8.1-r1.ebuild 1188
 MD5 22e890de685863b2ced8c1b5fd6b318a metadata.xml 402
-MD5 6ccab63a4b33bed475b2c7215a55698d files/digest-libpcap-0.7.2-r1 65
-MD5 a8a2dac67059729725555570b2e7ed9f files/digest-libpcap-0.8.1-r1 65
-MD5 6ccab63a4b33bed475b2c7215a55698d files/digest-libpcap-0.7.2 65
+MD5 4b046225223c389a4cac3f756874cd01 libpcap-0.8.3.ebuild 1102
 MD5 a8a2dac67059729725555570b2e7ed9f files/digest-libpcap-0.8.1 65
 MD5 29710cca211a266690d649eff1ffe287 files/libpcap-0.8.1-fPIC.patch 298
+MD5 6ccab63a4b33bed475b2c7215a55698d files/digest-libpcap-0.7.2 65
+MD5 6ccab63a4b33bed475b2c7215a55698d files/digest-libpcap-0.7.2-r1 65
+MD5 a8a2dac67059729725555570b2e7ed9f files/digest-libpcap-0.8.1-r1 65
+MD5 aa690ff148a4b4bbb5a59276fbb583a8 files/digest-libpcap-0.8.3 65
diff --git a/net-libs/libpcap/files/digest-libpcap-0.8.3 b/net-libs/libpcap/files/digest-libpcap-0.8.3
new file mode 100644 (file)
index 0000000..496dd7e
--- /dev/null
@@ -0,0 +1 @@
+MD5 56a9d4615d8354fcfe8cff8c8443c77b libpcap-0.8.3.tar.gz 302551
index 740dd26241eec0fab70ac38339add4c21f9208c8..37024860aa8ca8dd93acd951c4d7d8eb12966ac1 100644 (file)
@@ -1,6 +1,6 @@
-# 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-libs/libpcap/libpcap-0.7.2.ebuild,v 1.6 2004/02/22 23:05:53 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-0.7.2.ebuild,v 1.7 2004/03/30 21:05:34 solar Exp $
 
 inherit eutils flag-o-matic
 
diff --git a/net-libs/libpcap/libpcap-0.8.3.ebuild b/net-libs/libpcap/libpcap-0.8.3.ebuild
new file mode 100644 (file)
index 0000000..12aec07
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-0.8.3.ebuild,v 1.1 2004/03/30 21:05:35 solar 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"
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~amd64 ~ia64"
+
+src_unpack() {
+       unpack ${A} ; cd ${S}
+
+       epatch ${FILESDIR}/${PN}-0.8.1-fPIC.patch
+}
+
+src_compile() {
+       econf `use_enable ipv6` || 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
+}