From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 17 17:01:17 2005 Return-Path: X-Original-To: freebsd-ports-bugs@freebsd.org Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E302C16A41F for ; Thu, 17 Nov 2005 17:01:16 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06BCE43D5F for ; Thu, 17 Nov 2005 17:01:06 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: by wproxy.gmail.com with SMTP id i5so188326wra for ; Thu, 17 Nov 2005 09:01:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=sC9d6jQ/e/TOpvXhXAFwYngLLZ0+nwzDB6c5R6HrpLkmJbPth0wsfT3CwdlwkxZ42xHrGRSq0+9d86eZoa2i4Mg3GWdnpuAMGLgDzAX1ualY7T4eUg8hXv5QgGnCHkNjUK9Hurk6aSJU8qWhy9Edv9Es1dmBr9PmJ7SCpO4WnP4= Received: by 10.54.79.7 with SMTP id c7mr722777wrb; Thu, 17 Nov 2005 09:00:49 -0800 (PST) Received: from ?192.168.1.10? ( [71.102.14.129]) by mx.gmail.com with ESMTP id d16sm458084wra.2005.11.17.09.00.59; Thu, 17 Nov 2005 09:01:00 -0800 (PST) From: "Michael C. Shultz" To: freebsd-ports-bugs@freebsd.org, pav@freebsd.org Date: Thu, 17 Nov 2005 08:51:41 -0800 User-Agent: KMail/1.8.3 References: <200511171540.jAHFeJSL017500@freefall.freebsd.org> <200511170832.06601.ringworm01@gmail.com> <1132245985.79514.32.camel@localhost> In-Reply-To: <1132245985.79514.32.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511170851.42444.ringworm01@gmail.com> Cc: Subject: Re: ports/89164: [PATCH] /var/db/pkg/{portname}/+CONTENTS files sometimes contain wrong data X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2005 17:01:17 -0000 On Thursday 17 November 2005 08:46, Pav Lucistnik wrote: > > > > > Could you send the standalone bsd.port.mk patch to this PR? > > > > > > > > Sorry, should have said where it was, gets put > > > > into /usr/local/share/portmanager but I'll attach the patch to this > > > > message anyways. > > > > > > So this incorporates your portmanager into bsd.port.mk? I'm afraid we > > > can't possibly include this in the official ports tree without making > > > portmanager part of base system, do we? > > > > > > What kind of feedback you're expecting from us, then? > > > > Most important is that you recognize there is a problem with > > how +CONTENTS files are generated. > > Yes, there is a long standing problem and we're aware of it. Sadly, no > workable solution was submitted so far (at least I haven't found any PR > filed against it). Well portmanager in base would solve the problem. I'd say I could just pull out the portion that generates the list but portmanager is very integrated so that would be a lot of work for no really good reason. It would be easy to name it something else and disable unneeded features however..... > > > Wether or not you all choose to make portmanager as a part > > of the base system is up to you all, I really just wanted to let > > you know that when portmanager is installed in a user system > > I'd like it to make the adjustment to bsd.ports.mk. If portmanager > > is removed I'll make sure it smoothly returns bsd.ports.mk > > to a usefull state as part of the deinstall process. > > You're free to do whatever you want in your software. Just note that you > have to patch bsd.ports.mk every time user cvsuped the tree, not only on > portmanager install/deinstall. It checks for make -V PORTMANGER output every time a port is upgraded/rebuilt, if no output it reapplies the patch. The thing to be aware of though is while the patch is in bsd.ports.mk any time a port is registered at installation time it will be portmanager making the packing list, even if the port is manually installed or with portupgrade. I'd like to leave the behavior that way if it is ok with you, if not I can have it revert the patch after each port is installed and registered so that whenever portmanager is'nt being used bsd.port.mk is in its original state. -Mike