wok-6.x annotate suricata/receipt @ rev 21778
linld: fix strdup (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 11 14:55:02 2019 +0200 (2019-07-11) |
parents | fb2225fbacf4 |
children | f4cce61747a2 |
rev | line source |
---|---|
erjo@11452 | 1 # SliTaz package receipt. |
erjo@11452 | 2 |
erjo@11452 | 3 PACKAGE="suricata" |
pascal@21236 | 4 VERSION="4.1.3" |
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" |
pascal@21236 | 11 WGET_URL="https://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 rm -f config.h |
erjo@11452 | 21 ./configure $CONFIGURE_ARGS \ |
erjo@11452 | 22 --enable-non-bundled-htp \ |
erjo@11452 | 23 --enable-nfqueue \ |
erjo@11452 | 24 --enable-af-packet \ |
erjo@11452 | 25 && make && make install |
erjo@11452 | 26 } |
erjo@11452 | 27 |
erjo@11452 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11452 | 29 genpkg_rules() |
erjo@11452 | 30 { |
erjo@11452 | 31 mkdir -p $fs/usr |
erjo@11452 | 32 cp -a $install/usr/bin $fs/usr |
erjo@11452 | 33 } |