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

Florent Thoumie flz at xbsd.org
Fri Feb 4 10:41:53 PST 2005


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 at xbsd.org


More information about the freebsd-bugs mailing list