From owner-freebsd-ports@FreeBSD.ORG Tue Apr 1 01:32:12 2014 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 85E87D5C; Tue, 1 Apr 2014 01:32:12 +0000 (UTC) Received: from pacha.mail.dyslexicfish.net (space.mail.dyslexicfish.net [91.109.5.35]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 226AFE94; Tue, 1 Apr 2014 01:32:11 +0000 (UTC) Received: from catnip.dyslexicfish.net (space.mail.dyslexicfish.net [91.109.5.35]) by pacha.mail.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id s311W9sl031912; Tue, 1 Apr 2014 02:32:09 +0100 (BST) (envelope-from jamie@catnip.dyslexicfish.net) Received: (from jamie@localhost) by catnip.dyslexicfish.net (8.14.5/8.14.5/Submit) id s311W93M031911; Tue, 1 Apr 2014 02:32:09 +0100 (BST) (envelope-from jamie) Date: Tue, 1 Apr 2014 02:32:09 +0100 (BST) From: Jamie Landeg-Jones Message-Id: <201404010132.s311W93M031911@catnip.dyslexicfish.net> To: bdrewery@FreeBSD.org, ports@FreeBSD.org, wg@FreeBSD.org Subject: Freebsd port security/gnutls3 problems X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (pacha.mail.dyslexicfish.net [91.109.5.35]); Tue, 01 Apr 2014 02:32:10 +0100 (BST) Cc: jamie@catnip.dyslexicfish.net 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:32:12 -0000 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 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. 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