wok-current 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 0de36bbfb8a4
children 6c12c90a5937
files snort-dev/receipt snort/receipt
line diff
     1.1 --- a/snort-dev/receipt	Tue Nov 02 16:56:19 2010 +0000
     1.2 +++ b/snort-dev/receipt	Tue Nov 02 17:07:38 2010 +0000
     1.3 @@ -1,11 +1,12 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="snort-dev"
     1.7 -VERSION="2.8.5.1"
     1.8 +VERSION="2.9.0.1"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Network intrusion prevention and detection system, development files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  WEB_SITE="http://www.snort.org/"
    1.13 +DEPENDS="snort"
    1.14  WANTED="snort"
    1.15  
    1.16  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 @@ -14,5 +15,5 @@
    1.18  	mkdir -p $fs/usr
    1.19  	cp -a $_pkg/usr/src $fs/usr
    1.20  	cp -a $_pkg/usr/lib $fs/usr
    1.21 -	rm -rf $fs/usr/lib/*/*.so* $fs/usr/lib/pkgconfig
    1.22 +	rm -rf $fs/usr/lib/*/*.so*
    1.23  }
     2.1 --- a/snort/receipt	Tue Nov 02 16:56:19 2010 +0000
     2.2 +++ b/snort/receipt	Tue Nov 02 17:07:38 2010 +0000
     2.3 @@ -1,19 +1,27 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="snort"
     2.7 -VERSION="2.8.5.1"
     2.8 +VERSION="2.9.0.1"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="Network intrusion prevention and detection system (IDS/IPS)."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13  WEB_SITE="http://www.snort.org/"
    2.14 -WGET_URL="http://dl.snort.org/snort-current/$TARBALL"
    2.15 -DEPENDS="pcre"
    2.16 -BUILD_DEPENDS="pcre-dev libpcap"
    2.17 +WGET="http://www.snort.org/downloads/308"
    2.18 +DEPENDS="pcre libdnet libdaq"
    2.19 +BUILD_DEPENDS="pcre-dev libpcap libdaq-dev libdnet-dev"
    2.20  
    2.21  # Rules to configure and make the package.
    2.22  compile_rules()
    2.23  {
    2.24 +	# this is needed even if tazwok support https
    2.25 +	if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
    2.26 +		tar xzf $SOURCES_REPOSITORY/$TARBALL
    2.27 +	else
    2.28 +		[ -L /usr/bin/wget ] && tazpkg get-install wget --forced
    2.29 +		wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET"
    2.30 +		tar xjf $SOURCES_REPOSITORY/$TARBALL
    2.31 +	fi
    2.32  	cd $src
    2.33  	./configure --prefix=/usr --infodir=/usr/share/info \
    2.34  	--mandir=/usr/share/man \
    2.35 @@ -25,8 +33,9 @@
    2.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.37  genpkg_rules()
    2.38  {
    2.39 -	mkdir -p $fs/usr
    2.40 +	mkdir -p $fs/usr/
    2.41  	cp -a $_pkg/usr/bin $fs/usr
    2.42  	cp -a $_pkg/usr/lib $fs/usr
    2.43  	rm -f $fs/usr/lib/*/*a
    2.44 +	rm -rf $fs/usr/lib/pkgconfig
    2.45  }