wok-6.x diff snort/receipt @ rev 7078
Up: snort to 2.90.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Nov 02 17:07:38 2010 +0000 (2010-11-02) |
parents | d8da6640881f |
children | 6c12c90a5937 |
line diff
1.1 --- a/snort/receipt Sun Dec 27 14:28:40 2009 +0100 1.2 +++ b/snort/receipt Tue Nov 02 17:07:38 2010 +0000 1.3 @@ -1,19 +1,27 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="snort" 1.7 -VERSION="2.8.5.1" 1.8 +VERSION="2.9.0.1" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Network intrusion prevention and detection system (IDS/IPS)." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 WEB_SITE="http://www.snort.org/" 1.14 -WGET_URL="http://dl.snort.org/snort-current/$TARBALL" 1.15 -DEPENDS="pcre" 1.16 -BUILD_DEPENDS="pcre-dev libpcap" 1.17 +WGET="http://www.snort.org/downloads/308" 1.18 +DEPENDS="pcre libdnet libdaq" 1.19 +BUILD_DEPENDS="pcre-dev libpcap libdaq-dev libdnet-dev" 1.20 1.21 # Rules to configure and make the package. 1.22 compile_rules() 1.23 { 1.24 + # this is needed even if tazwok support https 1.25 + if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then 1.26 + tar xzf $SOURCES_REPOSITORY/$TARBALL 1.27 + else 1.28 + [ -L /usr/bin/wget ] && tazpkg get-install wget --forced 1.29 + wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET" 1.30 + tar xjf $SOURCES_REPOSITORY/$TARBALL 1.31 + fi 1.32 cd $src 1.33 ./configure --prefix=/usr --infodir=/usr/share/info \ 1.34 --mandir=/usr/share/man \ 1.35 @@ -25,8 +33,9 @@ 1.36 # Rules to gen a SliTaz package suitable for Tazpkg. 1.37 genpkg_rules() 1.38 { 1.39 - mkdir -p $fs/usr 1.40 + mkdir -p $fs/usr/ 1.41 cp -a $_pkg/usr/bin $fs/usr 1.42 cp -a $_pkg/usr/lib $fs/usr 1.43 rm -f $fs/usr/lib/*/*a 1.44 + rm -rf $fs/usr/lib/pkgconfig 1.45 }