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 17:17:43 +00:00
|
|
|
pkgver=2021.06.04.05
|
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 17:17:43 +00:00
|
|
|
fd4848b5a5a0e4af458bd3c4f5b0c48a4a439f6af5f532239f44942daabbe9dcb947052761f626c64d49ef7a935012348665ae890afd8971549a3e7234945244 runfile
|
|
|
|
d3f45b3412d8aaf00a51ab0de496d2fcac4c9bcc94c67db6b422d70ab66d25ad1fa83cab61b578fe27f6a4c9edaf69a6105bf4362fbabb7b4945eadb078aef42 conffile-4
|
|
|
|
450cf3878c271b871f82fe49d40e50f8dd4d14ffe479ffd345d8b089cdeb13dda75f2a0c97bccc12b2a2c63190060dfde68397e5dedee6ab6b9b411714de952c conffile-6
|
2021-06-01 23:17:41 +00:00
|
|
|
"
|