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 | 947c054a429ca736d7a63aa969b3ef36567eb096 (patch) | |
tree | 788db027f9fde88b3ea80e418dadd2107344504b /net/net-snmp/options.mk | |
parent | 1fb4fe7c3fc54a00d3ea1a28439594eb15904282 (diff) | |
download | pkgsrc-947c054a429ca736d7a63aa969b3ef36567eb096.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 |