Index: head/Tools/portbuild/scripts/makeindex =================================================================== --- head/Tools/portbuild/scripts/makeindex (revision 118444) +++ head/Tools/portbuild/scripts/makeindex (revision 118445) @@ -1,61 +1,65 @@ #!/bin/sh # usage: $0 arch branch # Don't want to pick up bento customizations INDEX_PRISTINE=1 # Don't give luser advice if it fails INDEX_QUIET=1 # Concurrency of index build INDEX_JOBS=2 pb=/var/portbuild arch=$1 shift . ${pb}/${arch}/portbuild.conf . ${pb}/scripts/buildenv usage () { echo "usage: makeindex arch branch" exit 1 } if [ $# != 1 ]; then usage fi case "x$1" in x4) branch=4 INDEXFILE=INDEX ;; x4-exp) branch=4-exp INDEXFILE=INDEX ;; x5) branch=5 INDEXFILE=INDEX-5 ;; + x6) + branch=6 + INDEXFILE=INDEX-6 + ;; *) usage ;; esac # Set up the build env variables buildenv ${pb} ${arch} ${branch} unset DISPLAY # Don't pick up installed packages from the host export LOCALBASE=/nonexistentlocal export X11BASE=/nonexistentx cd ${PORTSDIR} make index # remove extra spaces in dependency list -- this causes problems # Also transform the dummy paths to their canonical locations sed -e 's/ */ /g' -e 's/| */|/g' -e 's/ *|/|/g' -e "s,${LOCALBASE},/usr/local," -e "s,${X11BASE},/usr/X11R6," ${INDEXFILE} > ${INDEXFILE}.tmp mv -f ${INDEXFILE}.tmp ${INDEXFILE} Property changes on: head/Tools/portbuild/scripts/makeindex ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.16 \ No newline at end of property +1.17 \ No newline at end of property Index: head/Tools/portbuild/scripts/mkbindist =================================================================== --- head/Tools/portbuild/scripts/mkbindist (revision 118444) +++ head/Tools/portbuild/scripts/mkbindist (revision 118445) @@ -1,105 +1,105 @@ #!/bin/sh usage () { echo "usage: mkbindist " exit 1 } if [ $# != 2 ]; then usage fi arch=$1 branch=$2 -if [ "x$branch" != x4 -a "x$branch" != x4-exp -a "x$branch" != x5 ]; then +if [ "x$branch" != x4 -a "x$branch" != x4-exp -a "x$branch" != x5 -a "x$branch" != x6 ]; then usage fi pb=/var/portbuild . ${pb}/${arch}/portbuild.conf here=${pb}/${arch}/${branch} . ${here}/mkbindist.conf if [ ${buildworld} = "1" ]; then if ! ${pb}/scripts/makeworld ${arch} ${branch}; then exit 1 fi elif [ ${ftp} = "1" ]; then cd ${here} rm -rf bindist/ftp mkdir -p bindist/ftp cd bindist/ftp for i in ${ftpdists}; do /usr/bin/ftp -a "ftp://${ftpserver}${ftpurl}/${rel}/$i.??" done cd ${here} fi tmpdir=${here}/tmp # just in case umount -f ${tmpdir}/usr/src 2>/dev/null # Clean up ${tmpdir} rm -rf ${tmpdir} 2>/dev/null if [ -d ${tmpdir} ]; then chflags -R noschg ${tmpdir} rm -rf ${tmpdir} fi mkdir -p ${tmpdir} # Set up the tmpdir directory hierarchy cd ${tmpdir} mtree -deU -f ${here}/src/etc/mtree/BSD.root.dist -p ${tmpdir}/ mtree -deU -f ${here}/src/etc/mtree/BSD.var.dist -p ${tmpdir}/var mtree -deU -f ${here}/src/etc/mtree/BSD.usr.dist -p ${tmpdir}/usr mtree -deU -f ${here}/src/etc/mtree/BSD.local.dist -p ${tmpdir}/usr/local # Copy the files into the tmpdir. Use an existing built world, or the ftp # files. if [ "${ftp}" = 0 ]; then (cd ${worlddir}; find -dx . | \ grep -v -E '^./usr/(X11R6|local|obj|opt|ports|src)' | \ grep -v '^./home' | \ grep -v '^./var/db/pkg' | \ cpio -dump ${tmpdir}) else for i in ${ftpdists}; do cat ${here}/bindist/ftp/$(basename $i).?? | tar --unlink -xzpf - done fi cd ${tmpdir} # Customize the tmpdir rm -rf $(cat ${here}/bindist/delete) mkdir -p $(cat ${here}/bindist/dirlist) (cd ${here}/bindist/files; find -dx . | cpio -dump ${tmpdir}) # Post-processing of installed world date '+%Y%m%d' > var/db/port.mkversion rm -f kernel.GENERIC mkdir ${tmpdir}/var/run chroot ${tmpdir} /sbin/ldconfig /usr/lib if [ "${arch}" = "i386" ]; then chroot ${tmpdir} /sbin/ldconfig -aout /usr/lib/aout rm -f /usr/lib/aout/lib*_p.a fi # Create the tarballs mkdir -p ${here}/tarballs cd ${tmpdir} tar cf ${here}/tarballs/bindist.tar.new . mv -f ${here}/tarballs/bindist.tar.new ${here}/tarballs/bindist.tar # Clean up cd ${here} rm -rf ${tmpdir} 2>/dev/null if [ -d ${tmpdir} ]; then chflags -R noschg ${tmpdir} rm -rf ${tmpdir} fi Property changes on: head/Tools/portbuild/scripts/mkbindist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.10 \ No newline at end of property +1.11 \ No newline at end of property