diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-07-15 13:19:38 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-07-15 13:19:38 +0300 |
commit | 5a1fc87e4747ad76b880d0f6e394df9ffe474e0a (patch) | |
tree | 844d118139574e4bc7aa019d54034e7b02459073 /net-firewall | |
parent | 054181ab0df523d6114c7c322a855be58dc8a881 (diff) |
iptables: build fix
Diffstat (limited to 'net-firewall')
-rw-r--r-- | net-firewall/iptables/files/ip6tables-1.4.13.confd | 19 | ||||
-rw-r--r-- | net-firewall/iptables/files/iptables-1.4.13.confd | 19 | ||||
-rw-r--r-- | net-firewall/iptables/iptables-1.6.1-r2.ebuild | 2 |
3 files changed, 39 insertions, 1 deletions
diff --git a/net-firewall/iptables/files/ip6tables-1.4.13.confd b/net-firewall/iptables/files/ip6tables-1.4.13.confd new file mode 100644 index 0000000..3bb3698 --- /dev/null +++ b/net-firewall/iptables/files/ip6tables-1.4.13.confd @@ -0,0 +1,19 @@ +# /etc/conf.d/ip6tables + +# Location in which iptables initscript will save set rules on +# service shutdown +IP6TABLES_SAVE="/var/lib/ip6tables/rules-save" + +# Options to pass to iptables-save and iptables-restore +SAVE_RESTORE_OPTIONS="-c" + +# Save state on stopping iptables +SAVE_ON_STOP="yes" + +# If you need to log iptables messages as soon as iptables starts, +# AND your logger does NOT depend on the network, then you may wish +# to uncomment the next line. +# If your logger depends on the network, and you uncomment this line +# you will create an unresolvable circular dependency during startup. +# After commenting or uncommenting this line, you must run 'rc-update -u'. +#rc_use="logger" diff --git a/net-firewall/iptables/files/iptables-1.4.13.confd b/net-firewall/iptables/files/iptables-1.4.13.confd new file mode 100644 index 0000000..7225374 --- /dev/null +++ b/net-firewall/iptables/files/iptables-1.4.13.confd @@ -0,0 +1,19 @@ +# /etc/conf.d/iptables + +# Location in which iptables initscript will save set rules on +# service shutdown +IPTABLES_SAVE="/var/lib/iptables/rules-save" + +# Options to pass to iptables-save and iptables-restore +SAVE_RESTORE_OPTIONS="-c" + +# Save state on stopping iptables +SAVE_ON_STOP="yes" + +# If you need to log iptables messages as soon as iptables starts, +# AND your logger does NOT depend on the network, then you may wish +# to uncomment the next line. +# If your logger depends on the network, and you uncomment this line +# you will create an unresolvable circular dependency during startup. +# After commenting or uncommenting this line, you must run 'rc-update -u'. +#rc_use="logger" diff --git a/net-firewall/iptables/iptables-1.6.1-r2.ebuild b/net-firewall/iptables/iptables-1.6.1-r2.ebuild index fde7e5b..26ccfd3 100644 --- a/net-firewall/iptables/iptables-1.6.1-r2.ebuild +++ b/net-firewall/iptables/iptables-1.6.1-r2.ebuild @@ -41,7 +41,7 @@ src_prepare() { # use the saner headers from the kernel rm -f include/linux/{kernel,types}.h - use imq && epatch "${FILESDIR}"/iptables-1.6.0-imq.diff + use imq && patch -p1 < "${FILESDIR}"/iptables-1.6.0-imq.diff # Only run autotools if user patched something epatch_user && eautoreconf || elibtoolize |