From e893db288241371f294838e82ae53c453629c70f Mon Sep 17 00:00:00 2001 From: Cheng-Lung Sung Date: Thu, 1 Mar 2007 10:06:13 +0000 Subject: [PATCH] - respect maintainer's insist on interactive part, even IS_INTERACTIVE is discouraged - PORTREVISION is thus bumped. Approved by: maintainer (implicit) --- security/sshguard/Makefile | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/security/sshguard/Makefile b/security/sshguard/Makefile index 8698ebf78777..7ee9ac2bdcce 100644 --- a/security/sshguard/Makefile +++ b/security/sshguard/Makefile @@ -7,6 +7,7 @@ PORTNAME= sshguard PORTVERSION= 0.91 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,20 +17,25 @@ COMMENT= Protect networked hosts from brute force attacks against ssh PLIST_FILES= sbin/sshguard +IS_INTERACTIVE= yes USE_BZIP2= yes -GNU_CONFIGURE= yes +HAS_CONFIGURE= yes -OPTIONS= PF "Use PF as firewall backend" on \ +OPTIONS= PF "Use PF as firewall backend" off \ IPFW "Use IPFW as firewall backend" off .include -.if !defined(WITH_PF) && defined(WITH_IPFW) -# compile with IPFW support -CONFIGURE_ARGS+= --with-firewall=ipfw -.else +.if ! ( (defined(WITH_PF) && !defined(WITH_IPFW)) || !defined(WITH_PF)) +# some error occurred. Configure will handle this. +.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 post-install: