From owner-freebsd-ports@FreeBSD.ORG Thu Apr 10 18:38:17 2014 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 D23C028C; Thu, 10 Apr 2014 18:38:17 +0000 (UTC) Received: from shepard.synsport.net (mail.synsport.com [208.69.230.148]) (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 90F7814F7; Thu, 10 Apr 2014 18:38:17 +0000 (UTC) Received: from [192.168.0.20] (unknown [130.255.19.191]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by shepard.synsport.net (Postfix) with ESMTP id 54E8043B4E; Thu, 10 Apr 2014 13:38:01 -0500 (CDT) Message-ID: <5346E4F9.8030205@marino.st> Date: Thu, 10 Apr 2014 20:37:45 +0200 From: John Marino User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Baptiste Daroussin , Dominic Fandrey Subject: Re: New port, what's next? References: <5346D5AF.5070905@bsdforen.de> <20140410182839.GB29301@ivaldir.etoilebsd.net> In-Reply-To: <20140410182839.GB29301@ivaldir.etoilebsd.net> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Helmut Schneider , freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: marino@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2014 18:38:17 -0000 On 4/10/2014 20:28, Baptiste Daroussin wrote: > On Thu, Apr 10, 2014 at 07:32:31PM +0200, Dominic Fandrey wrote: >> >> On 10/04/2014 18:53, Helmut Schneider wrote: >>> I created a new port, Typo3-LTS. The tgz contains >>> >>> - Makefile >>> - distinfo >>> - pkg-plist >>> - pkg-descr >>> - a diff from www/typo3 >>> >>> The file has ~150kB so I assume it's to big for a PR. >> >> I assume the bulk of that is the pkg-plist. The largest pkg-plist >> in the ports tree is 4M. In my opinion huge plists should be dynamically >> generated, but in your case I'd just I'd just temp-host the file >> somewhere and file a PR with a link and a checksum. >> > Autoplist are harmful! and should be avoided as much as possible, I know python > and ruby has it but I m really not happy about that > > autoplist is dangerous because we have no way to control that what is package is > what the maintainer expect to be packaged! therefore we often end up with > unoticed problems Yes, but 6,000 - 20,000 line plists are unwieldy to say the least. And the danger can be mitigated by the maintainer by reviewing the internal temporary package list, ideally on multiple platforms. Also some plists are really hard to make manually if there are many options or if the plist morphs depending on the combination of options. yes, a safety net is removed with a generated plist but it has it's place. The maintainer just has to be vigilant. John