diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2010-05-19 08:58:23 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 22:43:05 +0200 |
commit | b76270bf9e6dd375e495fec92140a79a79415d27 (patch) | |
tree | 3dbed78b2279bf9f14207a16dc634b90995cbd40 /source/l/glibc | |
parent | 5a12e7c134274dba706667107d10d231517d3e05 (diff) | |
download | current-b76270bf9e6dd375e495fec92140a79a79415d27.tar.gz |
Slackware 13.1slackware-13.1
Wed May 19 08:58:23 UTC 2010
Slackware 13.1 x86_64 stable is released!
Lots of thanks are due -- see the RELEASE_NOTES and the rest of the
ChangeLog for credits. The ISOs are on their way to replication,
a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD.
We are taking pre-orders now at store.slackware.com, and offering
a discount if you sign up for a subscription. Consider picking up
a copy to help support the project. Thanks again to the Slackware
community for testing, contributing, and generally holding us to a
high level of quality. :-)
Enjoy!
Diffstat (limited to 'source/l/glibc')
-rw-r--r-- | source/l/glibc/doinst.sh-glibc | 37 | ||||
-rw-r--r-- | source/l/glibc/doinst.sh-glibc-solibs | 37 | ||||
-rwxr-xr-x | source/l/glibc/glibc.SlackBuild | 38 |
3 files changed, 64 insertions, 48 deletions
diff --git a/source/l/glibc/doinst.sh-glibc b/source/l/glibc/doinst.sh-glibc index e85810f7..ffc066e8 100644 --- a/source/l/glibc/doinst.sh-glibc +++ b/source/l/glibc/doinst.sh-glibc @@ -110,45 +110,44 @@ rm -f etc/profile.d/glibc.sh.new # In case there's no ldconfig, make the links manually: if [ ! -x /sbin/ldconfig ]; then -# linuxthreads: ( cd lib ; rm -rf libnss_nis.so.2 ) -( cd lib ; ln -sf libnss_nis-2.9.so libnss_nis.so.2 ) +( cd lib ; ln -sf libnss_nis-2.11.1.so libnss_nis.so.2 ) ( cd lib ; rm -rf libm.so.6 ) -( cd lib ; ln -sf libm-2.9.so libm.so.6 ) +( cd lib ; ln -sf libm-2.11.1.so libm.so.6 ) ( cd lib ; rm -rf libnss_files.so.2 ) -( cd lib ; ln -sf libnss_files-2.9.so libnss_files.so.2 ) +( cd lib ; ln -sf libnss_files-2.11.1.so libnss_files.so.2 ) ( cd lib ; rm -rf libresolv.so.2 ) -( cd lib ; ln -sf libresolv-2.9.so libresolv.so.2 ) +( cd lib ; ln -sf libresolv-2.11.1.so libresolv.so.2 ) ( cd lib ; rm -rf libnsl.so.1 ) -( cd lib ; ln -sf libnsl-2.9.so libnsl.so.1 ) +( cd lib ; ln -sf libnsl-2.11.1.so libnsl.so.1 ) ( cd lib ; rm -rf libutil.so.1 ) -( cd lib ; ln -sf libutil-2.9.so libutil.so.1 ) +( cd lib ; ln -sf libutil-2.11.1.so libutil.so.1 ) ( cd lib ; rm -rf libnss_compat.so.2 ) -( cd lib ; ln -sf libnss_compat-2.9.so libnss_compat.so.2 ) +( cd lib ; ln -sf libnss_compat-2.11.1.so libnss_compat.so.2 ) ( cd lib ; rm -rf libthread_db.so.1 ) ( cd lib ; ln -sf libthread_db-1.0.so libthread_db.so.1 ) ( cd lib ; rm -rf libnss_hesiod.so.2 ) -( cd lib ; ln -sf libnss_hesiod-2.9.so libnss_hesiod.so.2 ) +( cd lib ; ln -sf libnss_hesiod-2.11.1.so libnss_hesiod.so.2 ) ( cd lib ; rm -rf libanl.so.1 ) -( cd lib ; ln -sf libanl-2.9.so libanl.so.1 ) +( cd lib ; ln -sf libanl-2.11.1.so libanl.so.1 ) ( cd lib ; rm -rf libcrypt.so.1 ) -( cd lib ; ln -sf libcrypt-2.9.so libcrypt.so.1 ) +( cd lib ; ln -sf libcrypt-2.11.1.so libcrypt.so.1 ) ( cd lib ; rm -rf libBrokenLocale.so.1 ) -( cd lib ; ln -sf libBrokenLocale-2.9.so libBrokenLocale.so.1 ) +( cd lib ; ln -sf libBrokenLocale-2.11.1.so libBrokenLocale.so.1 ) ( cd lib ; rm -rf ld-linux.so.2 ) -( cd lib ; ln -sf ld-2.9.so ld-linux.so.2 ) +( cd lib ; ln -sf ld-2.11.1.so ld-linux.so.2 ) ( cd lib ; rm -rf libdl.so.2 ) -( cd lib ; ln -sf libdl-2.9.so libdl.so.2 ) +( cd lib ; ln -sf libdl-2.11.1.so libdl.so.2 ) ( cd lib ; rm -rf libnss_dns.so.2 ) -( cd lib ; ln -sf libnss_dns-2.9.so libnss_dns.so.2 ) +( cd lib ; ln -sf libnss_dns-2.11.1.so libnss_dns.so.2 ) ( cd lib ; rm -rf libpthread.so.0 ) -( cd lib ; ln -sf libpthread-2.9.so libpthread.so.0 ) +( cd lib ; ln -sf libpthread-2.11.1.so libpthread.so.0 ) ( cd lib ; rm -rf libnss_nisplus.so.2 ) -( cd lib ; ln -sf libnss_nisplus-2.9.so libnss_nisplus.so.2 ) +( cd lib ; ln -sf libnss_nisplus-2.11.1.so libnss_nisplus.so.2 ) ( cd lib ; rm -rf libc.so.6 ) -( cd lib ; ln -sf libc-2.9.so libc.so.6 ) +( cd lib ; ln -sf libc-2.11.1.so libc.so.6 ) ( cd lib ; rm -rf librt.so.1 ) -( cd lib ; ln -sf librt-2.9.so librt.so.1 ) +( cd lib ; ln -sf librt-2.11.1.so librt.so.1 ) fi # More links: diff --git a/source/l/glibc/doinst.sh-glibc-solibs b/source/l/glibc/doinst.sh-glibc-solibs index bfc7ad85..a186da99 100644 --- a/source/l/glibc/doinst.sh-glibc-solibs +++ b/source/l/glibc/doinst.sh-glibc-solibs @@ -90,43 +90,42 @@ rm -f etc/profile.d/glibc.sh.new # In case there's no ldconfig, make the links manually: if [ ! -x /sbin/ldconfig ]; then -# linuxthreads: ( cd lib ; rm -rf libnss_nis.so.2 ) -( cd lib ; ln -sf libnss_nis-2.9.so libnss_nis.so.2 ) +( cd lib ; ln -sf libnss_nis-2.11.1.so libnss_nis.so.2 ) ( cd lib ; rm -rf libm.so.6 ) -( cd lib ; ln -sf libm-2.9.so libm.so.6 ) +( cd lib ; ln -sf libm-2.11.1.so libm.so.6 ) ( cd lib ; rm -rf libnss_files.so.2 ) -( cd lib ; ln -sf libnss_files-2.9.so libnss_files.so.2 ) +( cd lib ; ln -sf libnss_files-2.11.1.so libnss_files.so.2 ) ( cd lib ; rm -rf libresolv.so.2 ) -( cd lib ; ln -sf libresolv-2.9.so libresolv.so.2 ) +( cd lib ; ln -sf libresolv-2.11.1.so libresolv.so.2 ) ( cd lib ; rm -rf libnsl.so.1 ) -( cd lib ; ln -sf libnsl-2.9.so libnsl.so.1 ) +( cd lib ; ln -sf libnsl-2.11.1.so libnsl.so.1 ) ( cd lib ; rm -rf libutil.so.1 ) -( cd lib ; ln -sf libutil-2.9.so libutil.so.1 ) +( cd lib ; ln -sf libutil-2.11.1.so libutil.so.1 ) ( cd lib ; rm -rf libnss_compat.so.2 ) -( cd lib ; ln -sf libnss_compat-2.9.so libnss_compat.so.2 ) +( cd lib ; ln -sf libnss_compat-2.11.1.so libnss_compat.so.2 ) ( cd lib ; rm -rf libthread_db.so.1 ) ( cd lib ; ln -sf libthread_db-1.0.so libthread_db.so.1 ) ( cd lib ; rm -rf libnss_hesiod.so.2 ) -( cd lib ; ln -sf libnss_hesiod-2.9.so libnss_hesiod.so.2 ) +( cd lib ; ln -sf libnss_hesiod-2.11.1.so libnss_hesiod.so.2 ) ( cd lib ; rm -rf libanl.so.1 ) -( cd lib ; ln -sf libanl-2.9.so libanl.so.1 ) +( cd lib ; ln -sf libanl-2.11.1.so libanl.so.1 ) ( cd lib ; rm -rf libcrypt.so.1 ) -( cd lib ; ln -sf libcrypt-2.9.so libcrypt.so.1 ) +( cd lib ; ln -sf libcrypt-2.11.1.so libcrypt.so.1 ) ( cd lib ; rm -rf libBrokenLocale.so.1 ) -( cd lib ; ln -sf libBrokenLocale-2.9.so libBrokenLocale.so.1 ) +( cd lib ; ln -sf libBrokenLocale-2.11.1.so libBrokenLocale.so.1 ) ( cd lib ; rm -rf ld-linux.so.2 ) -( cd lib ; ln -sf ld-2.9.so ld-linux.so.2 ) +( cd lib ; ln -sf ld-2.11.1.so ld-linux.so.2 ) ( cd lib ; rm -rf libdl.so.2 ) -( cd lib ; ln -sf libdl-2.9.so libdl.so.2 ) +( cd lib ; ln -sf libdl-2.11.1.so libdl.so.2 ) ( cd lib ; rm -rf libnss_dns.so.2 ) -( cd lib ; ln -sf libnss_dns-2.9.so libnss_dns.so.2 ) +( cd lib ; ln -sf libnss_dns-2.11.1.so libnss_dns.so.2 ) ( cd lib ; rm -rf libpthread.so.0 ) -( cd lib ; ln -sf libpthread-2.9.so libpthread.so.0 ) +( cd lib ; ln -sf libpthread-2.11.1.so libpthread.so.0 ) ( cd lib ; rm -rf libnss_nisplus.so.2 ) -( cd lib ; ln -sf libnss_nisplus-2.9.so libnss_nisplus.so.2 ) +( cd lib ; ln -sf libnss_nisplus-2.11.1.so libnss_nisplus.so.2 ) ( cd lib ; rm -rf libc.so.6 ) -( cd lib ; ln -sf libc-2.9.so libc.so.6 ) +( cd lib ; ln -sf libc-2.11.1.so libc.so.6 ) ( cd lib ; rm -rf librt.so.1 ) -( cd lib ; ln -sf librt-2.9.so librt.so.1 ) +( cd lib ; ln -sf librt-2.11.1.so librt.so.1 ) fi diff --git a/source/l/glibc/glibc.SlackBuild b/source/l/glibc/glibc.SlackBuild index bf49bdce..c00d790e 100755 --- a/source/l/glibc/glibc.SlackBuild +++ b/source/l/glibc/glibc.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2006, 2008, 2009 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2006, 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,14 +22,25 @@ ## build glibc-$VERSION for Slackware - -VERSION=${VERSION:-2.9} -CHECKOUT=${CHECKOUT:--20090316} +VERSION=${VERSION:-2.11.1} +CHECKOUT=${CHECKOUT:-""} BUILD=${BUILD:-3} + +## Included in glibc now: +## glibc-libidn version +#LIBIDNVER=2.10.1 + # $ARCH may be preset, otherwise i486 compatibility with i686 binary # structuring is the Slackware default, since this is what gcc-3.2+ # requires for binary compatibility with previous releases. -ARCH=${ARCH:-x86_64} +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i486 ;; + arm*) export ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export ARCH=$( uname -m ) ;; + esac +fi CVSVER=${VERSION}${CHECKOUT} @@ -44,6 +55,8 @@ CWD=$(pwd) TMP=${TMP:-/glibc-tmp-$(mcookie)} mkdir -p $TMP +NUMJOBS=${NUMJOBS:--j4} + # Sanity check on the version number in the install scripts: if ! grep -vq libutil-$VERSION}.so $CWD/doinst.sh-glibc ; then echo "FATAL: doinst.sh scripts have wrong version numbers." @@ -101,14 +114,14 @@ apply_patches() { zcat $CWD/glibc.revert.to.fix.build.breakages.diff.gz | patch -p1 --verbose || exit 1 # Update the timezone information. ( cd timezone - tar xzf $CWD/tzdata2009d.tar.gz + tar xzf $CWD/tzdata?????.tar.gz chown root:root * mv yearistype.sh yearistype chmod 644 * chmod 755 yearistype mkdir tzcode cd tzcode - tar xzf $CWD/tzcode2009d.tar.gz + tar xzf $CWD/tzcode?????.tar.gz chown -R root:root . chmod 644 * cp -a *.c *.h .. @@ -187,9 +200,14 @@ mkdir -p $PKG/var/run/nscd # Begin extract/compile: cd $TMP rm -rf glibc-$CVSVER -tar xjvf $CWD/glibc-$CVSVER.tar.bz2 +tar xvf $CWD/glibc-$CVSVER.tar.xz \ + || tar xvf $CWD/glibc-$CVSVER.tar.bz2 \ + || tar xvf $CWD/glibc-$CVSVER.tar.gz cd glibc-$CVSVER +#tar xvf $CWD/glibc-libidn-$LIBIDNVER.tar.?z* +#mv glibc-libidn-$LIBIDNVER libidn + chown -R root:root . find . -perm 666 -exec chmod 644 {} \; find . -perm 664 -exec chmod 644 {} \; @@ -232,7 +250,7 @@ CFLAGS="-g $OPTIMIZ" \ --without-cvs \ $TARGET-slackware-linux -make -j4 || exit 1 +make $NUMJOBS || make || exit 1 make install install_root=$PKG || exit 1 make localedata/install-locales install_root=$PKG || exit 1 @@ -442,7 +460,7 @@ fix_doinst mv incoming/libSegFault.so . ) # Build the package: -makepkg -l y -c n $TMP/glibc-$VERSION-$ARCH-$BUILD.txz +/sbin/makepkg -l y -c n $TMP/glibc-$VERSION-$ARCH-$BUILD.txz # Done! echo |