From owner-freebsd-bugs@FreeBSD.ORG Fri Feb 4 18:32:54 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 0421816A4CE; Fri, 4 Feb 2005 18:32:54 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F0D443D41; Fri, 4 Feb 2005 18:32:53 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j14IZktW007060; Fri, 4 Feb 2005 10:35:46 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j14IZkZK007059; Fri, 4 Feb 2005 10:35:46 -0800 Date: Fri, 4 Feb 2005 10:35:46 -0800 From: Brooks Davis To: Florent Thoumie Message-ID: <20050204183546.GA5389@odin.ac.hmc.edu> References: <200502032350.j13NoKLF045837@freefall.freebsd.org> <42039BAA.2070900@xbsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42039BAA.2070900@xbsd.org> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu 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:32:54 -0000 On Fri, Feb 04, 2005 at 04:58:34PM +0100, Florent Thoumie wrote: > Here is a new version. > > I've renamed @dirrmie by @dirrmtry, which is more self-explanatory. 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. > @cpin and @rmiu have been replaced by @conf. > > @conf %%EXAMPLESDIR%%/etc/foo.conf etc/foo.conf > > is equivalent to : > > @unexec cmp -s %D/%%EXAMPLESDIR%%/etc/foo.conf %D/etc/foo.conf && rm -f > %D/etc/foo.conf > %%EXAMPLESDIR%%/etc/foo.conf > @exec [ -f %B/foo.conf ] || cp %B/%f %B/foo.conf Excellent. Have you thought about how to solve the boot strapping problems with pkg_install/pkg_delete? Our nominal pkg_install maintainer is MIA at the moment. -- Brooks