Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2016 13:54:17 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r303960 - in user/cperciva/freebsd-update-build: patches/11.0-BETA3 patches/11.0-BETA4 scripts/11.0-BETA3 scripts/11.0-BETA3/amd64 scripts/11.0-BETA3/i386 scripts/11.0-BETA4 scripts/11....
Message-ID:  <201608111354.u7BDsHM2020410@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Thu Aug 11 13:54:17 2016
New Revision: 303960
URL: https://svnweb.freebsd.org/changeset/base/303960

Log:
  Add configuration of BETA3 and BETA4.

Added:
  user/cperciva/freebsd-update-build/patches/11.0-BETA3/
  user/cperciva/freebsd-update-build/patches/11.0-BETA4/
  user/cperciva/freebsd-update-build/scripts/11.0-BETA3/
  user/cperciva/freebsd-update-build/scripts/11.0-BETA3/amd64/
  user/cperciva/freebsd-update-build/scripts/11.0-BETA3/amd64/build.conf   (contents, props changed)
  user/cperciva/freebsd-update-build/scripts/11.0-BETA3/build.subr
  user/cperciva/freebsd-update-build/scripts/11.0-BETA3/i386/
  user/cperciva/freebsd-update-build/scripts/11.0-BETA3/i386/build.conf   (contents, props changed)
  user/cperciva/freebsd-update-build/scripts/11.0-BETA4/
  user/cperciva/freebsd-update-build/scripts/11.0-BETA4/amd64/
  user/cperciva/freebsd-update-build/scripts/11.0-BETA4/amd64/build.conf   (contents, props changed)
  user/cperciva/freebsd-update-build/scripts/11.0-BETA4/build.subr
  user/cperciva/freebsd-update-build/scripts/11.0-BETA4/i386/
  user/cperciva/freebsd-update-build/scripts/11.0-BETA4/i386/build.conf   (contents, props changed)

Added: user/cperciva/freebsd-update-build/scripts/11.0-BETA3/amd64/build.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ user/cperciva/freebsd-update-build/scripts/11.0-BETA3/amd64/build.conf	Thu Aug 11 13:54:17 2016	(r303960)
@@ -0,0 +1,10 @@
+export RELH=7e46946d800ceea6b22ae4703f952bb111ccec8a1ee987450cd0b11d38f729a83c26bfdd00675146e68bb0382b19b3fe70273c14b5fa964fe5d41010bf6eaec4
+export FTP=https://people.freebsd.org/~gjb/11.0-BETA3/
+ 
+# 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=1473983999

Added: user/cperciva/freebsd-update-build/scripts/11.0-BETA3/build.subr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ user/cperciva/freebsd-update-build/scripts/11.0-BETA3/build.subr	Thu Aug 11 13:54:17 2016	(r303960)
@@ -0,0 +1,26 @@
+# Overrides to FreeBSD Update build subroutines for FreeBSD 11.0.
+
+# Download and verify a release ISO image.
+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.
+	fetch -o ${WORKDIR}/iso.img -rR ${ISO} 2>&1
+
+	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.0-BETA3/i386/build.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ user/cperciva/freebsd-update-build/scripts/11.0-BETA3/i386/build.conf	Thu Aug 11 13:54:17 2016	(r303960)
@@ -0,0 +1,10 @@
+export RELH=5ee26f49edf7957a11e758687199d9931d2878b8f17132c06ca6fe87871a51f676e37f58a8b42965182a81400a5e7acae1cb4f05d321fc2ed51dd3c1819f8197
+export FTP=https://people.freebsd.org/~gjb/11.0-BETA3/
+ 
+# 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=1473983999

Added: user/cperciva/freebsd-update-build/scripts/11.0-BETA4/amd64/build.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ user/cperciva/freebsd-update-build/scripts/11.0-BETA4/amd64/build.conf	Thu Aug 11 13:54:17 2016	(r303960)
@@ -0,0 +1,10 @@
+export RELH=deadc6daa6aa2bae25846c96bbd0e477608095a8c14f6b1835953341094ff495362f2d211a64f0157c1aa1cafd1b6f8a6ab25f66e2eb001701803b5f666ceaa9
+export FTP=https://people.freebsd.org/~gjb/11.0-BETA4/
+ 
+# 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=1474588799

Added: user/cperciva/freebsd-update-build/scripts/11.0-BETA4/build.subr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ user/cperciva/freebsd-update-build/scripts/11.0-BETA4/build.subr	Thu Aug 11 13:54:17 2016	(r303960)
@@ -0,0 +1,26 @@
+# Overrides to FreeBSD Update build subroutines for FreeBSD 11.0.
+
+# Download and verify a release ISO image.
+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.
+	fetch -o ${WORKDIR}/iso.img -rR ${ISO} 2>&1
+
+	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.0-BETA4/i386/build.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ user/cperciva/freebsd-update-build/scripts/11.0-BETA4/i386/build.conf	Thu Aug 11 13:54:17 2016	(r303960)
@@ -0,0 +1,10 @@
+export RELH=8a466c3cb416247042db76ad17c71354e5c032de78476e5008d626693cffca4686325e86332b09031e691f5f3ae9c448ea1e7cc36c2c05679257aa0e92cf78a0
+export FTP=https://people.freebsd.org/~gjb/11.0-BETA4/
+ 
+# 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=1474588799



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608111354.u7BDsHM2020410>