2020-11-28 15:28:22 +00:00
|
|
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
2021-06-01 23:17:41 +00:00
|
|
|
_rx_openrc_grpname=firewall
|
2021-01-27 00:05:48 +00:00
|
|
|
|
2021-06-01 23:17:41 +00:00
|
|
|
. ../APKBUILD-openrc.template
|
2021-01-27 00:05:48 +00:00
|
|
|
|
2021-06-04 18:32:14 +00:00
|
|
|
pkgver=2021.06.04.06
|
2021-02-14 03:36:46 +00:00
|
|
|
pkgrel=0
|
2020-11-28 15:28:22 +00:00
|
|
|
source="
|
2021-02-14 03:36:46 +00:00
|
|
|
runfile
|
2020-11-28 15:28:22 +00:00
|
|
|
conffile-4
|
|
|
|
conffile-6
|
|
|
|
"
|
2021-06-02 15:59:19 +00:00
|
|
|
depends="iptables ip6tables redxen-config-$_rx_pkgname redxen-openrc-ipset openrc"
|
2020-11-28 15:28:22 +00:00
|
|
|
|
|
|
|
package() {
|
2021-06-01 23:17:41 +00:00
|
|
|
rx_openrc_runlevel_add "redxen.iptables"
|
|
|
|
rx_openrc_runlevel_add "redxen.ip6tables"
|
2021-01-27 00:05:48 +00:00
|
|
|
|
2021-06-01 23:17:41 +00:00
|
|
|
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"
|
2020-11-28 15:28:22 +00:00
|
|
|
}
|
|
|
|
|
2021-06-01 23:17:41 +00:00
|
|
|
sha512sums="
|
2021-06-04 18:32:14 +00:00
|
|
|
8329ea7e6329b91bda99960b21d1ddb91a7c2fead9e0a8979612e3284f4d86068221fa1d2e9ec2d36567fca40ae54bb5b083d1a261e62281284be756a9f1c5a2 runfile
|
2021-06-04 17:17:43 +00:00
|
|
|
d3f45b3412d8aaf00a51ab0de496d2fcac4c9bcc94c67db6b422d70ab66d25ad1fa83cab61b578fe27f6a4c9edaf69a6105bf4362fbabb7b4945eadb078aef42 conffile-4
|
|
|
|
450cf3878c271b871f82fe49d40e50f8dd4d14ffe479ffd345d8b089cdeb13dda75f2a0c97bccc12b2a2c63190060dfde68397e5dedee6ab6b9b411714de952c conffile-6
|
2021-06-01 23:17:41 +00:00
|
|
|
"
|