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.05
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="
fd4848b5a5a0e4af458bd3c4f5b0c48a4a439f6af5f532239f44942daabbe9dcb947052761f626c64d49ef7a935012348665ae890afd8971549a3e7234945244 runfile
d3f45b3412d8aaf00a51ab0de496d2fcac4c9bcc94c67db6b422d70ab66d25ad1fa83cab61b578fe27f6a4c9edaf69a6105bf4362fbabb7b4945eadb078aef42 conffile-4
450cf3878c271b871f82fe49d40e50f8dd4d14ffe479ffd345d8b089cdeb13dda75f2a0c97bccc12b2a2c63190060dfde68397e5dedee6ab6b9b411714de952c conffile-6
"