summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2008-05-01 11:28:07 +0000
committerDaniel Black <dragonheart@gentoo.org>2008-05-01 11:28:07 +0000
commite969e47c421abb0517c8bbb1c15522a67a1ed7d2 (patch)
tree41821bba72f100262b0f5db41a047996ec8dee17 /net-libs
parentVersion bump (diff)
downloadhistorical-e969e47c421abb0517c8bbb1c15522a67a1ed7d2.tar.gz
historical-e969e47c421abb0517c8bbb1c15522a67a1ed7d2.tar.bz2
historical-e969e47c421abb0517c8bbb1c15522a67a1ed7d2.zip
seem to have missed this commit
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libpcap/ChangeLog10
-rw-r--r--net-libs/libpcap/Manifest4
-rw-r--r--net-libs/libpcap/files/libpcap-0.9.8-largefile.patch11
-rw-r--r--net-libs/libpcap/libpcap-0.9.8-r1.ebuild56
4 files changed, 78 insertions, 3 deletions
diff --git a/net-libs/libpcap/ChangeLog b/net-libs/libpcap/ChangeLog
index a1c39c5f8b19..98c89ab67c2f 100644
--- a/net-libs/libpcap/ChangeLog
+++ b/net-libs/libpcap/ChangeLog
@@ -1,6 +1,12 @@
# 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.96 2007/11/19 06:54:32 kumba Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.97 2008/05/01 11:28:06 dragonheart Exp $
+
+*libpcap-0.9.8-r1 (01 Apr 2008)
+
+ 01 Apr 2008; Daniel Black <dragonheart@gentoo.org>
+ +files/libpcap-0.9.8-largefile.patch, +libpcap-0.9.8-r1.ebuild:
+ added large file support as per bug #175239
19 Nov 2007; Joshua Kinard <kumba@gentoo.org> libpcap-0.9.8.ebuild:
Stable on mips, per #198476.
diff --git a/net-libs/libpcap/Manifest b/net-libs/libpcap/Manifest
index c60f15b6b3b9..0cc984a3b7ad 100644
--- a/net-libs/libpcap/Manifest
+++ b/net-libs/libpcap/Manifest
@@ -1,5 +1,6 @@
AUX libpcap-0.8.1-fPIC.patch 298 RMD160 4cf97341a5da39c97553871312c9381f30457bdb SHA1 e63657730f2a1d2f04ca50947ea01485f1d5994e SHA256 cd4cbc5aa3ba94095e85cf026b015f20af9ed77c05b529b2cb902e5ba365a7c3
AUX libpcap-0.9.3-whitespace.diff 679 RMD160 70ccf92874b1665253608ffeffa7de89c2af48d7 SHA1 a50d6467d5805a53809e9fdcc197377b76d21559 SHA256 4ff701485da6f577980048b9b91810ba7aa529c3be021dea30c8205b0a130606
+AUX libpcap-0.9.8-largefile.patch 202 RMD160 4ac6ffcc15c8c80ae6f1eb2586f03f92d4ecf348 SHA1 d3caaaa062518ed636cc60715332aaa2e0deb0d8 SHA256 ab377d1d9ed24e5eb4fda8db55cb93cdab0f4844ea7f0e098075eac29417e9f7
AUX libpcap-cross-linux.patch 1114 RMD160 e76fd1ea94d34e8533416c476d95166ad13579ec SHA1 0853cb1cf102c6d9b41d22b4c62b0e1bac6d73a8 SHA256 4b3fe1e2b7ecefbf82e20120f8c3bf9c5050cb7ccc1e0be77a04af5ef7cbb459
DIST libpcap-0.9.5.tar.gz 433207 RMD160 272a167881ad05dddd5a1095b0f64f3ecd845bdc SHA1 3a3b0821f7201b4a72201c69ca2411a3db8a83c3 SHA256 6a6568bc082c266864687674707628d1531e86cffad439af72b865ac3169c322
DIST libpcap-0.9.6.tar.gz 438657 RMD160 e49019bed6fc6b635456e720cf62a79bf498b31e SHA1 e6514fb3b5589e77ebb67501da3bcc12624d6607 SHA256 cac67ef8837a2bdd20d7fb5e990e233d80a9ff398cf08a62bb7fac068a419b3e
@@ -8,6 +9,7 @@ DIST libpcap-0.9.8.tar.gz 520526 RMD160 2f5ecbc9840d8bd646798c977b7a02abe191311e
EBUILD libpcap-0.9.5.ebuild 1619 RMD160 1088171f79fdbe4c9df2b6bfb68d83acdce9ff86 SHA1 eed68528331f162e81b47ba0b94e706109f2cf90 SHA256 72fdbb07d1fa6cb8aac4c3663e22fba802011604f9661ba337f9b1fb0b1e0d9f
EBUILD libpcap-0.9.6.ebuild 1722 RMD160 a78068520607618f6079d83dc8f9ea1eb5566744 SHA1 0685ea27a58a2bf1d4e57aa48817fe324eeebc65 SHA256 95670653ef73132b3236b9a54a89bd294c3a6de3eb622d03289c7e660cab514c
EBUILD libpcap-0.9.7.ebuild 1740 RMD160 f43dfcd17e27fbb8b8223763b3938cb77772dc8f SHA1 3958902c96bced313a5505b080812d30d29db352 SHA256 0e0affd2a129cc3f0c304927819be93070fc71edc7419c3428b97be8a7dd1d53
+EBUILD libpcap-0.9.8-r1.ebuild 1803 RMD160 07cb4d4be0ca65d9ba25de5de101a5c679350dc2 SHA1 aea0005f4c527ca02b795462e764e84ec2a22a41 SHA256 074995f8a5daed01901bb2ab82f76bd7f4bdf1720dccc446dd36ffe50079a0a5
EBUILD libpcap-0.9.8.ebuild 1739 RMD160 5e1813cd649900332845e64def3fd56cde62b458 SHA1 8910306a1392e7a7d017d4384a09500cf72c12dc SHA256 e0fae21320b76bb431df4957d0d6e01b43fae30d31a82dc190e0e3c45942f191
-MISC ChangeLog 11886 RMD160 3da7d19f201f9cc19d18ecd4c63a19694f44e352 SHA1 f09db3712adb18469de77c4ba13f2b0a9c74623f SHA256 bdd697d3c8db588597d193a13600f61ce1c37065c12503b6dccf4c6ddbc2441d
+MISC ChangeLog 12091 RMD160 df24a510d1ffc91ea2e38930d066180c46f0e2cc SHA1 feb801317a8d34bbed97b876d17aeba5743b34c3 SHA256 078efff6e882a4e5c185e97c2b49f9750a8c6ce6b967cbe2ceba6c9f1514366e
MISC metadata.xml 261 RMD160 5bcf72e234ef387b24ffb9221623eaf927a41f02 SHA1 31a589dbbde4597dc3df248c57b5213889c67423 SHA256 92d6c306fe13ead877997b8ff3007ffa601a1e7c96ca3ec2208f88884a95c791
diff --git a/net-libs/libpcap/files/libpcap-0.9.8-largefile.patch b/net-libs/libpcap/files/libpcap-0.9.8-largefile.patch
new file mode 100644
index 000000000000..756e369bdac8
--- /dev/null
+++ b/net-libs/libpcap/files/libpcap-0.9.8-largefile.patch
@@ -0,0 +1,11 @@
+--- configure.in.orig 2008-04-02 03:15:24.000000000 +1100
++++ configure.in 2008-04-02 03:15:45.000000000 +1100
+@@ -786,6 +786,8 @@
+
+ esac
+
++AC_SYS_LARGEFILE
++
+ AC_PROG_RANLIB
+
+ AC_LBL_DEVEL(V_CCOPT)
diff --git a/net-libs/libpcap/libpcap-0.9.8-r1.ebuild b/net-libs/libpcap/libpcap-0.9.8-r1.ebuild
new file mode 100644
index 000000000000..27b5e749162c
--- /dev/null
+++ b/net-libs/libpcap/libpcap-0.9.8-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-0.9.8-r1.ebuild,v 1.1 2008/05/01 11:28:06 dragonheart 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
+ epatch "${FILESDIR}"/${P}-largefile.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() {
+ emake DESTDIR="${D}" install || die "emake 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
+
+ # We are not installing README.{Win32,aix,hpux,tru64} (bug 183057)
+ dodoc CREDITS CHANGES FILES VERSION TODO README{,.dag,.linux,.macosx,.septel}
+}