summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorIsmael Luceno2021-01-06 04:19:27 +0100
committerIsmael Luceno2021-01-06 04:21:17 +0100
commit8f6b489b3ec602b040ec43738c3df118857bb42f (patch)
treeb6c36ad985ad9df576b9bd1ba51f3549148eb1ed /net
parentb406f125ea03041cd2f2970f9cea9310f1d4cdfd (diff)
iptables: Add check for libnftnl >= 1.1.8
It fails to compile with 1.1.5.
Diffstat (limited to 'net')
-rwxr-xr-xnet/iptables/DEPENDS6
-rw-r--r--net/iptables/HISTORY3
2 files changed, 8 insertions, 1 deletions
diff --git a/net/iptables/DEPENDS b/net/iptables/DEPENDS
index 832a4905e0..b48bd0b82d 100755
--- a/net/iptables/DEPENDS
+++ b/net/iptables/DEPENDS
@@ -1,2 +1,6 @@
+. "$GRIMOIRE"/FUNCTIONS &&
depends libmnl &&
-optional_depends libnftnl '' '--disable-nftables' 'nftabels support'
+optional_depends libnftnl '' '--disable-nftables' 'nftabels support' &&
+if is_depends_enabled "$SPELL" libnftnl; then
+ vdepends <<< 'libnftnl >= 1.1.8'
+fi
diff --git a/net/iptables/HISTORY b/net/iptables/HISTORY
index 5c615331a9..1b3309d529 100644
--- a/net/iptables/HISTORY
+++ b/net/iptables/HISTORY
@@ -1,3 +1,6 @@
+2021-01-06 Ismael Luceno <ismael@iodev.co.uk>
+ * DEPENDS: added check for libnftnl >= 1.1.8
+
2020-10-31 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 1.8.6