1 # Maintainer: Vlatko Kosturjak <kost@linux.hr>
2 # Based on suricata by Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
8 pkgdesc="An Open Source Next Generation Intrusion Detection and Prevention Engine"
10 url="http://openinfosecfoundation.org/index.php/download-suricata"
12 depends=('libcap-ng' 'libnet' 'libpcap' 'libyaml' 'pcre' 'coccinelle')
13 conflicts=('libhtp' 'suricata')
14 provides=('libhtp' 'suricata')
15 optdepends=('snort: suricata can use rulesets provided by snort')
16 source=(http://openinfosecfoundation.org/download/$_pkgname-$pkgver.tar.gz)
17 md5sums=('0bfc6e122908eb1f1b6e72106aa9ac3f')
20 cd ${srcdir}/$_pkgname-$pkgver
22 ./configure --prefix=/usr
27 cd ${srcdir}/$_pkgname-$pkgver
29 make DESTDIR=${pkgdir} install
31 install -d ${pkgdir}/var/log/$_pkgname
32 install -D -m644 $_pkgname.yaml ${pkgdir}/usr/share/$_pkgname/$_pkgname.yaml