svn commit: r352945 - in user/cperciva/freebsd-update-build/scripts: 10.4-RELEASE 10.4-RELEASE/amd64 10.4-RELEASE/i386 11.1-RELEASE 11.1-RELEASE/amd64 11.1-RELEASE/i386 11.2-RELEASE 11.2-RELEASE/am...
Gordon Tetlow
gordon at FreeBSD.org
Tue Oct 1 22:52:20 UTC 2019
Author: gordon
Date: Tue Oct 1 22:52:18 2019
New Revision: 352945
URL: https://svnweb.freebsd.org/changeset/base/352945
Log:
Add older releases that are missing.
Added:
user/cperciva/freebsd-update-build/scripts/10.4-RELEASE/
user/cperciva/freebsd-update-build/scripts/10.4-RELEASE/amd64/
user/cperciva/freebsd-update-build/scripts/10.4-RELEASE/amd64/build.conf (contents, props changed)
user/cperciva/freebsd-update-build/scripts/10.4-RELEASE/build.subr
user/cperciva/freebsd-update-build/scripts/10.4-RELEASE/i386/
user/cperciva/freebsd-update-build/scripts/10.4-RELEASE/i386/build.conf (contents, props changed)
user/cperciva/freebsd-update-build/scripts/11.1-RELEASE/
user/cperciva/freebsd-update-build/scripts/11.1-RELEASE/amd64/
user/cperciva/freebsd-update-build/scripts/11.1-RELEASE/amd64/build.conf (contents, props changed)
user/cperciva/freebsd-update-build/scripts/11.1-RELEASE/i386/
user/cperciva/freebsd-update-build/scripts/11.1-RELEASE/i386/build.conf (contents, props changed)
user/cperciva/freebsd-update-build/scripts/11.2-RELEASE/
user/cperciva/freebsd-update-build/scripts/11.2-RELEASE/amd64/
user/cperciva/freebsd-update-build/scripts/11.2-RELEASE/amd64/build.conf (contents, props changed)
user/cperciva/freebsd-update-build/scripts/11.2-RELEASE/build.subr
user/cperciva/freebsd-update-build/scripts/11.2-RELEASE/i386/
user/cperciva/freebsd-update-build/scripts/11.2-RELEASE/i386/build.conf (contents, props changed)
Added: user/cperciva/freebsd-update-build/scripts/10.4-RELEASE/amd64/build.conf
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ user/cperciva/freebsd-update-build/scripts/10.4-RELEASE/amd64/build.conf Tue Oct 1 22:52:18 2019 (r352945)
@@ -0,0 +1,10 @@
+export RELH=8fee2c20dd63ec42d31b4656473d9cdd07fddff143461ef1ab0f02ca12eace9701d8adae33f35ccc9a1eda658f5664e95c19f0518b733749f58a96eb70bfcc09
+export FTP=https://people.freebsd.org/~marius/10.4-RELEASE
+
+# Components of the world, source, and kernels
+export WORLDPARTS="base doc games lib32"
+export SOURCEPARTS="src"
+export KERNELPARTS="kernel"
+
+# EOL date
+export EOL=1541030400
Added: user/cperciva/freebsd-update-build/scripts/10.4-RELEASE/build.subr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ user/cperciva/freebsd-update-build/scripts/10.4-RELEASE/build.subr Tue Oct 1 22:52:18 2019 (r352945)
@@ -0,0 +1,24 @@
+# Download and verify a release ISO image.
+fetchiso () {
+ log "Starting fetch"
+
+ # Figure out where the disc1 ISO image is
+ RELNUM=${REL%-*}
+ ISO=${FTP}/FreeBSD-${REL}-${TARGET}-disc1.iso
+
+ # Fetch the ISO image. We consider the ISO image to be
+ # the One True Release and don't look at the files used
+ # for FTP installs. The FreeBSD 4.7-RELEASE ISO and FTP
+ # files were not identical, but this should never happen
+ # again.
+ fetch -o ${WORKDIR}/iso.img -rR ${ISO} 2>&1
+
+ log "Verifying disc1 hash"
+
+ # Check that the downloaded ISO has the correct hash.
+ if ! [ "`sha512 -q ${WORKDIR}/iso.img`" = "${RELH}" ]; then
+ echo "FreeBSD ${REL}-${TARGET}-disc1.iso has incorrect hash."
+ rm ${WORKDIR}/iso.img
+ return 1
+ fi
+}
Added: user/cperciva/freebsd-update-build/scripts/10.4-RELEASE/i386/build.conf
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ user/cperciva/freebsd-update-build/scripts/10.4-RELEASE/i386/build.conf Tue Oct 1 22:52:18 2019 (r352945)
@@ -0,0 +1,10 @@
+export RELH=c62d19e13b0897276e750befe5c9013fca75a62f15ea8d1ac3691a248767faddb08349f2d2d00d88761447fcbbcb4987fab698bef9e8d44ac2bcab94dd1618b0
+export FTP=https://people.freebsd.org/~marius/10.4-RELEASE
+
+# Components of the world, source, and kernels
+export WORLDPARTS="base doc games"
+export SOURCEPARTS="src"
+export KERNELPARTS="kernel"
+
+# EOL date
+export EOL=1541030400
Added: user/cperciva/freebsd-update-build/scripts/11.1-RELEASE/amd64/build.conf
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ user/cperciva/freebsd-update-build/scripts/11.1-RELEASE/amd64/build.conf Tue Oct 1 22:52:18 2019 (r352945)
@@ -0,0 +1,11 @@
+export RELH=a6aa4363270c14620a291baf4db377785dbccfa9c92c1c1d5f01453400259f63de4ba0b033ec6f415056fc7e563d99cb327c869c95f68a1871baf86bfe7e7024
+export FTP=https://people.freebsd.org/~gjb/11.1-RELEASE/
+
+# Components of the world, source, and kernels
+export WORLDPARTS="base base-dbg doc lib32 lib32-dbg"
+export SOURCEPARTS="src"
+export KERNELPARTS="kernel kernel-dbg"
+
+# EOL date
+# 201810010000
+export EOL=1538352000
Added: user/cperciva/freebsd-update-build/scripts/11.1-RELEASE/i386/build.conf
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ user/cperciva/freebsd-update-build/scripts/11.1-RELEASE/i386/build.conf Tue Oct 1 22:52:18 2019 (r352945)
@@ -0,0 +1,11 @@
+export RELH=082ebce2665b2da58e12e56c5fa7cc0cd92934fdf99b38132a0ba6ff540a8a0ab6c3c03971312946d5c23aff8f2b0855582a3a0c9beb6e4db3472433113cb06f
+export FTP=https://people.freebsd.org/~gjb/11.1-RELEASE/
+
+# Components of the world, source, and kernels
+export WORLDPARTS="base base-dbg doc"
+export SOURCEPARTS="src"
+export KERNELPARTS="kernel kernel-dbg"
+
+# EOL date
+# 201810010000
+export EOL=1538352000
Added: user/cperciva/freebsd-update-build/scripts/11.2-RELEASE/amd64/build.conf
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ user/cperciva/freebsd-update-build/scripts/11.2-RELEASE/amd64/build.conf Tue Oct 1 22:52:18 2019 (r352945)
@@ -0,0 +1,10 @@
+export RELH=843549b9a6c56ddd0bd12838693e0da9a81323ef8607654ed36a3486b52766e67d8b51d08be0618b6c6f32bf191dd9ef69ebfcea0a628657e5597200251e69f1
+export FTP=https://people.freebsd.org/~gjb/11.2-RELEASE/
+
+# Components of the world, source, and kernels
+export WORLDPARTS="base base-dbg doc lib32 lib32-dbg"
+export SOURCEPARTS="src"
+export KERNELPARTS="kernel kernel-dbg"
+
+# EOL date
+export EOL=1572480000
Added: user/cperciva/freebsd-update-build/scripts/11.2-RELEASE/build.subr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ user/cperciva/freebsd-update-build/scripts/11.2-RELEASE/build.subr Tue Oct 1 22:52:18 2019 (r352945)
@@ -0,0 +1,25 @@
+fetchiso () {
+ log "Starting fetch"
+
+ # Figure out where the dvd1 ISO image is
+ RELNUM=${REL%-*}
+ ISO=${FTP}/FreeBSD-${REL}-${TARGET}-dvd1.iso
+
+ # Fetch the ISO image. We consider the ISO image to be
+ # the One True Release and don't look at the files used
+ # for FTP installs. The FreeBSD 4.7-RELEASE ISO and FTP
+ # files were not identical, but this should never happen
+ # again.
+ if ! [ -f "${WORKDIR}/iso.img" ]; then
+ fetch -o ${WORKDIR}/iso.img -rR ${ISO} 2>&1
+ fi
+
+ log "Verifying dvd1 hash"
+
+ # Check that the downloaded ISO has the correct hash.
+ if ! [ "`sha512 -q ${WORKDIR}/iso.img`" = "${RELH}" ]; then
+ echo "FreeBSD ${REL}-${TARGET}-dvd1.iso has incorrect hash."
+ rm ${WORKDIR}/iso.img
+ return 1
+ fi
+}
Added: user/cperciva/freebsd-update-build/scripts/11.2-RELEASE/i386/build.conf
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ user/cperciva/freebsd-update-build/scripts/11.2-RELEASE/i386/build.conf Tue Oct 1 22:52:18 2019 (r352945)
@@ -0,0 +1,10 @@
+export RELH=4c663f44bd438d6881800f5819f7c15ede5e2c98b5b68c680146f655d232e1eb1a555b878cbe7e2b1a2c95e43a7117d7962e31604d5555b49072372b957e0561
+export FTP=https://people.freebsd.org/~gjb/11.2-RELEASE/
+
+# Components of the world, source, and kernels
+export WORLDPARTS="base base-dbg doc"
+export SOURCEPARTS="src"
+export KERNELPARTS="kernel kernel-dbg"
+
+# EOL date
+export EOL=1572480000
More information about the svn-src-user
mailing list