Date: Sat, 10 Oct 2015 19:20:59 +0900 From: Hajimu UMEMOTO <ume@FreeBSD.org> To: markk@knigma.org, freebsd-ports@freebsd.org, Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Subject: Re: cyrus-sasl-saslauthd won't build anymore Message-ID: <yge8u7bja7o.wl-ume@FreeBSD.org> In-Reply-To: <ygea8rrk38i.wl-ume@FreeBSD.org> References: <5612C455.4030004@knigma.org> <56133D35.9030201@utanet.at> <56180024.60906@knigma.org> <ygea8rrk38i.wl-ume@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Multipart_Sat_Oct_10_19:20:59_2015-1 Content-Type: text/plain; charset=US-ASCII Hi, >>>>> On Sat, 10 Oct 2015 08:54:05 +0900 >>>>> Hajimu UMEMOTO <ume@FreeBSD.org> 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, --Multipart_Sat_Oct_10_19:20:59_2015-1 Content-Type: text/x-patch; type=patch; charset=US-ASCII Content-Disposition: attachment; filename="cyrus-sasl2-saslauthd.diff" Content-Transfer-Encoding: 7bit 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} --Multipart_Sat_Oct_10_19:20:59_2015-1 Content-Type: text/plain; charset=US-ASCII -- Hajimu UMEMOTO ume@mahoroba.org ume@FreeBSD.org http://www.mahoroba.org/~ume/ --Multipart_Sat_Oct_10_19:20:59_2015-1--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?yge8u7bja7o.wl-ume>