aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2007-03-01 18:06:13 +0800
committerclsung <clsung@FreeBSD.org>2007-03-01 18:06:13 +0800
commit2bf043cd49f4f39577f364dd1b282374909901a5 (patch)
tree125ddfa78800c26d543085201ceb63a006c6f3e7 /security
parent2183722bfc15c69f23044b136251242542052175 (diff)
downloadfreebsd-ports-gnome-2bf043cd49f4f39577f364dd1b282374909901a5.tar.gz
freebsd-ports-gnome-2bf043cd49f4f39577f364dd1b282374909901a5.tar.zst
freebsd-ports-gnome-2bf043cd49f4f39577f364dd1b282374909901a5.zip
- respect maintainer's insist on interactive part,
even IS_INTERACTIVE is discouraged - PORTREVISION is thus bumped. Approved by: maintainer (implicit)
Diffstat (limited to 'security')
-rw-r--r--security/sshguard/Makefile18
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: