summaryrefslogtreecommitdiff
path: root/net/freeradius/options.mk
diff options
context:
space:
mode:
authoradrianp <adrianp>2006-07-14 22:10:01 +0000
committeradrianp <adrianp>2006-07-14 22:10:01 +0000
commit905d00975db092a724e1d078183a434f92b342ca (patch)
tree4a5bcc04324b0e5743c49ea51ea58fa591a1fb88 /net/freeradius/options.mk
parent5483c1e97a0a5731b65a6f616b0882bbf6da38c6 (diff)
downloadpkgsrc-905d00975db092a724e1d078183a434f92b342ca.tar.gz
Update to 1.1.2
* Updated dictionaries (as always), * Extended Ascend "abinary" support for Juniper, * Configurable "cipher_list" for EAP methods that use TLS, * Additional checks on cert issuer validation for EAP methods that use TLS, * SQL IODBC bug fixes, * Updates to the LDAP module, * Better catching of errors in the config files, * Miscellaneous other fixes In addition to this add an extra option to options.mk which is "freeradius-simul-use". This will enable Simultaneous-Use and is enabled by default. If you disable it freeradius can be built without depending on the net-snmp package. Original idea from John Nemeth.
Diffstat (limited to 'net/freeradius/options.mk')
-rw-r--r--net/freeradius/options.mk17
1 files changed, 14 insertions, 3 deletions
diff --git a/net/freeradius/options.mk b/net/freeradius/options.mk
index 95c121d5a09..6833122fe15 100644
--- a/net/freeradius/options.mk
+++ b/net/freeradius/options.mk
@@ -1,12 +1,12 @@
-# $NetBSD: options.mk,v 1.9 2006/07/13 22:20:35 adrianp Exp $
+# $NetBSD: options.mk,v 1.10 2006/07/14 22:10:01 adrianp Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.freeradius
PKG_OPTIONS_OPTIONAL_GROUPS= dbm
PKG_OPTIONS_GROUP.dbm= bdb gdbm
-PKG_SUPPORTED_OPTIONS= ldap mysql pgsql snmp kerberos
-PKG_SUGGESTED_OPTIONS= gdbm
+PKG_SUPPORTED_OPTIONS= ldap mysql pgsql snmp kerberos freeradius-simul-use
+PKG_SUGGESTED_OPTIONS= gdbm freeradius-simul-use
.include "../../mk/bsd.options.mk"
@@ -70,6 +70,7 @@ CONFIGURE_ARGS+= --without-rlm_sql_mysql
###
###
.if !empty(PKG_OPTIONS:Msnmp)
+. include "../../net/net-snmp/buildlink3.mk"
CONFIGURE_ARGS+= --with-snmp
.else
CONFIGURE_ARGS+= --without-snmp
@@ -88,3 +89,13 @@ PLIST_SRC+= ${PKGDIR}/PLIST.kerberos
.else
CONFIGURE_ARGS+= --without-rlm_krb5
.endif
+
+###
+### Enable Simultaneous-Use which needs snmpwalk and snmpget
+###
+.if !empty(PKG_OPTIONS:Mfreeradius-simul-use)
+. include "../../net/net-snmp/buildlink3.mk"
+.else
+CONFIGURE_ENV+= ac_cv_path_SNMPGET=""
+CONFIGURE_ENV+= ac_cv_path_SNMPWALK=""
+.endif