suricata: s/confs_files/conf_files/, update rules, indent
This commit is contained in:
parent
6b97f456e7
commit
892208738e
1 changed files with 7 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'suricata'
|
# Template file for 'suricata'
|
||||||
pkgname=suricata
|
pkgname=suricata
|
||||||
version=3.2.1
|
version=3.2.1
|
||||||
revision=4
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-gccmarch-native"
|
configure_args="--disable-gccmarch-native"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
|
@ -13,16 +13,16 @@ homepage="https://suricata-ids.org/"
|
||||||
distfiles="https://www.openinfosecfoundation.org/download/$pkgname-$version.tar.gz
|
distfiles="https://www.openinfosecfoundation.org/download/$pkgname-$version.tar.gz
|
||||||
https://rules.emergingthreats.net/open/suricata/emerging.rules.tar.gz"
|
https://rules.emergingthreats.net/open/suricata/emerging.rules.tar.gz"
|
||||||
checksum="0e0b0cf49016804bb2fb1fc4327341617e76a67902f4e03e0ef6d16c1d7d3994
|
checksum="0e0b0cf49016804bb2fb1fc4327341617e76a67902f4e03e0ef6d16c1d7d3994
|
||||||
82f7bbfd45f101a2247f62021bd304db1a6c246ed29b1771ed5cd53ac4b4af31"
|
4f9f657f04b41d34e30c8995dc0897a604d6148130b972cca055f1954740d4c4"
|
||||||
|
|
||||||
system_accounts="$pkgname"
|
system_accounts="$pkgname"
|
||||||
confs_files="/etc/$pkgname/* /etc/$pkgname/rules/*"
|
conf_files="/etc/$pkgname/* /etc/$pkgname/rules/*"
|
||||||
|
|
||||||
post_build() {
|
post_build() {
|
||||||
sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
|
sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
|
||||||
sed -i "s|# user: suri| user: $pkgname|g" $pkgname.yaml
|
sed -i "s|# user: suri| user: $pkgname|g" $pkgname.yaml
|
||||||
sed -i "s|# group: suri| group: $pkgname|g" $pkgname.yaml
|
sed -i "s|# group: suri| group: $pkgname|g" $pkgname.yaml
|
||||||
sed -i "s|#daemon-directory: \"/\"|daemon-directory: \"/var/lib/suricata\"|g" $pkgname.yaml
|
sed -i "s|#daemon-directory: \"/\"|daemon-directory: \"/var/lib/suricata\"|g" $pkgname.yaml
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue