git: b71a4f9d5dd5 - main - Tools/scripts/tindex: remove FreeBSD 12 and 13 support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 May 2026 20:03:31 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b71a4f9d5dd502bc644a1186ea3d26f625345972
commit b71a4f9d5dd502bc644a1186ea3d26f625345972
Author: Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2026-02-28 16:42:23 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2026-05-05 20:03:00 +0000
Tools/scripts/tindex: remove FreeBSD 12 and 13 support
---
Tools/scripts/tindex | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
diff --git a/Tools/scripts/tindex b/Tools/scripts/tindex
index a14cda9e60e2..4f7206e0787f 100755
--- a/Tools/scripts/tindex
+++ b/Tools/scripts/tindex
@@ -27,8 +27,6 @@ ERROR_ADDRESS=root@localhost
# Location of ports tree and source trees
export BASEDIR=/a/tindex
export PORTSDIR=${BASEDIR}/ports
-export SRCDIR12=${BASEDIR}/src.12
-export SRCDIR13=${BASEDIR}/src.13
export SRCDIR14=${BASEDIR}/src.14
export OUTDIR=${BASEDIR}/out
@@ -84,7 +82,7 @@ indexfail() {
echo "Committers on the hook:"
tr -s '\n' ' ' < ${PORTSDIR}/hook
echo
- echo
+ echo
echo "Most recent Git update was:";
(IFS=""; echo ${commits})
) | mail -s "INDEX build failed for ${BRANCH}" ${REPORT_ADDRESS}
@@ -113,17 +111,11 @@ export INDEX_JOBS=3
export INDEX_QUIET=1
# First update the source trees to get current OSVERSION
-${SVN} -q up ${SRCDIR12}/sys/sys
-OSVERSION12=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR12}/sys/sys/param.h)
-
-${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}
-for ver in 12 13 14; do
+for ver in 14; do
rm -f INDEX-${ver} INDEX-${ver}.bz2 INDEX-${ver}.xz INDEX-${ver}.zst
done
@@ -134,7 +126,7 @@ if ! ${GIT} pull --ff-only > git.log 2>&1 ; then
exit 1
fi
-for branch in 12.x 13.x 14.x; do
+for branch in 14.x; do
release=$(echo $branch | sed -e 's,.x,,')
eval _osver=\$OSVERSION${release}