From owner-freebsd-ports@freebsd.org Fri Jul 1 23:16:40 2016 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 152CDB8F751 for ; Fri, 1 Jul 2016 23:16:40 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B6552EAE for ; Fri, 1 Jul 2016 23:16:39 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mail-wm0-x22d.google.com with SMTP id v199so42330302wmv.0 for ; Fri, 01 Jul 2016 16:16:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=1rXjkDDzRm+7erLVs3xB2jBs2U2k9gQ3W75roBpaAiY=; b=HuOIQ6TUwX+j5utBnos7sDxNWT3YZYbLS8ZjcWGlsQvMu3WPGNUUF0hj5CPRHOYCOH 8zSfKm1S58tEkWixVygcf9xGnUAoD7n7St59Qp8Z6thkgqkaFAlDSta8v4KiRiEgA/DZ 0KUwAIralvEi/lAJuX3/gTEwcep9vtGLC2Hh8s0Y2XnzOEcyWSPsnPQ28o5jfN5GDY/c BTdaERXxlbQrFDua+yUdC/Y3yRsv1xF98oLrj6YTERjJYmNMsuk2TcBWzcPoN+jzObtO Ba1iPF8NiHzo5ucZkRccomuI/zXfKChZfTisz+MFigJmKcCyYgwsnhZm9pEsnFMxOQLG 8cPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=1rXjkDDzRm+7erLVs3xB2jBs2U2k9gQ3W75roBpaAiY=; b=IJfLcLo5O+/lgoYv1m6YU365lFQQutIIXmjSG8OZZcacjLyWDKTIBsDVvIUE+NAL9K jN4vjtOu1rr5B0ftYtL+AXSBr8uzsQNkw8k+HX57Umo2m3qLzn51NiEW8Jj1mtrX8ouy HfGmz73Up+KKT5CjI7eVYrhIfivc8EqfDU+oYxc3LdTxo/4HUjM3y9yARa23ADBr4kZ5 44bPGTHjBSqWrJblE26CheWyXiGxPnP/w0WEnwQLLv+M8UeoDQtEezNFIAtnR6JZwHyy TAjr4MsfbHdYAJi7fNQrH3w874li0Qa+H0UXRVGMH7iTfkwTe68xpKtF4aR4Kd5uC7Mv 6hpw== X-Gm-Message-State: ALyK8tKegZpfGbK8em8UMFGe/VAL+csU7wy1D8gP16XOq9fs/1Gh69XZ4WeEUPINAeqQQw== X-Received: by 10.28.222.136 with SMTP id v130mr524410wmg.90.1467414997752; Fri, 01 Jul 2016 16:16:37 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id u145sm633844wmu.4.2016.07.01.16.16.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Jul 2016 16:16:37 -0700 (PDT) Sender: Baptiste Daroussin Date: Sat, 2 Jul 2016 01:16:36 +0200 From: Baptiste Daroussin To: Chris H Cc: freebsd-ports@freebsd.org Subject: Re: what to do when base openssl isn't suitable Message-ID: <20160701231636.hflccfi7mwnmbpqo@ivaldir.etoilebsd.net> References: <201607012141.u61LfYBN093987@gw.catspoiler.org> <19b788f5df8b3bf6e698418823613d9a@ultimatedns.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bbhzutijx2hoquuo" Content-Disposition: inline In-Reply-To: <19b788f5df8b3bf6e698418823613d9a@ultimatedns.net> User-Agent: Mutt/1.6.1-neo (2016-06-11) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2016 23:16:40 -0000 --bbhzutijx2hoquuo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 01, 2016 at 04:15:12PM -0700, Chris H wrote: > On Fri, 1 Jul 2016 14:41:34 -0700 (PDT) Don Lewis = wrote >=20 > > On 1 Jul, Miroslav Lachman wrote: > > > Don Lewis wrote on 07/01/2016 20:59: > > >> I've got a port that does not work with base openssl because it looks > > >> for libssl.pc. Other than that, I don't think it is picky about what > > >> flavor of ports ssl is installed. Because the default version of ssl > > >> still defaults to base, I don't see a way to get this port to build = on > > >> the cluster, so there is no way to provide binary packages. That's a > > >> problem for end users because this port has bunch of huge build > > >> dependencies. Thoughts? > > >=20 > > > There are already packages depending on ports OpenSSL because they ne= ed=20 > > > /usr/local/libdata/pkgconfig/libssl.pc (installed by openssl-1.0.2_14= )=20 > > > so I think you can make port depending on ports openssl. > > > See nginx for example. > > >=20 > > > .if defined(NGINX_OPENSSL) > > > USE_OPENSSL=3D yes > >=20 > > USE_OPENSSL is now deprecated and has been replaced by USES=3Dssl > >=20 > > > .if ${OSVERSION} < 1100000 > > > WITH_OPENSSL_PORT=3Dyes > >=20 > > WITH_OPENSSL_PORT is now deprecated. Even before that I don't think it > > was intended to be used in the port Makefile, only in /etc/make.conf. > > The suggested replacement is to put DEFAULT_VERSIONS+=3Dssl=3Dopenssl in > > /etc/make.conf. >=20 > Wouldn't something along the lines of >=20 > SSL_LIB_DEPENDS=3D libssl.pc:security/openssl >=20 libssl.pc? nothing will ever work with this line :) Best regards, Bapt --bbhzutijx2hoquuo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXdvnRAAoJEGOJi9zxtz5anMoP/RJfDk5n0jwDMzQ1IkjlHJuG GNidtROU19HbU/tJBMhq7qlWbSmTHG8ieBg9QvSaswpH4GgazWzXdFwZqP1xdZsn TlaWV/SybZmP/GRkzKPf+c5kE1zCfYMc56XxCQwDrrEkHCIyN5SL70nWzlVqulwd Uc2nABJ2a0Th/0z3VLLMtl50697RqysT67cmc1R2hzmY2n4NwZ11l2/ru/9fnqmT /XBWnG53dK2N8LcfQuKGwXd43X1WKjIXmgtPT7gony0U4zqokKyEFNS00/Ab5oys pILEHxEKIxacGQY6wd387aJ/0uut1Pl4cWoHhjX6/6NR+DWPMSggMIlSHoQ9a0pA 3AHl8l6CA4RoyCn0Qvgy+MACfAPjXgppp5FeCSlSMl7S03ERz/UuKT+25CsUvVqf GAdwW28KM0WQantogR5dJG/E9rc9ORSP1BNyndoOHybZM/yySlQgjun/VU0nvEvx Zty2AF8NF2hXHjfQbuo/+q9xA4iVIHMAEeFziIhu8GY9hXgvUENpVJ+4WRwdOa+C aMxuGPxP3J6K/7eSbafAV914jiF9ku7+hObPMRfmG0gpAM3BpbecUVrcW8gDgCfq XzJBDeBmmZ1oIIt8qlJ+PgRhV10CgciwHX4Mx0Poh5hfl/lfH+VnaA9n8vIdQ59R piy0Btdp2/ZF26RACRfV =dzRf -----END PGP SIGNATURE----- --bbhzutijx2hoquuo--