SF.net SVN: gar:[23011] csw/mgar/pkg/sshguard/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Feb 13 11:18:44 CET 2014


Revision: 23011
          http://sourceforge.net/p/gar/code/23011
Author:   dmichelsen
Date:     2014-02-13 10:18:44 +0000 (Thu, 13 Feb 2014)
Log Message:
-----------
sshguard/trunk: Update to 1.5, add modulations for used firewall

Modified Paths:
--------------
    csw/mgar/pkg/sshguard/trunk/Makefile
    csw/mgar/pkg/sshguard/trunk/checksums

Modified: csw/mgar/pkg/sshguard/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sshguard/trunk/Makefile	2014-02-13 10:12:35 UTC (rev 23010)
+++ csw/mgar/pkg/sshguard/trunk/Makefile	2014-02-13 10:18:44 UTC (rev 23011)
@@ -1,5 +1,5 @@
 NAME = sshguard
-VERSION = 1.5rc3
+VERSION = 1.5
 GARTYPE = v2
 
 DESCRIPTION = Protects networked hosts from brute force attacks
@@ -11,12 +11,32 @@
 SF_PROJECT = $(NAME)
 DISTFILES  = $(NAME)-$(VERSION).tar.bz2
 
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.bz2
+LICENSE = README
 
+EXTRA_MODULATORS += FIREWALL
+MODULATIONS_FIREWALL = ipfilter hosts
+
 GARCOMPILER = GNU
 
 CONFIGURE_ARGS = $(DIRPATHS)
-CONFIGURE_ARGS += --with-firewall=hosts
+CONFIGURE_ARGS += --with-firewall=$(FIREWALL)
 
+# See ipf(1m) and ipf(4) 
+CONFIGURE_ARGS-ipfilter += --with-ipf=/usr/sbin/ipf
+CONFIGURE_ARGS-ipfilter += --with-ipfilterconf=/etc/ipf/ipf.conf
+
+# This is defined in OpenCSW TCPwrapper
+CONFIGURE_ARGS-hosts += --with-hostsfile=/etc/opt/csw/hosts.allow
+
+CONFIGURE_ARGS += $(CONFIGURE_ARGS-$(FIREWALL))
+
+EXTRA_PAX_ARGS += -s ",\($(sbindir)/sshguard\),/\1-$(FIREWALL),"
+
+MERGE_SCRIPTS_isa-default-firewall-ipfilter = copy-all
+MERGE_SCRIPTS_isa-default-firewall-hosts = copy-all
+
+ALTERNATIVES += ipfilter hosts
+ALTERNATIVE_ipfilter += $(sbindir)/sshguard sshguard $(sbindir)/sshguard-ipfilter 200
+ALTERNATIVE_hosts    += $(sbindir)/sshguard sshguard $(sbindir)/sshguard-hosts 100
+
 include gar/category.mk

Modified: csw/mgar/pkg/sshguard/trunk/checksums
===================================================================
--- csw/mgar/pkg/sshguard/trunk/checksums	2014-02-13 10:12:35 UTC (rev 23010)
+++ csw/mgar/pkg/sshguard/trunk/checksums	2014-02-13 10:18:44 UTC (rev 23011)
@@ -1 +1 @@
-388315aa687168f838ae3d5c9a486b00  sshguard-1.5rc3.tar.bz2
+11b9f47f9051e25bdfe84a365c961ec1  sshguard-1.5.tar.bz2

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list