bin/77082: src/usr.sbin/pkg_install - Add 3 new macros to clean pkg-plist

Brooks Davis brooks at one-eyed-alien.net
Fri Feb 4 10:40:24 PST 2005


The following reply was made to PR bin/77082; it has been noted by GNATS.

From: Brooks Davis <brooks at one-eyed-alien.net>
To: Florent Thoumie <flz at xbsd.org>
Cc: FreeBSD-gnats-submit at freebsd.org, freebsd-bugs at freebsd.org,
	hq at 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


More information about the freebsd-bugs mailing list