pf_ring-kmod: drop 7.0.0

This commit is contained in:
Rick Farina (Zero_Chaos) 2023-05-11 16:15:46 -04:00
parent 94feebd951
commit 3db1e61217
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
2 changed files with 0 additions and 48 deletions

View file

@ -1,2 +1 @@
DIST PF_RING-7.0.0.tar.gz 10240232 BLAKE2B 7b2eb51f9322df1bf72bcba35e092e9e256651d0ea5ca7be13e9a5769661c3e92df8dd7deb7a381a24696c530fabdcc3fed962354d9362b6ceba5a1d24a0b472 SHA512 715844c4d18680228e1f722f624ebb6c35c756d4bbd5df4641047420ad9d8912cb3977c237a832cc37ce51cb857c9237939efb89d26163ea39f9a7710adbe6da
DIST PF_RING-7.8.0_p20210421.tar.gz 23403065 BLAKE2B c65f886ab9d51a6733a22ff081963e5f72012c546151df812b40c2b6cd1f046b0db33429e462dcd00c23257a7b4a32eba35e9612e301526f6ba702b42b464e65 SHA512 6cbe7c994a8ee3b0ba5b25a4ed059d9d37ad17b56c85664001cddfb9e4ef7aca0a804381d39e32c0df1e94164c69c6a305b39c8cd1e8e88c7a23f242481e1f18

View file

@ -1,47 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit linux-mod linux-info
MY_P="PF_RING-${PV}"
DESCRIPTION="High-speed packet processing framework (kernel modules for)"
HOMEPAGE="http://www.ntop.org/products/packet-capture/pf_ring/"
SRC_URI="https://github.com/ntop/PF_RING/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~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
}