aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2009-08-23 18:32:15 +0800
committerlinimon <linimon@FreeBSD.org>2009-08-23 18:32:15 +0800
commita29113bb87faf755f782325779f26ad872b579d9 (patch)
treeb62933f8fc8c61dc2781db8115bbc7f86673f31b /Tools
parent6bfb5311b1a2984aac077d329b82150873048cf5 (diff)
downloadfreebsd-ports-gnome-a29113bb87faf755f782325779f26ad872b579d9.tar.gz
freebsd-ports-gnome-a29113bb87faf755f782325779f26ad872b579d9.tar.zst
freebsd-ports-gnome-a29113bb87faf755f782325779f26ad872b579d9.zip
Reflect the fact that RELENG_9 has been created, and that there is some
interest in reviving ia64. While here, generalize things a bit.
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))