31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
_rx_openrc_grpname=firewall
|
|
|
|
. ../APKBUILD-openrc.template
|
|
|
|
pkgver=2021.06.02.02
|
|
pkgrel=0
|
|
source="
|
|
runfile
|
|
conffile-4
|
|
conffile-6
|
|
"
|
|
depends="iptables ip6tables redxen-config-$_rx_pkgname redxen-openrc-ipset 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="
|
|
59254dd89df96c195f52284260135635078e9cab6c22fedd118ad2f7b1161d428cf648bed34ecc03c497f1d6b40e7391f5c4c2f4afe7619438d259c9ce5504b1 runfile
|
|
121e869e27a1cfc96f48dbe699aa67c77233b2427b109220b2dcadcfaf279107f794549dc4c0158a71d66278fe34edcbf35833680a5c5e5e066a8baa87c30531 conffile-4
|
|
aec2e09db55dd43feaf13eb1a13d8d8fe6f15973e2076e4af3a60a869828156ac3ef938f1b2c2a057c282e00a9bb4a47d2c47c8195947b3a634a043393ab91eb conffile-6
|
|
"
|