From owner-freebsd-ports@FreeBSD.ORG Thu Apr 10 13:07:56 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 AE08ACFF; Thu, 10 Apr 2014 13:07:56 +0000 (UTC) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 702811119; Thu, 10 Apr 2014 13:07:56 +0000 (UTC) Received: by mail-ig0-f169.google.com with SMTP id h18so758632igc.2 for ; Thu, 10 Apr 2014 06:07:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Ba392YAY9yjHlOIipXaPjTmVeWvQFuQ8L0SJBe2vrhQ=; b=rYRr8MEsgr66019AzYJRgvV7/LQ6O9DNtHopNb8oo7JUbud1rcHvlyty1i7mfcjPp1 nVYAl4vNPHGTmwz0wfF9hBDQHlh7g5jiwj/ozUX2b3ZZ059A8DJ+Z2Bs1nX9c/DV9m4b /nqsmnt2XRMULAARW+OvDedn4d2wDY1DrttbsGW0J2quB59Qb0Z5uuH7DErLkHKO0241 TPoNIX6oBqwrL6M6zL/iQtFj1koNmEVQ2VN1ZUb2AVLpsx4jCklzYZzQ8hsBsJmGKd3t sOGm2Gu3N/17tMfkjnvmQsC9fskHRJhGu2MqLt/A2DLLqpL4gvGTnrX+kR0nyxEQzN33 ex0w== MIME-Version: 1.0 X-Received: by 10.42.16.199 with SMTP id q7mr12737039ica.16.1397135275757; Thu, 10 Apr 2014 06:07:55 -0700 (PDT) Received: by 10.50.7.74 with HTTP; Thu, 10 Apr 2014 06:07:55 -0700 (PDT) In-Reply-To: References: <534527D6.5000802@marino.st> <534590B7.8050805@marino.st> Date: Thu, 10 Apr 2014 08:07:55 -0500 Message-ID: Subject: Re: Repair pkgng From: Scot Hetzel To: Melvyn Sopacua Content-Type: text/plain; charset=ISO-8859-1 Cc: Kevin Oberman , marino@freebsd.org, 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 13:07:56 -0000 On Thu, Apr 10, 2014 at 5:45 AM, Melvyn Sopacua wrote: > 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. > > Portmaster is not breaking hier(7). Portmaster was originally designed to use the old pkg tools (pkg_install, ...), it has ALWAYS placed it's files (PM_UPGRADE_DONE_FLAG, +IGNOREME, distfiles) in /var/db/pkg/${PKGNAME}. The options framework is relatively new in regards to portmaster, as portmaster was created before the options framework existed. >> 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. > -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.