crowdsec*: remove awall for future build / add cscli console to recommend

This commit is contained in:
minoplhy 2025-05-02 23:01:41 +07:00
parent c872ab492d
commit a14fcae592
Signed by: minoplhy
GPG Key ID: 41D406044E2434BF
3 changed files with 2 additions and 31 deletions

View File

@ -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
"

View File

@ -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"
}
]
}

View File

@ -15,6 +15,8 @@ cat >&2 <<EOF
* cscli hub update
* Hub upgrade:
* cscli hub upgrade
* Enable share ip from console:
* cscli console enable console_management
*
EOF