diff options
Diffstat (limited to 'network/psad')
-rw-r--r-- | network/psad/psad.SlackBuild | 8 | ||||
-rw-r--r-- | network/psad/psad.info | 6 |
2 files changed, 6 insertions, 8 deletions
diff --git a/network/psad/psad.SlackBuild b/network/psad/psad.SlackBuild index 8c1b4104fea5..61da7bcfc7b5 100644 --- a/network/psad/psad.SlackBuild +++ b/network/psad/psad.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=psad -VERSION=${VERSION:-2.4.4} +VERSION=${VERSION:-2.4.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ALERTSEMAIL=${ALERTSEMAIL:-root@localhost} @@ -91,13 +91,11 @@ SRCPATH=${PKG//\//\\\/} SRCPATH2="$SRCPATH\/" DSTPATH="\/" -echo $SRCPATH -echo $SRCPATH2 find $PKG/ -type f -name '*.conf' -exec sed -i "s/$SRCPATH/$DSTPATH/g" {} + find $PKG/ -type f -regex '.*\.\(pod\|conf\|packlist\)' -exec sed -i "s/$SRCPATH2/$DSTPATH/g" {} + mkdir -p $PKG/etc/logrotate.d -cp logrotate.psad $PKG/etc/logrotate.d/ +cp ./misc/logrotate.psad $PKG/etc/logrotate.d/ cp $CWD/signatures $PKG/etc/psad/signatures.new mv $PKG/etc/psad/auto_dl $PKG/etc/psad/auto_dl.new @@ -114,7 +112,7 @@ sed -i 's/start)/start)\n mkdir -p \/var\/run\/psad/g' $PKG/etc/rc.d/rc.psad. sed -i 's/\/var\/log\/messages;/\/var\/log\/syslog;/g' $PKG/etc/psad/psad.conf.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a BENCHMARK CREDITS ChangeLog FW_EXAMPLE_RULES FW_HELP LICENSE README* \ +cp -a ./doc/BENCHMARK CREDITS ChangeLog ./doc/FW_EXAMPLE_RULES ./doc/README.SYSLOG ./doc/SCAN_LOG LICENSE README* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/network/psad/psad.info b/network/psad/psad.info index bb71b3fd522e..bbf11cd480a3 100644 --- a/network/psad/psad.info +++ b/network/psad/psad.info @@ -1,8 +1,8 @@ PRGNAM="psad" -VERSION="2.4.4" +VERSION="2.4.5" HOMEPAGE="http://www.cipherdyne.org/psad/" -DOWNLOAD="http://www.cipherdyne.org/psad/download/psad-2.4.4.tar.bz2" -MD5SUM="d11f0385c413c90f1722c1c213a6f955" +DOWNLOAD="http://www.cipherdyne.org/psad/download/psad-2.4.5.tar.bz2" +MD5SUM="2d6bdaadcf1e8f31f0edb55d5cb6d3f5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |