summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* net-firewall/nftables: keyword 0.9.3-r1 on ~ppc64Georgy Yakovlev2019-12-281-1/+1
| | | | | | Bug: https://bugs.gentoo.org/679888 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* net-firewall/nftables: Depend on >=net-libs/libnftnl-1.1.5Francisco Blas (klondike) Izquierdo Riera2019-12-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Although upstreams reports that nftables 0.9.3 depends on libnftnl 1.1.4 or higher. Using said version results on the following errors: netlink.c: In function ‘netlink_delinearize_chain’: netlink.c:423:38: error: ‘NFTNL_CHAIN_DEVICES’ undeclared (first use in this function); did you mean ‘NFTNL_CHAIN_DEV’? } else if (nftnl_chain_is_set(nlc, NFTNL_CHAIN_DEVICES)) { ^~~~~~~~~~~~~~~~~~~ NFTNL_CHAIN_DEV netlink.c:423:38: note: each undeclared identifier is reported only once for each function it appears in netlink.c: In function ‘netlink_delinearize_obj’: netlink.c:1049:27: error: ‘NFTNL_OBJ_SYNPROXY_MSS’ undeclared (first use in this function); did you mean ‘NFTNL_EXPR_SYNPROXY_MSS’? nftnl_obj_get_u16(nlo, NFTNL_OBJ_SYNPROXY_MSS); ^~~~~~~~~~~~~~~~~~~~~~ NFTNL_EXPR_SYNPROXY_MSS netlink.c:1051:26: error: ‘NFTNL_OBJ_SYNPROXY_WSCALE’ undeclared (first use in this function); did you mean ‘NFTNL_EXPR_SYNPROXY_WSCALE’? nftnl_obj_get_u8(nlo, NFTNL_OBJ_SYNPROXY_WSCALE); ^~~~~~~~~~~~~~~~~~~~~~~~~ NFTNL_EXPR_SYNPROXY_WSCALE netlink.c:1053:27: error: ‘NFTNL_OBJ_SYNPROXY_FLAGS’ undeclared (first use in this function); did you mean ‘NFTNL_EXPR_SYNPROXY_FLAGS’? nftnl_obj_get_u32(nlo, NFTNL_OBJ_SYNPROXY_FLAGS); ^~~~~~~~~~~~~~~~~~~~~~~~ NFTNL_EXPR_SYNPROXY_FLAGS netlink.c: In function ‘netlink_delinearize_flowtable’: netlink.c:1137:3: warning: implicit declaration of function ‘nftnl_flowtable_get_u64’; did you mean ‘nftnl_flowtable_get_u32’? [-Wimplicit-function-declaration] nftnl_flowtable_get_u64(nlo, NFTNL_FLOWTABLE_HANDLE); ^~~~~~~~~~~~~~~~~~~~~~~ nftnl_flowtable_get_u32 netlink.c:1137:32: error: ‘NFTNL_FLOWTABLE_HANDLE’ undeclared (first use in this function); did you mean ‘NFTA_FLOWTABLE_HANDLE’? nftnl_flowtable_get_u64(nlo, NFTNL_FLOWTABLE_HANDLE); ^~~~~~~~~~~~~~~~~~~~~~ NFTA_FLOWTABLE_HANDLE Depend instead on version 1.1.5 or higher with which the compilation suceeds. Closes: https://bugs.gentoo.org/701976 Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> Package-Manager: Portage-2.3.76, Repoman-2.3.11 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
* net-firewall/nftables: Port missing changes to 0.9.3Francisco Blas (klondike) Izquierdo Riera2019-12-041-2/+2
| | | | | | | | | | | | | | Lars added nftables-0.9.3 at the time I was doing the changes to rename the modern_kernel USE flag and move the skel files into its own folder in doc. As a result of this, I missed the ebuild and didn't update it. Update also the 0.9.3 ebuild so it follows the same conventions as the others. Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> Package-Manager: Portage-2.3.76, Repoman-2.3.11 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
* net-firewall/nftables: fix modern_kernel flagMatthew Thode2019-12-031-4/+4
| | | | | Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
* net-firewall/nftables: Move skel filesFrancisco Blas (klondike) Izquierdo Riera2019-12-033-4/+107
| | | | | | | | | | | | | | | | | Currently the ebuild installs the skeleton files directly into the ebuild's doc directory. In 0.9.0-r5 the intention was installing them into a skels folder (although this was not done correctly). Replace the sed rules so that the skeleton files are installed into the skel folder. This will be cleaner if for some reason nftables adds further documentation on the future. It is also easier to perform this change now than once we stabilize. Bug: https://bugs.gentoo.org/671254 Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> Package-Manager: Portage-2.3.76, Repoman-2.3.11 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
* net-firewall/nftables: rename modern_kernel use flagFrancisco Blas (klondike) Izquierdo Riera2019-12-034-13/+13
| | | | | | | | | | | | | | | | | When the new scripts supporting atomic updates on modern kernels where introduced, usage of the new scripts was controlled by the modern_kernel USE flag. QA has requested that we avoid using underscores on USE flags as they are a reserved character. Rename the modern_kernel USE flag to modern-kernel to address this issue. Closes: https://bugs.gentoo.org/694838 Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> Package-Manager: Portage-2.3.76, Repoman-2.3.11 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
* net-firewall/nftables: Bump to version 0.9.3Lars Wendler2019-12-032-0/+145
| | | | | Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* net-firewall/nftables: Touch rules-save with right umaskFrancisco Blas (klondike) Izquierdo Riera2019-12-023-3/+3
| | | | | | | | | | | | | | | | | | The nftables ebuild contains code to ensure the rules-save file is created so the service will start on systemd based systems. The current code creates the file with default permissions 644 which triggers the code for detecting misconfigured system added to address bug #691326 Instead of just using touch, start a subshell so we can call umask beforehand and address the issue. Bug: https://bugs.gentoo.org/691326 Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> Package-Manager: Portage-2.3.76, Repoman-2.3.11 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
* net-firewall/nftables: Drop vulnerable ebuildFrancisco Blas (klondike) Izquierdo Riera2019-12-021-97/+0
| | | | | | | | | | | Drop the nftables-0.9.0-r4 ebuild which is affected by the permission handling bug as all stable arches can now use -r5 instead. Bug: https://bugs.gentoo.org/691326 Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> Package-Manager: Portage-2.3.76, Repoman-2.3.11 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
* net-firewall/nftables: chmod -x files/libexec/nftables.shMike Gilbert2019-09-191-0/+0
| | | | | Bug: https://bugs.gentoo.org/694838 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* net-firewall/nftables: arm stable wrt bug #693716Mikle Kolyada2019-09-131-1/+1
| | | | | | Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="arm" Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* net-firewall/nftables: ia64 stable wrt bug #693716Agostino Sarubbo2019-09-131-1/+1
| | | | | | Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="ia64" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
* net-firewall/nftables: amd64 stable wrt bug #693716Agostino Sarubbo2019-09-091-1/+1
| | | | | | Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
* net-firewall/nftables: x86 stable (bug #693716)Thomas Deutschmann2019-09-081-1/+1
| | | | | Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* net-firewall/nftables: Fix permissions for rules.saveFrancisco Blas (klondike) Izquierdo Riera2019-09-075-5/+121
| | | | | | | | | | | | | | | | | | | | Due to a bug, the rules.save file was created with the wrong permissions which allowed all users to read the file with the system rules although root privileges are usually required to do so. To fix this issue, the following measures have been taken: * The umask on nftables-mk.sh is now correctly set to 177 * nftables.sh now also sets the umask before saving the rules * The ebuilds will warn on post installation if the rules.save has insecure permissions * The ebuilds have been bumped to ensure these changes are applied Bug: https://bugs.gentoo.org/691326 Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> Package-Manager: Portage-2.3.69, Repoman-2.3.11 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
* net-firewall/nftables-0.9.2: added ~sparcMatt Turner2019-08-271-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* net-firewall/nftables: Bump to version 0.9.2Lars Wendler2019-08-232-0/+139
| | | | | Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* net-firewall/nftables: Drop old versionsMatt Turner2019-07-283-169/+0
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* net-firewall/nftables: arm stable wrt bug #688970Mikle Kolyada2019-07-281-1/+1
| | | | | | Package-Manager: Portage-2.3.66, Repoman-2.3.16 RepoMan-Options: --include-arches="arm" Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* net-firewall/nftables: ia64 stable wrt bug #688970Agostino Sarubbo2019-07-021-1/+1
| | | | | | Signed-off-by: Agostino Sarubbo <ago@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 RepoMan-Options: --include-arches="ia64"
* net-firewall/nftables: x86 stable wrt bug #688970Agostino Sarubbo2019-07-021-1/+1
| | | | | | Signed-off-by: Agostino Sarubbo <ago@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 RepoMan-Options: --include-arches="x86"
* net-firewall/nftables: amd64 stable wrt bug #688970Agostino Sarubbo2019-07-021-1/+1
| | | | | | Signed-off-by: Agostino Sarubbo <ago@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 RepoMan-Options: --include-arches="amd64"
* net-firewall/nftables: add doc and xtables USE flagsFrancisco Blas (klondike) Izquierdo Riera2019-06-292-2/+9
| | | | | | | | | | | | | | | | | This commit adds some fixes on the 0.9.1 package: * Adds the doc USE flag to control building of the man pages * Adds the app-text/asciidoc when building the man pages * Adds the xtables USE flag for better compatibility with iptables-compat * Adds the net-firewall/iptables dependency when using the xtables flag I have chosen +doc, xtables for better compatibility with prior versions. Also whilst man pages generally make sense, the xtables USE isn't needed on pure nftables setups which are the recommended approach. Closes: https://bugs.gentoo.org/688952 Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
* net-firewall/nftables: Same for PYTHON_REQUIRED_USELars Wendler2019-06-281-1/+1
| | | | | Package-Manager: Portage-2.3.67, Repoman-2.3.16 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* net-firewall/nftables: Move ${PYTHON_DEPS} into USE="python"Lars Wendler2019-06-281-1/+2
| | | | | Package-Manager: Portage-2.3.67, Repoman-2.3.16 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* net-firewall/nftables: Removed old.Lars Wendler2019-06-283-268/+0
| | | | | Package-Manager: Portage-2.3.67, Repoman-2.3.16 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* net-firewall/nftables: Bump to version 0.9.1Lars Wendler2019-06-284-0/+232
| | | | | Package-Manager: Portage-2.3.67, Repoman-2.3.16 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* net-firewall/nftables: add ~arm64 keywordStephen Klimaszewski2019-05-211-1/+1
| | | | | Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Stephen Klimaszewski <steev@gentoo.org>
* net-firewall/nftables: arm64 keyworded (bug #668906)Aaron Bauman2019-04-081-2/+2
| | | | | Signed-off-by: Aaron Bauman <bman@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
* net-firewall/nftables: don't enable service by defaultMatthew Thode2019-01-281-0/+97
| | | | | | | Fixes: https://bugs.gentoo.org/676290 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
* net-firewall/nftables: Minor fixes on the script closes #675188Francisco Blas (klondike) Izquierdo Riera2019-01-152-3/+4
| | | | | | | | | | | | | | * Use printf instead of echo for better shell compatibility. * Use an include instead of concatenating the ruleset. (Note that this is likely to fail is the ruleset path contains special characters). * Empty the table first when executing panic actions. Fixes: https://bugs.gentoo.org/675188 Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
* net-firewall/nftables: Add atomic nftables updates for modern kernelsFrancisco Blas (klondike) Izquierdo Riera2019-01-075-0/+288
| | | | | | Signed-off-by: Francisco Blas Izquierdo Riera <klondike@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
* net-firewall/nftables: fix dodoc callMatthew Thode2018-11-191-1/+1
| | | | | | Fixes: https://bugs.gentoo.org/671540 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
* net-firewall/nftables: move nft skels to docMatthew Thode2018-11-191-0/+89
| | | | | | Closes: https://bugs.gentoo.org/671254 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
* net-firewall/nftables: Removed old.Lars Wendler2018-06-113-169/+0
| | | | Package-Manager: Portage-2.3.40, Repoman-2.3.9
* net-firewall/nftables: Bump to version 0.9.0Lars Wendler2018-06-113-0/+89
| | | | Package-Manager: Portage-2.3.40, Repoman-2.3.9
* net-firewall/nftables: Bump to version 0.8.5Lars Wendler2018-05-102-0/+84
| | | | | Closes: https://bugs.gentoo.org/655412 Package-Manager: Portage-2.3.36, Repoman-2.3.9
* net-firewall/nftables: Removed old.Lars Wendler2018-05-022-85/+0
| | | | Package-Manager: Portage-2.3.33, Repoman-2.3.9
* net-firewall/nftables: Bump to version 0.8.4Lars Wendler2018-05-022-0/+84
| | | | | Closes: https://bugs.gentoo.org/654604 Package-Manager: Portage-2.3.33, Repoman-2.3.9
* net-firewall/nftables: Removed old.Lars Wendler2018-03-072-85/+0
| | | | Package-Manager: Portage-2.3.24, Repoman-2.3.6
* net-firewall/nftables: Bump to version 0.8.3Lars Wendler2018-03-072-0/+85
| | | | Package-Manager: Portage-2.3.24, Repoman-2.3.6
* net-firewall/nftables: Bump to v0.8.2Thomas Deutschmann2018-02-032-0/+85
| | | | Package-Manager: Portage-2.3.21, Repoman-2.3.6
* net-firewall/nftables: Adjusted dependency on net-libs/libnftnl.Lars Wendler2018-01-201-1/+1
| | | | | Closes: https://bugs.gentoo.org/645144 Package-Manager: Portage-2.3.19, Repoman-2.3.6
* net-firewall/nftables: Removed old.Lars Wendler2018-01-185-237/+0
| | | | Package-Manager: Portage-2.3.19, Repoman-2.3.6
* net-firewall/nftables: Bump to version 0.8.1Lars Wendler2018-01-182-0/+85
| | | | Package-Manager: Portage-2.3.19, Repoman-2.3.6
* net-firewall/nftables: arm stable, bug #641228Markus Meier2018-01-101-1/+1
| | | | | Package-Manager: Portage-2.3.13, Repoman-2.3.3 RepoMan-Options: --include-arches="arm"
* net-firewall/nftables: amd64 stable wrt bug #641228Mikle Kolyada2018-01-041-2/+2
| | | | Package-Manager: Portage-2.3.13, Repoman-2.3.3
* net-firewall/nftables: stable 0.8-r3 for ia64, bug #641228Sergei Trofimovich2017-12-251-1/+1
| | | | | Package-Manager: Portage-2.3.19, Repoman-2.3.6 RepoMan-Options: --include-arches="ia64"
* net-firewall/nftables: x86 stable (bug #641228)Thomas Deutschmann2017-12-191-1/+1
| | | | Package-Manager: Portage-2.3.19, Repoman-2.3.6
* net-firewall/*: Update Manifest hashesMichał Górny2017-12-101-3/+3
|