diff options
author | adrianp <adrianp@pkgsrc.org> | 2009-03-18 22:50:28 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2009-03-18 22:50:28 +0000 |
commit | fa242c81fdcf025b24e74bb16e5ad8b3a279dd86 (patch) | |
tree | 788db027f9fde88b3ea80e418dadd2107344504b /net/net-snmp/options.mk | |
parent | f1e6e56108f5387497b90b41b02da1588a9699d1 (diff) | |
download | pkgsrc-fa242c81fdcf025b24e74bb16e5ad8b3a279dd86.tar.gz |
Add two new options to help when running snmpd as an unpriveleged user
Diffstat (limited to 'net/net-snmp/options.mk')
-rw-r--r-- | net/net-snmp/options.mk | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/net/net-snmp/options.mk b/net/net-snmp/options.mk index 42c827a1df3..e6da67b04e6 100644 --- a/net/net-snmp/options.mk +++ b/net/net-snmp/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.7 2008/04/12 22:43:08 jlam Exp $ +# $NetBSD: options.mk,v 1.8 2009/03/18 22:50:28 adrianp Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.net-snmp -PKG_SUPPORTED_OPTIONS= ssl +PKG_SUPPORTED_OPTIONS= ssl snmp-unprived snmp-nokmem .include "../../mk/bsd.prefs.mk" @@ -26,3 +26,11 @@ CONFIGURE_ARGS+= --with-openssl .else CONFIGURE_ARGS+= --without-openssl .endif + +.if !empty(PKG_OPTIONS:Msnmp-nokmem) +CONFIGURE_ARGS+= --without-kmem-usage +.endif + +.if !empty(PKG_OPTIONS:Msnmp-unprived) +CONFIGURE_ARGS+= --without-root-access +.endif |