ports/112749: [maintainer update] update security/sshguard

Mij mij at bitchx.it
Fri May 18 00:50:03 UTC 2007


>Number:         112749
>Category:       ports
>Synopsis:       [maintainer update] update security/sshguard
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 18 00:50:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Mij
>Release:        
>Organization:
>Environment:
>Description:
this patch upgrades security/sshguard to version 1.0b2.

Port changes: no longer interactive, use default blocking backend (hosts)
and move alternatives to slave ports.

Software changes: see
http://sourceforge.net/project/shownotes.php?group_id=188282&release_id=507012
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN sshguard.old/Makefile sshguard/Makefile
--- sshguard.old/Makefile	Thu Mar  1 11:06:13 2007
+++ sshguard/Makefile	Thu May 17 23:50:07 2007
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	sshguard
-PORTVERSION=	0.91
-PORTREVISION=	1
+DISTVERSION=	1.0beta2
 CATEGORIES=	security
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -15,35 +14,27 @@
 MAINTAINER=	mij at bitchx.it
 COMMENT=	Protect networked hosts from brute force attacks against ssh
 
+CONFLICTS?=	sshguard-ipfw-1.0* sshguard-pf-1.0*
+
 PLIST_FILES=	sbin/sshguard
 
-IS_INTERACTIVE=	yes
+MAN8=		sshguard.8
+MANCOMPRESSED=	no
 USE_BZIP2=	yes
 HAS_CONFIGURE=	yes
 
-OPTIONS=	PF	"Use PF as firewall backend"	off \
-		IPFW	"Use IPFW as firewall backend"	off
+# backend type in { hosts, ipfw, pf }
+SSHGUARDFW?=	hosts
 
 .include <bsd.port.pre.mk>
 
-.if ! ( (defined(WITH_PF) && !defined(WITH_IPFW)) || !defined(WITH_PF))
-# some error occurred. Configure will handle this.
+.if defined(PREFIX)
+CONFIGURE_ARGS+=	--prefix=${PREFIX}
 .endif
 
-.if defined(WITH_PF)
-# compile with PF support
-CONFIGURE_ARGS+=	--with-firewall=pf
-.elif defined(WITH_IPFW)
-# compile with IPFW support
-CONFIGURE_ARGS+=	--with-firewall=ipfw
-.endif
+CONFIGURE_ARGS+=	--with-firewall=${SSHGUARDFW}
 
 post-install:
-	# spare pkg-message
-	${ECHO_MSG} "		Sshguard installed successfully."
-	${ECHO_MSG} "Make it active by putting in /etc/syslog.conf something like:"
-	${ECHO_MSG} "	auth.info;authpriv.info     |exec ${PREFIX}/sbin/sshguard"
-	${ECHO_MSG} "Otherwise, run sshguard standalone with (as root):"
-	${ECHO_MSG} "	tail -n 0 -f /var/log/auth.log | ${PREFIX}/sbin/sshguard"
+	@${CAT}	${PKGMESSAGE}
 
 .include <bsd.port.post.mk>
diff -ruN sshguard.old/distinfo sshguard/distinfo
--- sshguard.old/distinfo	Thu Mar  1 02:36:56 2007
+++ sshguard/distinfo	Fri May 18 01:20:20 2007
@@ -1,3 +1,3 @@
-MD5 (sshguard-0.91.tar.bz2) = e6fb218fe2450f14b38ae5c5b67f0b6a
-SHA256 (sshguard-0.91.tar.bz2) = c1e16d1d20ff192e0368bd8ddfe6acede5a90fef10ce0558655bacf62c29c42f
-SIZE (sshguard-0.91.tar.bz2) = 63751
+MD5 (sshguard-1.0beta2.tar.bz2) = d47fd1224af378acbf7bddb073a871f3
+SHA256 (sshguard-1.0beta2.tar.bz2) = 674441f41ab78678e5812e524cfd31eed019fdd63bc50c7bacc0ef9a8c089fb0
+SIZE (sshguard-1.0beta2.tar.bz2) = 118224
diff -ruN sshguard.old/pkg-message sshguard/pkg-message
--- sshguard.old/pkg-message	Thu Jan  1 01:00:00 1970
+++ sshguard/pkg-message	Thu May 17 12:35:38 2007
@@ -0,0 +1,8 @@
+##########################################################################
+  Sshguard installed successfully.
+  Make it active by putting in /etc/syslog.conf something like:
+ 	auth.info;authpriv.info	|exec ${PREFIX}/sbin/sshguard
+  Otherwise, run sshguard standalone with (as root):
+ 	tail -n0 -F /var/log/auth.log | ${PREFIX}/sbin/sshguard
+  See sshguard(8) and http://sshguard.sourceforge.net for additional info.
+##########################################################################

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list