30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
_svcname=iptables
|
|
_grpname=firewall
|
|
|
|
. ../APKBUILD-openrc.common
|
|
|
|
pkgver=2021.02.14
|
|
pkgrel=0
|
|
source="
|
|
runfile
|
|
conffile-4
|
|
conffile-6
|
|
"
|
|
depends="iptables ip6tables redxen-config-$_svcname openrc"
|
|
|
|
package() {
|
|
openrc_rx_add_to_runlevel "$pkgdir" "iptables.redxen"
|
|
openrc_rx_add_to_runlevel "$pkgdir" "ip6tables.redxen"
|
|
|
|
openrc_rx_install_runfile "$pkgdir" "runfile" "iptables.redxen"
|
|
openrc_rx_install_runfile "$pkgdir" "runfile" "ip6tables.redxen"
|
|
openrc_rx_install_conffile "$pkgdir" "conffile-4" "iptables.redxen"
|
|
openrc_rx_install_conffile "$pkgdir" "conffile-6" "ip6tables.redxen"
|
|
}
|
|
|
|
sha512sums="06942c49589a810bf6418ea718d6775e9400899fb52c4097df4590cf2764252de6230710b3682157c1ff15d781919265772869d33cd45234a1b4649ac29343fb runfile
|
|
9673f6611a4bfdc27fd4f6759331ce6696d688950c98cc8017ac396e9c26b2036c46108c2ea7f5d631d0dd67f79552e3713b973a752f2c47c8e4178f3d16da9a conffile-4
|
|
02ce6849b1f9723f97bba57682ad3f3aebe9e80ee89cf0f324c69bc753654a8e6693804c4462b848945f0b50752378b4c3b7c4a95c1ce81406b37288968aaa1b conffile-6"
|