summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2006-01-08 22:28:34 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2006-01-08 22:28:34 +0000
commitb07bbbe290be910bbeb52e584c894b7ae32ff535 (patch)
tree4abd6e896747131af3c91f0c048a965444819976 /net-libs
parentStable on x86 as per bug #118229 (diff)
downloadgentoo-2-b07bbbe290be910bbeb52e584c894b7ae32ff535.tar.gz
gentoo-2-b07bbbe290be910bbeb52e584c894b7ae32ff535.tar.bz2
gentoo-2-b07bbbe290be910bbeb52e584c894b7ae32ff535.zip
0.9.4 version bump.
(Portage version: 2.0.53)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libpcap/ChangeLog9
-rw-r--r--net-libs/libpcap/Manifest10
-rw-r--r--net-libs/libpcap/files/digest-libpcap-0.9.41
-rw-r--r--net-libs/libpcap/libpcap-0.9.4.ebuild52
4 files changed, 66 insertions, 6 deletions
diff --git a/net-libs/libpcap/ChangeLog b/net-libs/libpcap/ChangeLog
index a8d3d402e1fe..fd8509743ef2 100644
--- a/net-libs/libpcap/ChangeLog
+++ b/net-libs/libpcap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/libpcap
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.46 2005/09/24 08:22:45 corsair Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.47 2006/01/08 22:28:34 vanquirius Exp $
+
+*libpcap-0.9.4 (08 Jan 2006)
+
+ 08 Jan 2006; Marcelo Goes <vanquirius@gentoo.org> +libpcap-0.9.4.ebuild:
+ 0.9.4 version bump.
24 Sep 2005; Markus Rothe <corsair@gentoo.org> libpcap-0.9.3.ebuild:
Stable on ppc64
diff --git a/net-libs/libpcap/Manifest b/net-libs/libpcap/Manifest
index e969817ae155..caa859d7ab10 100644
--- a/net-libs/libpcap/Manifest
+++ b/net-libs/libpcap/Manifest
@@ -1,8 +1,10 @@
MD5 6ea835fbbbf60d56cbdcd9a5a427a2c4 ChangeLog 6470
-MD5 2f0cfe611a39b442ed7e9f3427f3c2c8 libpcap-0.8.3-r1.ebuild 1477
-MD5 50057505c6cef15415ae8f8ca7378d82 metadata.xml 261
-MD5 0faa8f1084f0d749a8e7ae64fecd7c8c libpcap-0.9.3.ebuild 1512
MD5 aa690ff148a4b4bbb5a59276fbb583a8 files/digest-libpcap-0.8.3-r1 65
-MD5 29710cca211a266690d649eff1ffe287 files/libpcap-0.8.1-fPIC.patch 298
MD5 be632c8eb1c0f14e48313ceb1bc3917d files/digest-libpcap-0.9.3 65
+MD5 ade19e417c8377e4ebbafd8ccbb77f69 files/digest-libpcap-0.9.4 65
+MD5 29710cca211a266690d649eff1ffe287 files/libpcap-0.8.1-fPIC.patch 298
MD5 daf575fe650740e0e4013da7b86f2b50 files/libpcap-0.9.3-whitespace.diff 679
+MD5 2f0cfe611a39b442ed7e9f3427f3c2c8 libpcap-0.8.3-r1.ebuild 1477
+MD5 0faa8f1084f0d749a8e7ae64fecd7c8c libpcap-0.9.3.ebuild 1512
+MD5 38a0f7f5fc7236f330bb5a3ab1ce226e libpcap-0.9.4.ebuild 1535
+MD5 50057505c6cef15415ae8f8ca7378d82 metadata.xml 261
diff --git a/net-libs/libpcap/files/digest-libpcap-0.9.4 b/net-libs/libpcap/files/digest-libpcap-0.9.4
new file mode 100644
index 000000000000..765483026722
--- /dev/null
+++ b/net-libs/libpcap/files/digest-libpcap-0.9.4
@@ -0,0 +1 @@
+MD5 79025766e8027df154cb1f32de8a7974 libpcap-0.9.4.tar.gz 425887
diff --git a/net-libs/libpcap/libpcap-0.9.4.ebuild b/net-libs/libpcap/libpcap-0.9.4.ebuild
new file mode 100644
index 000000000000..23a8f67668c2
--- /dev/null
+++ b/net-libs/libpcap/libpcap-0.9.4.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-0.9.4.ebuild,v 1.1 2006/01/08 22:28:34 vanquirius Exp $
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="A system-independent library for user-level network packet capture"
+HOMEPAGE="http://www.tcpdump.org/"
+SRC_URI="http://www.tcpdump.org/release/${P}.tar.gz
+ http://www.jp.tcpdump.org/release/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="ipv6"
+
+DEPEND="virtual/libc
+ !virtual/libpcap"
+
+PROVIDE="virtual/libpcap"
+
+src_unpack() {
+ unpack ${A}; cd "${S}"
+ epatch "${FILESDIR}"/${PN}-0.9.3-whitespace.diff
+ 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...
+ $(tc-getCC) -Wl,-soname,libpcap.so.0 -shared -fPIC -o libpcap.so.${PV:0:3} *.o \
+ || die "couldn't make a shared lib"
+}
+
+src_install() {
+ einstall || die "make install failed"
+
+ # We need this to build pppd on G/FBSD systems
+ if [[ "${USERLAND}" == "BSD" ]]; then
+ insinto /usr/include
+ doins pcap-int.h || die "failed to install pcap-int.h"
+ fi
+
+ insopts -m 755
+ insinto /usr/$(get_libdir) ; doins libpcap.so.${PV:0:3}
+ dosym libpcap.so.${PV:0:3} /usr/$(get_libdir)/libpcap.so.0
+ dosym libpcap.so.${PV:0:3} /usr/$(get_libdir)/libpcap.so
+
+ dodoc CREDITS CHANGES FILES README* VERSION
+}