aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2009-08-23 10:32:15 +0000
committerMark Linimon <linimon@FreeBSD.org>2009-08-23 10:32:15 +0000
commit94b770ad20864d72ce4ee985c152c04a09eb6dcc (patch)
treebcaba45c4a901890f20df6ddb1879cd78bf7329d /Tools
parenta2c9baf2ee973c4df5ce0095ca5116634cc64ba2 (diff)
downloadports-94b770ad20864d72ce4ee985c152c04a09eb6dcc.tar.gz
ports-94b770ad20864d72ce4ee985c152c04a09eb6dcc.zip
Notes
Diffstat (limited to 'Tools')
-rw-r--r--Tools/portbuild/scripts/buildenv10
-rwxr-xr-xTools/portbuild/scripts/makeworld5
-rwxr-xr-xTools/portbuild/scripts/stats4
-rw-r--r--Tools/portbuild/scripts/zexpire1
4 files changed, 16 insertions, 4 deletions
diff --git a/Tools/portbuild/scripts/buildenv b/Tools/portbuild/scripts/buildenv
index e73d1c5fa421..e952987e8e45 100644
--- a/Tools/portbuild/scripts/buildenv
+++ b/Tools/portbuild/scripts/buildenv
@@ -9,7 +9,7 @@ validate_env() {
branch=$2
case ${arch} in
- amd64|i386|sparc64)
+ amd64|i386|ia64|sparc64)
continue
;;
*)
@@ -19,7 +19,7 @@ validate_env() {
esac
case ${branch} in
- 6|6-exp|7|7-exp|8|8-exp)
+ 6|6-exp|7|7-exp|8|8-exp|9|9-exp)
continue
;;
*)
@@ -100,6 +100,12 @@ buildenv () {
x8-exp)
export INDEXFILE=INDEX-8
;;
+ x9)
+ export INDEXFILE=INDEX-9
+ ;;
+ x9-exp)
+ export INDEXFILE=INDEX-9
+ ;;
*)
echo "buildenv: invalid branch"
exit 1
diff --git a/Tools/portbuild/scripts/makeworld b/Tools/portbuild/scripts/makeworld
index 91845fff1e3c..4260efa15a4c 100755
--- a/Tools/portbuild/scripts/makeworld
+++ b/Tools/portbuild/scripts/makeworld
@@ -34,7 +34,10 @@ case "$branch" in
export SRCBRANCH="-r RELENG_7"
;;
8*)
- export SRCBRANCH=
+ export SRCBRANCH="-r RELENG_8"
+ ;;
+ 9*)
+ export SRCBRANCH=
;;
*)
echo "Invalid branch ${branch}"
diff --git a/Tools/portbuild/scripts/stats b/Tools/portbuild/scripts/stats
index 57e5a58c8417..c4e7e92a15ac 100755
--- a/Tools/portbuild/scripts/stats
+++ b/Tools/portbuild/scripts/stats
@@ -1,5 +1,7 @@
#!/bin/sh
+SUPPORTED_ARCHS="amd64 i386 ia64 sparc64"
+
if [ $# -ne 1 ]; then
echo "usage: <branch>"
exit 1
@@ -7,7 +9,7 @@ fi
branch=$1
-for i in i386 sparc64 amd64; do
+for i in ${SUPPORTED_ARCHS}; do
if [ -d /var/portbuild/$i/${branch}/builds/latest/packages/All ]; then
count=$(find /var/portbuild/$i/${branch}/builds/latest/packages/All -name \*.tbz -o -name \*.tgz |wc -l)
echo -n "$i: ${count} "
diff --git a/Tools/portbuild/scripts/zexpire b/Tools/portbuild/scripts/zexpire
index 8019af0e0d7f..672c997dcd01 100644
--- a/Tools/portbuild/scripts/zexpire
+++ b/Tools/portbuild/scripts/zexpire
@@ -20,6 +20,7 @@ expirelist=(("a", 14),
("a/snap/src-5", 7),
("a/snap/src-6", 7),
("a/snap/src-7", 7),
+ ("a/snap/src-8", 7),
("a/snap/src-HEAD", 7),
("a/snap/world-amd64-HEAD", 7),
("a/snap/world-i386-HEAD", 7))