aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2018-09-28 11:20:29 +0000
committerRenato Botelho <garga@FreeBSD.org>2018-09-28 11:20:29 +0000
commit02d7efe6e5d67f65346b1572122c6161a944843b (patch)
tree01a92e2de7208805ae909e92d4a111a29fd1d671
parent1584600c72f299a972f29d77cbc925d78b19b372 (diff)
downloadports-02d7efe6e5d67f65346b1572122c6161a944843b.tar.gz
ports-02d7efe6e5d67f65346b1572122c6161a944843b.zip
Notes
-rw-r--r--security/sshguard/Makefile12
-rw-r--r--security/sshguard/distinfo6
-rw-r--r--security/sshguard/files/patch-examples-sshguard.conf.sample4
-rw-r--r--security/sshguard/files/patch-src-sshguard.in6
4 files changed, 14 insertions, 14 deletions
diff --git a/security/sshguard/Makefile b/security/sshguard/Makefile
index c906491d138d..0af36f19634f 100644
--- a/security/sshguard/Makefile
+++ b/security/sshguard/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= sshguard
-PORTVERSION= 2.1.0
-PORTREVISION= 1
+PORTVERSION= 2.2.0
CATEGORIES= security
MASTER_SITES= SF/sshguard/sshguard/${PORTVERSION}
@@ -18,11 +17,14 @@ GNU_CONFIGURE= yes
SUB_FILES= pkg-message
post-patch:
- @${REINPLACE_CMD} -e 's|%PREFIX%|${PREFIX}|' ${WRKSRC}/doc/sshguard.8.rst
- @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/examples/sshguard.conf.sample
+ @${REINPLACE_CMD} -e 's|%PREFIX%|${PREFIX}|' \
+ ${WRKSRC}/doc/sshguard.8.rst
+ @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
+ ${WRKSRC}/examples/sshguard.conf.sample
post-install:
${INSTALL} -d ${STAGEDIR}${PREFIX}/etc
- ${INSTALL} -m 644 ${WRKSRC}/examples/sshguard.conf.sample ${STAGEDIR}${PREFIX}/etc
+ ${INSTALL_DATA} ${WRKSRC}/examples/sshguard.conf.sample \
+ ${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>
diff --git a/security/sshguard/distinfo b/security/sshguard/distinfo
index c003b0bf78b7..05c8db3eff08 100644
--- a/security/sshguard/distinfo
+++ b/security/sshguard/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1512597921
-SHA256 (sshguard-2.1.0.tar.gz) = 21252a4834ad8408df384ee4ddf468624aa9de9cead5afde1c77380a48cf028a
-SIZE (sshguard-2.1.0.tar.gz) = 1117466
+TIMESTAMP = 1535115330
+SHA256 (sshguard-2.2.0.tar.gz) = 2aff07fee6ec33e4ffd5411916b75189977af1d77b86dac5f3834dd3aa3656c2
+SIZE (sshguard-2.2.0.tar.gz) = 737612
diff --git a/security/sshguard/files/patch-examples-sshguard.conf.sample b/security/sshguard/files/patch-examples-sshguard.conf.sample
index 15ef37a818a4..a9abccad5bbf 100644
--- a/security/sshguard/files/patch-examples-sshguard.conf.sample
+++ b/security/sshguard/files/patch-examples-sshguard.conf.sample
@@ -1,4 +1,4 @@
---- examples/sshguard.conf.sample.orig 2017-12-06 22:18:20 UTC
+--- examples/sshguard.conf.sample.orig 2018-06-25 21:13:07 UTC
+++ examples/sshguard.conf.sample
@@ -6,10 +6,12 @@
@@ -15,7 +15,7 @@
# Shell command that provides logs on standard output. (optional, no default)
# Example 1: ssh and sendmail from systemd journal:
-@@ -40,12 +42,12 @@ DETECTION_TIME=1800
+@@ -40,12 +42,12 @@ IPV4_SUBNET=32
# !! Warning: These features may not work correctly with sandboxing. !!
# Full path to PID file (optional, no default)
diff --git a/security/sshguard/files/patch-src-sshguard.in b/security/sshguard/files/patch-src-sshguard.in
index db40747fe390..cb196d9fe41c 100644
--- a/security/sshguard/files/patch-src-sshguard.in
+++ b/security/sshguard/files/patch-src-sshguard.in
@@ -1,8 +1,6 @@
-diff --git src/sshguard.in src/sshguard.in
-index 40c864b..249ddb5 100644
---- src/sshguard.in
+--- src/sshguard.in.orig 2018-07-08 18:07:01 UTC
+++ src/sshguard.in
-@@ -85,4 +85,4 @@ elif [ -z "$tailcmd" ]; then
+@@ -96,4 +96,4 @@ elif [ -z "$tailcmd" ]; then
fi
eval $tailcmd | $libexec/sshg-parser | \