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
|
|
|
|
|
|
|
|
pkgver=2021.01.26
|
|
|
|
pkgrel=2
|
2020-11-28 15:28:22 +00:00
|
|
|
source="
|
2020-12-07 15:46:31 +00:00
|
|
|
runfile-4
|
|
|
|
runfile-6
|
2020-11-28 15:28:22 +00:00
|
|
|
conffile-4
|
|
|
|
conffile-6
|
|
|
|
"
|
|
|
|
|
|
|
|
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-08 16:04:16 +00:00
|
|
|
openrc_rx_install_runfile "$pkgdir" "runfile-4" "iptables.redxen"
|
|
|
|
openrc_rx_install_runfile "$pkgdir" "runfile-6" "ip6tables.redxen"
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2020-12-07 15:46:31 +00:00
|
|
|
sha512sums="5345c1607fd90f08db81e20466ad4169461ed8a711689567e0534a4d1afbf115cf7d0420d39c7ed3ce688387ce31cb8b0092955c9022c40e0ddb82dc7ab1b620 runfile-4
|
|
|
|
5345c1607fd90f08db81e20466ad4169461ed8a711689567e0534a4d1afbf115cf7d0420d39c7ed3ce688387ce31cb8b0092955c9022c40e0ddb82dc7ab1b620 runfile-6
|
2020-11-28 15:28:22 +00:00
|
|
|
9673f6611a4bfdc27fd4f6759331ce6696d688950c98cc8017ac396e9c26b2036c46108c2ea7f5d631d0dd67f79552e3713b973a752f2c47c8e4178f3d16da9a conffile-4
|
|
|
|
02ce6849b1f9723f97bba57682ad3f3aebe9e80ee89cf0f324c69bc753654a8e6693804c4462b848945f0b50752378b4c3b7c4a95c1ce81406b37288968aaa1b conffile-6"
|