From owner-freebsd-ports@FreeBSD.ORG Tue Apr 1 01:52:09 2014 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5C6EDF6 for ; Tue, 1 Apr 2014 01:52:09 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 413EBFF3 for ; Tue, 1 Apr 2014 01:52:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s311q8Hw054360 for ; Tue, 1 Apr 2014 01:52:08 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s311q84H054356 for ports@FreeBSD.org; Tue, 1 Apr 2014 01:52:08 GMT (envelope-from bdrewery) Received: (qmail 33776 invoked from network); 31 Mar 2014 20:52:06 -0500 Received: from unknown (HELO ?10.10.1.245?) (freebsd@shatow.net@10.10.1.245) by sweb.xzibition.com with ESMTPA; 31 Mar 2014 20:52:06 -0500 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Freebsd port security/gnutls3 problems From: Bryan Drewery X-Mailer: iPhone Mail (11D167) In-Reply-To: <201404010132.s311W93M031911@catnip.dyslexicfish.net> Date: Mon, 31 Mar 2014 20:52:06 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <72DF67C3-9F38-4723-9255-8D2FEEF9CA99@FreeBSD.org> References: <201404010132.s311W93M031911@catnip.dyslexicfish.net> To: Jamie Landeg-Jones Cc: "ports@FreeBSD.org" , "jamie@catnip.dyslexicfish.net" , "wg@FreeBSD.org" , "novel@freebsd.org" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2014 01:52:09 -0000 > On Mar 31, 2014, at 20:32, Jamie Landeg-Jones 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