Hi, On Fri, Aug 1, 2008 at 12:04 AM, Marcin Wisnicki <[EMAIL PROTECTED]> wrote: > > Looking at your use cases I think what you are proposing is overkill. > > * Install some large group of packages, like KDE or GNOME. Don't like it, > want to delete all packages installed during the operation. > > This could be achieved by tracking which ports were installed explicitly > by user. I.e. when I type: > (cd /usr/ports/x11/gnome2; make install) > or > pkg_add -r gnome2 > > It will install gnome2 along with it's dependencies but in some way mark > gnome2 package as installed by user, say, by creating /var/db/pkg/ > gnome2-2.22/+USER_INSTALLED or even easier, by maintaing some special > unremovable dummy package that would depend on all packages installed > explicitly.
In the pkg_improved project <http://wiki.freebsd.org/AndersNore/pkg_improved>, Anders plan to add some new fields. Maybe he could add the "USER_INSTALLED" too :) > > Then when you decide you want to get rid of gnome something like this > could be implemented: > > pkg_deinstall -Ru gnome2-2.22 > > where option 'R' (already exists in pkg_deinstall but could be added to > pkg_delete) means "Deinstall all those packages required by the given > packages as well." and option 'u' would be something like "keep packages > installed explicitly". > > I think similar solution is/was used in Gentoo. > I like this way sooooo much ! IMHO, it is the occasion to add these features in the userland, and by the way rewrite the pkg_tools according to these ideas : http://www.freebsd.org/projects/ideas/#p-ports-pkgtools / http://wiki.freebsd.org/libpkg http://www.freebsd.org/projects/ideas/#p-ports-upgrade Regards, Julien _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"