From owner-svn-src-user@freebsd.org Thu Aug 11 13:54:19 2016 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 237F5BB5B85 for ; Thu, 11 Aug 2016 13:54:19 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F18701987; Thu, 11 Aug 2016 13:54:18 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7BDsIYq020416; Thu, 11 Aug 2016 13:54:18 GMT (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7BDsHM2020410; Thu, 11 Aug 2016 13:54:17 GMT (envelope-from glebius@FreeBSD.org) Message-Id: <201608111354.u7BDsHM2020410@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: glebius set sender to glebius@FreeBSD.org using -f From: Gleb Smirnoff Date: Thu, 11 Aug 2016 13:54:17 +0000 (UTC) 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.... X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2016 13:54:19 -0000 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