From owner-cvs-all@FreeBSD.ORG Fri Jun 25 23:01:05 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 6A78C106566C; Fri, 25 Jun 2010 23:01:05 +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 5A6D48FC0C; Fri, 25 Jun 2010 23:01:05 +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 o5PN15No085692; Fri, 25 Jun 2010 23:01:05 GMT (envelope-from linimon@repoman.freebsd.org) Received: (from linimon@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o5PN15IQ085691; Fri, 25 Jun 2010 23:01:05 GMT (envelope-from linimon) Message-Id: <201006252301.o5PN15IQ085691@repoman.freebsd.org> From: Mark Linimon Date: Fri, 25 Jun 2010 23:01:05 +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 buildenv 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:01:05 -0000 linimon 2010-06-25 23:01:05 UTC FreeBSD ports repository Modified files: Tools/portbuild/scripts buildenv 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 definitions for valid 'arch' and 'branch' are moved to server.conf. - the script is broken up into two pieces; the old 'buildenv' name becomes the server side, and 'buildenv.client' is add for the client side. 'buildenv.common' is what you would expect. This makes the separation of what controls what more clear. - the concept of 'branch base' is generalized to match any pattern postpended with '-', thus removing the specialness of '-exp'. More work remains on the other scripts to best take advantage of this. - as a corollary, 'branch' can also have '.' in it, e.g., 6.4. - the obsolete variables FTP_PASSIVE_MODE, PKGZIPCMD, and X_WINDOW_SYSTEM are removed. Feature safe: yes Revision Changes Path 1.32 +80 -76 ports/Tools/portbuild/scripts/buildenv