pf_ring-kmod: version bump

This commit is contained in:
blshkv 2015-11-03 11:25:22 +08:00
parent ea30d138a5
commit a2515c6597
4 changed files with 3 additions and 102 deletions

View file

@ -1,2 +1,2 @@
DIST PF_RING-5.6.1.tar.gz 18355182 SHA256 d24232173a3e885e1c1f5ae7d8af6e29e8fe83a8132dca0eb60d867990b09895 SHA512 9da746b1c0592be0af45239632cf9f74c41d11c39bc4bf6b06c0a53f1584b8f2c46a5c5fed2b36f7e905310bd5804cd3dee6867537233da1816cea4d4f051031 WHIRLPOOL 33fc439e6b81cf45a7a69d96e7aa1f2968cd54c4e0aa5fa6fc6a4aed449f89ec0c3dab6da633025ddd19a3d531a801d53cafce792ca83d6413344c49a0927f70
DIST PF_RING-6.0.2.tar.gz 21918993 SHA256 190a3f5eba223395bf50089ee4864534063afa34a9df7f1f67aea56f15876b74 SHA512 2348c917e44de78c1aae1dbfb205deb2710d4975c2f4e2aa7533e735d5076d5f7d010f038e7cc5e32ae5b06ee4a9aa1055a8933fb90a3225f2652bd766defa3a WHIRLPOOL d2eba3f96ab2313a24db5b0f6ecd799d0c21fc0b4b28c2c4f2727ef1638c4b309acd843d1373041bc9cf79b5d630dae7452cf7aeb5bceccde3aaad8b82c45064
DIST PF_RING-6.0.3.tar.gz 8865818 SHA256 923dd5ef2d423a6422cbc0f73ae9ea4578055bbb68015fac86bb02e345f4fab7 SHA512 75bf48f08a4f872fe02bf4fc8afe1031560558ff238c7aa32ccc1c4e9596031193df7edd2a3d4a4ae12b08642970266f4b46141340faacdfb09992793569a16d WHIRLPOOL 37c98d96be89df1af5751dccef74504d5d5c3eab988c8502aa47e46e4e5326520354a0500d05cfa37350104e818a3f18abad63f215d39e19f5173e40f1570557

View file

@ -1,47 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit linux-mod linux-info subversion
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/"
ESVN_REPO_URI="https://svn.ntop.org/svn/ntop/trunk/PF_RING/"
ESVN_REVISION="7161"
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
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
}

View file

@ -1,52 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
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"
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_prepare() {
epatch "${FILESDIR}"/pf_ring-kernel3_9.patch
}
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
}

View file

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# $Id$
EAPI=5