1 |
commit: f23e460dcdd8614c727b27606135c40b5aef4409 |
2 |
Author: Nicholas Vinson <nvinson234 <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Jun 3 03:44:34 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 26 11:15:48 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f23e460d |
7 |
|
8 |
net-libs/libnftnl: Version bump to 1.0.6. |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/584896 |
11 |
Gentoo-Bug: https://bugs.gentoo.org/586652 |
12 |
|
13 |
Package-Manager: portage-2.3.0_rc1 |
14 |
Closes: https://github.com/gentoo/gentoo/pull/1734 |
15 |
|
16 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
17 |
|
18 |
net-libs/libnftnl/Manifest | 1 + |
19 |
net-libs/libnftnl/libnftnl-1.0.6.ebuild | 62 +++++++++++++++++++++++++++++++++ |
20 |
2 files changed, 63 insertions(+) |
21 |
|
22 |
diff --git a/net-libs/libnftnl/Manifest b/net-libs/libnftnl/Manifest |
23 |
index 7c20829..f3a45e4 100644 |
24 |
--- a/net-libs/libnftnl/Manifest |
25 |
+++ b/net-libs/libnftnl/Manifest |
26 |
@@ -1 +1,2 @@ |
27 |
DIST libnftnl-1.0.5.tar.bz2 367016 SHA256 f6d4f5a702e38bc7987f2363f9fcd65930e8b702595c221a497e2f3a359be497 SHA512 85c71aaaeeafdffe09f2591f26d49d41e9f511a53ed313fe642b4968eae8aac1246a53d5908fc737c6eb9cc4f5f3ef2a4eaa17fe33db453a1fd60f2f9d5c5a1d WHIRLPOOL 15fb25aa9e23bfdcb19ab21ea1d6eadd22e5acc0c38e761e4637a06136c809f5a5827ac58643515432e1394e3e8d4575df11e52b5f16ca787157317e5e2ae463 |
28 |
+DIST libnftnl-1.0.6.tar.bz2 381897 SHA256 ad3b932a39a1e567308e91b683b32239a5e1aea9b4582dfffe2288c3400ab07e SHA512 d813c9d0dbdeaffc30695fb0b5dbf987849339d119774c4f0e219db835f2ad9111a7436fd474ffa96b07e288d537cb4a1be153afcca23dabce0c264e1c4a3c62 WHIRLPOOL c4221c99ee437125c1b10d1d47db7586b979e0ce8e7187a2a9fd5ad3b866e0e6b451aba0956c9a48cec9fb7fc411f523c5f35cd9ef2cd1a939aaab7cb7570728 |
29 |
|
30 |
diff --git a/net-libs/libnftnl/libnftnl-1.0.6.ebuild b/net-libs/libnftnl/libnftnl-1.0.6.ebuild |
31 |
new file mode 100644 |
32 |
index 0000000..1050a6d |
33 |
--- /dev/null |
34 |
+++ b/net-libs/libnftnl/libnftnl-1.0.6.ebuild |
35 |
@@ -0,0 +1,62 @@ |
36 |
+# Copyright 1999-2016 Gentoo Foundation |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+# $Id$ |
39 |
+ |
40 |
+EAPI=6 |
41 |
+ |
42 |
+inherit autotools linux-info toolchain-funcs eutils |
43 |
+ |
44 |
+DESCRIPTION="Netlink API to the in-kernel nf_tables subsystem" |
45 |
+HOMEPAGE="http://netfilter.org/projects/nftables/" |
46 |
+SRC_URI="http://netfilter.org/projects/${PN}/files/${P}.tar.bz2" |
47 |
+ |
48 |
+LICENSE="GPL-2" |
49 |
+SLOT="0/4" |
50 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" |
51 |
+IUSE="examples json static-libs test threads xml" |
52 |
+ |
53 |
+RDEPEND=">=net-libs/libmnl-1.0.0 |
54 |
+ xml? ( >=dev-libs/mini-xml-2.6[threads=] ) |
55 |
+ json? ( >=dev-libs/jansson-2.3 )" |
56 |
+DEPEND="virtual/pkgconfig |
57 |
+ ${RDEPEND}" |
58 |
+ |
59 |
+REQUIRED_USE="test? ( json xml )" |
60 |
+ |
61 |
+pkg_setup() { |
62 |
+ if kernel_is ge 3 13; then |
63 |
+ CONFIG_CHECK="~NF_TABLES" |
64 |
+ linux-info_pkg_setup |
65 |
+ else |
66 |
+ eerror "This package requires kernel version 3.13 or newer to work properly." |
67 |
+ fi |
68 |
+} |
69 |
+src_prepare() { |
70 |
+ default |
71 |
+ eautoreconf |
72 |
+} |
73 |
+ |
74 |
+src_configure() { |
75 |
+ econf \ |
76 |
+ $(use_enable static-libs static) \ |
77 |
+ $(use_with xml xml-parsing) \ |
78 |
+ $(use_with json json-parsing) |
79 |
+} |
80 |
+ |
81 |
+src_install() { |
82 |
+ default |
83 |
+ gen_usr_ldscript -a nftnl |
84 |
+ prune_libtool_files |
85 |
+ |
86 |
+ if use examples; then |
87 |
+ find examples/ -name 'Makefile*' -delete |
88 |
+ dodoc -r examples/ |
89 |
+ docompress -x /usr/share/doc/${PF}/examples |
90 |
+ fi |
91 |
+} |
92 |
+ |
93 |
+src_test() { |
94 |
+ default |
95 |
+ cd tests || die |
96 |
+ ./test-script.sh || die |
97 |
+} |