summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2007-06-23 09:54:53 +0000
committerCédric Krier <cedk@gentoo.org>2007-06-23 09:54:53 +0000
commit58095e9cdbb7966286801bd5919ab8e489a7a549 (patch)
tree2b6955719e4e075753c36b491ed4b1f89085560b /net-libs
parentVersion bump, #182952. Drop ~ppc-macos keyword. (diff)
downloadgentoo-2-58095e9cdbb7966286801bd5919ab8e489a7a549.tar.gz
gentoo-2-58095e9cdbb7966286801bd5919ab8e489a7a549.tar.bz2
gentoo-2-58095e9cdbb7966286801bd5919ab8e489a7a549.zip
Version bump
(Portage version: 2.1.2.7)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libpcap/ChangeLog7
-rw-r--r--net-libs/libpcap/files/digest-libpcap-0.9.63
-rw-r--r--net-libs/libpcap/libpcap-0.9.6.ebuild54
3 files changed, 63 insertions, 1 deletions
diff --git a/net-libs/libpcap/ChangeLog b/net-libs/libpcap/ChangeLog
index 1da08ec31218..c446632875ca 100644
--- a/net-libs/libpcap/ChangeLog
+++ b/net-libs/libpcap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/libpcap
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.71 2007/05/12 18:13:58 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.72 2007/06/23 09:54:53 cedk Exp $
+
+*libpcap-0.9.6 (23 Jun 2007)
+
+ 23 Jun 2007; Cédric Krier <cedk@gentoo.org> +libpcap-0.9.6.ebuild:
+ Version bump
12 May 2007; Joshua Kinard <kumba@gentoo.org> libpcap-0.9.5.ebuild:
Stable on mips.
diff --git a/net-libs/libpcap/files/digest-libpcap-0.9.6 b/net-libs/libpcap/files/digest-libpcap-0.9.6
new file mode 100644
index 000000000000..57a49921b0e2
--- /dev/null
+++ b/net-libs/libpcap/files/digest-libpcap-0.9.6
@@ -0,0 +1,3 @@
+MD5 2e1b5e983654c1d5991450e3e0e525ca libpcap-0.9.6.tar.gz 438657
+RMD160 e49019bed6fc6b635456e720cf62a79bf498b31e libpcap-0.9.6.tar.gz 438657
+SHA256 cac67ef8837a2bdd20d7fb5e990e233d80a9ff398cf08a62bb7fac068a419b3e libpcap-0.9.6.tar.gz 438657
diff --git a/net-libs/libpcap/libpcap-0.9.6.ebuild b/net-libs/libpcap/libpcap-0.9.6.ebuild
new file mode 100644
index 000000000000..7d6f77953191
--- /dev/null
+++ b/net-libs/libpcap/libpcap-0.9.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-0.9.6.ebuild,v 1.1 2007/06/23 09:54:53 cedk Exp $
+
+inherit autotools 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 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="ipv6"
+
+DEPEND="!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
+ epatch "${FILESDIR}"/${PN}-cross-linux.patch
+ eautoreconf
+}
+
+src_compile() {
+ econf $(use_enable ipv6) || die "bad configure"
+ emake || die "compile problem"
+
+ # no provision for this in the Makefile, so...
+ $(tc-getCC) ${LDFLAGS} -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 TODO
+}