aports/openrc/iptables/APKBUILD

31 lines
1.1 KiB
Plaintext
Raw Normal View History

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
_rx_openrc_grpname=firewall
. ../APKBUILD-openrc.template
pkgver=2021.06.04.06
pkgrel=0
source="
runfile
conffile-4
conffile-6
"
2021-06-02 15:59:19 +00:00
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="
8329ea7e6329b91bda99960b21d1ddb91a7c2fead9e0a8979612e3284f4d86068221fa1d2e9ec2d36567fca40ae54bb5b083d1a261e62281284be756a9f1c5a2 runfile
d3f45b3412d8aaf00a51ab0de496d2fcac4c9bcc94c67db6b422d70ab66d25ad1fa83cab61b578fe27f6a4c9edaf69a6105bf4362fbabb7b4945eadb078aef42 conffile-4
450cf3878c271b871f82fe49d40e50f8dd4d14ffe479ffd345d8b089cdeb13dda75f2a0c97bccc12b2a2c63190060dfde68397e5dedee6ab6b9b411714de952c conffile-6
"