From owner-freebsd-ports@FreeBSD.ORG Sat Apr 10 05:18:59 2010 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 648671065670 for ; Sat, 10 Apr 2010 05:18:59 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 10ADD8FC08 for ; Sat, 10 Apr 2010 05:18:58 +0000 (UTC) Received: (qmail 18794 invoked by uid 399); 10 Apr 2010 05:18:58 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 10 Apr 2010 05:18:58 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4BC00A41.5080109@FreeBSD.org> Date: Fri, 09 Apr 2010 22:18:57 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org X-Enigmail-Version: 1.0.1 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Portmaster version 2.21, with INDEX support X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Apr 2010 05:18:59 -0000 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()