summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* net-firewall/nftables: Minor fixes on the script closes #675188Francisco Blas (klondike) Izquierdo Riera2019-01-151-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-073-0/+189
| | | | | | 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: Removed old.Lars Wendler2018-01-182-66/+0
| | | | Package-Manager: Portage-2.3.19, Repoman-2.3.6
* net-firewall/nftables: Fix SAVE_OPTIONS bug in libexec scriptsNicholas Vinson2017-01-072-3/+4
| | | | | | | | | | | The libexec script doesn't honor the SAVE_OPTIONS variable. This commit fixes that issue. Thanks to Phil@nwl.cc for providing the fix for the issue. Gentoo-bug: 603228 Package-Manager: Portage-2.3.3, Repoman-2.3.1
* net-firewall/nftables: update systemd file target.Nicholas Vinson2016-10-261-2/+2
| | | | | | | | | | | | | | | | | | | Change the systemd unit files to use Before=network-pre.target Wants=network-pre.target as this better aligns with systemd documentation for this type of service. Special thanks to Shaun Bouckaert for triggering this review. He originally asked (via email) about how the connman systemd unit file handled its dependencies which prompted me to check this package as well. As for connman, v1.33-r1 seems to be aligned with systemd documentation. Package-Manager: portage-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/2649 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
* net-firewall/nftables: Correct nftables-restore ConditionPathExists val.Nicholas Vinson2016-07-131-1/+1
| | | | | | | | | | | Change ConditionPathExists variable value to /var/lib/nftables/rules-save. The old value, /var/lib/nftables-rules-save, is incorrect. Package-Manager: portage-2.3.0 Gentoo-Bug: https://bugs.gentoo.org/588688 Closes: https://github.com/gentoo/gentoo/pull/1880 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
* net-firewall/nftables: backport null payload desc fixNicholas Vinson2016-07-111-0/+14
| | | | | | | | | | | | | nftables-0.6 handling of payload context descriptions was changed from version 0.5. This change causes the code to segfault when the desc variable in payload_expr_pctx_update() is set to null. The issue appears to be fixed with upstream commit 3503738f77cdbe521da1054a37f59ac2e442b4cf. Therefore, backporting that commit to 0.6 to fix this issue. Gentoo-bug: 588192 Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/1865
* net-firewall/nftables: Update support & service filesNicholas Vinson2016-07-033-3/+16
| | | | | | | | | - remove extraneous "exit $?" from files/libexec/nftables.sh - rename nftables.init-r2 to nftables.init - recreate & rewrite files/systemd/nftables.service into a proper systemd service - Update nftables-0.6.ebuild to use new file names. Package-Manager: portage-2.3.0_rc1
* net-firewall/nftables: Remove outdated filesNicholas Vinson2016-07-035-460/+0
| | | | Package-Manager: portage-2.3.0_rc1
* net-firewall/nftables: version bump to 0.6Nicholas Vinson2016-07-031-11/+11
| | | | | | | | Fixes bug #584898 and updates the nftables-0.5-pdf-doc.patch to match upstream submission. Gentoo-bug: 584898 Package-Manager: portage-2.3.0_rc1
* net-firewall/nftables: Remove bashism from nftables.shNicholas Vinson2016-06-142-1/+53
| | | | | | | | | | Remove [[ ... ]] bashism from use_legacy() function. Add missing dependencies and add doc use flag. Mask doc USE flag on arm due to the unkeyworded dep. Gentoo-bug: 585800 Closes: https://github.com/gentoo/gentoo/pull/1673 Package-Manager: portage-2.3.0_rc1
* net-firewall/nftables: use #!/sbin/openrc-run instead of #!/sbin/runscriptAustin English2016-05-183-3/+3
|
* net-firewall/nftables: Create systemd unit filesNicholas Vinson2015-11-033-0/+31
| | | | Package-Manager: portage-2.2.23
* net-firewall/nftables: update nftables.init to use new libexec/nftables.shNicholas Vinson2015-11-031-0/+123
| | | | Package-Manager: portage-2.2.23
* net-firewall/nftables: refactor init.d/nftables into libexec/nftable.shNicholas Vinson2015-11-031-0/+150
| | | | Package-Manager: portage-2.2.23
* net-firewall/nftables: revbump and patch to fix broken init scriptIan Delaney2015-10-151-0/+263
| | | | | | | | | | patches submitted by Nicholas Vinson via gentoo bug, set in metadata as new proxy maintainer by invitation by developer maintainer mreug, thanks to gokturk for assistance and cross testing Gentoo bug: #560920 Package-Manager: portage-2.2.20.1
* proj/gentoo: Initial commitRobin H. Johnson2015-08-082-0/+185
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed