From owner-freebsd-ports@freebsd.org Sat Oct 10 10:21:15 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7CF4FA105CC for ; Sat, 10 Oct 2015 10:21:15 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from mail.mahoroba.org (ent.mahoroba.org [IPv6:2001:2f0:104:8010::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "asuka.mahoroba.org", Issuer "ca.mahoroba.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5378C15CE for ; Sat, 10 Oct 2015 10:21:14 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from vsuiko.mahoroba.org (vsuiko.mahoroba.org [IPv6:2001:2f0:104:8010:a00:27ff:feb0:c2e]) (user=ume mech=DIGEST-MD5 bits=0) by mail.mahoroba.org (8.15.2/8.15.2) with ESMTPSA/inet6 id t9AAL0KB090586 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Sat, 10 Oct 2015 19:21:02 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Sat, 10 Oct 2015 19:20:59 +0900 Message-ID: From: Hajimu UMEMOTO To: markk@knigma.org, freebsd-ports@freebsd.org, Walter Schwarzenfeld Subject: Re: cyrus-sasl-saslauthd won't build anymore In-Reply-To: References: <5612C455.4030004@knigma.org> <56133D35.9030201@utanet.at> <56180024.60906@knigma.org> User-Agent: xcite1.60> Wanderlust/2.15.9 (Almost Unreal) Emacs/24.5 Mule/6.0 (HANACHIRUSATO) X-Operating-System: FreeBSD 10.2-STABLE X-PGP-Key: http://www.mahoroba.org/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Sat_Oct_10_19:20:59_2015-1" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.mahoroba.org [IPv6:2001:2f0:104:8010::1]); Sat, 10 Oct 2015 19:21:06 +0900 (JST) X-Virus-Scanned: clamav-milter 0.98.7 at asuka.mahoroba.org X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,T_RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on asuka.mahoroba.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Oct 2015 10:21:15 -0000 --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 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--