Hi ports, pkg_mgr is a new user-friendly graphical tool to manage installed packages, browse available packages by categories, and finally install/uninstall packages. At the moment, only a simple curses interface is available, but a Gtk2 GUI is planned soon. It is in no way intended to replace existing _working_ tools, and it uses them extensively. It is just a more high-level interface to them (hence you'll need PKG_PATH set if you want to install packages). At the moment, you don't need the ports-tree installed to use it, but for future use it would be useful. It doesn't need to be run as root, it will use sudo when root privileges are needed.
Some kind of roadmap : if the ports-tree is available, permit to build packages, show port Makefile or packing-list, permit to customize PKG_PATH internally, handle SIGWNCH, write a menu-based interface, differentiate installed vs selected packages, handle flavors/multipackages better, etc. It relies on databases/sqlports for the internal database, so you will need to have an up-to-date version installed (e.g if you track -current, cd /usr/ports/databases/sqlports && make clean=package && make reinstall each time you update your ports-tree) for pkg_mgr to work well. It is written in perl and uses Curses::UI, you will need a recent version of it (-current or 4.3 are okay, 4.2 or older are not because Curses::UI has dialog support since a recent update. This limitation may disappear in the future) If you only want to test it, you can install dependencies, download source, untar it, and run it directly from source with ./pkg_mgr. I have lots of ideas for this new tool, but i need user feedback first, so i'd be happy to have comments and rants about this tool. More informations (and source and screenshots) are available here : http://gruiik.info/pkg_mgr.html Port for -current is attached. Landry
pkg_mgr-0.1-port.tar.gz
Description: application/tar-gz