Freebsd port security/gnutls3 problems
Bryan Drewery
bdrewery at FreeBSD.org
Tue Apr 1 01:52:09 UTC 2014
> On Mar 31, 2014, at 20:32, Jamie Landeg-Jones <jamie at dyslexicfish.net> wrote:
>
> Hi. Many ports that require gnutls fail if security/gnutls3 and not
> security/gnutls are installed.
>
> ( E.G. http://www.freebsd.org/cgi/query-pr.cgi?pr=186785 )
>
> Whilst seemingly gnutls and gnutls3 can co-exist, the ports
> that depend on gnutls being installed pass the lib dependency
> when seeing the gnutls3 install, so therefore don't pull in
> security/gnutls
>
> Then, the ports themselves fail to build as pkg-config looks
> for "gnutls" whilst only "gnutls3" exists.
>
> As far as I can see, the options are:
>
> 1) Make ports depend on a particular library revision,
> so pulling in security/gnutls
>
> or:
>
> 2) Replace gnutls with gnutls3
We will be doing (2) soon.
>
> or:
>
> 3) Use a bit of bsd.port.Mk magic to handle this situation - so that
> if only gnutls3 is installed, the port will build correctly
> against it.
Perhaps we can fix it in the short term too.
>
> I don't know the roadmap for depreciating gnutls2 but if it's a
> while yet, I'd guess option 3) is the best?
>
> Any thoughts?
>
> Cheers,
> Jamie
More information about the freebsd-ports
mailing list