diff options
author | davjohn <david.cla2@gmail.com> | 2017-07-22 23:55:34 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-26 18:29:12 +0700 |
commit | 672514e23b4ae050a00666acb735dbb378fe1dbe (patch) | |
tree | 6e83180c7d1e6c0980aaeda94faee69feeda2f7f | |
parent | 8ea86f9c752c5ed37338333c897596ffccad444b (diff) | |
download | slackbuilds-672514e23b4ae050a00666acb735dbb378fe1dbe.tar.gz |
network/psad: Updated for version 2.4.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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 8c1b4104fe..61da7bcfc7 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 bb71b3fd52..bbf11cd480 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="" |