diff options
Diffstat (limited to 'net-libs/libnftnl')
-rw-r--r-- | net-libs/libnftnl/Manifest | 6 | ||||
-rw-r--r-- | net-libs/libnftnl/libnftnl-1.1.3.ebuild | 2 | ||||
-rw-r--r-- | net-libs/libnftnl/libnftnl-1.1.5.ebuild | 2 | ||||
-rw-r--r-- | net-libs/libnftnl/libnftnl-1.1.6.ebuild | 49 |
4 files changed, 55 insertions, 4 deletions
diff --git a/net-libs/libnftnl/Manifest b/net-libs/libnftnl/Manifest index 031ebcf97686..12d6bde09e3c 100644 --- a/net-libs/libnftnl/Manifest +++ b/net-libs/libnftnl/Manifest @@ -2,7 +2,9 @@ AUX libnftnl-1.1.5-fix-nft-flowtable-test.patch 1537 BLAKE2B 40a0d66fa2f391f4cf1 DIST libnftnl-1.1.3.tar.bz2 366521 BLAKE2B 9a46a46b68fd6d3e0ffc3d28713ee9a70017dd4d05763a49a655f172ae77928d9b54554e7609851f3a18e9465c53f53c1828311162013bc067493e4e02ff3fb8 SHA512 3fb96ea1a8bc9eb00fa2cf79f64cc9613250e8b97de6e90e440c7c44e92789e7c7fd603b7347bb02d9d74af725cf8fde5d2e435c5ffdcb784316c67b83ddf0fe DIST libnftnl-1.1.4.tar.bz2 368262 BLAKE2B e5f396b582221b9f9a7d3303d65548e3597474b1cedf931728f3105b04a851eeeeff98fd2a49772f29849a9094c2e0cfef7d500050e8f205565e8dfd1ec7a49d SHA512 6fe248b1340decc1ec8ae40dd0ed60b8d4b819c2f36f2399d39e13e92fc5e6f6ec693b736d6c188bff954afb2bf2dbce67d54a9e664b45f43288b2c5c6cc08f6 DIST libnftnl-1.1.5.tar.bz2 373930 BLAKE2B cfd06084fb7de5dd6120a22faa43ac578f170e5209564579ff26bdf49e2b70b5b3944275861e32fcc7f6f2bb1d9f43bf51157665d0d5faea259e14cf930030c0 SHA512 a0495e1a99ea9efcf3994db48e50943023ff3d8101055887574ff4eb6b0df8600cf7db68a9c91ca02bbbcc1f01099b008649f88321bb956897bcc90eb4167ee7 -EBUILD libnftnl-1.1.3.ebuild 1192 BLAKE2B 898f003c57235e7eec3bef89a36e05fb1ab478484da8f2292d4c547e832a5fc7f1fef604b401472ea8b5e295f4e3e96097bec8cbf851f518410dff46f72b07f3 SHA512 c541ab9534bc9ed87aa90e0da516e16e02e3ef0419d994e0513fe35bbaa45a2d5d5d09ecc403e186079ae841002d0685291ded018654f62fddce87d6962db10c +DIST libnftnl-1.1.6.tar.bz2 376340 BLAKE2B b5ca243af71462f7c91cae3f368bca7ba19151f5e14bdc459efc136cbf1d6f0234a097337dcee2a2e733a173c72c71496f34222dbd217e79b2a5b614315e6b30 SHA512 3de13cb667060f0942c8dd9e139ee8c7aff1854c544793774a827c01d06e432a4ce05d54846e1062aa620b5e54533da09daa9588467866c82c9119ef4cfbb57d +EBUILD libnftnl-1.1.3.ebuild 1193 BLAKE2B de38ffd4dd0740b905ae7736201550806cac8671acca11f8999e1daef009799efdb673d234f9ace51409dd243bd50d4cbe7dac8869538a02441bfded17811916 SHA512 47a7b1b84dde93caf3fa1b2bc098ad62063584b185d96465140a8f661db5021e25e4a2109b91331faa186747991188ffd419768fd8b2139179a1656d229f2e27 EBUILD libnftnl-1.1.4.ebuild 1200 BLAKE2B 10bc5492908945a9ef24ca430e528a18bd485c4a584414b5d001865ad3cb37d705be9c3772a451593a362a1fe8ea2915ce2e96153cd6031cb1b29589dabf85ed SHA512 0bdbdc05baa72d840d135c8bb628f576cc747b1140111e4568a97c0cad4fa79686fc6700d418b4091e3d0df289d73b3332b403066e8e8eb770f2187f5c37677a -EBUILD libnftnl-1.1.5.ebuild 1255 BLAKE2B 3ac4f306de704aac6c2936fcc310606f59efc165d91cb17a4ad74c8708ad24546d418e41e3dfcafcf7ffd88ba0c91cc603a9c8f48d749d3c12c8af8d68a4b998 SHA512 3d206d7e333391c9f75e5ffde0118a7e4030e18ce6724ebaed7bac34c31e5b3c915da5b61443d48f75b55f17a2861e2c71de5e8e52a69cfdff58ae341c9ef359 +EBUILD libnftnl-1.1.5.ebuild 1256 BLAKE2B dccd0085e1c108b4a377a5e14f252dad6429bc8907ab5415fdc70959d38569355f2e02110b36e4f67c641768c5520298b15dfe37b9699899ee4e48738189a000 SHA512 d7287b303119dcee21127ca3e253976bd986975f9e6ef5944ca50a2cdfd70f830f90ad49cc5524cb1fe040ac231e66717aa60e39a1b25e130928416e24b36e62 +EBUILD libnftnl-1.1.6.ebuild 1200 BLAKE2B af974af8061f7789020a3efc449416e43af663ff1b8b098f820e5aff395bb25f9d99228bf363b5da8b5a32b8d38275564374f59088c24d0f11ac213d98e32590 SHA512 c6ee6faec8cab4159745be8665ad7363addc99f07d7a70b1c2e23337041ab2e5ff2b3262d9f13f946abda41c092482632249968c91fd6a31a4dd4005c551518c MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555 diff --git a/net-libs/libnftnl/libnftnl-1.1.3.ebuild b/net-libs/libnftnl/libnftnl-1.1.3.ebuild index b4e3ba56d91e..aa66c6d45c69 100644 --- a/net-libs/libnftnl/libnftnl-1.1.3.ebuild +++ b/net-libs/libnftnl/libnftnl-1.1.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://netfilter.org/projects/${PN}/files/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0/11" # libnftnl.so version -KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86" IUSE="examples static-libs test" RESTRICT="!test? ( test )" diff --git a/net-libs/libnftnl/libnftnl-1.1.5.ebuild b/net-libs/libnftnl/libnftnl-1.1.5.ebuild index cee09c2b2a12..f3d8044e0da7 100644 --- a/net-libs/libnftnl/libnftnl-1.1.5.ebuild +++ b/net-libs/libnftnl/libnftnl-1.1.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://netfilter.org/projects/${PN}/files/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0/11" # libnftnl.so version -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86" IUSE="examples static-libs test" RESTRICT="!test? ( test )" diff --git a/net-libs/libnftnl/libnftnl-1.1.6.ebuild b/net-libs/libnftnl/libnftnl-1.1.6.ebuild new file mode 100644 index 000000000000..06a2c10c99b0 --- /dev/null +++ b/net-libs/libnftnl/libnftnl-1.1.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools linux-info toolchain-funcs usr-ldscript + +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/11" # libnftnl.so version +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="examples static-libs test" + +RESTRICT="!test? ( test )" + +RDEPEND=">=net-libs/libmnl-1.0.3" +BDEPEND="virtual/pkgconfig" +DEPEND="${RDEPEND}" + +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_configure() { + local myeconfargs=( + $(use_enable static-libs static) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + gen_usr_ldscript -a nftnl + find "${ED}" -type f -name '*.la' -delete || die + + 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 +} |