Hi,
>>>>> On Sat, 10 Oct 2015 08:54:05 +0900
>>>>> Hajimu UMEMOTO <[email protected]> said:
lists> So it looks like there's a conflict between the current versions of
lists> security/krb5 and security/cyrus-sasl-saslauthd.
ume> It is not so easy. It seems you have openssl port installed as well.
ume> Since search path of include file is same between openssl port and mit
ume> kerberos, it seems impossible to build with openssl port and base
ume> heimdal when mit kerberos is installed without support of ports
ume> framework for gssapi and/or openssl.
I could build cyrus-sasl2-saslauthd with openssl port and base heimdal
even when mit kerberos is installed, with the attached patch applied.
However, it links two shared version of licrypto like follows:
$ ldd work/cyrus-sasl-2.1.26/saslauthd/saslauthd | grep -E '(gss|krb|crypto)'
libgssapi.so.10 => /usr/lib/libgssapi.so.10 (0x80082d000)
libgssapi_krb5.so.10 => /usr/lib/libgssapi_krb5.so.10 (0x800a36000)
libkrb5.so.11 => /usr/lib/libkrb5.so.11 (0x800e5a000)
libcrypto.so.8 => /usr/local/lib/libcrypto.so.8 (0x80151e000)
libcrypto.so.7 => /lib/libcrypto.so.7 (0x802c01000)
One comes from base heimdal and the another comes from openssl port. I
suspect such binary is usable.
Sincerely,
Index: security/cyrus-sasl2-saslauthd/Makefile
===================================================================
--- security/cyrus-sasl2-saslauthd/Makefile (revision 398984)
+++ security/cyrus-sasl2-saslauthd/Makefile (working copy)
@@ -92,7 +92,8 @@
.if ${OPENSSLBASE} == /usr
CONFIGURE_ARGS+=--with-openssl=yes
.else
-CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
+WRKOPENSSLBASE= ${WRKDIR}/openssl
+CONFIGURE_ARGS+=--with-openssl=${WRKOPENSSLBASE}
.endif
SASLAUTHD_RUNPATH?= /var/run/saslauthd
@@ -110,6 +111,14 @@
SUB_LIST+= SASLAUTHD_RUNPATH=${SASLAUTHD_RUNPATH}
+.if ${OPENSSLBASE} != /usr
+pre-configure:
+ ${MKDIR} ${WRKOPENSSLBASE}/include ${WRKOPENSSLBASE}/lib
+ ${LN} -s ${OPENSSLBASE}/include/openssl ${WRKOPENSSLBASE}/include
+ ${LN} -s ${OPENSSLBASE}/lib/libcrypto.* ${OPENSSLBASE}/lib/libssl.* \
+ ${WRKOPENSSLBASE}/lib
+.endif
+
do-build:
cd ${WRKSRC}/include && ${MAKE}
cd ${WRKSRC}/sasldb && ${MAKE}
--
Hajimu UMEMOTO
[email protected] [email protected]
http://www.mahoroba.org/~ume/
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"