Date: Sun, 5 May 2024 08:45:10 -0700 From: Yuri Victorovich <yuri@FreeBSD.org> To: Baptiste Daroussin <bapt@nours.eu>, ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: 4251c2a2ddb5 - main - net/torsocks: Fix USE_LDCONFIG Message-ID: <24173111-6ae2-43ad-b007-9529cae4d11d@FreeBSD.org> In-Reply-To: <EAF894AB-1F35-4994-917B-1D1F68DE10AB@nours.eu> References: <202405050830.4458UqAj096937@gitrepo.freebsd.org> <EAF894AB-1F35-4994-917B-1D1F68DE10AB@nours.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Baptiste, On 5/5/24 03:26, Baptiste Daroussin wrote: > Why this is wrong and USE_LDCONFIG should not be used at all, it is > meant to be used via LD_PRELOAD > Why this is wrong because USE_LDCONFIG=yes adds $PREFIX/lib to ldconfig path, while this port installs shared libraries into a different directory. > USE_LDCONFIG should not be used at all, it is meant to be used via LD_PRELOAD It is mostly used via LD_PRELOAD, but dependent package developers can also decide to link to it permanently, for example for security reasons. So IMO USE_LDCONFIG should be present in this port. Thanks, Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?24173111-6ae2-43ad-b007-9529cae4d11d>