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