mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
net-libs/libnftnl: Bump to version 1.0.9
Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST libnftnl-1.0.6.tar.bz2 381897 BLAKE2B 9811c3a3faac0323ba3126bc4e4e1c81e3a29f2b5456f516a431581099678aa821ca822387b4e84e768b254ff21b57456bb31fdf0f1dd5583d937b4b67fa3252 SHA512 d813c9d0dbdeaffc30695fb0b5dbf987849339d119774c4f0e219db835f2ad9111a7436fd474ffa96b07e288d537cb4a1be153afcca23dabce0c264e1c4a3c62
|
||||
DIST libnftnl-1.0.7.tar.bz2 384969 BLAKE2B 9817fac76e2e29c7fef44a83ec454eced1a435045a47171506d264a6175011b09a9b4d02c4934e7fba86bfe6f8560f4ea7452cef193287de7e88f211f4e9a241 SHA512 a220c6a2857b4ff7325bfa4fbf537c5afeb66232a7e190b50c3077f01b86f0fb1842055ccc719280b36820ac7103cbe8168944ffe10c55444830ff77449fa6a5
|
||||
DIST libnftnl-1.0.8.tar.bz2 400496 BLAKE2B d2563f707ceb40b8cd7c4b4fdede64943fabcc8a639eb61c844f7b941786a49b1c029e375977759717e5cb8f8dc2019ddcbf48223347f868713d1a077d51d8a8 SHA512 df9f5967908ce5e6a6a85fe4328bdf6e7501ce6b0e42239b750782aeb76c30b1aae80dd07f73a06fb077d072b1269c4e0c5fd525feed1055400201567d215ef9
|
||||
DIST libnftnl-1.0.9.tar.bz2 402296 BLAKE2B 87d1fe9543c1451bf90bd8b2dd442d783649940f38cf10081acac46cd985bd0826f5d2eaab2af65b80ebd4b0a9bfd7dba53ff420fa0f6b901296aa02c746e3ca SHA512 ca4a9402fba8b1354314aed45637026afa4faf880991baf93b2b7e01ca7f44e75ffedc624728bd5a7aa1b30bcbb83b849d2f9aea55be7a18f49036653c08151b
|
||||
|
||||
61
net-libs/libnftnl/libnftnl-1.0.9.ebuild
Normal file
61
net-libs/libnftnl/libnftnl-1.0.9.ebuild
Normal file
@@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools linux-info toolchain-funcs
|
||||
|
||||
DESCRIPTION="Netlink API to the in-kernel nf_tables subsystem"
|
||||
HOMEPAGE="https://netfilter.org/projects/nftables/"
|
||||
SRC_URI="https://netfilter.org/projects/${PN}/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/7" # libnftnl.so version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="examples json static-libs test threads"
|
||||
|
||||
RDEPEND=">=net-libs/libmnl-1.0.0
|
||||
json? ( >=dev-libs/jansson-2.3 )"
|
||||
DEPEND="virtual/pkgconfig
|
||||
${RDEPEND}"
|
||||
|
||||
REQUIRED_USE="test? ( json )"
|
||||
|
||||
pkg_setup() {
|
||||
if kernel_is ge 3 13; then
|
||||
CONFIG_CHECK="~NF_TABLES"
|
||||
linux-info_pkg_setup
|
||||
else
|
||||
eerror "This package requires kernel version 3.13 or newer to work properly."
|
||||
fi
|
||||
}
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable static-libs static)
|
||||
$(use_with json json-parsing)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
cd tests || die
|
||||
./test-script.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
gen_usr_ldscript -a nftnl
|
||||
find "${D}" -name '*.la' -delete || die "Could not rm libtool files"
|
||||
|
||||
if use examples; then
|
||||
find examples/ -name 'Makefile*' -delete || die "Could not rm examples"
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user