Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 39494 Details for
Bug 63113
ebuild for enhanced libpcap with mmap ringbuffer support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
updated ebuild
libpcap-ringbuffer-1.0.20040706.ebuild (text/plain), 1.50 KB, created by
Andreas Kobara
on 2004-09-13 04:28:08 UTC
(
hide
)
Description:
updated ebuild
Filename:
MIME Type:
Creator:
Andreas Kobara
Created:
2004-09-13 04:28:08 UTC
Size:
1.50 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-ringbuffer-1.0.20040706.ebuild,v 1.14 2004/08/23 15:16:38 eldad Exp $ > >inherit eutils > >MY_P=${PN:0:7} > >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}-${PV}.tar.gz" > >LICENSE="BSD" >SLOT="0" >KEYWORDS="~x86" >IUSE="ipv6" > >DEPEND="virtual/libc" >PROVIDE="virtual/libpcap" > >S=${WORKDIR}/${MY_P}-${PV} > >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 -j1 || die "compile problem" > > # no provision for this in the Makefile, so... > gcc -Wl,-soname,libpcap.so.0 -shared -fPIC -o libpcap.so.${PV:0:3} *.o > assert "couldn't make a shared lib" >} > >src_install() { > insinto /usr/include > doins pcap.h pcap-bpf.h pcap-namedb.h > insopts -m 755 > insinto /usr/lib ; doins libpcap.so.${PV:0:3} > dosym /usr/lib/libpcap.so.${PV:0:3} /usr/lib/libpcap.so.0 > dosym /usr/lib/libpcap.so.${PV:0:3} /usr/lib/libpcap.so > dodoc CREDITS CHANGES FILES README* VERSION >} > >pkg_postinst() { > ewarn "Make sure you have PACKET_MMAP compiled in your kernel to" > ewarn "make use of libpcap's ringbuffer feature." > einfo "For usage with tcpdump and further details see:" > einfo "/usr/share/doc/${P}/README.ring.gz" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 63113
:
39120
| 39494