diff options
author | Marcelo Góes <vanquirius@gentoo.org> | 2005-03-24 00:56:18 +0000 |
---|---|---|
committer | Marcelo Góes <vanquirius@gentoo.org> | 2005-03-24 00:56:18 +0000 |
commit | 4690fce13ffdb9541208902140b764a8a9944175 (patch) | |
tree | b817a336e59546d6023967548c975a63e8b756e3 /net-libs/libpcap-ringbuffer | |
parent | version bump (diff) | |
download | historical-4690fce13ffdb9541208902140b764a8a9944175.tar.gz historical-4690fce13ffdb9541208902140b764a8a9944175.tar.bz2 historical-4690fce13ffdb9541208902140b764a8a9944175.zip |
version bump
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-libs/libpcap-ringbuffer')
4 files changed, 75 insertions, 12 deletions
diff --git a/net-libs/libpcap-ringbuffer/ChangeLog b/net-libs/libpcap-ringbuffer/ChangeLog index 32c763274524..126229f27257 100644 --- a/net-libs/libpcap-ringbuffer/ChangeLog +++ b/net-libs/libpcap-ringbuffer/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-libs/libpcap-ringbuffer # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap-ringbuffer/ChangeLog,v 1.2 2005/01/29 00:38:30 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap-ringbuffer/ChangeLog,v 1.3 2005/03/24 00:56:18 vanquirius Exp $ + +*libpcap-ringbuffer-1.0.20050129 (23 Mar 2005) + + 23 Mar 2005; Marcelo Goes <vanquirius@gentoo.org> + +libpcap-ringbuffer-1.0.20050129.ebuild: + Version bump. 29 Jan 2005; Daniel Black <dragonheart@gentoo.org> libpcap-ringbuffer-1.0.20041001.ebuild: diff --git a/net-libs/libpcap-ringbuffer/Manifest b/net-libs/libpcap-ringbuffer/Manifest index 83083ee8b779..aa22afc0b504 100644 --- a/net-libs/libpcap-ringbuffer/Manifest +++ b/net-libs/libpcap-ringbuffer/Manifest @@ -1,14 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 3518cc7e500dab348a9a4aee5972d7c8 libpcap-ringbuffer-1.0.20041001.ebuild 1659 +MD5 0de5bced2c0d3a42143d82a65be94120 libpcap-ringbuffer-1.0.20050129.ebuild 1659 +MD5 fd751ae1adf37aa9b40df610dad41720 ChangeLog 757 MD5 c14eecc39f9e4d6b37b94f4e81df755d metadata.xml 257 -MD5 3657a4e553e0d22f9d89e59c4f33ba39 ChangeLog 598 MD5 a515448deadd95cb78cacf175a0aeba4 files/digest-libpcap-ringbuffer-1.0.20041001 72 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) - -iD8DBQFB+tsNmdTrptrqvGERAvAoAJ9k7kN60ccqypjS2mEl6o0G04JRlwCeK7jG -HuB0aTYLRoVVCA/S4CeSMj4= -=d5Xe ------END PGP SIGNATURE----- +MD5 88de1c13f5c2a764d4613cd7070766c6 files/digest-libpcap-ringbuffer-1.0.20050129 72 diff --git a/net-libs/libpcap-ringbuffer/files/digest-libpcap-ringbuffer-1.0.20050129 b/net-libs/libpcap-ringbuffer/files/digest-libpcap-ringbuffer-1.0.20050129 new file mode 100644 index 000000000000..77df015e2728 --- /dev/null +++ b/net-libs/libpcap-ringbuffer/files/digest-libpcap-ringbuffer-1.0.20050129 @@ -0,0 +1 @@ +MD5 17f5d0ea2e00d5f54f23966d453a9660 libpcap-1.0.20050129.tar.gz 601748 diff --git a/net-libs/libpcap-ringbuffer/libpcap-ringbuffer-1.0.20050129.ebuild b/net-libs/libpcap-ringbuffer/libpcap-ringbuffer-1.0.20050129.ebuild new file mode 100644 index 000000000000..ac3ef8c3ba9a --- /dev/null +++ b/net-libs/libpcap-ringbuffer/libpcap-ringbuffer-1.0.20050129.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap-ringbuffer/libpcap-ringbuffer-1.0.20050129.ebuild,v 1.1 2005/03/24 00:56:18 vanquirius Exp $ + +inherit toolchain-funcs linux-info multilib + +MY_P=${PN:0:7}-${PV} + +DESCRIPTION="A libpcap version which supports MMAP mode (ringbuffer) on the linux kernel 2.[46].x" +HOMEPAGE="http://public.lanl.gov/cpw/" +SRC_URI="${HOMEPAGE}${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="ipv6" + +DEPEND="virtual/libc + !virtual/libpcap" + +PROVIDE="virtual/libpcap" + +S=${WORKDIR}/${MY_P} + +# Used in linux-info to check minium Kernel support +CONFIG_CHECK="PACKET_MMAP" +PACKET_MMAP_ERROR="Make sure you have PACKET_MMAP compiled in your kernel to make use of libpcap's ringbuffer feature." + +src_unpack() { + unpack ${A} + cd ${S} + sed -i 's:@CFLAGS@:@CFLAGS@ -fPIC:' Makefile.in || die "fPIC patch failed." +} + +src_compile() { + cd ${S} + 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() { + dodir /usr/include + dodir /usr/$(get_libdir) + emake DESTDIR=${D} install || die "install problem" + dodoc CREDITS CHANGES FILES README* VERSION + + dolib libpcap.so.${PV:0:3} + + doins /usr/$(get_libdir) + + for link in "" .0 .0.7 .0.8 + do + dosym libpcap.so.${PV:0:3} libpcap.so${link} + done +} + +pkg_postinst() { + einfo "For usage with tcpdump and further details see:" + einfo "/usr/share/doc/${PF}/README.ring.gz" +} |