diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2007-03-01 10:06:13 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2007-03-01 10:06:13 +0000 |
commit | e893db288241371f294838e82ae53c453629c70f (patch) | |
tree | dce225bdf4c582be34ceea78129cd373a45f06af /security/sshguard | |
parent | - Update to 1.213 (diff) |
- respect maintainer's insist on interactive part,
even IS_INTERACTIVE is discouraged
- PORTREVISION is thus bumped.
Approved by: maintainer (implicit)
Notes
Notes:
svn path=/head/; revision=186256
Diffstat (limited to 'security/sshguard')
-rw-r--r-- | security/sshguard/Makefile | 18 |
1 files 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 <bsd.port.pre.mk> -.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: |