summaryrefslogtreecommitdiffstats
path: root/network/psad/psad.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2017-06-01 14:35:36 +0200
committer Willy Sudiarto Raharjo2017-06-03 02:59:50 +0200
commit772c39bce1cbd4f6ee5bdb9fb5b61934a4e889b1 (patch)
tree3123ecfcb0fba46329293de5e204336d01ea2110 /network/psad/psad.SlackBuild
parentd6fcdc8224f6ea73c131994e42fa8f12a16d0f37 (diff)
downloadslackbuilds-772c39bce1cbd4f6ee5bdb9fb5b61934a4e889b1.tar.gz
network/psad: Do not download signature by default.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/psad/psad.SlackBuild')
-rw-r--r--network/psad/psad.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/psad/psad.SlackBuild b/network/psad/psad.SlackBuild
index b3f4cb6da5..8c1b4104fe 100644
--- a/network/psad/psad.SlackBuild
+++ b/network/psad/psad.SlackBuild
@@ -61,7 +61,7 @@ Would you like psad to only parse specific strings in iptables messages:
FW search strings: psad;
First is it ok to leave the HOME_NET setting as any: y;
Would you like to enable DShield alerts: n;
-Would you like to install the latest signatures from http www cipherdyne org psad signatures: y;
+Would you like to install the latest signatures from http www cipherdyne org psad signatures: n;
Enable psad at boot time: n;
EOF
find -L . \
@@ -99,6 +99,7 @@ find $PKG/ -type f -regex '.*\.\(pod\|conf\|packlist\)' -exec sed -i "s/$SRCPATH
mkdir -p $PKG/etc/logrotate.d
cp 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
mv $PKG/etc/psad/icmp6_types $PKG/etc/psad/icmp6_types.new
mv $PKG/etc/psad/icmp_types $PKG/etc/psad/icmp_types.new
@@ -107,7 +108,6 @@ mv $PKG/etc/psad/pf.os $PKG/etc/psad/pf.os.new
mv $PKG/etc/psad/posf $PKG/etc/psad/posf.new
mv $PKG/etc/psad/protocols $PKG/etc/psad/protocols.new
mv $PKG/etc/psad/psad.conf $PKG/etc/psad/psad.conf.new
-mv $PKG/etc/psad/signatures $PKG/etc/psad/signatures.new
mv $PKG/etc/psad/snort_rule_dl $PKG/etc/psad/snort_rule_dl.new
sed -i 's/start)/start)\n mkdir -p \/var\/run\/psad/g' $PKG/etc/rc.d/rc.psad.new