From owner-cvs-all@FreeBSD.ORG Fri Jun 25 23:14:15 2010 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83061106564A; Fri, 25 Jun 2010 23:14:15 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 731678FC12; Fri, 25 Jun 2010 23:14:15 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o5PNEEmi087852; Fri, 25 Jun 2010 23:14:14 GMT (envelope-from linimon@repoman.freebsd.org) Received: (from linimon@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o5PNEEhS087850; Fri, 25 Jun 2010 23:14:14 GMT (envelope-from linimon) Message-Id: <201006252314.o5PNEEhS087850@repoman.freebsd.org> From: Mark Linimon Date: Fri, 25 Jun 2010 23:14:14 +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/Tools/portbuild/scripts dopackages X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 23:14:15 -0000 linimon 2010-06-25 23:14:14 UTC FreeBSD ports repository Modified files: Tools/portbuild/scripts dopackages Log: Generalize the packge building scripts to be able to be run on more than one 'head' node, rather than just pointyhat itself. Constants are factored out into installation-specific files known as portbuild/conf/server.conf and portbuild/conf/client.conf. There is only one server.conf file. Individual directories may have their own client.conf files, or may symlink to ../conf/client.conf. Several bugs are fixed and improvements are made: - the name of the journal file is changed from 'make' (ew) to 'journal'. - the 'date' parameter becomes 'datestamp' to delinate the script's uses of the date command vs. the parameter. This is mostly for readability. - add the -nochecksubdirs option. This is only useful for restarted or incremental runs. - refactor the error returns a bit. - exit gracefully if no INDEXFILE. - fix a bug in the 'packages built' logic that would return -2 if no packages were actually built. - change the misnamed 'cvsdone' file to '.updated'. - clean up the 'task waiting' logic. Feature safe: yes Revision Changes Path 1.54 +82 -46 ports/Tools/portbuild/scripts/dopackages