svn commit: r562285 - head/Tools/scripts

Antoine Brodin antoine at FreeBSD.org
Fri Jan 22 09:48:07 UTC 2021


Author: antoine
Date: Fri Jan 22 09:48:06 2021
New Revision: 562285
URL: https://svnweb.freebsd.org/changeset/ports/562285

Log:
  Update tindex for FreeBSD 14

Modified:
  head/Tools/scripts/tindex

Modified: head/Tools/scripts/tindex
==============================================================================
--- head/Tools/scripts/tindex	Fri Jan 22 09:38:58 2021	(r562284)
+++ head/Tools/scripts/tindex	Fri Jan 22 09:48:06 2021	(r562285)
@@ -30,6 +30,7 @@ export PORTSDIR=${BASEDIR}/ports
 export SRCDIR11=${BASEDIR}/src.11
 export SRCDIR12=${BASEDIR}/src.12
 export SRCDIR13=${BASEDIR}/src.13
+export SRCDIR14=${BASEDIR}/src.14
 export OUTDIR=${BASEDIR}/out
 
 # Target architecture if not set in the environment
@@ -125,8 +126,11 @@ OSVERSION12=$(awk '/^#define[[:blank:]]__FreeBSD_versi
 ${GIT} -C ${SRCDIR13} pull --rebase -q
 OSVERSION13=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR13}/sys/sys/param.h)
 
+${GIT} -C ${SRCDIR14} pull --rebase -q
+OSVERSION14=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR14}/sys/sys/param.h)
+
 cd ${PORTSDIR}
-rm -f INDEX-11 INDEX-11.bz2 INDEX-12 INDEX-12.bz2 INDEX-13 INDEX-13.bz2
+rm -f INDEX-11 INDEX-11.bz2 INDEX-12 INDEX-12.bz2 INDEX-13 INDEX-13.bz2 INDEX-14 INDEX-14.bz2
 (${SVN} up 2>1 ) > svn.log
 if grep -q ^C svn.log ; then
   (echo "svn update failed with conflicts:";
@@ -134,7 +138,7 @@ if grep -q ^C svn.log ; then
     exit 1
 fi
 
-for branch in 11.x 12.x 13.x; do
+for branch in 11.x 12.x 13.x 14.x; do
     release=$(echo $branch | sed -e 's,.x,,')
 
     eval _osver=\$OSVERSION${release}


More information about the svn-ports-head mailing list