- respect maintainer's insist on interactive part,

even IS_INTERACTIVE is discouraged
- PORTREVISION is thus bumped.

Approved by:	maintainer (implicit)
This commit is contained in:
Cheng-Lung Sung 2007-03-01 10:06:13 +00:00
parent 8cb1936ee6
commit e893db2882
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=186256

View file

@ -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: