# HG changeset patch # User Samuel Trassare # Date 1362177913 28800 # Node ID 3824a7102b483e06bc0846979aecc207e41a8546 # Parent cee6bfbde7605e45315aee1fc767d297b4127a81 snort*: up 2.9.4 diff -r cee6bfbde760 -r 3824a7102b48 snort-dev/receipt --- a/snort-dev/receipt Fri Mar 01 11:21:54 2013 -0800 +++ b/snort-dev/receipt Fri Mar 01 14:45:13 2013 -0800 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="snort-dev" -VERSION="2.9.1.2" +VERSION="2.9.4" CATEGORY="development" SHORT_DESC="Network intrusion prevention and detection system, development files." MAINTAINER="pascal.bellard@slitaz.org" @@ -13,7 +13,7 @@ genpkg_rules() { mkdir -p $fs/usr - cp -a $_pkg/usr/src $fs/usr - cp -a $_pkg/usr/lib $fs/usr + cp -a $install/usr/src $fs/usr + cp -a $install/usr/lib $fs/usr rm -rf $fs/usr/lib/*/*.so* } diff -r cee6bfbde760 -r 3824a7102b48 snort-mysql/receipt --- a/snort-mysql/receipt Fri Mar 01 11:21:54 2013 -0800 +++ b/snort-mysql/receipt Fri Mar 01 14:45:13 2013 -0800 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="snort-mysql" -VERSION="2.9.1.2" +VERSION="2.9.4" CATEGORY="network" SHORT_DESC="Network intrusion prevention and detection system (IDS/IPS) with MySQL support." MAINTAINER="pascal.bellard@slitaz.org" @@ -14,16 +14,16 @@ # Rules to configure and make the package. compile_rules() { - cd $src - ./configure --prefix=/usr \ + ./configure \ + --prefix=/usr \ --with-mysql \ --enable-dynamicplugin \ --enable-perfprofiling \ --enable-zlib \ --enable-reload \ - $CONFIGURE_ARGS && + $CONFIGURE_ARGS && make && - make DESTDIR=$PWD/_pkg install + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -34,8 +34,8 @@ $fs/usr/share/snort/schemas \ $fs/var/log/snort - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/lib/snort_dynamic* $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/snort_dynamic* $fs/usr/lib cp -a $src/etc/*.conf* $fs/etc/snort cp -a $src/etc/*.map $fs/etc/snort diff -r cee6bfbde760 -r 3824a7102b48 snort/receipt --- a/snort/receipt Fri Mar 01 11:21:54 2013 -0800 +++ b/snort/receipt Fri Mar 01 14:45:13 2013 -0800 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="snort" -VERSION="2.9.1.2" +VERSION="2.9.4" CATEGORY="network" SHORT_DESC="Network intrusion prevention and detection system (IDS/IPS)." MAINTAINER="pascal.bellard@slitaz.org" @@ -14,7 +14,6 @@ # Rules to configure and make the package. compile_rules() { - cd $src ./configure \ $CONFIGURE_ARGS && make && @@ -25,8 +24,8 @@ genpkg_rules() { mkdir -p $fs/usr/ - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/lib $fs/usr + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib $fs/usr rm -f $fs/usr/lib/*/*a rm -rf $fs/usr/lib/pkgconfig }