wok-next rev 11452
Add: suricata
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Dec 17 10:54:09 2011 +0100 (2011-12-17) |
parents | cfcf9233f396 |
children | 65dace417400 |
files | suricata/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/suricata/receipt Sat Dec 17 10:54:09 2011 +0100 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="suricata" 1.7 +VERSION="1.1.1" 1.8 +CATEGORY="security" 1.9 +SHORT_DESC="Next Generation Intrusion Detection and Prevention Engine." 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +WEB_SITE="http://www.openinfosecfoundation.org/" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WGET_URL="http://www.openinfosecfoundation.org/download/$TARBALL" 1.14 + 1.15 +DEPENDS="libhtp libcap-ng libpcap libnfnetlink libnetfilter_queue yaml " 1.16 +BUILD_DEPENDS="zlib-dev yaml-dev libnet-dev libpcap-dev libcap-ng-dev 1.17 + libnfnetlink-dev libnetfilter_queue-dev libhtp-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + rm -f config.h 1.24 + ./configure $CONFIGURE_ARGS \ 1.25 + --enable-non-bundled-htp \ 1.26 + --enable-nfqueue \ 1.27 + --enable-af-packet \ 1.28 + && make && make install 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/usr 1.35 + cp -a $install/usr/bin $fs/usr 1.36 +}