diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2004-01-03 13:07:23 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2004-01-03 13:07:23 +0000 |
commit | 62724cb4fb14810e0df7e440231f40103a80a541 (patch) | |
tree | 34fe3430331eb57bbcae6c1bc4a7f2516168147f /net-libs | |
parent | Version bump. Closing #37092. (diff) | |
download | historical-62724cb4fb14810e0df7e440231f40103a80a541.tar.gz historical-62724cb4fb14810e0df7e440231f40103a80a541.tar.bz2 historical-62724cb4fb14810e0df7e440231f40103a80a541.zip |
Version bump. Closing #37092.
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libpcap/Manifest | 5 | ||||
-rw-r--r-- | net-libs/libpcap/files/digest-libpcap-0.8.1 | 1 | ||||
-rw-r--r-- | net-libs/libpcap/files/libpcap-0.8.1-fPIC.patch | 11 | ||||
-rw-r--r-- | net-libs/libpcap/libpcap-0.8.1.ebuild | 41 |
4 files changed, 56 insertions, 2 deletions
diff --git a/net-libs/libpcap/Manifest b/net-libs/libpcap/Manifest index 966d4265a9f4..40c656d8cf68 100644 --- a/net-libs/libpcap/Manifest +++ b/net-libs/libpcap/Manifest @@ -1,5 +1,6 @@ -MD5 6f25fd02d6c9f6c3416a842c78257491 libpcap-0.8.1.ebuild 1111 +MD5 a0a26a16079962e1dd2ecde973c32c1b libpcap-0.8.1.ebuild 1128 MD5 6f25fd02d6c9f6c3416a842c78257491 libpcap-0.7.2.ebuild 1111 -MD5 57eedd14947e7bc472cc1a1c178ae8fd ChangeLog 2468 +MD5 7eb29107e7f0c9dfa8a530ab6d6ed966 ChangeLog 2633 MD5 6ccab63a4b33bed475b2c7215a55698d files/digest-libpcap-0.7.2 65 MD5 a8a2dac67059729725555570b2e7ed9f files/digest-libpcap-0.8.1 65 +MD5 13712e5acc0c57afb95c31ad72e8ff8c files/libpcap-0.8.1-fPIC.patch 303 diff --git a/net-libs/libpcap/files/digest-libpcap-0.8.1 b/net-libs/libpcap/files/digest-libpcap-0.8.1 new file mode 100644 index 000000000000..8490146e8503 --- /dev/null +++ b/net-libs/libpcap/files/digest-libpcap-0.8.1 @@ -0,0 +1 @@ +MD5 f03f588e1f0ba783004d76f60507cebd libpcap-0.8.1.tar.gz 283567 diff --git a/net-libs/libpcap/files/libpcap-0.8.1-fPIC.patch b/net-libs/libpcap/files/libpcap-0.8.1-fPIC.patch new file mode 100644 index 000000000000..c869df632c3a --- /dev/null +++ b/net-libs/libpcap/files/libpcap-0.8.1-fPIC.patch @@ -0,0 +1,11 @@ +--- /tmp/Makefile.in 2004-01-03 12:51:50.914715352 +0000 ++++ Makefile.in 2004-01-03 13:04:17.524952464 +0000 +@@ -48,7 +48,7 @@ + LIBS = @V_LIBS@ + + # Standard CFLAGS +-CFLAGS = $(CCOPT) $(INCLS) $(DEFS) ++CFLAGS = $(CCOPT) $(INCLS) $(DEFS) -fPIC + + INSTALL = @INSTALL@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ diff --git a/net-libs/libpcap/libpcap-0.8.1.ebuild b/net-libs/libpcap/libpcap-0.8.1.ebuild new file mode 100644 index 000000000000..db66d70ac1ee --- /dev/null +++ b/net-libs/libpcap/libpcap-0.8.1.ebuild @@ -0,0 +1,41 @@ +# 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.1.ebuild,v 1.1 2004/01/03 13:07:06 aliz Exp $ + +inherit eutils flag-o-matic + +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 ~arm ~amd64 ~ia64" + +src_unpack() { + unpack ${A} ; cd ${S} + + epatch ${FILESDIR}/${P}-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 +} |