wok view suricata/receipt @ rev 25430
Up os-prober (1.81)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 19 06:26:39 2022 +0000 (2022-08-19) |
parents | bb565202cbf9 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="suricata"
4 VERSION="6.0.6"
5 CATEGORY="security"
6 SHORT_DESC="Next Generation Intrusion Detection and Prevention Engine."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://suricata.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://www.openinfosecfoundation.org/download/$TARBALL"
14 DEPENDS="gcc83-lib-base jansson libatomic libcap-ng libhtp libnet
15 libnetfilter_queue libnfnetlink libpcap lz4-lib pcre yaml"
16 BUILD_DEPENDS="gcc83 jansson-dev libatomic libcap-ng-dev libhtp-dev libmnl
17 libnet-dev libnetfilter_queue libnetfilter_queue-dev
18 libnfnetlink-dev libpcap-dev lz4-dev rust-cargo yaml-dev
19 zlib-dev"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
25 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 export LIBS="-latomic"
33 rm -f config.h
34 ./configure \
35 CC=gcc-83 \
36 CXX=g++-83 \
37 --enable-non-bundled-htp \
38 --enable-nfqueue \
39 --enable-af-packet \
40 $CONFIGURE_ARGS &&
41 make &&
42 make install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 cook_copy_folders bin
49 }