wok annotate snort/receipt @ rev 24521
updated ettercap (0.8.3 -> 0.8.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 22 15:47:04 2022 +0100 (2022-02-22) |
parents | 81071143a369 |
children | 970deba23db6 |
rev | line source |
---|---|
pascal@4653 | 1 # SliTaz package receipt. |
pascal@4653 | 2 |
pascal@4653 | 3 PACKAGE="snort" |
Hans-G?nter@23656 | 4 VERSION="2.9.16" |
pascal@4653 | 5 CATEGORY="network" |
pascal@4653 | 6 SHORT_DESC="Network intrusion prevention and detection system (IDS/IPS)." |
pascal@4653 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
Hans-G?nter@23656 | 9 WEB_SITE="https://www.snort.org/" |
Hans-G?nter@23656 | 10 |
pascal@4653 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23656 | 12 WGET_URL="${WEB_SITE}downloads/$PACKAGE/$TARBALL" |
pascal@15002 | 13 |
Hans-G?nter@23656 | 14 DEPENDS="libdaq libdnet openssl pcre" |
Hans-G?nter@23656 | 15 BUILD_DEPENDS="flex libdaq-dev libdnet-dev libpcap-dev luajit-dev |
Hans-G?nter@23656 | 16 openssl-dev pcre-dev" |
pascal@4653 | 17 |
pascal@24427 | 18 # What is the latest version available today? |
pascal@24427 | 19 current_version() |
pascal@24427 | 20 { |
pascal@24427 | 21 wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ |
pascal@24427 | 22 sed "/openappid/d;/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24427 | 23 } |
pascal@24427 | 24 |
pascal@4653 | 25 # Rules to configure and make the package. |
pascal@4653 | 26 compile_rules() |
pascal@4653 | 27 { |
Hans-G?nter@23656 | 28 ./configure \ |
slaxemulator@10977 | 29 $CONFIGURE_ARGS && |
pascal@4653 | 30 make && |
slaxemulator@10977 | 31 make DESTDIR=$DESTDIR install |
pascal@4653 | 32 } |
pascal@4653 | 33 |
pascal@4653 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4653 | 35 genpkg_rules() |
pascal@4653 | 36 { |
Hans-G?nter@23656 | 37 mkdir -p $fs/usr |
Hans-G?nter@23656 | 38 |
Hans-G?nter@23656 | 39 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23656 | 40 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@23656 | 41 |
Hans-G?nter@23656 | 42 rm -f $fs/usr/lib/*/*a |
Hans-G?nter@23656 | 43 rm -rf $fs/usr/lib/pkgconfig |
pascal@4653 | 44 } |