diff options
Diffstat (limited to 'network/psad/psad.SlackBuild')
-rw-r--r-- | network/psad/psad.SlackBuild | 8 |
1 files changed, 3 insertions, 5 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 |