From owner-freebsd-bugs@FreeBSD.ORG Fri Feb 4 18:40:24 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77C5016A4CE for ; Fri, 4 Feb 2005 18:40:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C59743D3F for ; Fri, 4 Feb 2005 18:40:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j14IeOZ9009077 for ; Fri, 4 Feb 2005 18:40:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j14IeOta009076; Fri, 4 Feb 2005 18:40:24 GMT (envelope-from gnats) Date: Fri, 4 Feb 2005 18:40:24 GMT Message-Id: <200502041840.j14IeOta009076@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Brooks Davis 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 Reply-To: Brooks Davis List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2005 18:40:24 -0000 The following reply was made to PR bin/77082; it has been noted by GNATS. From: Brooks Davis To: Florent Thoumie Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org, hq@freebsd.org Subject: Re: bin/77082: src/usr.sbin/pkg_install - Add 3 new macros to clean pkg-plist Date: Fri, 4 Feb 2005 10:35:46 -0800 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