mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-02-04 14:36:10 +01:00
pf_ring-kmod: v6.6.0 bump
This commit is contained in:
parent
a01708344d
commit
91c390ff32
2 changed files with 50 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST PF_RING-6.0.3.tar.gz 8865818 SHA256 923dd5ef2d423a6422cbc0f73ae9ea4578055bbb68015fac86bb02e345f4fab7 SHA512 75bf48f08a4f872fe02bf4fc8afe1031560558ff238c7aa32ccc1c4e9596031193df7edd2a3d4a4ae12b08642970266f4b46141340faacdfb09992793569a16d WHIRLPOOL 37c98d96be89df1af5751dccef74504d5d5c3eab988c8502aa47e46e4e5326520354a0500d05cfa37350104e818a3f18abad63f215d39e19f5173e40f1570557
|
||||
DIST pf_ring-kmod-6.6.0.tar.gz 8632362 SHA256 cd285ff96423c1ac4ebcbae913a0a68ea59079c15fbdf1eb0846241bf39d76e8 SHA512 3308f1bf3a26ff7bc7a4c85d311b5213635a563383809564aa9c9e56cf54477e44d22225c6a229a6aee2d0e8dd480e3aa49ca8c3f5cb70e1538b7098f82f0a75 WHIRLPOOL 92ee0f8f98962640100fbcb0b93c322e91c5bcdc6ca667aac58e494d9ba5b24d2a63c2dd713ea2761cc9de642b8bcb69ddee55c16a0a53581d65e9af2878301f
|
||||
|
|
|
|||
49
sys-kernel/pf_ring-kmod/pf_ring-kmod-6.6.0.ebuild
Normal file
49
sys-kernel/pf_ring-kmod/pf_ring-kmod-6.6.0.ebuild
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit linux-mod linux-info eutils
|
||||
|
||||
MY_P="PF_RING-${PV}"
|
||||
|
||||
DESCRIPTION="A new type of network socket that improves packet capture speed."
|
||||
HOMEPAGE="http://www.ntop.org/products/pf_ring/"
|
||||
#SRC_URI="mirror://sourceforge/ntop/PF_RING/${MY_P}.tar.gz"
|
||||
SRC_URI="https://github.com/ntop/PF_RING/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
MODULE_NAMES="pf_ring(net/pf_ring:${S}/kernel:${S}/kernel)"
|
||||
CONFIG_CHECK="NET"
|
||||
ERROR_NET="PF_RING-${PV} requires CONFIG_NET=y set in the kernel."
|
||||
BUILD_TARGETS="modules"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
# kernel_is -ge 3 10 && die "kernel 3.10.0 or higher is not supported by this version"
|
||||
BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S}/kernel EXTRA_CFLAGS='-I${S}/kernel'"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
insinto /usr/include/linux
|
||||
doins kernel/linux/pf_ring.h || die
|
||||
insinto /etc/modprobe.d
|
||||
doins "${FILESDIR}"/pf_ring.conf || die
|
||||
sed -i -e 's:DOCDIR:/usr/share/doc/'${PF}'/README.module_options:g' \
|
||||
"${D}etc/modprobe.d/pf_ring.conf" || die
|
||||
dodoc "${FILESDIR}"/README.module_options
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Please see /usr/share/doc/${PF}/README.module_options for configuration options"
|
||||
linux-mod_pkg_postinst
|
||||
}
|
||||
Loading…
Reference in a new issue