From 423d21dcfee183cc4b04d29c1621615e8c30f834 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 4 Jan 2018 18:55:01 +0000 Subject: gentoo resync : 04.01.2018 --- net-libs/libnftnl/Manifest | 2 ++ net-libs/libnftnl/libnftnl-1.0.9.ebuild | 61 +++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 net-libs/libnftnl/libnftnl-1.0.9.ebuild (limited to 'net-libs/libnftnl') diff --git a/net-libs/libnftnl/Manifest b/net-libs/libnftnl/Manifest index 9e191b467edd..3b7b894ac09a 100644 --- a/net-libs/libnftnl/Manifest +++ b/net-libs/libnftnl/Manifest @@ -1,7 +1,9 @@ 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 EBUILD libnftnl-1.0.6.ebuild 1302 BLAKE2B fa3c4d010895f5caf34d442cf18bdd5126835603c9dea570882a45e3940b0a073a60a06ae746ebf0aaa7668f88fc99642f3463d3a5f685d0b6c3593a8b1cdd38 SHA512 11a9d9694a2a01e539d6d81651828efaa4972c6fcfcdfa541ceed13cb4b553f4d9cdc07d23ffdb5c86f239840f970994d1af9c1f742374b0abf998f2e4d4294f EBUILD libnftnl-1.0.7.ebuild 1305 BLAKE2B cbe5b1a82d23af02f376c13bae75a58f903bdb26561644a6b0563df97750d952d0423cd332d9d6339f6580cb19563ad514cbee5cc309d75303f685ebdc50e2c7 SHA512 06aee62633e1b83ec9f1a7f484657901f93fac559cea7e7cc7cd53b617615392a63bbdc7989b2f197215c986fca67c7dabde7f12fa494b23f0e7b0788ed35cd1 EBUILD libnftnl-1.0.8-r1.ebuild 1367 BLAKE2B 074a26d1ba072eb1788863becf804f0d3c6c7abef785a254c209917819506a2c12454b8acd3bdc4b0a3b9e86dff443320d5dd2e3a06c42b2bc94344a265a4a2c SHA512 88308c1f030dd462b33d1e25d8ee1e4a3fd431fe791819e2f1884b89794e0b61a019506973860c37648a762b9115a329ef7f084a67c1b6e998ac664406e9e1c3 +EBUILD libnftnl-1.0.9.ebuild 1369 BLAKE2B f04bebcfa121fe3c146be95a50e0d3e64fe0fc6b840ab0e5011d2fcaf08d34687dafcbb87a2f18d757deb69c62028f227ad12cda43301a67928cf4a80e3ffed3 SHA512 c4e8d80ee251f78a9c03e692eb8aaa807b944c5246c97a4cc96c00a4439a377f6adb28072a799d184a45286a449ba875a08ffc22e5a81482f44f2418bf952c9f MISC metadata.xml 317 BLAKE2B ec8bdc87d1d0694e81566b611db8e455e851b86a2403ca8ac0c36f774f23b89fb9ee4e55dbc818efba807aec0487dd1956f2fb17393b327500dbe69118d5030b SHA512 bfdf498de4ccd1d1a4f78c7e94a90b2bf203e16b8ddec5949bb88c953279026f95da956ef94b39140d44bbcd8cb4008f9f4b777fd895576da8414051c4487beb diff --git a/net-libs/libnftnl/libnftnl-1.0.9.ebuild b/net-libs/libnftnl/libnftnl-1.0.9.ebuild new file mode 100644 index 000000000000..ba796364c64a --- /dev/null +++ b/net-libs/libnftnl/libnftnl-1.0.9.ebuild @@ -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 +} -- cgit v1.2.3