summaryrefslogtreecommitdiff
path: root/network/sshblock
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-06 08:08:51 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-05 20:25:48 -0600
commit89cd75a96810cda094b5176d76738fba1b2e8732 (patch)
treebe6ef092076184f9a2183570a37e006842824e18 /network/sshblock
parent05d88aa7a6f44e018c0813e6cff23ffe4c1007fa (diff)
downloadslackbuilds-89cd75a96810cda094b5176d76738fba1b2e8732.tar.gz
network/sshblock: Update script to the new template
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/sshblock')
-rw-r--r--network/sshblock/sshblock.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/sshblock/sshblock.SlackBuild b/network/sshblock/sshblock.SlackBuild
index 0b9ef3d66f..8f62e06d5f 100644
--- a/network/sshblock/sshblock.SlackBuild
+++ b/network/sshblock/sshblock.SlackBuild
@@ -63,11 +63,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
+find -L . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/usr/sbin $PKG/etc/ssh $PKG/etc/swatch $PKG/etc/rc.d $PKG/etc/cron.hourly
touch $PKG/etc/ssh/block-history