libpfring-8.6.1.ebuild

This commit is contained in:
Anton Bolshakov 2024-07-17 13:42:21 +08:00
parent 779cc24eeb
commit 0158eee7c7
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
3 changed files with 10 additions and 19 deletions

View file

@ -1,2 +1,2 @@
DIST PF_RING-8.0.0.tar.gz 23436863 BLAKE2B 251634442acd631c6e041263e54958279d298a4e2abcdd584827760cc6be4915173070e6ffd3ff7ebadafadd844233bcd3e3b6d1f09baf3adf27667f95c825c0 SHA512 7d65cc07dee678005f6da099399b046be96d9ff3c9d9c3abd5a60fa60eeae67eaed70f07c1acde1ca78055c6e54ccc102205b78657299154f5fc4b910ff3f0c6
DIST PF_RING-8.4.0.tar.gz 12268926 BLAKE2B c31d802c46da2ae49d64cda413ecf15cc4d977d509f4ea249fccfe3900715896ae9fa8c6ca82b89f738b85322496f77df1ca1d8154c5922e579aa7d4d79efce3 SHA512 de86fb2ead8af63a3b73026225ac2dba9ae97c90d0925e30c63ed75f1d1f7f057b6ab586b06dd24fdbbfdce694048b72bbdd35fc4de0c22508701a6c3ee7c7a2 DIST PF_RING-8.4.0.tar.gz 12268926 BLAKE2B c31d802c46da2ae49d64cda413ecf15cc4d977d509f4ea249fccfe3900715896ae9fa8c6ca82b89f738b85322496f77df1ca1d8154c5922e579aa7d4d79efce3 SHA512 de86fb2ead8af63a3b73026225ac2dba9ae97c90d0925e30c63ed75f1d1f7f057b6ab586b06dd24fdbbfdce694048b72bbdd35fc4de0c22508701a6c3ee7c7a2
DIST PF_RING-8.6.1.tar.gz 13567069 BLAKE2B f7a1bcc7186df9056b8c53b9bf6226025c52fff6496163966fa77822fe4f0414ee8ee5097d3e8bfd6501d8c3579dc9aa673ed16299eb0298664e676ed7b987ee SHA512 8259e09cd3c6c8adf9fe2ca6fb4c4aecb1c608981ad271256303183673dd229cc19bd8f68742fcf82b3289830425e7cd34bfe279350c45e4e72eadf4ef8a6780

View file

@ -1,24 +1,18 @@
# Copyright 1999-2023 Gentoo Authors # Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=8
#inherit multilib
MY_P="PF_RING-${PV}" MY_P="PF_RING-${PV}"
DESCRIPTION="A new type of network socket that improves packet capture speed." DESCRIPTION="A new type of network socket that improves packet capture speed."
HOMEPAGE="http://www.ntop.org/products/pf_ring/" HOMEPAGE="http://www.ntop.org/products/pf_ring/"
SRC_URI="https://github.com/ntop/PF_RING/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" SRC_URI="https://github.com/ntop/PF_RING/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}/userland/lib"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
KEYWORDS="amd64 ~arm64 x86" KEYWORDS="amd64 ~arm64 x86"
IUSE=""
S="${WORKDIR}/${MY_P}/userland/lib"
#S="${WORKDIR}/${MY_P}"
src_prepare(){ src_prepare(){
sed -i "s|${INSTDIR}/lib|${INSTDIR}/$(get_libdir)|" Makefile.in || die sed -i "s|${INSTDIR}/lib|${INSTDIR}/$(get_libdir)|" Makefile.in || die

View file

@ -1,26 +1,23 @@
# Copyright 1999-2023 Gentoo Authors # Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=8
#inherit multilib
MY_P="PF_RING-${PV}" MY_P="PF_RING-${PV}"
DESCRIPTION="A new type of network socket that improves packet capture speed." DESCRIPTION="A new type of network socket that improves packet capture speed."
HOMEPAGE="http://www.ntop.org/products/pf_ring/" HOMEPAGE="http://www.ntop.org/products/pf_ring/"
SRC_URI="https://github.com/ntop/PF_RING/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" SRC_URI="https://github.com/ntop/PF_RING/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}/userland/lib"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
KEYWORDS="amd64 ~arm64 x86" KEYWORDS="amd64 ~arm64 x86"
IUSE=""
S="${WORKDIR}/${MY_P}/userland/lib"
#S="${WORKDIR}/${MY_P}"
src_prepare(){ src_prepare(){
# install shared libraries only
sed -i "s|install: install-static install-shared|install: install-shared|" Makefile.in || die
sed -i "s|${INSTDIR}/lib|${INSTDIR}/$(get_libdir)|" Makefile.in || die sed -i "s|${INSTDIR}/lib|${INSTDIR}/$(get_libdir)|" Makefile.in || die
sed -i "s|lib64nbpf.a|libnbpf.a|" Makefile.in || die sed -i "s|lib64nbpf.a|libnbpf.a|" Makefile.in || die
eapply_user eapply_user