FreeBSD Bugzilla – Attachment 165747 Details for
Bug 205493
net/freeradius3: Does not link properly against selected kerberos implementation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
net/freeradius3/Makefile: Fix/improve kerberos selection.
net__freeradius3__Makefile-2.patch (text/plain), 2.07 KB, created by
Mathieu Simon
on 2016-01-18 08:35:48 UTC
(
hide
)
Description:
net/freeradius3/Makefile: Fix/improve kerberos selection.
Filename:
MIME Type:
Creator:
Mathieu Simon
Created:
2016-01-18 08:35:48 UTC
Size:
2.07 KB
patch
obsolete
>--- Makefile.orig 2016-01-18 08:58:23.239753730 +0100 >+++ Makefile 2016-01-18 09:08:28.301274034 +0100 >@@ -41,10 +41,12 @@ > PLIST_SUB= PORTVERSION=${DISTVERSION} LIBVER=0${PORTVERSION:C/\./0/g} > > OPTIONS_SUB= yes >-OPTIONS_DEFINE= USER KERBEROS HEIMDAL HEIMDAL_PORT LDAP MYSQL \ >+OPTIONS_DEFINE= USER LDAP MYSQL \ > PGSQL UNIXODBC FIREBIRD REDIS PYTHON RUBY \ > EXPERIMENTAL UDPFROMTO DEVELOPER EDIR PERL REST \ > FREETDS IDN SSL_PORT DOCS SQLITE3 >+OPTIONS_SINGLE= KRB >+OPTIONS_SINGLE_KRB= HEIMDAL HEIMDAL_PORT KERBEROS > OPTIONS_DEFAULT=USER PERL > > USER_DESC= Run as user freeradius, group freeradius >@@ -80,30 +82,31 @@ > USERS= ${RADIUS_USER} > GROUPS= ${RADIUS_GROUP} > >-.if ${PORT_OPTIONS:MKERBEROS} || ${PORT_OPTIONS:MHEIMDAL} >-.if ${PORT_OPTIONS:MHEIMDAL} >-.if ${PORT_OPTIONS:MHEIMDAL_PORT} >-LIB_DEPENDS+= libkrb5.so:${PORTSDIR}/security/heimdal >-.endif >-CONFIGURE_ARGS+=--enable-heimdal-krb5 --enable-pthread-support >-.else >-LIB_DEPENDS+= libkrb5support.so:${PORTSDIR}/security/krb5 >-.endif >+.if ${PORT_OPTIONS:MHEIMDAL} || ${PORT_OPTIONS:MHEIMDAL_PORT} || ${PORT_OPTIONS:MKERBEROS} > CONFIGURE_ARGS+=--with-rlm_krb5 >-.if ${PORT_OPTIONS:MHEIMDAL} && empty(PORT_OPTIONS:MHEIMDAL_PORT) >-CONFIGURE_ARGS+=--with-rlm-krb5-lib-dir=/usr/lib >-CONFIGURE_ARGS+=--with-rlm-krb5-include-dir=/usr/include >-CONFIGURE_ENV+= KRB5LIBS="$$(${KRB5_CONFIG})" >-.else >-CONFIGURE_ARGS+=--with-rlm-krb5-lib-dir=${LOCALBASE}/lib >-CONFIGURE_ARGS+=--with-rlm-krb5-include-dir=${LOCALBASE}/include >-.endif > PLIST_SUB+= KRB5="" > .else > CONFIGURE_ARGS+=--without-rlm_krb5 > PLIST_SUB+= KRB5="@comment " > .endif > >+.if ${PORT_OPTIONS:MHEIMDAL} >+CONFIGURE_ARGS+=--with-rlm-krb5-dir=/ >+CONFLICTS_BUILD+= krb5-[0-9].* >+.endif >+ >+.if ${PORT_OPTIONS:MHEIMDAL_PORT} || ${PORT_OPTIONS:MKERBEROS} >+CONFIGURE_ARGS+=--with-rlm-krb5-dir=${LOCALBASE} >+.endif >+ >+.if ${PORT_OPTIONS:MHEIMDAL_PORT} >+LIB_DEPENDS+= libkrb5.so.26:${PORTSDIR}/security/heimdal >+.endif >+ >+.if ${PORT_OPTIONS:MKERBEROS} >+LIB_DEPENDS+= libkrb5support.so:${PORTSDIR}/security/krb5 >+.endif >+ > .if ${PORT_OPTIONS:MEDIR} > CONFIGURE_ARGS+=--with-edir > .if empty(PORT_OPTIONS:MLDAP)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 205493
:
164463
| 165747 |
166500
|
166501
|
166502