aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2006-09-14 13:21:49 +0800
committerkris <kris@FreeBSD.org>2006-09-14 13:21:49 +0800
commitf6e085a23367423070f292e27d6e0533f8952506 (patch)
treed868c63aa0086f56738d8ade03c99be43bcea36a /Tools
parent1daf05e1f3cf8da36bdde413119b0f1e09351f70 (diff)
downloadfreebsd-ports-gnome-f6e085a23367423070f292e27d6e0533f8952506.tar.gz
freebsd-ports-gnome-f6e085a23367423070f292e27d6e0533f8952506.tar.zst
freebsd-ports-gnome-f6e085a23367423070f292e27d6e0533f8952506.zip
* Retire 4-exp builds and add support for 6-exp.
* Use a generation number for the bindist tarballs, with compatibility symlink. Eventually we'll use this to avoid building in a "stale" chroot (i.e. populated by old world). * Don't bother running ldconfig on i386, it is evidently not needed since the other arches work fine without it
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/mkbindist23
1 files changed, 12 insertions, 11 deletions
diff --git a/Tools/portbuild/scripts/mkbindist b/Tools/portbuild/scripts/mkbindist
index 249ce6ef401f..fb3dc49732ef 100755
--- a/Tools/portbuild/scripts/mkbindist
+++ b/Tools/portbuild/scripts/mkbindist
@@ -10,7 +10,7 @@ fi
arch=$1
branch=$2
-if [ "x$branch" != x4 -a "x$branch" != x4-exp -a "x$branch" != x5 -a "x$branch" != x5-exp -a "x$branch" != x6 -a "x$branch" != x7 ]; then
+if [ "x$branch" != x4 -a "x$branch" != x5 -a "x$branch" != x6-exp -a "x$branch" != x6 -a "x$branch" != x7 ]; then
usage
fi
@@ -77,24 +77,25 @@ 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
+
+if [ -f ${here}/tarballs/.gen ]; then
+ gen=$(cat ${here}/tarballs/.gen)
+else
+ gen=0
+fi
+newgen=$((${gen}+1))
+
cd ${tmpdir}
tar cf ${here}/tarballs/bindist.tar.new .
-mv -f ${here}/tarballs/bindist.tar.new ${here}/tarballs/bindist.tar
+rm -f ${here}/tarballs/bindist-${gen}.tar
+mv -f ${here}/tarballs/bindist.tar.new ${here}/tarballs/bindist-${newgen}.tar
+ln -sf ${here}/tarballs/bindist-${newgen}.tar ${here}/tarballs/bindist.tar
# Clean up
cd ${here}
r> * Explicitly depend on graphics/OpenEXR, graphics/exiv2 and net/samba-libsmbclientmakc2010-08-301-3/+7 * Present KDE SC 4.4.5 for FreeBSD.makc2010-06-301-3/+3 * Fix options dialog (text was too long)makc2010-06-201-1/+1 * Present KDE SC 4.4.4 for FreeBSD.makc2010-06-022-4/+3 * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-311-1/+1 * Make setup for Nepomuk slightly more user-friendly:makc2010-05-263-1/+22 * depend on fullpath to libssh to avoid interference with ssh.4 from compat7xmakc2010-05-241-1/+2 * The xz utils and lzma library have been imported into base, so makenaddy2010-05-221-1/+1 * - The FreeBSD KDE team is pleased to announce KDE SC 4.4.3 for FreeBSDfluffy2010-05-113-146/+384 * Chase audio/libmodplug update.ehaupt2010-04-241-1/+1 * - update to 1.4.1dinoex2010-03-281-1/+1 * Presenting KDE 4.3.5 for FreeBSD. The official release notes for thismiwi2010-02-072-4/+4 * - update to jpeg-8dinoex2010-02-05