wok annotate suricata/receipt @ rev 19770
Up: tazbug (2.0) No more gtk gui, new cmdline tools, plugins and better way to handle bugs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 21 04:43:09 2017 +0100 (2017-02-21) |
parents | 851f99758f5b |
children | be44285d590e |
rev | line source |
---|---|
erjo@11452 | 1 # SliTaz package receipt. |
erjo@11452 | 2 |
erjo@11452 | 3 PACKAGE="suricata" |
erjo@11452 | 4 VERSION="1.1.1" |
erjo@11452 | 5 CATEGORY="security" |
erjo@11452 | 6 SHORT_DESC="Next Generation Intrusion Detection and Prevention Engine." |
erjo@11452 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
erjo@11452 | 9 WEB_SITE="http://www.openinfosecfoundation.org/" |
erjo@11452 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@11452 | 11 WGET_URL="http://www.openinfosecfoundation.org/download/$TARBALL" |
erjo@11452 | 12 |
gokhlayeh@11487 | 13 DEPENDS="libhtp libcap-ng libpcap libnfnetlink libnetfilter_queue yaml pcre" |
pascal@15351 | 14 BUILD_DEPENDS="zlib-dev yaml-dev libnet-dev libpcap-dev libcap-ng-dev libmnl \ |
pascal@15258 | 15 libnfnetlink-dev libnetfilter_queue-dev libnetfilter_queue libhtp-dev" |
erjo@11452 | 16 |
erjo@11452 | 17 # Rules to configure and make the package. |
erjo@11452 | 18 compile_rules() |
erjo@11452 | 19 { |
erjo@11452 | 20 cd $src |
erjo@11452 | 21 rm -f config.h |
erjo@11452 | 22 ./configure $CONFIGURE_ARGS \ |
erjo@11452 | 23 --enable-non-bundled-htp \ |
erjo@11452 | 24 --enable-nfqueue \ |
erjo@11452 | 25 --enable-af-packet \ |
erjo@11452 | 26 && make && make install |
erjo@11452 | 27 } |
erjo@11452 | 28 |
erjo@11452 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11452 | 30 genpkg_rules() |
erjo@11452 | 31 { |
erjo@11452 | 32 mkdir -p $fs/usr |
erjo@11452 | 33 cp -a $install/usr/bin $fs/usr |
erjo@11452 | 34 } |