Date: Sat, 2 Jul 2016 01:16:36 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Chris H <bsd-lists@bsdforge.com> Cc: freebsd-ports@freebsd.org Subject: Re: what to do when base openssl isn't suitable Message-ID: <20160701231636.hflccfi7mwnmbpqo@ivaldir.etoilebsd.net> In-Reply-To: <19b788f5df8b3bf6e698418823613d9a@ultimatedns.net> References: <201607012141.u61LfYBN093987@gw.catspoiler.org> <19b788f5df8b3bf6e698418823613d9a@ultimatedns.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <truckman@FreeBSD.org> = 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160701231636.hflccfi7mwnmbpqo>