summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorAndrzej Telszewski <atelszewski@gmail.com>2016-09-05 22:59:31 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-05 22:59:31 +0700
commit97d65ecc905cc7dc4824698df57aa820c77b4e4a (patch)
tree92b1f9fdf9c6376d426c01a5bb4ef2a245a62332 /network
parent24e0f2ca3ce871217d41fd1f961becb28dc939a4 (diff)
downloadslackbuilds-97d65ecc905cc7dc4824698df57aa820c77b4e4a.tar.gz
network/sshguard: Updated for version 1.7.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/sshguard/README2
-rw-r--r--network/sshguard/rc.sshguard2
-rw-r--r--network/sshguard/sshguard.SlackBuild7
-rw-r--r--network/sshguard/sshguard.info6
4 files changed, 8 insertions, 9 deletions
diff --git a/network/sshguard/README b/network/sshguard/README
index 0739e1d5d3..e20330a6c7 100644
--- a/network/sshguard/README
+++ b/network/sshguard/README
@@ -9,6 +9,6 @@ a set interval, but can be semi-permanently banned using the blacklist option.
IMPORTANT:
You will need to properly set up "sshguard" chain in iptables. For further
-information PLEASE CONSULT MAN PAGE installed together with this package.
+information PLEASE CONSULT MAN PAGE, installed together with this package.
The information available on the website tends to be outdated, (it is well
worth reading anyway).
diff --git a/network/sshguard/rc.sshguard b/network/sshguard/rc.sshguard
index 6866eabc37..24c4f29d88 100644
--- a/network/sshguard/rc.sshguard
+++ b/network/sshguard/rc.sshguard
@@ -15,7 +15,7 @@ sshguard_start() {
sshguard_stop() {
################################################################################
if [ -z "$(pidof sshguard)" ]; then
- echo -e "sshguard does not seem to be running."
+ echo "sshguard does not seem to be running."
return
fi
diff --git a/network/sshguard/sshguard.SlackBuild b/network/sshguard/sshguard.SlackBuild
index 86bd3e22fa..77957fcac4 100644
--- a/network/sshguard/sshguard.SlackBuild
+++ b/network/sshguard/sshguard.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sshguard
-VERSION=${VERSION:-1.6.4}
+VERSION=${VERSION:-1.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,7 +75,6 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--mandir=/usr/man \
--with-firewall=iptables \
- --with-iptables=/usr/sbin/iptables \
--build=$ARCH-slackware-linux
make
@@ -86,13 +85,13 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$PRGNAM.new
-chmod 0644 $PKG/etc/rc.d/rc.$PRGNAM.new
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a examples README.rst COPYING ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a doc/{developers,setup,sshguard.8}.rst examples CHANGELOG.rst COPYING \
+ README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/network/sshguard/sshguard.info b/network/sshguard/sshguard.info
index c208b5ee81..cb5ea91209 100644
--- a/network/sshguard/sshguard.info
+++ b/network/sshguard/sshguard.info
@@ -1,8 +1,8 @@
PRGNAM="sshguard"
-VERSION="1.6.4"
+VERSION="1.7.0"
HOMEPAGE="http://www.sshguard.net/"
-DOWNLOAD="http://download.sourceforge.net/project/sshguard/sshguard/1.6.4/sshguard-1.6.4.tar.gz"
-MD5SUM="6f8fcbf5384c5c429dbbf13efeeaad1d"
+DOWNLOAD="http://download.sourceforge.net/project/sshguard/sshguard/1.7.0/sshguard-1.7.0.tar.gz"
+MD5SUM="db251a2e31cb5af203d10c42be33ea9c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""