aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2004-12-14 03:58:55 +0800
committermharo <mharo@FreeBSD.org>2004-12-14 03:58:55 +0800
commite05aa002df6752e367c00e01fc68922ff24c46f4 (patch)
treebc0c61f9ef917172e394b946b1ccf7218d2b26a3 /net-mgmt
parent5c676f09c2d91424978ca13722eec327b5aae91f (diff)
downloadfreebsd-ports-gnome-e05aa002df6752e367c00e01fc68922ff24c46f4.tar.gz
freebsd-ports-gnome-e05aa002df6752e367c00e01fc68922ff24c46f4.tar.zst
freebsd-ports-gnome-e05aa002df6752e367c00e01fc68922ff24c46f4.zip
add options
unbreak Approved by: maintainer timeout
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nrpe2/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/net-mgmt/nrpe2/Makefile b/net-mgmt/nrpe2/Makefile
index 00d6d744ea64..52a8235c482c 100644
--- a/net-mgmt/nrpe2/Makefile
+++ b/net-mgmt/nrpe2/Makefile
@@ -22,6 +22,11 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --libexecdir=${PREFIX}/libexec/nagios --bindir=${PREFIX}/sbin --sysconfdir=${PREFIX}/etc
+OPTIONS= SSL "SSL support" off \
+ ARGS "Enable command arguments *POTENTIAL SECURITY RISK*" off
+
+.include <bsd.port.pre.mk>
+
.if defined(WITH_SSL)
USE_OPENSSL= yes
CONFIGURE_ARGS+= --enable-ssl
@@ -29,10 +34,8 @@ CONFIGURE_ARGS+= --enable-ssl
CONFIGURE_ARGS+= --disable-ssl
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not install on FreeBSD >= 5.x"
+.if defined(WITH_ARGS)
+CONFIGURE_ARGS+= --enable-command-args
.endif
do-install: