diff --git a/minoplhy-crowdsec-firewall-bouncer/APKBUILD b/minoplhy-crowdsec-firewall-bouncer/APKBUILD index 1778c1f..9b1475d 100755 --- a/minoplhy-crowdsec-firewall-bouncer/APKBUILD +++ b/minoplhy-crowdsec-firewall-bouncer/APKBUILD @@ -11,7 +11,6 @@ depends="iptables ipset" makedepends="go envsubst" subpackages=" $pkgname-openrc - $pkgname-awall::noarch " options="!check" # no test suite identified source="$pkgname-$pkgver.tar.gz::https://github.com/crowdsecurity/cs-firewall-bouncer/archive/refs/tags/v$pkgver.tar.gz @@ -44,18 +43,7 @@ package() { >"$pkgdir"/etc/crowdsec/bouncers/crowdsec-firewall-bouncer.yaml) } - -awall() { - pkgdesc="crowdsec bouncer awall policy" - depends="$pkgname" - install_if="awall $pkgname=$pkgver-r$pkgrel" - - install -Dm0644 "$srcdir"/awall-policy.json \ - "$subpkgdir"/etc/awall/optional/cs-firewall-bouncer.json -} - sha512sums=" 400c61595f456668343d8ff34b68eaaabc03db4ae503d6a0a3def60cfd495162e9b72c75ed791d0bbfce691b36a947c2643922ad196a59fae53a300a740acab8 crowdsec-firewall-bouncer-0.0.31.tar.gz c7f522a18b61211ed4a3fa9a0b0242fec59e9a57107f0d1bba793ccce85f4d7dce0cf3c1286a3708f52e16b73cdb8266ea8da21afa6a051c9c4368bd99265e6e crowdsec-firewall-bouncer.initd -1300e046b97d6a1d9d1eac5080b1f4c16ad0387f9483dbd4f37b81feb9e9466b993bc396ed2a45ccf8bf026f0bc83026bc35cc92fdb2c075d5de56309afc9f3e awall-policy.json " diff --git a/minoplhy-crowdsec-firewall-bouncer/awall-policy.json b/minoplhy-crowdsec-firewall-bouncer/awall-policy.json deleted file mode 100755 index e9896d9..0000000 --- a/minoplhy-crowdsec-firewall-bouncer/awall-policy.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "description": "Integration with cs-firewall-bouncer in ipset mode", - - "ipset": { - "crowdsec-blacklists": { "type": "hash:ip", "family": "inet", "timeout": true, "size": 65536 }, - "crowdsec6-blacklists": { "type": "hash:ip", "family": "inet6", "timeout": true, "size": 65536 } - }, - - "filter": [ - { - "in": "adp-wan", - "ipset": [ - { "name": "crowdsec-blacklists", "args": ["in"] }, - { "name": "crowdsec6-blacklists", "args": ["in"] } - ], - "action": "drop" - } - ] -} diff --git a/minoplhy-crowdsec/crowdsec.post-install b/minoplhy-crowdsec/crowdsec.post-install index 97c7dd1..fdab6b8 100755 --- a/minoplhy-crowdsec/crowdsec.post-install +++ b/minoplhy-crowdsec/crowdsec.post-install @@ -15,6 +15,8 @@ cat >&2 <