net-firewall/ipt_netflow: 2.5 stabilisation
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
This commit is contained in:
parent
a9fec1bb3a
commit
992a3009f0
|
@ -13,7 +13,7 @@ SRC_URI="https://github.com/aabc/ipt-netflow/archive/v${PV}.tar.gz -> ${P}.tar.g
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~x86"
|
KEYWORDS="amd64 x86"
|
||||||
|
|
||||||
IUSE="debug dot1q natevents snmp"
|
IUSE="debug dot1q natevents snmp"
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@ DEPEND="${RDEPEND}
|
||||||
PATCHES=(
|
PATCHES=(
|
||||||
"${FILESDIR}/${PN}-2.0-configure.patch" # bug #455984
|
"${FILESDIR}/${PN}-2.0-configure.patch" # bug #455984
|
||||||
"${FILESDIR}/${PN}-2.5-gentoo.patch"
|
"${FILESDIR}/${PN}-2.5-gentoo.patch"
|
||||||
|
"${FILESDIR}/${P}-vlan_dev_priv.patch"
|
||||||
)
|
)
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
|
@ -92,15 +93,17 @@ src_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
emake ARCH="$(tc-arch-kernel)" CC="$(tc-getCC)" all
|
emake ARCH="$(tc-arch-kernel)" CC="$(tc-getCC)" LD="$(tc-getLD)" OBJDUMP="$(tc-getOBJDUMP)" all
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
linux-mod_src_install
|
linux-mod_src_install
|
||||||
exeinto "${IPT_LIB}"
|
|
||||||
doexe libipt_NETFLOW.so
|
|
||||||
doexe libip6t_NETFLOW.so
|
|
||||||
use snmp && emake DESTDIR="${D}" SNMPTGSO="/usr/$(get_libdir)/snmp/dlmod/snmp_NETFLOW.so" sinstall
|
use snmp && emake DESTDIR="${D}" SNMPTGSO="/usr/$(get_libdir)/snmp/dlmod/snmp_NETFLOW.so" sinstall
|
||||||
|
|
||||||
|
exeinto "${IPT_LIB}"
|
||||||
|
doexe libip{,6}t_NETFLOW.so
|
||||||
|
|
||||||
doheader ipt_NETFLOW.h
|
doheader ipt_NETFLOW.h
|
||||||
dodoc README*
|
dodoc README*
|
||||||
}
|
}
|
Loading…
Reference in a new issue