Update to 2.4.2diff -r1.5 -r1.6 pkgsrc/security/sshguard/Makefile
(sekiya)
@@ -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 | |||
3 | DISTNAME= sshguard-1.5 | 3 | DISTNAME= sshguard-2.4.2 | |
4 | PKGREVISION= 1 | 4 | #PKGREVISION= 1 | |
5 | CATEGORIES= security | 5 | CATEGORIES= security | |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sshguard/} | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sshguard/} | |
7 | EXTRACT_SUFX= .tar.bz2 | |||
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://www.sshguard.net/ | 9 | HOMEPAGE= https://www.sshguard.net/ | |
11 | COMMENT= Protect networked hosts from brute force attacks | 10 | COMMENT= Protect networked hosts from brute force attacks | |
12 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
13 | 12 | |||
14 | GNU_CONFIGURE= yes | 13 | GNU_CONFIGURE= yes | |
15 | 14 | |||
16 | RCD_SCRIPTS= sshguard | 15 | RCD_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 |
@@ -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 $ | |
2 | libexec/sshg-blocker | |||
3 | libexec/sshg-fw-firewalld | |||
4 | libexec/sshg-fw-hosts | |||
5 | libexec/sshg-fw-ipfilter | |||
6 | libexec/sshg-fw-ipfw | |||
7 | libexec/sshg-fw-ipset | |||
8 | libexec/sshg-fw-iptables | |||
9 | libexec/sshg-fw-nft-sets | |||
10 | libexec/sshg-fw-null | |||
11 | libexec/sshg-fw-pf | |||
12 | libexec/sshg-logtail | |||
13 | libexec/sshg-parser | |||
14 | man/man7/sshguard-setup.7 | |||
2 | man/man8/sshguard.8 | 15 | man/man8/sshguard.8 | |
3 | sbin/sshguard | 16 | sbin/sshguard | |
17 | share/examples/rc.d/sshguard |
@@ -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 | |||
3 | BLAKE2s (sshguard-1.5.tar.bz2) = 0deafa240b4ae53a5b1a7613e399264bfe2c0de9d89f175044d5720342103687 | 3 | BLAKE2s (sshguard-2.4.2.tar.gz) = de1d10f8d9f44d9844f171d4063aecc21067747709918e1e31b0da183380728d | |
4 | SHA512 (sshguard-1.5.tar.bz2) = 6d17abccd94af9e7fb04a54477ff5686caa64dc36e2f2cbc4a8cd7bc293923daf2fee87fa7f2e247eba1b310abe68549e652ab3224c2d19822d2e8a0306e49e6 | 4 | SHA512 (sshguard-2.4.2.tar.gz) = f2fe35180af8698d4b2053e9ffbf17df9f033b0c2fcc045caa085467d14174e17aa266d2ef3ce9536037e54f7d3ea42de9e32e7faee65612894294793082862a | |
5 | Size (sshguard-1.5.tar.bz2) = 303767 bytes | 5 | Size (sshguard-2.4.2.tar.gz) = 835431 bytes | |
6 | SHA1 (patch-man_sshguard.8) = f907d23f5fe3db16dd44128c821f2fe6f94fcb03 | 6 | SHA1 (patch-configure) = d2cd0be8143c205089045825b82e496eb35dc511 |
$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