From owner-freebsd-ports@FreeBSD.ORG Tue Jan 27 00:41:21 2009 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 D2E191065700 for ; Tue, 27 Jan 2009 00:41:21 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 7A35B8FC17 for ; Tue, 27 Jan 2009 00:41:21 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 5354 invoked by uid 399); 27 Jan 2009 00:41:21 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 27 Jan 2009 00:41:21 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <497E582F.9060209@FreeBSD.org> Date: Mon, 26 Jan 2009 16:41:19 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.19 (X11/20090111) MIME-Version: 1.0 To: FreeBSD Ports List X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: Portmaster 2.7-RC1 ready for testing 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: Tue, 27 Jan 2009 00:41:23 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Howdy! It's been almost exactly 6 months since the last portmaster release, which in my mind is a good thing. :) I do have a new version ready for those who would like to give it a try before I commit it. It would be especially useful if those who've been bitten by the "portmaster deletes my java distfiles" problem could give it a try. The patch to the port is here: http://dougbarton.us/Downloads/portmaster-2.7-RC1.diff Here is what will probably be the commit message: New Feature =========== 1. Add --check-port-dbdir to clean stale entries from /var/db/ports [1] Since the definition of PORT_DBDIR is now used in more than one place, add it to the initialization routine at the top. General Improvements ==================== 1. Add a 'nonfatal' option to find_moved_port() so that when it's called in a context where we don't care about a port that has been deleted (such as distfile listing) it doesn't exit. Add some code to that function to tell -L that the port has been deleted. 2. Deal with ports that require user interaction to fetch by checking first whether MASTER_SITES is empty before running 'make checksum'. This should solve the problem of portmaster unintentionally deleting the distfiles for java ports, inter alia. [2] 3. Improve kill_bad_children() by using process group id [3] 4. Don't call kill_bad_children() in safe_exit() unless there is a reason. a. Implement this for the distinfo child process by flagging the first line of the file and checking for a file with -s instead of just -e. b. Implement this for -F mode by flagging when all the background processes have finished. This should result in less of those annoying 'Terminated' messages 5. Move the start of read_distinfos() until after we are sure that we are going to try building the port. Small Fixups ============ 1. When update_contents() finds something odd when updating a port suggest using --check-depends to clean it up. 2. In check_for_update() avoid having variables that differ only by case 3. In update_port() recurse with just the port to update [3] 4. In dependency_check() run check_interactive() for installed versions that need updating. 5. Update copyright Concept by: RW [1] Fix Suggested by: ale [2] Suggested by: Geraint Edwards [3] Enjoy! Doug - -- This .signature sanitized for your protection -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEAREDAAYFAkl+WC8ACgkQyIakK9Wy8PsePACgn+ImR9Va2SqNoRXfVFTL7rXj 4LEAnRYwM7NTUturAzqNs/3ks8j0ZjEC =NW6r -----END PGP SIGNATURE-----