wok view suricata/receipt @ rev 24841

updated libuninameslist and libuninameslist-dev (20190701 -> 20211114)
author Hans-G?nter Theisgen
date Fri Mar 25 09:32:35 2022 +0100 (2022-03-25)
parents 934055de50e2
children bb565202cbf9
line source
1 # SliTaz package receipt.
3 PACKAGE="suricata"
4 VERSION="5.0.2"
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-ids.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://www.openinfosecfoundation.org/download/$TARBALL"
14 DEPENDS="jansson libcap-ng libhtp libnetfilter_queue libnfnetlink
15 libpcap pcre yaml lz4-lib"
16 BUILD_DEPENDS="jansson-dev libcap-ng-dev libhtp-dev libmnl libnet-dev
17 libnfnetlink-dev libnetfilter_queue libnetfilter_queue-dev
18 libpcap-dev rust-cargo yaml-dev zlib-dev lz4-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 rm -f config.h
32 ./configure $CONFIGURE_ARGS \
33 --enable-non-bundled-htp \
34 --enable-nfqueue \
35 --enable-af-packet &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
44 cp -a $install/usr/bin $fs/usr
45 }