2017-03-04 18:43:44 +01:00
|
|
|
# Template file for 'suricata'
|
|
|
|
pkgname=suricata
|
|
|
|
version=3.2.1
|
2017-03-26 13:47:22 +02:00
|
|
|
revision=2
|
2017-03-04 18:43:44 +01:00
|
|
|
build_style=gnu-configure
|
2017-03-26 13:47:22 +02:00
|
|
|
configure_args="--disable-gccmarch-native"
|
2017-03-04 18:43:44 +01:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libnet-devel libpcap-devel pcre-devel libyaml-devel libcap-ng-devel file-devel"
|
|
|
|
short_desc="Next Generation Intrusion Detection and Prevention Engine"
|
|
|
|
maintainer="demiaster <marta.celeste.feriani@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="https://suricata-ids.org/"
|
|
|
|
distfiles="https://www.openinfosecfoundation.org/download/$pkgname-$version.tar.gz"
|
|
|
|
checksum=0e0b0cf49016804bb2fb1fc4327341617e76a67902f4e03e0ef6d16c1d7d3994
|
|
|
|
|
|
|
|
post_install() {
|
2017-03-26 13:47:22 +02:00
|
|
|
vinstall $pkgname.yaml 644 etc/$pkgname
|
2017-03-04 18:43:44 +01:00
|
|
|
vinstall classification.config 644 etc/$pkgname/classification.config
|
|
|
|
vinstall reference.config 644 etc/$pkgname/reference.config
|
|
|
|
vmkdir etc/$pkgname/rules
|
|
|
|
vcopy rules/*.rules etc/$pkgname/rules
|
|
|
|
}
|