31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
_rx_openrc_grpname=firewall
|
|
|
|
. ../APKBUILD-openrc.template
|
|
|
|
pkgver=2021.06.01.03
|
|
pkgrel=0
|
|
source="
|
|
runfile
|
|
conffile-4
|
|
conffile-6
|
|
"
|
|
depends="iptables ip6tables redxen-config-$_rx_pkgname openrc"
|
|
|
|
package() {
|
|
rx_openrc_runlevel_add "redxen.iptables"
|
|
rx_openrc_runlevel_add "redxen.ip6tables"
|
|
|
|
rx_openrc_runfile_install "runfile" "redxen.iptables"
|
|
rx_openrc_runfile_link "redxen.iptables" "redxen.ip6tables"
|
|
rx_openrc_conffile_install "conffile-4" "redxen.iptables"
|
|
rx_openrc_conffile_install "conffile-6" "redxen.ip6tables"
|
|
}
|
|
|
|
sha512sums="
|
|
77318f8a563c1b9d96b80022176f03e3cfb2d90a139b8d793c46680c468f5319971813ef94e90753d022911780927d13143b35a1a2f5767e3cd159ebcd4ee31a runfile
|
|
121e869e27a1cfc96f48dbe699aa67c77233b2427b109220b2dcadcfaf279107f794549dc4c0158a71d66278fe34edcbf35833680a5c5e5e066a8baa87c30531 conffile-4
|
|
aec2e09db55dd43feaf13eb1a13d8d8fe6f15973e2076e4af3a60a869828156ac3ef938f1b2c2a057c282e00a9bb4a47d2c47c8195947b3a634a043393ab91eb conffile-6
|
|
"
|