From owner-freebsd-ports@FreeBSD.ORG Thu Apr 10 10:45:37 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2A730F2C; Thu, 10 Apr 2014 10:45:37 +0000 (UTC) Received: from fire.magemana.nl (magemana.nl [77.72.149.204]) by mx1.freebsd.org (Postfix) with ESMTP id DE3971259; Thu, 10 Apr 2014 10:45:36 +0000 (UTC) Received: by fire.magemana.nl (Postfix, from userid 1003) id 448CC4ABC54; Thu, 10 Apr 2014 12:45:35 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by fire.magemana.nl (Postfix) with ESMTP id 409BA4ABC51; Thu, 10 Apr 2014 12:45:35 +0200 (CEST) Date: Thu, 10 Apr 2014 12:45:35 +0200 (CEST) From: Melvyn Sopacua To: marino@freebsd.org Subject: Re: Repair pkgng In-Reply-To: <534590B7.8050805@marino.st> Message-ID: References: <534527D6.5000802@marino.st> <534590B7.8050805@marino.st> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Kevin Oberman , FreeBSD Ports mailing list , Jakob Breivik Grimstveit 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: Thu, 10 Apr 2014 10:45:37 -0000 Hi, On Wed, 9 Apr 2014, John Marino wrote: >> This still doesn't make sense. Distfiles are of no concern to binary >> packages, so why would I continue to clutter /var/db/pkg with a large >> tree of directories that is then duplicated to /var/db/ports? >> What problem in portmaster or the options framework was solved by moving >> this? > > If the portmaster-created "distfiles" bother you, stop using portmaster, > perhaps? It seems superfluous to me anyway; I don't get why people feel > they need it with pkg. I already did a while back. Yet, it's still the recommended tool in the handbook if I'm not mistaken. FreeBSD has also always adhered to a sensible hier(7), which portmaster is now breaking. > > IFAIK, options has always been in /var/db/ports, this is not new. It > didn't get moved. Correct. Portmaster moved it's distfiles file. > I'm not sure what you are trying to achieve with the "what problem was > solved" line of questioning. If it were moved, are you trying to get it > moved back? What's the goal here? Yeah. One of the advantages and early implementation goals of pkg(1) was to reduce clutter in /var/db/pkg. Secondly, 70-80% of common ports now use an options file (think DOCS, EXAMPLES, NLS), so the chance that /var/db/ports/portname already exists is pretty high. Why then reintroduce files/directories in /var/db/pkg that affect both port building and deployment? I don't understand what the upside to this change in portmaster is and thus assume that it solved an issue. -- Melvyn