2020-11-28 15:28:22 +00:00
|
|
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
2021-01-27 00:05:48 +00:00
|
|
|
_svcname=iptables
|
|
|
|
_grpname=firewall
|
|
|
|
|
|
|
|
. ../APKBUILD-openrc.common
|
|
|
|
|
2021-02-14 03:36:46 +00:00
|
|
|
pkgver=2021.02.14
|
|
|
|
pkgrel=0
|
2020-11-28 15:28:22 +00:00
|
|
|
source="
|
2021-02-14 03:36:46 +00:00
|
|
|
runfile
|
2020-11-28 15:28:22 +00:00
|
|
|
conffile-4
|
|
|
|
conffile-6
|
|
|
|
"
|
2021-02-09 19:11:29 +00:00
|
|
|
depends="iptables ip6tables redxen-config-$_svcname openrc"
|
2020-11-28 15:28:22 +00:00
|
|
|
|
|
|
|
package() {
|
2021-02-08 16:04:16 +00:00
|
|
|
openrc_rx_add_to_runlevel "$pkgdir" "iptables.redxen"
|
|
|
|
openrc_rx_add_to_runlevel "$pkgdir" "ip6tables.redxen"
|
2021-01-27 00:05:48 +00:00
|
|
|
|
2021-02-14 03:36:46 +00:00
|
|
|
openrc_rx_install_runfile "$pkgdir" "runfile" "iptables.redxen"
|
|
|
|
openrc_rx_install_runfile "$pkgdir" "runfile" "ip6tables.redxen"
|
2021-02-08 16:04:16 +00:00
|
|
|
openrc_rx_install_conffile "$pkgdir" "conffile-4" "iptables.redxen"
|
|
|
|
openrc_rx_install_conffile "$pkgdir" "conffile-6" "ip6tables.redxen"
|
2020-11-28 15:28:22 +00:00
|
|
|
}
|
|
|
|
|
2021-02-14 03:36:46 +00:00
|
|
|
sha512sums="06942c49589a810bf6418ea718d6775e9400899fb52c4097df4590cf2764252de6230710b3682157c1ff15d781919265772869d33cd45234a1b4649ac29343fb runfile
|
2020-11-28 15:28:22 +00:00
|
|
|
9673f6611a4bfdc27fd4f6759331ce6696d688950c98cc8017ac396e9c26b2036c46108c2ea7f5d631d0dd67f79552e3713b973a752f2c47c8e4178f3d16da9a conffile-4
|
|
|
|
02ce6849b1f9723f97bba57682ad3f3aebe9e80ee89cf0f324c69bc753654a8e6693804c4462b848945f0b50752378b4c3b7c4a95c1ce81406b37288968aaa1b conffile-6"
|