aports/openrc/iptables/APKBUILD

30 lines
1.0 KiB
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
. ../APKBUILD-openrc.template
pkgver=2021.06.04.06
pkgrel=5
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="
8329ea7e6329b91bda99960b21d1ddb91a7c2fead9e0a8979612e3284f4d86068221fa1d2e9ec2d36567fca40ae54bb5b083d1a261e62281284be756a9f1c5a2 runfile
d3f45b3412d8aaf00a51ab0de496d2fcac4c9bcc94c67db6b422d70ab66d25ad1fa83cab61b578fe27f6a4c9edaf69a6105bf4362fbabb7b4945eadb078aef42 conffile-4
450cf3878c271b871f82fe49d40e50f8dd4d14ffe479ffd345d8b089cdeb13dda75f2a0c97bccc12b2a2c63190060dfde68397e5dedee6ab6b9b411714de952c conffile-6
"