From owner-freebsd-bugs@FreeBSD.ORG Fri Feb 4 18:41:53 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8172E16A4CE; Fri, 4 Feb 2005 18:41:53 +0000 (GMT) Received: from gate.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 174E543D45; Fri, 4 Feb 2005 18:41:53 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by gate.xbsd.org (Postfix) with ESMTP id A16E2119F6; Fri, 4 Feb 2005 19:44:04 +0100 (CET) Received: from gate.xbsd.org ([127.0.0.1]) by localhost (gate.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08749-06; Fri, 4 Feb 2005 19:43:58 +0100 (CET) Received: from [192.168.42.2] (gatecrasher.xbsd.org [192.168.42.2]) by gate.xbsd.org (Postfix) with ESMTP id 46D20119DE; Fri, 4 Feb 2005 19:43:57 +0100 (CET) Message-ID: <4203C1D9.5090108@xbsd.org> Date: Fri, 04 Feb 2005 19:41:29 +0100 From: Florent Thoumie User-Agent: Mozilla Thunderbird 1.0 (X11/20050131) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brooks Davis References: <200502032350.j13NoKLF045837@freefall.freebsd.org> <42039BAA.2070900@xbsd.org> <20050204183546.GA5389@odin.ac.hmc.edu> In-Reply-To: <20050204183546.GA5389@odin.ac.hmc.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at xbsd.org cc: freebsd-bugs@freebsd.org cc: FreeBSD-gnats-submit@freebsd.org cc: hq@freebsd.org Subject: Re: bin/77082: src/usr.sbin/pkg_install - Add 3 new macros to clean pkg-plist X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2005 18:41:53 -0000 Brooks Davis wrote: > It seems like dirrmtry should take an optional message to emit if the > event that the directory can not be delete. That way the user can be > informed that the directory should be removed if they are really done > using the port. I asked myself if I should put this feature in my patch and I finally haven't because it required some extra-stuff (handling optional arguments for @ commands is painful), and a simple '@unexec [ -d ${PREFIX}/etc ] && echo ...' is easier I guess. But that's no problem for me to include that if everybody thinks it worth it. > Have you thought about how to solve the boot strapping problems with > pkg_install/pkg_delete? I have absolutely no idea what you're talking about, I started looking at pkg_install source yesterday at night. Could you give me some pointers about that ? > Our nominal pkg_install maintainer is MIA at the moment. Ok, actually I knew eik has been working on it, but I didn't know who was the active maintainer now. I have thought of a new purge command, that would act like dpkg --purge on Debian but AFAIK that would be impossible since it would need persistent package records (that still exists after a package has been removed as long as we have some configuration files for this port in the tree). -- Florent Thoumie flz@xbsd.org