From owner-freebsd-ports@FreeBSD.ORG Tue Apr 1 07:04:42 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 C4F3CB03; Tue, 1 Apr 2014 07:04:42 +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 59F0A8DD; Tue, 1 Apr 2014 07:04:37 +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 s3174Y4U041825; Tue, 1 Apr 2014 08:04:34 +0100 (BST) (envelope-from jamie@catnip.dyslexicfish.net) Received: (from jamie@localhost) by catnip.dyslexicfish.net (8.14.5/8.14.5/Submit) id s3174XBi041824; Tue, 1 Apr 2014 08:04:33 +0100 (BST) (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <201404010704.s3174XBi041824@catnip.dyslexicfish.net> Date: Tue, 01 Apr 2014 08:04:33 +0100 To: jamie@dyslexicfish.net, bdrewery@FreeBSD.org Subject: Re: Freebsd port security/gnutls3 problems References: <201404010132.s311W93M031911@catnip.dyslexicfish.net> <72DF67C3-9F38-4723-9255-8D2FEEF9CA99@FreeBSD.org> In-Reply-To: <72DF67C3-9F38-4723-9255-8D2FEEF9CA99@FreeBSD.org> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 08:04:34 +0100 (BST) 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 07:04:42 -0000 Bryan Drewery wrote: Bryan, thanks for the quick reply, and apologies for my duplicate post cock-up. > > 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. Cool. You probably want to close this: http://www.freebsd.org/cgi/query-pr.cgi?pr=186785 Incidently, obviously I mean the pkgconf 'pkg-config' and not the one from 'pkg', though please note than a manpage lookup on pkg-config gives the latter, even though the command-line uses the former. I see that pkg-config can accept more than one package-name at a time, and effectively concatenates the results. I suppose a nice fix would be to patch pkgconf to accept package-names seperated with the OR operator, and for it to automatically choose the latest one... Or even better, make the pkgconf system automatically intelligently work with different versions of the same package. e.g. storing the pkgconfig data files as ..pc instead of the current .pc but I guess this would be down to the 'freedesktop.org' guys.... Sorry, going off on a tangent! Thanks again, Jamie