From owner-freebsd-ports@FreeBSD.ORG Thu Nov 14 17:19:56 2013 Return-Path: Delivered-To: freebsd-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 C7F94307 for ; Thu, 14 Nov 2013 17:19:56 +0000 (UTC) Received: from mail-wg0-x235.google.com (mail-wg0-x235.google.com [IPv6:2a00:1450:400c:c00::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5FC392CD2 for ; Thu, 14 Nov 2013 17:19:56 +0000 (UTC) Received: by mail-wg0-f53.google.com with SMTP id b13so2376373wgh.32 for ; Thu, 14 Nov 2013 09:19:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=6UmXO9RbKB/Dw0e3DcXEtQvel+yewlRyfrEgBr+gsEU=; b=bASBYM1PfWU53cuAjOSfNB73yHFaLfPUb6QxMzgvAzWNwYn49bb1+lRTx/KYXOizPA tjuYNdNl0fvXW03GlrtRU9KXtfcsyVkIWXOsSkxnVq7ThgGdMyM2nS52cIrZwzCsmJLV 3d996LDGvfklxFXn9+/pPmRy2vFyMbm4V5PdAQ8KbswAiEhe65YidPP6oqNzGeHqC54c a54jvZwLrhrjEWfkybHY0aVk4eNSku+UVTDswfZDodpbdlaTudQ2RivD2tDLwBZt/fXg hzamKfmUFQRToJ34sLHt4RlqNC7m5XOG6YZ3dlRQVcOcRGo/cxjCD+AwQtzz2Wo0iIRT ZIVA== X-Received: by 10.180.211.71 with SMTP id na7mr3830217wic.5.1384449594711; Thu, 14 Nov 2013 09:19:54 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id pi6sm653180wic.3.2013.11.14.09.19.52 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 14 Nov 2013 09:19:53 -0800 (PST) Sender: Baptiste Daroussin Date: Thu, 14 Nov 2013 18:19:50 +0100 From: Baptiste Daroussin To: Kris Moore Subject: Re: Proposal for Authors / Vendors in ports Message-ID: <20131114171950.GN56153@ithaqua.etoilebsd.net> References: <5283E4A0.6090107@pcbsd.org> <20131114073008.GG90670@droso.dk> <20131114083917.GL56153@ithaqua.etoilebsd.net> <5285042F.4050501@pcbsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="N/GrjenRD+RJfyz+" Content-Disposition: inline In-Reply-To: <5285042F.4050501@pcbsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2013 17:19:56 -0000 --N/GrjenRD+RJfyz+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 14, 2013 at 12:11:11PM -0500, Kris Moore wrote: >=20 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > On 11/14/2013 03:39, Baptiste Daroussin wrote: > > On Thu, Nov 14, 2013 at 08:30:08AM +0100, Erwin Lansing wrote: > >> On Wed, Nov 13, 2013 at 04:47:20PM -0500, Eitan Adler wrote: > >>> On Wed, Nov 13, 2013 at 3:27 PM, Melvyn Sopacua > wrote: > >>>> On Wed, 13 Nov 2013, Kris Moore wrote: > >>>> > >>>>> > >>>>> Wanted to run this by the ports community, see your thoughts. We bu= ild > >>>>> our PBIs from the ports system, and are able to parse most of the > >>>>> information out for display graphically, like descriptions, > maintainers, > >>>>> website, License, etc. However we currently don't have a way to > pull the > >>>>> actual name of the upstream vendor / author. I.E. for Firefox the > vendor > >>>>> would be "Mozilla". > >>>> > >>>> > >>>> WWW: [Mozilla](http://www.mozilla.org/) > >>>> > >>>> So, markdown format in pkg-descr. Seems the least amount of work? > >>> > >>> This adds a lot of work to the parser. > >>> > >>> IMHO we should have VENDOR_WWW and possibly VENDOR_NAME in the port's > >>> Makefile. It should not be hard to automate this for VENDOR_WWW since > >>> we already have the WWW: lines in pkg-descr. > >>> > >> > >> That sounds like an excellent idea. I'm just a bit worried about > >> spreading the information over too many places, and would rather split > >> content from logic and add these to pkg-descr as well next to the > >> current WWW. I know we're not consistent already with things like > >> COMMENT and LICENSE already in the Makefile, so won't ojbect too much = to > >> where these end up. > >> > >> Erwin > >> > > That is easy to fix: > > VENDOR=3D MOZILLA > > MOZILLA_VENDOR_NAME=3D mozilla > > MOZILLA_VENDOR_WWW=3D http://www.mozilla.org/ > > > > and a bsd.vendor.mk the same way we have bsd.options.mk > > > > if MOZILLA_VENDOR_NAME and MOZILLA_VENDOR_WWW are already in > bsd.vendor.mk the > > port just have to specify VENDOR: MOZILLA > > > > Don't know if it is worth capitalizing :) > > > > regards, > > Bapt >=20 > This seems a great way to do it. I'm not picky as to how its done, just > as long as in PKGNG I can use pkg query '%foo' and pull the information ;) >=20 What can be done is to automatically add it into annotations, so querying annotation should give you the right information :) regards, Bapt --N/GrjenRD+RJfyz+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlKFBjYACgkQ8kTtMUmk6EzTCQCgsHFglLTYWHBBRlCdx6B8WWX+ 0vAAn0+CQzu4EXPhw5uzgRAlCJEqTo03 =FSPI -----END PGP SIGNATURE----- --N/GrjenRD+RJfyz+--