From owner-cvs-ports@FreeBSD.ORG Thu Feb 5 23:11:24 2009 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29813106564A; Thu, 5 Feb 2009 23:11:24 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id F26D48FC12; Thu, 5 Feb 2009 23:11:23 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n15NBNS8024674; Thu, 5 Feb 2009 23:11:23 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n15NBNdl024673; Thu, 5 Feb 2009 23:11:23 GMT (envelope-from dougb) Message-Id: <200902052311.n15NBNdl024673@repoman.freebsd.org> From: Doug Barton Date: Thu, 5 Feb 2009 23:11:23 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/ports-mgmt/portmaster/files portmaster.sh.in X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 23:11:24 -0000 dougb 2009-02-05 23:11:23 UTC FreeBSD ports repository Modified files: ports-mgmt/portmaster/files portmaster.sh.in Log: 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() without 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] Revision Changes Path 2.7 +137 -43 ports/ports-mgmt/portmaster/files/portmaster.sh.in