Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2014 20:52:06 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Jamie Landeg-Jones <jamie@dyslexicfish.net>
Cc:        "ports@FreeBSD.org" <ports@FreeBSD.org>, "jamie@catnip.dyslexicfish.net" <jamie@catnip.dyslexicfish.net>, "wg@FreeBSD.org" <wg@FreeBSD.org>, "novel@freebsd.org" <novel@freebsd.org>
Subject:   Re: Freebsd port security/gnutls3 problems
Message-ID:  <72DF67C3-9F38-4723-9255-8D2FEEF9CA99@FreeBSD.org>
In-Reply-To: <201404010132.s311W93M031911@catnip.dyslexicfish.net>
References:  <201404010132.s311W93M031911@catnip.dyslexicfish.net>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Mar 31, 2014, at 20:32, Jamie Landeg-Jones <jamie@dyslexicfish.net> wro=
te:
>=20
> Hi. Many ports that require gnutls fail if security/gnutls3 and not
> security/gnutls are installed.
>=20
> ( E.G. http://www.freebsd.org/cgi/query-pr.cgi?pr=3D186785 )
>=20
> 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
>=20
> Then, the ports themselves fail to build as pkg-config looks
> for "gnutls" whilst only "gnutls3" exists.
>=20
> As far as I can see, the options are:
>=20
> 1) Make ports depend on a particular library revision,
>   so pulling in security/gnutls
>=20
> or:
>=20
> 2) Replace gnutls with gnutls3

We will be doing (2) soon.

>=20
> or:
>=20
> 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.

>=20
> I don't know the roadmap for depreciating gnutls2 but if it's a
> while yet, I'd guess option 3) is the best?
>=20
> Any thoughts?
>=20
> Cheers,
>        Jamie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?72DF67C3-9F38-4723-9255-8D2FEEF9CA99>