diff options
author | adrianp <adrianp@pkgsrc.org> | 2006-07-13 22:20:35 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2006-07-13 22:20:35 +0000 |
commit | 354706327a97633d53e2b78cae0cf13ea6c5bb6c (patch) | |
tree | 94c76e7e86ab2d9b153a777022bd6e043b956c2d /net/freeradius/options.mk | |
parent | cc40796fe90287546d29b24efb2266e5ccf1b5a7 (diff) | |
download | pkgsrc-354706327a97633d53e2b78cae0cf13ea6c5bb6c.tar.gz |
pkglintification
Add kerberos support - Patch from Kevin Sullivan in PR #33732
Bump to nb4
Diffstat (limited to 'net/freeradius/options.mk')
-rw-r--r-- | net/freeradius/options.mk | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/net/freeradius/options.mk b/net/freeradius/options.mk index e1d84d3cf3b..95c121d5a09 100644 --- a/net/freeradius/options.mk +++ b/net/freeradius/options.mk @@ -1,11 +1,11 @@ -# $NetBSD: options.mk,v 1.8 2006/05/31 18:22:24 ghen Exp $ +# $NetBSD: options.mk,v 1.9 2006/07/13 22:20:35 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 +PKG_SUPPORTED_OPTIONS= ldap mysql pgsql snmp kerberos PKG_SUGGESTED_OPTIONS= gdbm .include "../../mk/bsd.options.mk" @@ -52,7 +52,7 @@ CONFIGURE_ARGS+= --without-rlm_sql_postgresql ### Use MySQL for storing user details ### .if !empty(PKG_OPTIONS:Mmysql) -. include "../../mk/mysql.buildlink3.mk" +. include "../../mk/mysql.buildlink3.mk" CONFIGURE_ARGS+= --with-rlm_sql_mysql PLIST_SRC+= ${PKGDIR}/PLIST.mysql .else @@ -74,3 +74,17 @@ CONFIGURE_ARGS+= --with-snmp .else CONFIGURE_ARGS+= --without-snmp .endif + +### +### Use kerberos 5 +### +.if !empty(PKG_OPTIONS:Mkerberos) +. include "../../mk/krb5.buildlink3.mk" +CONFIGURE_ARGS+= --with-rlm_krb5 +. if defined(KRB5_TYPE) && ${KRB5_TYPE} == "heimdal" +CONFIGURE_ARGS+= --enable-heimdal-krb5 +. endif +PLIST_SRC+= ${PKGDIR}/PLIST.kerberos +.else +CONFIGURE_ARGS+= --without-rlm_krb5 +.endif |