From owner-freebsd-ports@FreeBSD.ORG Fri Nov 15 08:26:01 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 D583A251 for ; Fri, 15 Nov 2013 08:26:01 +0000 (UTC) Received: from nm4-vm5.bullet.mail.ir2.yahoo.com (nm4-vm5.bullet.mail.ir2.yahoo.com [212.82.96.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E69F526D0 for ; Fri, 15 Nov 2013 08:26:00 +0000 (UTC) Received: from [212.82.98.55] by nm4.bullet.mail.ir2.yahoo.com with NNFMP; 15 Nov 2013 08:25:52 -0000 Received: from [46.228.39.94] by tm8.bullet.mail.ir2.yahoo.com with NNFMP; 15 Nov 2013 08:25:52 -0000 Received: from [127.0.0.1] by smtp131.mail.ir2.yahoo.com with NNFMP; 15 Nov 2013 08:25:52 -0000 X-Yahoo-Newman-Id: 52026.65421.bm@smtp131.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: FkuVHY0VM1lbviTFiTCgdDOew9BqkgdcYe271GFSgaqRynu lplx89M5jVM8bsRU0dz_dxzkgOcZb8zJWiJ8R75Ni__TQ10y7V_uhhfKBhOV NMIyEshGSNfKMevXoLgb2BiZ3KH5Jv7kvNkRySjiulgasCvN1onkXlXTHL_m YRPN7JVHMSHOYSG7Om0CSyxKTOsAQb2RTGYaobAchgcfPzzBufvYzY83ikMe 1CRV4t.fjMKY3I9fwWVMnS124TLcHu4TUmXySCNvPLUNHzYqMRPeW1FfWabu QtKg3XsNHkoAOPepytPrMgq6ULYZXDpgQNS9RTWcReKJd3at6Z5nev4mUGSO USRiZPbbagKT8e0jJyWwUTVB7bGdedWbIgF5T8RNrLoF0jgxqti9z8_lgQ04 16BrCjPr6JX1VosBpHZNFULEEQhEzua_xg4G_o86w8MNielBXEBWURl1Rwlz _vAC7t2YotzUt9b7fgEj9dCVFI8a4cnSI690Q4dkgwqTpox_fODXJ_KJZa3O qU91EigNFh8GuCSsC2dLkMpMOAC8- X-Yahoo-SMTP: iDf2N9.swBDAhYEh7VHfpgq0lnq. X-Rocket-Received: from [192.168.119.11] (se@84.154.100.25 with ) by smtp131.mail.ir2.yahoo.com with SMTP; 15 Nov 2013 08:25:51 +0000 UTC Message-ID: <5285DA85.3040008@freebsd.org> Date: Fri, 15 Nov 2013 09:25:41 +0100 From: Stefan Esser User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: Proposal for Authors / Vendors in ports References: <5283E4A0.6090107@pcbsd.org> <20131114073008.GG90670@droso.dk> <9D6E2358-4750-41D5-9B8C-F638C8B1E351@xs4all.nl> <5285CC00.6010800@FreeBSD.org> In-Reply-To: <5285CC00.6010800@FreeBSD.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Fri, 15 Nov 2013 08:26:02 -0000 Am 15.11.2013 08:23, schrieb Matthew Seaman: > On 15/11/2013 00:54, Eitan Adler wrote: >> On Thu, Nov 14, 2013 at 5:41 PM, Jaap Akkerhuis >> wrote: >>> >>> On Nov 14, 2013, at 8:30, Erwin Lansing >>> wrote: >>> >>>> 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. >>> >>> Apart from spreading this information into to many places >>> (pkg_desc seams a proper place to have such information), why >>> have the Makefile double up as a database? >> >> pkg_descr is free form. Makefiles are parsable (make -V). > > pkg_descr is only as free-form as we define it to be. It's a lot > quicker to parse out the WWW entry from pkg_descr than it is to > run 'make -V' to extract values from port Makefiles. That's > because make includes and parses a whole stack of different files > from /usr/ports/Mk and elsewhere and does a bunch of other > processing -- takes about 200ms per port just to print out the > variables used in the INDEX. > > So, unless the variable is needed as part of the build process for > a port putting it in pkg_decr makes sense to me. This could > include some well-known values like MAINTAINER if we want to go > that far. Two comments: 1) I think that pkg-descr contains information about the ported software, not the port. I.e. the web-site, the organisation, or the license are good candidates for pkg-descr. The maintainer or other information that does not relate to the ported software itself but just to how it is managed in the FreeBSD ports tree should be kept in some other place. (IMHO) 2) If meta-information is moved to pkg-descr, it might be worthwhile to add some knowledge about formats and restrictions to portlint. Regards, STefan