diff options
author | Ismael Luceno | 2021-01-06 04:19:27 +0100 |
---|---|---|
committer | Ismael Luceno | 2021-01-06 04:21:17 +0100 |
commit | 8f6b489b3ec602b040ec43738c3df118857bb42f (patch) | |
tree | b6c36ad985ad9df576b9bd1ba51f3549148eb1ed /net | |
parent | b406f125ea03041cd2f2970f9cea9310f1d4cdfd (diff) |
iptables: Add check for libnftnl >= 1.1.8
It fails to compile with 1.1.5.
Diffstat (limited to 'net')
-rwxr-xr-x | net/iptables/DEPENDS | 6 | ||||
-rw-r--r-- | net/iptables/HISTORY | 3 |
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 |