From 20a6b41adc152e83acb5ac29b47f3a189a77b9f5 Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Wed, 21 Nov 2012 19:39:47 +0000 Subject: [PATCH] Various minor changes: - we can now build packages for arm. - define the term "exp-" before it is introduced. - define the supported branches policy (this needs to live elsewhere) - miscellaneous wordsmithing. --- .../articles/portbuild/article.xml | 36 +++++++++++-------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/en_US.ISO8859-1/articles/portbuild/article.xml b/en_US.ISO8859-1/articles/portbuild/article.xml index ed20357af6..0243b3580d 100644 --- a/en_US.ISO8859-1/articles/portbuild/article.xml +++ b/en_US.ISO8859-1/articles/portbuild/article.xml @@ -66,19 +66,23 @@ otherwise specified, all paths will be relative to this location. ${arch} will be used to specify one of the package architectures - (amd64, &i386;, ia64, powerpc, and &sparc64;), and + (e.g. amd64, arm, &i386;, ia64, powerpc, &sparc64;), and ${branch} will be used - to specify the build branch (7, 7-exp, 8, 8-exp, 9, 9-exp, 10, 10-exp). + to specify the build branch (e.g. 7, 7-exp, 8, 8-exp, 9, 9-exp, 10, 10-exp). + The set of branches that portmgr currently + supports is the same as those that the &os; + security team + supports. - Packages are no longer built for Releases 4, 5, or 6, nor + Packages are no longer built for branches 4, 5, or 6, nor for the alpha architecture. The scripts that control all of this live in /var/portbuild/scripts/. - These are the checked-out copies from the Subversion repository + These are the checked-out copies from the Subversion repository at base/projects/portbuild/scripts/ . @@ -95,16 +99,19 @@ -CURRENT - for experimental builds + for experimental ("exp-") builds + + Packages from experimental builds are not uploaded. + Notes on the codebase Until mid-2010, the scripts were completely specific to - pointyhat as the head (dispatch) node. During + pointyhat.FreeBSD.org as the head (dispatch) node. During the summer of 2010, a significant rewrite was done in order to allow for other hosts to be head nodes. Among the changes were: @@ -326,12 +333,13 @@ PKG_BIN=/usr/local/sbin/pkg Starting the Build - Several separate builds for each architecture - branch combination + Separate builds for various combinations of architecture and branch are supported. All data private to a build (ports tree, src tree, - packages, distfiles, log files, bindist, Makefile, etc) are located under - ${arch}/${branch}/builds/${buildid}. - The last created build can be alternatively referenced under buildid - latest, the one before is called + packages, distfiles, log files, bindist, Makefile, etc) are located under the + ${arch}/${branch}/builds/${buildid}/ + directory. + The most recently created build can be alternatively referenced using buildid + latest, and the one before using previous. New builds are cloned from the latest, which is @@ -593,7 +601,7 @@ PKG_BIN=/usr/local/sbin/pkg -fetch-original - Fetch the distfile from the original MASTER_SITES - rather than ftp-master. + rather than any cache such as on ftp-master. @@ -623,7 +631,7 @@ PKG_BIN=/usr/local/sbin/pkg &prompt.user; build cleanup ${arch} ${branch} ${buildid} -full - errors/, + When a new build is created, the directories errors/, logs/, packages/, and so forth, are cleaned by the scripts. If you are short of space, you can also clean out ports/distfiles/. @@ -2766,8 +2774,6 @@ ln -s ../arch/archive/errorlogs archThis section only applies to the new codebase. New installations using the old codebase are not supported. - This section is in progress. - Please talk to Mark Linimon before making any changes.