Date: Fri, 09 Apr 2010 22:18:57 -0700 From: Doug Barton <dougb@FreeBSD.org> To: freebsd-ports@FreeBSD.org Subject: Portmaster version 2.21, with INDEX support Message-ID: <4BC00A41.5080109@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Howdy, I'm very happy to announce the release of portmaster 2.21, which has 2 exciting new features, --index and --index-only. The first adds a feature that users have requested in the past, the ability to use an INDEX file to help speed up checking if a port is up to date or not. If the INDEX version is newer than the installed version, no further tests are done and an update is triggered. If they match, and /usr/ports is available, then the version in the ports tree is checked too, just in case. The --index-only option is a bit more exciting. :) Using it along with --packages-only and a couple of environment variables it's now possible to use portmaster with no /usr/ports directory at all! This makes portmaster a viable choice for those who want to roll their own custom upgrade solutions. I think I've done a fairly thorough job of regression testing the new --index features, however as always it's possible that I've missed a bug or two. Please let me know if you stumble over one and I'll try to get it fixed ASAP. Enjoy, Doug -------- Original Message -------- Date: Sat, 10 Apr 2010 04:32:58 +0000 (UTC) FreeBSD ports repository Modified files: ports-mgmt/portmaster/files portmaster.sh.in Log: New Features ============ 1. Introducing the new options --index and --index-only. The first will use the INDEX file to check if a port is up to date. The second allows the use of portmaster with no /usr/ports directory. 2. The second argument to -o and the port name for -e can now be globs 3. For the -d|-D and -b|-B options allow the command line to override any values that might be set in .portmasterrc Internals ========= 1. Add a pm_sv() function to handle verbose messages for PM_SU_CMD 2. Add a find_glob_dirs() function, and use it instead of custom versions each place this is needed. 3. For -o, add -DDISABLE_CONFLICTS Bug Fixes ========= 1. If running as root, unset PM_SU_VERBOSE 2. Minor tweaks to improve usage()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BC00A41.5080109>