Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 110332 Details for
Bug 167108
libpfring-3.2.1-r1 (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
libpfring-3.2.1-r1.ebuild
libpfring-3.2.1-r1.ebuild (text/plain), 2.19 KB, created by
Jason Wallace
on 2007-02-15 20:43:28 UTC
(
hide
)
Description:
libpfring-3.2.1-r1.ebuild
Filename:
MIME Type:
Creator:
Jason Wallace
Created:
2007-02-15 20:43:28 UTC
Size:
2.19 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils toolchain-funcs linux-info > >DESCRIPTION="A a new type of network socket that dramatically improves packet capture speed" >HOMEPAGE="http://www.ntop.org/PF_RING.html" >SRC_URI="mirror://gentoo/${PF}.tar.bz2" > >LICENSE="GPL" >SLOT="0" >KEYWORDS="x86" > >LIBPFRIG_DIR=${WORKDIR}/${PF}/userland/libpfring > >pkg_setup(){ > linux-info_pkg_setup > ebegin "Checking for CONFIG_RING enabled kernel..." > linux_chkconfig_present RING > eend $? > if [[ $? -ne 0 ]] ; then > eerror > eerror "You don't have a PF_RING enabled kernel!" > eerror "Please follow the directions at..." > eerror > eerror "http://www.gentoo-wiki.com/Pfring" > eerror > eerror "to compile a PF_RING enabled kernel." > eerror > die &> /dev/null > fi > > ebegin "Checking to see if CONFIG_RING is a module..." > linux_chkconfig_module RING > eend $? > if [[ $? -ne 0 ]] ; then > eerror > eerror "CONFIG_RING needs to be compiled as a module!" > eerror "Please review the information at..." > eerror > eerror "http://www.gentoo-wiki.com/Pfring" > eerror > eerror "to understand why." > eerror "" > die &> /dev/null > fi >} > >src_unpack() { > unpack ${A} >} > >src_compile() { > # There is no ./configure > cd ${LIBPFRIG_DIR} > #Add -fPIC to the Makefile to prevent runtime text relocations. > sed -i s/'CC=gcc -g'/'CC=gcc -g -fPIC'/ ./Makefile > emake || die "Compile Problem!" > $(tc-getCC) -Wl,-soname -Wl,libpfring.so.${PV} -shared -fPIC -o libpfring.so.${PV} *.o -lc \ > || die "Couldn't make a shared library!" >} > >src_install() { > cd ${LIBPFRIG_DIR} > # No 'make install' either. > insopts -m 644 > insinto /usr/$(get_libdir); doins libpfring.a > insinto /usr/include; doins pfring.h > > insopts -m 755 > insinto /usr/$(get_libdir) ; doins libpfring.so.${PV} > dosym libpfring.so.${PV} /usr/$(get_libdir)/libpfring.so > dosym libpfring.so.${PV} /usr/$(get_libdir)/libpfring.so.3 >} > >pkg_postinst() { > einfo > einfo "If you are upgrading from a previous version of ${PN}" > einfo "remember to create a new PFRING enabled kernel to" > einfo "ensure you have the latest kernel module. Directions" > einfo "can be found at..." > einfo > einfo "http://www.gentoo-wiki.com/Pfring" > einfo >}
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 167108
: 110332 |
110333