summaryrefslogtreecommitdiff
path: root/net/nagios-nrpe/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'net/nagios-nrpe/options.mk')
-rw-r--r--net/nagios-nrpe/options.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/nagios-nrpe/options.mk b/net/nagios-nrpe/options.mk
new file mode 100644
index 00000000000..d230c6487b7
--- /dev/null
+++ b/net/nagios-nrpe/options.mk
@@ -0,0 +1,18 @@
+# $NetBSD: options.mk,v 1.1.1.1 2006/05/21 10:28:40 grant Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.nagios-nrpe
+PKG_SUPPORTED_OPTIONS= ssl tcpwrappers
+PKG_SUGGESTED_OPTIONS= tcpwrappers
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mssl)
+CONFIGURE_ARGS+= --enable-ssl
+. include "../../security/openssl/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-ssl
+.endif
+
+.if !empty(PKG_OPTIONS:Mtcpwrappers)
+. include "../../security/tcp_wrappers/buildlink3.mk"
+.endif