Mon Jan 9 01:36:10 2023 UTC ()
Update to 2.4.2


(sekiya)
diff -r1.5 -r1.6 pkgsrc/security/sshguard/Makefile
diff -r1.1 -r1.2 pkgsrc/security/sshguard/PLIST
diff -r1.4 -r1.5 pkgsrc/security/sshguard/distinfo
diff -r0 -r1.1 pkgsrc/security/sshguard/patches/patch-configure
diff -r1.1 -r0 pkgsrc/security/sshguard/patches/patch-man_sshguard.8

cvs diff -r1.5 -r1.6 pkgsrc/security/sshguard/Makefile (expand / switch to unified diff)

--- pkgsrc/security/sshguard/Makefile 2017/09/04 18:08:27 1.5
+++ pkgsrc/security/sshguard/Makefile 2023/01/09 01:36:10 1.6
@@ -1,20 +1,19 @@ @@ -1,20 +1,19 @@
1# $NetBSD: Makefile,v 1.5 2017/09/04 18:08:27 wiz Exp $ 1# $NetBSD: Makefile,v 1.6 2023/01/09 01:36:10 sekiya Exp $
2 2
3DISTNAME= sshguard-1.5 3DISTNAME= sshguard-2.4.2
4PKGREVISION= 1 4#PKGREVISION= 1
5CATEGORIES= security 5CATEGORIES= security
6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sshguard/} 6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sshguard/}
7EXTRACT_SUFX= .tar.bz2 
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://www.sshguard.net/ 9HOMEPAGE= https://www.sshguard.net/
11COMMENT= Protect networked hosts from brute force attacks 10COMMENT= Protect networked hosts from brute force attacks
12LICENSE= modified-bsd 11LICENSE= modified-bsd
13 12
14GNU_CONFIGURE= yes 13GNU_CONFIGURE= yes
15 14
16RCD_SCRIPTS= sshguard 15RCD_SCRIPTS= sshguard
17 16
18.include "options.mk" 17.include "options.mk"
19 18
20# Claiming to be an X/Open applications hides inet_pton(3) under NetBSD 19# Claiming to be an X/Open applications hides inet_pton(3) under NetBSD

cvs diff -r1.1 -r1.2 pkgsrc/security/sshguard/PLIST (expand / switch to unified diff)

--- pkgsrc/security/sshguard/PLIST 2014/07/26 19:57:44 1.1
+++ pkgsrc/security/sshguard/PLIST 2023/01/09 01:36:10 1.2
@@ -1,3 +1,17 @@ @@ -1,3 +1,17 @@
1@comment $NetBSD: PLIST,v 1.1 2014/07/26 19:57:44 tron Exp $ 1@comment $NetBSD: PLIST,v 1.2 2023/01/09 01:36:10 sekiya Exp $
 2libexec/sshg-blocker
 3libexec/sshg-fw-firewalld
 4libexec/sshg-fw-hosts
 5libexec/sshg-fw-ipfilter
 6libexec/sshg-fw-ipfw
 7libexec/sshg-fw-ipset
 8libexec/sshg-fw-iptables
 9libexec/sshg-fw-nft-sets
 10libexec/sshg-fw-null
 11libexec/sshg-fw-pf
 12libexec/sshg-logtail
 13libexec/sshg-parser
 14man/man7/sshguard-setup.7
2man/man8/sshguard.8 15man/man8/sshguard.8
3sbin/sshguard 16sbin/sshguard
 17share/examples/rc.d/sshguard

cvs diff -r1.4 -r1.5 pkgsrc/security/sshguard/distinfo (expand / switch to unified diff)

--- pkgsrc/security/sshguard/distinfo 2021/10/26 11:18:03 1.4
+++ pkgsrc/security/sshguard/distinfo 2023/01/09 01:36:10 1.5
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.4 2021/10/26 11:18:03 nia Exp $ 1$NetBSD: distinfo,v 1.5 2023/01/09 01:36:10 sekiya Exp $
2 2
3BLAKE2s (sshguard-1.5.tar.bz2) = 0deafa240b4ae53a5b1a7613e399264bfe2c0de9d89f175044d5720342103687 3BLAKE2s (sshguard-2.4.2.tar.gz) = de1d10f8d9f44d9844f171d4063aecc21067747709918e1e31b0da183380728d
4SHA512 (sshguard-1.5.tar.bz2) = 6d17abccd94af9e7fb04a54477ff5686caa64dc36e2f2cbc4a8cd7bc293923daf2fee87fa7f2e247eba1b310abe68549e652ab3224c2d19822d2e8a0306e49e6 4SHA512 (sshguard-2.4.2.tar.gz) = f2fe35180af8698d4b2053e9ffbf17df9f033b0c2fcc045caa085467d14174e17aa266d2ef3ce9536037e54f7d3ea42de9e32e7faee65612894294793082862a
5Size (sshguard-1.5.tar.bz2) = 303767 bytes 5Size (sshguard-2.4.2.tar.gz) = 835431 bytes
6SHA1 (patch-man_sshguard.8) = f907d23f5fe3db16dd44128c821f2fe6f94fcb03 6SHA1 (patch-configure) = d2cd0be8143c205089045825b82e496eb35dc511

File Added: pkgsrc/security/sshguard/patches/patch-configure
$NetBSD: patch-configure,v 1.1 2023/01/09 01:36:10 sekiya Exp $

Fix portability.

--- configure.orig	2021-03-16 02:38:07.000000000 +0000
+++ configure
@@ -4947,7 +4947,7 @@ fi
 
 done
 
-if test "$capsicum_found" == "candidate"; then :
+if test "$capsicum_found" = "candidate"; then :
   for ac_func in cap_enter cap_rights_limit
 do :
 
@@ -5031,7 +5031,7 @@ fi
 done
 
 fi
-if test "$capsicum_found" == "yes"; then :
+if test "$capsicum_found" = "yes"; then :
 
 $as_echo "#define CAPSICUM 1" >>confdefs.h
 
@@ -5088,7 +5088,7 @@ else
   BUILD_MAN_FALSE=
 fi
 
-if test "$RST2MAN_PROG" == "no"; then :
+if test "$RST2MAN_PROG" = "no"; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: rst2man not found; using pre-built man pages" >&5
 $as_echo "$as_me: WARNING: rst2man not found; using pre-built man pages" >&2;}
 fi

File Deleted: pkgsrc/security/sshguard/patches/Attic/patch-man_sshguard.8