wok-next rev 14145

snort*: up 2.9.4
author Samuel Trassare <samuel_trassare@yahoo.com>
date Fri Mar 01 14:45:13 2013 -0800 (2013-03-01)
parents cee6bfbde760
children f2d80ef4da0f
files snort-dev/receipt snort-mysql/receipt snort/receipt
line diff
     1.1 --- a/snort-dev/receipt	Fri Mar 01 11:21:54 2013 -0800
     1.2 +++ b/snort-dev/receipt	Fri Mar 01 14:45:13 2013 -0800
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="snort-dev"
     1.7 -VERSION="2.9.1.2"
     1.8 +VERSION="2.9.4"
     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 @@ -13,7 +13,7 @@
    1.13  genpkg_rules()
    1.14  {
    1.15  	mkdir -p $fs/usr
    1.16 -	cp -a $_pkg/usr/src $fs/usr
    1.17 -	cp -a $_pkg/usr/lib $fs/usr
    1.18 +	cp -a $install/usr/src $fs/usr
    1.19 +	cp -a $install/usr/lib $fs/usr
    1.20  	rm -rf $fs/usr/lib/*/*.so*
    1.21  }
     2.1 --- a/snort-mysql/receipt	Fri Mar 01 11:21:54 2013 -0800
     2.2 +++ b/snort-mysql/receipt	Fri Mar 01 14:45:13 2013 -0800
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="snort-mysql"
     2.7 -VERSION="2.9.1.2"
     2.8 +VERSION="2.9.4"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="Network intrusion prevention and detection system (IDS/IPS) with MySQL support."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12 @@ -14,16 +14,16 @@
    2.13  # Rules to configure and make the package.
    2.14  compile_rules()
    2.15  {
    2.16 -	cd $src
    2.17 -	./configure --prefix=/usr \
    2.18 +	./configure \
    2.19 +		--prefix=/usr \
    2.20  		--with-mysql \
    2.21  		--enable-dynamicplugin \
    2.22  		--enable-perfprofiling \
    2.23  		--enable-zlib \
    2.24  		--enable-reload \
    2.25 -	$CONFIGURE_ARGS &&
    2.26 +		$CONFIGURE_ARGS &&
    2.27  	make &&
    2.28 -	make DESTDIR=$PWD/_pkg install
    2.29 +	make DESTDIR=$DESTDIR install
    2.30  }
    2.31  
    2.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.33 @@ -34,8 +34,8 @@
    2.34  		$fs/usr/share/snort/schemas \
    2.35  		$fs/var/log/snort 
    2.36  		
    2.37 -	cp -a $_pkg/usr/bin $fs/usr
    2.38 -	cp -a $_pkg/usr/lib/snort_dynamic* $fs/usr/lib
    2.39 +	cp -a $install/usr/bin $fs/usr
    2.40 +	cp -a $install/usr/lib/snort_dynamic* $fs/usr/lib
    2.41  	
    2.42  	cp -a $src/etc/*.conf* $fs/etc/snort
    2.43  	cp -a $src/etc/*.map $fs/etc/snort
     3.1 --- a/snort/receipt	Fri Mar 01 11:21:54 2013 -0800
     3.2 +++ b/snort/receipt	Fri Mar 01 14:45:13 2013 -0800
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="snort"
     3.7 -VERSION="2.9.1.2"
     3.8 +VERSION="2.9.4"
     3.9  CATEGORY="network"
    3.10  SHORT_DESC="Network intrusion prevention and detection system (IDS/IPS)."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
    3.12 @@ -14,7 +14,6 @@
    3.13  # Rules to configure and make the package.
    3.14  compile_rules()
    3.15  {
    3.16 -	cd $src
    3.17  	./configure \
    3.18  		$CONFIGURE_ARGS &&
    3.19  	make &&
    3.20 @@ -25,8 +24,8 @@
    3.21  genpkg_rules()
    3.22  {
    3.23  	mkdir -p $fs/usr/
    3.24 -	cp -a $_pkg/usr/bin $fs/usr
    3.25 -	cp -a $_pkg/usr/lib $fs/usr
    3.26 +	cp -a $install/usr/bin $fs/usr
    3.27 +	cp -a $install/usr/lib $fs/usr
    3.28  	rm -f $fs/usr/lib/*/*a
    3.29  	rm -rf $fs/usr/lib/pkgconfig
    3.30  }