Date: Thu, 6 May 2021 13:49:06 +1000 From: Dima Panov <fluffy@FreeBSD.org> To: Chris <portmaster@bsdforge.com>, Yasuhiro Kimura <yasu@utahime.org> Cc: freebsd-ports@freebsd.org Subject: Re: Making a port to use OpenSSL of ports collection on FreeBSD 11.x Message-ID: <a4da2161-1d84-4dae-8be3-ae99305b6150@Canary> In-Reply-To: <154fe2a4cccad0fb69ef5215fe265456@bsdforge.com> References: <8151EFB0-635D-4648-AF0B-653E45584F1A@grem.de> <20210505.232208.1752175478734160028.yasu@utahime.org> <eb646c67dea5797baa51c22b54e50568@bsdforge.com> <20210506.011037.2056308540818173996.yasu@utahime.org> <154fe2a4cccad0fb69ef5215fe265456@bsdforge.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--60936732_46e87ccd_10d27 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Moin=21 Chris, your suggestion leads to dll hell due to mix-links between ssl lib= raries :( At least, your setup easily face up situation where one lib will be built= with =E2=80=9Cport openss=E2=80=9D and consumers still get a =E2=80=9Cba= se openssl=E2=80=9D. DE=46AULT=5FVERSION here is set to avoid a such situ= ation =E2=80=94 the whole ports collection should be linked with ONE ssl/= crypto library. -- Dima. (desktop, kde, x11, office, ports-secteam)=40=46reeBSD team (fluffy=40=46reeBSD.org, https://t.me/dima=5Fpanov) > On Thursday, May 06, 2021 at 6:26 AM, Chris <portmaster=40bsdforge.com = (mailto:portmaster=40bsdforge.com)> wrote: > On 2021-05-05 09:10, Yasuhiro Kimura wrote: > > =46rom: Chris <portmaster=40bsdforge.com> > > Subject: Re: Making a port to use OpenSSL of ports collection on =46r= eeBSD > > 11.x > > Date: Wed, 05 May 2021 08:03:00 -0700 > > > > > I ran into a similar situation requiring freebsd 11 users not use > > > SSL from base, and I simply used a conditional based against freebs= d > > > version, that also included a RUN=5FDEPENDS on security/openssl > > > Wouldn't that work in your case=3F > > > > > > --Chris > > > > Probably only adding security/openssl to *=5FDEPENDS isn't enough. If= > > you look at Mk/Uses/ssl.mk, you'll find the path of include files and= > > libraries are customized depending on which ssl stack is used. So you= > > also need to add similar custimizetion in Makefile of port avoding > > conflicts with the settings in Mk/Uses/ssl.mk. And it must be hard > > job. > Well unless something has changed significantly in that regard over > the last couple mos. I found it was enough to trap =24=7BOSREL:R=7D tar= geting > 11 && within that conditional add ssl=3Dopenssl > It worked a treat. You may find some additional clues in > bsd.default-versions.mk > > HTH > > --Chris > > > > --- > > Yasuhiro Kimura > > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > > freebsd-ports=40freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to =22freebsd-ports-unsubscribe=40freeb= sd.org=22 > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > freebsd-ports=40freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to =22freebsd-ports-unsubscribe=40freebsd= .org=22 --60936732_46e87ccd_10d27 Content-Type: application/pgp-signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: Canary PGP V3 iQJVBAABCgA/OBxEaW1hIFBhbm92IChGcmVlQlNELk9SRyBDb21taXR0ZXIpIDxm bHVmZnlARnJlZUJTRC5PUkc+BQJgk2cxAAoJEPuLoJ3VOY8p8OsQAOhClVCtfZ9N GKFEx1girABwc+Max/aRv0VqGoX6mzzg1Vu74NzyinJLfFWBco/ulc+ZipANsa3z 3GSwBnM6JY81AZOiaRJBsmn7nt0VvREexm8vId7Nz+ALAlxSo6qOz+9mPU4ZB1pu vrFA8wv7iFprLmjWbVGrD/fECw1xSQAqVtMpQXvVhppQ2+OEW4z1aukLalXSGrDX 7GeHW9DuMc5uROJj7No8Z8GpkwsfIBG17U+2SHrEyKAgLzva9Gr3wVfcWRWO1R+Z 4du5PKlrjpahUXrDZ5HQ550Sbv9HeoYieiCuq6fdgpNp1OGhcn3hqNJ9DNRUnGj2 fSU/lsXn6yTo052PTc5nQQyQVIMIe1gnBERtRkdBWO9qNlXpK5WYp7P7XG8q/Hvs Sf6a+6R/gLGEjl3fG7IX3IB4YPiEVpHYYuk5tdy3t+5IZfvkmx9OdFFdZ2fs7nm9 Mwr/4T0MPBd3WtLY7UeQKXCM9cNOTkvibAY+iUNpZQoW21mEvH2HfMC4ShosK+B1 LgtDjepiL6hTBE1GfBaIM+NKM2ppkVWSdgnRwsKbgFvACaH40MriCTzszpUE+UUI 5f1CR4meSASVviDkqy7VyeAzMZjNzMV37WqhBscGRSy5AymursOFBpbEqkkZwThj /lx0uLjh2ekVZUeiYvzOmI2TmpLyWmj0 =JeGx -----END PGP SIGNATURE----- --60936732_46e87ccd_10d27--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a4da2161-1d84-4dae-8be3-ae99305b6150>