30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
pkgname=iptables-redxen-openrc
|
|
pkgver=1
|
|
pkgrel=0
|
|
pkgdesc="IPTables service overrides"
|
|
url="https://git.redxen.eu/RedXen"
|
|
arch="noarch"
|
|
license="none"
|
|
depends="openrc iptables-redxen-config"
|
|
options="!check"
|
|
source="
|
|
runfile-$pkgname-$pkgver.$pkgrel.initd::https://git.alpinelinux.org/aports/plain/main/iptables/iptables.initd
|
|
conffile-4
|
|
conffile-6
|
|
"
|
|
provides="iptables-openrc ip6tables-openrc"
|
|
builddir="$srcdir"
|
|
|
|
package() {
|
|
install -Dm755 "$srcdir"/runfile-iptables-redxen-openrc-"$pkgver"."$pkgrel".initd "$pkgdir"/etc/init.d/iptables
|
|
(cd "$pkgdir"/etc/init.d && ln -s iptables ip6tables)
|
|
install -Dm644 conffile-4 "$pkgdir"/etc/conf.d/iptables
|
|
install -Dm644 conffile-6 "$pkgdir"/etc/conf.d/ip6tables
|
|
}
|
|
|
|
sha512sums="19cb376bd7a48889daa41ae34d31dfbeac1c277476496e3a1901dc91775c8f596681e0cbccd5c4618158de45da24fcc378a9beb426d79ce26bf46b54599126fe runfile-iptables-redxen-openrc-1.0.initd
|
|
9673f6611a4bfdc27fd4f6759331ce6696d688950c98cc8017ac396e9c26b2036c46108c2ea7f5d631d0dd67f79552e3713b973a752f2c47c8e4178f3d16da9a conffile-4
|
|
02ce6849b1f9723f97bba57682ad3f3aebe9e80ee89cf0f324c69bc753654a8e6693804c4462b848945f0b50752378b4c3b7c4a95c1ce81406b37288968aaa1b conffile-6"
|