diff options
author | erwin <erwin@FreeBSD.org> | 2010-12-14 22:16:37 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2010-12-14 22:16:37 +0800 |
commit | e1cc9015d714f2552ba03500323e9e32b2b5bf65 (patch) | |
tree | 23db7d6878194ca46c44c42defc93a2ba87bc962 | |
parent | 7ddfa13714517687d6713d94c55ffd5ca54f0185 (diff) | |
download | freebsd-ports-gnome-e1cc9015d714f2552ba03500323e9e32b2b5bf65.tar.gz freebsd-ports-gnome-e1cc9015d714f2552ba03500323e9e32b2b5bf65.tar.zst freebsd-ports-gnome-e1cc9015d714f2552ba03500323e9e32b2b5bf65.zip |
Drop support for FreeBSD 6.x.
-rwxr-xr-x | Tools/scripts/tindex | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Tools/scripts/tindex b/Tools/scripts/tindex index ff8335fdbd95..9d48f2a73c8a 100755 --- a/Tools/scripts/tindex +++ b/Tools/scripts/tindex @@ -33,7 +33,6 @@ ZFSCMD="/usr/local/bin/sudo /sbin/zfs" # Location of ports tree and source trees export BASEDIR=/local0/tmp/kris/tindex export PORTSDIR=${BASEDIR}/ports -export SRCDIR6=${BASEDIR}/src.6 export SRCDIR7=${BASEDIR}/src.7 export SRCDIR8=${BASEDIR}/src.8 export SRCDIR9=${BASEDIR}/src.9 @@ -164,10 +163,6 @@ export INDEX_JOBS=4 export INDEX_QUIET=1 # First update the source trees to get current OSVERSION -cd ${SRCDIR6}/sys/sys -cvs -Rq update -PdA -r RELENG_6 param.h -OSVERSION6=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR6}/sys/sys/param.h) - cd ${SRCDIR7}/sys/sys cvs -Rq update -PdA -r RELENG_7 param.h OSVERSION7=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR7}/sys/sys/param.h) @@ -182,9 +177,9 @@ OSVERSION9=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR9 cd ${PORTSDIR} -rm -f INDEX-6 INDEX-6.bz2 INDEX-7 INDEX-7.bz2 INDEX-8 INDEX-8.bz2 INDEX-9 INDEX-9.bz2 +rm -f INDEX-7 INDEX-7.bz2 INDEX-8 INDEX-8.bz2 INDEX-9 INDEX-9.bz2 -for branch in 6.x 7.x 8.x 9.x; do +for branch in 7.x 8.x 9.x; do release=$(echo $branch | sed -e 's,.x,,') eval _osver=\$OSVERSION${release} |