2018-05-28 21:12:29 +02:00
|
|
|
#!/bin/bash
|
2009-08-26 17:00:38 +02:00
|
|
|
|
2024-02-02 23:12:45 +01:00
|
|
|
# Copyright 2006, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024 Patrick J. Volkerding, Sebeka, MN, USA
|
2009-08-26 17:00:38 +02:00
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# Redistribution and use of this script, with or without modification, is
|
|
|
|
# permitted provided that the following conditions are met:
|
|
|
|
#
|
|
|
|
# 1. Redistributions of this script must retain the above copyright
|
|
|
|
# notice, this list of conditions and the following disclaimer.
|
|
|
|
#
|
|
|
|
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
|
|
|
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
|
|
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
|
|
|
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
|
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
|
|
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
|
|
|
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
|
|
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
|
|
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
|
|
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
2018-05-28 21:12:29 +02:00
|
|
|
cd $(dirname $0) ; CWD=$(pwd)
|
|
|
|
|
|
|
|
PKGNAM=glibc
|
2016-06-30 22:26:57 +02:00
|
|
|
VERSION=${VERSION:-$(echo glibc-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
|
2010-05-19 10:58:23 +02:00
|
|
|
CHECKOUT=${CHECKOUT:-""}
|
2024-08-16 21:58:10 +02:00
|
|
|
BUILD=${BUILD:-4}
|
2010-05-19 10:58:23 +02:00
|
|
|
|
2013-11-04 18:08:47 +01:00
|
|
|
# I was considering disabling NSCD, but MoZes talked me out of it. :)
|
|
|
|
#DISABLE_NSCD=" --disable-nscd "
|
|
|
|
|
Tue Jul 23 18:54:25 UTC 2024
Hey folks, we got a new glibc and are beginning the process of baking the new
default compile flags into the toolchain, the graphics stack, and whatever else
happens along. Enjoy! :-)
a/aaa_glibc-solibs-2.40-x86_64-1.txz: Upgraded.
a/libblockdev-3.1.1_1-x86_64-2.txz: Rebuilt.
Fix build against recent ext2fs.h. Thanks to shipujin.
a/xfsprogs-6.9.0-x86_64-1.txz: Upgraded.
ap/rpm-4.19.1.1-x86_64-3.txz: Rebuilt.
ap/slackpkg-15.0.10-noarch-4.txz: Rebuilt.
Prefer gpg1 again. Going with the modern gpg with more dependencies was
a mistake in this case. (now we know why gnupg-1 is still around :-)
Thanks to Petri Kaukasoina.
d/binutils-2.42-x86_64-3.txz: Rebuilt.
d/cargo-vendor-filterer-0.5.14-x86_64-2.txz: Rebuilt.
d/cbindgen-0.26.0-x86_64-2.txz: Rebuilt.
d/ccache-4.10.2-x86_64-1.txz: Upgraded.
d/cmake-3.30.1-x86_64-2.txz: Rebuilt.
d/gcc-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-g++-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gdc-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gfortran-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gm2-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gnat-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-go-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-objc-14.1.0-x86_64-2.txz: Rebuilt.
d/libgccjit-14.1.0-x86_64-2.txz: Rebuilt.
d/libtool-2.4.7-x86_64-8.txz: Rebuilt.
d/parallel-20240722-noarch-1.txz: Upgraded.
d/pkg-config-0.29.2-x86_64-5.txz: Rebuilt.
d/python-setuptools-71.1.0-x86_64-1.txz: Upgraded.
d/ruby-3.3.4-x86_64-2.txz: Rebuilt.
d/rust-bindgen-0.69.4-x86_64-2.txz: Rebuilt.
d/strace-6.10-x86_64-1.txz: Upgraded.
d/subversion-1.14.3-x86_64-3.txz: Rebuilt.
e/emacs-29.4-x86_64-2.txz: Rebuilt.
l/PyQt-builder-1.16.4-x86_64-2.txz: Rebuilt.
l/PyQt5-5.15.11-x86_64-1.txz: Upgraded.
l/PyQt5_sip-12.15.0-x86_64-2.txz: Rebuilt.
l/argon2-20190702-x86_64-6.txz: Rebuilt.
l/ffmpeg-6.1.1-x86_64-5.txz: Rebuilt.
l/glibc-2.40-x86_64-1.txz: Upgraded.
This update fixes security issues:
nscd: Stack-based buffer overflow in netgroup cache.
nscd: Null pointer crash after notfound response.
nscd: netgroup cache may terminate daemon on memory allocation failure.
nscd: netgroup cache assumes NSS callback uses in-buffer strings.
These vulnerabilities were only present in the nscd binary.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2024-33599
https://www.cve.org/CVERecord?id=CVE-2024-33600
https://www.cve.org/CVERecord?id=CVE-2024-33601
https://www.cve.org/CVERecord?id=CVE-2024-33602
(* Security fix *)
l/glibc-i18n-2.40-x86_64-1.txz: Upgraded.
l/glibc-profile-2.40-x86_64-1.txz: Upgraded.
l/gst-plugins-good-1.24.5-x86_64-2.txz: Rebuilt.
l/libcdio-paranoia-10.2+2.0.2-x86_64-1.txz: Upgraded.
l/libclc-18.1.8-x86_64-3.txz: Rebuilt.
l/libproxy-0.5.8-x86_64-1.txz: Upgraded.
l/lz4-1.10.0-x86_64-1.txz: Upgraded.
l/poppler-24.07.0-x86_64-2.txz: Rebuilt.
l/python-importlib_metadata-8.1.0-x86_64-1.txz: Upgraded.
l/python-sphinx-7.4.7-x86_64-1.txz: Upgraded.
l/qt5-5.15.14_20240716_ae0c8451-x86_64-1.txz: Upgraded.
l/qt5-webkit-5.212.0_alpha4-x86_64-13.txz: Rebuilt.
l/qt6-6.7.2_20240610_3f005f1e-x86_64-3.txz: Rebuilt.
l/sip-6.8.6-x86_64-2.txz: Rebuilt.
l/spirv-llvm-translator-18.1.2-x86_64-2.txz: Rebuilt.
l/v4l-utils-1.28.0-x86_64-1.txz: Upgraded.
n/bind-9.18.28-x86_64-1.txz: Upgraded.
This update fixes security issues:
Remove SIG(0) support from named as a countermeasure for CVE-2024-1975.
qctx-zversion was not being cleared when it should have been leading to
an assertion failure if it needed to be reused.
An excessively large number of rrtypes per owner can slow down database query
processing, so a limit has been placed on the number of rrtypes that can be
stored per owner (node) in a cache or zone database. This is configured with
the new "max-rrtypes-per-name" option, and defaults to 100.
Excessively large rdatasets can slow down database query processing, so a
limit has been placed on the number of records that can be stored per
rdataset in a cache or zone database. This is configured with the new
"max-records-per-type" option, and defaults to 100.
Malicious DNS client that sends many queries over TCP but never reads
responses can cause server to respond slowly or not respond at all for other
clients.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2024-1975
https://www.cve.org/CVERecord?id=CVE-2024-4076
https://www.cve.org/CVERecord?id=CVE-2024-1737
https://www.cve.org/CVERecord?id=CVE-2024-0760
(* Security fix *)
n/fetchmail-6.4.39-x86_64-1.txz: Upgraded.
n/obexftp-0.24.2-x86_64-13.txz: Rebuilt.
n/pinentry-1.3.1-x86_64-2.txz: Rebuilt.
n/wpa_supplicant-2.11-x86_64-1.txz: Upgraded.
x/fcitx5-qt-5.1.6-x86_64-3.txz: Rebuilt.
x/ibus-m17n-1.4.30-x86_64-1.txz: Upgraded.
x/libdrm-2.4.122-x86_64-2.txz: Rebuilt.
x/marisa-0.2.6-x86_64-10.txz: Rebuilt.
x/mesa-24.1.4-x86_64-2.txz: Rebuilt.
x/vulkan-sdk-1.3.275.0-x86_64-3.txz: Rebuilt.
xap/audacious-4.4-x86_64-2.txz: Rebuilt.
xap/audacious-plugins-4.4-x86_64-2.txz: Rebuilt.
xap/mozilla-thunderbird-128.0.1esr-x86_64-1.txz: Upgraded.
This is a bugfix release.
For more information, see:
https://www.mozilla.org/en-US/thunderbird/128.0.1esr/releasenotes/
xap/xaos-4.3.2-x86_64-2.txz: Rebuilt.
extra/emacs-regular-build/emacs-29.4-x86_64-2_regular.txz: Rebuilt.
2024-07-23 20:54:25 +02:00
|
|
|
# $ARCH may be preset, otherwise i686 (pentium4) is the Slackware default.
|
2010-05-19 10:58:23 +02:00
|
|
|
if [ -z "$ARCH" ]; then
|
|
|
|
case "$( uname -m )" in
|
Tue Jul 23 18:54:25 UTC 2024
Hey folks, we got a new glibc and are beginning the process of baking the new
default compile flags into the toolchain, the graphics stack, and whatever else
happens along. Enjoy! :-)
a/aaa_glibc-solibs-2.40-x86_64-1.txz: Upgraded.
a/libblockdev-3.1.1_1-x86_64-2.txz: Rebuilt.
Fix build against recent ext2fs.h. Thanks to shipujin.
a/xfsprogs-6.9.0-x86_64-1.txz: Upgraded.
ap/rpm-4.19.1.1-x86_64-3.txz: Rebuilt.
ap/slackpkg-15.0.10-noarch-4.txz: Rebuilt.
Prefer gpg1 again. Going with the modern gpg with more dependencies was
a mistake in this case. (now we know why gnupg-1 is still around :-)
Thanks to Petri Kaukasoina.
d/binutils-2.42-x86_64-3.txz: Rebuilt.
d/cargo-vendor-filterer-0.5.14-x86_64-2.txz: Rebuilt.
d/cbindgen-0.26.0-x86_64-2.txz: Rebuilt.
d/ccache-4.10.2-x86_64-1.txz: Upgraded.
d/cmake-3.30.1-x86_64-2.txz: Rebuilt.
d/gcc-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-g++-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gdc-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gfortran-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gm2-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gnat-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-go-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-objc-14.1.0-x86_64-2.txz: Rebuilt.
d/libgccjit-14.1.0-x86_64-2.txz: Rebuilt.
d/libtool-2.4.7-x86_64-8.txz: Rebuilt.
d/parallel-20240722-noarch-1.txz: Upgraded.
d/pkg-config-0.29.2-x86_64-5.txz: Rebuilt.
d/python-setuptools-71.1.0-x86_64-1.txz: Upgraded.
d/ruby-3.3.4-x86_64-2.txz: Rebuilt.
d/rust-bindgen-0.69.4-x86_64-2.txz: Rebuilt.
d/strace-6.10-x86_64-1.txz: Upgraded.
d/subversion-1.14.3-x86_64-3.txz: Rebuilt.
e/emacs-29.4-x86_64-2.txz: Rebuilt.
l/PyQt-builder-1.16.4-x86_64-2.txz: Rebuilt.
l/PyQt5-5.15.11-x86_64-1.txz: Upgraded.
l/PyQt5_sip-12.15.0-x86_64-2.txz: Rebuilt.
l/argon2-20190702-x86_64-6.txz: Rebuilt.
l/ffmpeg-6.1.1-x86_64-5.txz: Rebuilt.
l/glibc-2.40-x86_64-1.txz: Upgraded.
This update fixes security issues:
nscd: Stack-based buffer overflow in netgroup cache.
nscd: Null pointer crash after notfound response.
nscd: netgroup cache may terminate daemon on memory allocation failure.
nscd: netgroup cache assumes NSS callback uses in-buffer strings.
These vulnerabilities were only present in the nscd binary.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2024-33599
https://www.cve.org/CVERecord?id=CVE-2024-33600
https://www.cve.org/CVERecord?id=CVE-2024-33601
https://www.cve.org/CVERecord?id=CVE-2024-33602
(* Security fix *)
l/glibc-i18n-2.40-x86_64-1.txz: Upgraded.
l/glibc-profile-2.40-x86_64-1.txz: Upgraded.
l/gst-plugins-good-1.24.5-x86_64-2.txz: Rebuilt.
l/libcdio-paranoia-10.2+2.0.2-x86_64-1.txz: Upgraded.
l/libclc-18.1.8-x86_64-3.txz: Rebuilt.
l/libproxy-0.5.8-x86_64-1.txz: Upgraded.
l/lz4-1.10.0-x86_64-1.txz: Upgraded.
l/poppler-24.07.0-x86_64-2.txz: Rebuilt.
l/python-importlib_metadata-8.1.0-x86_64-1.txz: Upgraded.
l/python-sphinx-7.4.7-x86_64-1.txz: Upgraded.
l/qt5-5.15.14_20240716_ae0c8451-x86_64-1.txz: Upgraded.
l/qt5-webkit-5.212.0_alpha4-x86_64-13.txz: Rebuilt.
l/qt6-6.7.2_20240610_3f005f1e-x86_64-3.txz: Rebuilt.
l/sip-6.8.6-x86_64-2.txz: Rebuilt.
l/spirv-llvm-translator-18.1.2-x86_64-2.txz: Rebuilt.
l/v4l-utils-1.28.0-x86_64-1.txz: Upgraded.
n/bind-9.18.28-x86_64-1.txz: Upgraded.
This update fixes security issues:
Remove SIG(0) support from named as a countermeasure for CVE-2024-1975.
qctx-zversion was not being cleared when it should have been leading to
an assertion failure if it needed to be reused.
An excessively large number of rrtypes per owner can slow down database query
processing, so a limit has been placed on the number of rrtypes that can be
stored per owner (node) in a cache or zone database. This is configured with
the new "max-rrtypes-per-name" option, and defaults to 100.
Excessively large rdatasets can slow down database query processing, so a
limit has been placed on the number of records that can be stored per
rdataset in a cache or zone database. This is configured with the new
"max-records-per-type" option, and defaults to 100.
Malicious DNS client that sends many queries over TCP but never reads
responses can cause server to respond slowly or not respond at all for other
clients.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2024-1975
https://www.cve.org/CVERecord?id=CVE-2024-4076
https://www.cve.org/CVERecord?id=CVE-2024-1737
https://www.cve.org/CVERecord?id=CVE-2024-0760
(* Security fix *)
n/fetchmail-6.4.39-x86_64-1.txz: Upgraded.
n/obexftp-0.24.2-x86_64-13.txz: Rebuilt.
n/pinentry-1.3.1-x86_64-2.txz: Rebuilt.
n/wpa_supplicant-2.11-x86_64-1.txz: Upgraded.
x/fcitx5-qt-5.1.6-x86_64-3.txz: Rebuilt.
x/ibus-m17n-1.4.30-x86_64-1.txz: Upgraded.
x/libdrm-2.4.122-x86_64-2.txz: Rebuilt.
x/marisa-0.2.6-x86_64-10.txz: Rebuilt.
x/mesa-24.1.4-x86_64-2.txz: Rebuilt.
x/vulkan-sdk-1.3.275.0-x86_64-3.txz: Rebuilt.
xap/audacious-4.4-x86_64-2.txz: Rebuilt.
xap/audacious-plugins-4.4-x86_64-2.txz: Rebuilt.
xap/mozilla-thunderbird-128.0.1esr-x86_64-1.txz: Upgraded.
This is a bugfix release.
For more information, see:
https://www.mozilla.org/en-US/thunderbird/128.0.1esr/releasenotes/
xap/xaos-4.3.2-x86_64-2.txz: Rebuilt.
extra/emacs-regular-build/emacs-29.4-x86_64-2_regular.txz: Rebuilt.
2024-07-23 20:54:25 +02:00
|
|
|
i?86) export ARCH=i686 ;;
|
2010-05-19 10:58:23 +02:00
|
|
|
arm*) export ARCH=arm ;;
|
|
|
|
# Unless $ARCH is already set, use uname -m for all other archs:
|
|
|
|
*) export ARCH=$( uname -m ) ;;
|
|
|
|
esac
|
|
|
|
fi
|
2009-08-26 17:00:38 +02:00
|
|
|
|
2018-05-28 21:12:29 +02:00
|
|
|
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
|
|
|
# the name of the created package would be, and then exit. This information
|
|
|
|
# could be useful to other scripts.
|
|
|
|
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
|
|
|
echo "glibc-$VERSION-$ARCH-$BUILD.txz"
|
|
|
|
echo "glibc-i18n-$VERSION-$ARCH-$BUILD.txz"
|
|
|
|
echo "glibc-profile-$VERSION-$ARCH-$BUILD.txz"
|
Mon Feb 8 05:13:26 UTC 2021
a/aaa_elflibs-15.0-x86_64-30.txz: Removed.
Renamed to aaa_libraries.
a/aaa_glibc-solibs-2.32-x86_64-2.txz: Added.
This package has been renamed from glibc-solibs, which helps avoid trouble
if someone upgrades using "upgradepkg --install-new */*.txz" by upgrading
this package before aaa_libraries. Otherwise, if aaa_libraries is upgraded
first any libraries in it that are linked against a newer version of glibc
than the one installed on the system would refuse to load.
a/aaa_libraries-15.0-x86_64-1.txz: Added.
This package has been renamed from aaa_elflibs to insure that it will come
after aaa_glibc-solibs when upgraded in alphabetical order.
Upgraded: libcap.so.2.48, libelf-0.183.so, libglib-2.0.so.0.6600.6,
libgmodule-2.0.so.0.6600.6, libgobject-2.0.so.0.6600.6,
libgthread-2.0.so.0.6600.6.
Added: libtirpc.so.3.0.0.
a/btrfs-progs-5.10.1-x86_64-1.txz: Upgraded.
a/glibc-solibs-2.32-x86_64-1.txz: Removed.
Renamed to aaa_glibc-solibs.
a/kernel-generic-5.10.14-x86_64-1.txz: Upgraded.
a/kernel-huge-5.10.14-x86_64-1.txz: Upgraded.
a/kernel-modules-5.10.14-x86_64-1.txz: Upgraded.
ap/slackpkg-15.0-noarch-1.txz: Upgraded.
These are some of the important changes (see the ChangeLog for more):
Note that this slackpkg release contains a backwards-incompatible change to
the blacklisting syntax (e.g. glibc ---> glibc-*). This changes the prior
behavior of the blacklist function; previously, adding "glibc" to the
blacklist would cause glibc, glibc-profile, glibc-zoneinfo, et al to be
ignored by slackpkg. The new behavior is that *only* the glibc package is
ignored. If you want to blacklist all packages whose names begin with glibc,
you would need to add "glibc.*" to the blacklist now. Also note that any
special characters, e.g. "+", will need to be escaped in the blacklist file.
To blacklist entire package sets, a trailing slash is now required: e.g. kde/
Another backwards-incompatibility warning: check-updates will now return 1 if
there are updates available - this will make it easier to use this feature
with cron (thanks to Peter Hyman).
Added support for Slackware-AArch64 (thanks to Stuart Winter).
Added aaa_glibc-solibs and aaa_libraries to the "do these first" routine.
Thanks to Robby Workman for the new slackpkg release!
ap/soma-3.3.7-noarch-1.txz: Upgraded.
Thanks to David Woodfall.
ap/xorriso-1.5.4.pl02-x86_64-1.txz: Upgraded.
d/help2man-1.48.1-x86_64-1.txz: Upgraded.
d/kernel-headers-5.10.14-x86-1.txz: Upgraded.
k/kernel-source-5.10.14-noarch-1.txz: Upgraded.
l/elfutils-0.183-x86_64-1.txz: Upgraded.
l/glibc-2.32-x86_64-2.txz: Rebuilt.
l/glibc-i18n-2.32-x86_64-2.txz: Rebuilt.
l/glibc-profile-2.32-x86_64-2.txz: Rebuilt.
l/lcms2-2.12-x86_64-1.txz: Upgraded.
l/libburn-1.5.4-x86_64-1.txz: Upgraded.
x/xf86-input-wacom-0.40.0-x86_64-1.txz: Upgraded.
isolinux/initrd.img: Rebuilt.
kernels/*: Upgraded.
usb-and-pxe-installers/usbboot.img: Rebuilt.
2021-02-08 06:13:26 +01:00
|
|
|
echo "aaa_glibc-solibs-$VERSION-$ARCH-$BUILD.txz"
|
2018-05-28 21:12:29 +02:00
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
2019-07-26 00:48:09 +02:00
|
|
|
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
|
|
|
|
|
2021-01-02 21:36:24 +01:00
|
|
|
# Work around -Werror failure with gcc-10.2.0.
|
2018-07-29 10:27:12 +02:00
|
|
|
# NOTE: Until the next glibc release takes care of this issue, this will
|
|
|
|
# likely need to be updated with every new gcc release's version. Yes, we
|
|
|
|
# could pass --disable-werror by default, but I'd rather not just shove a
|
|
|
|
# stick in it like that.
|
2021-01-02 21:36:24 +01:00
|
|
|
if [ "$(gcc -dumpversion)" = "10.2.0" ]; then
|
|
|
|
if [ "$VERSION" = "2.30" ]; then
|
2018-06-27 06:13:25 +02:00
|
|
|
WERROR="--disable-werror"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2011-04-25 15:37:00 +02:00
|
|
|
# I'll break this out as an option for fun :-)
|
|
|
|
case $ARCH in
|
|
|
|
i586)
|
2016-06-30 22:26:57 +02:00
|
|
|
OPTIMIZ="-O3 -march=i586 -mtune=i686"
|
2011-04-25 15:37:00 +02:00
|
|
|
LIBDIRSUFFIX=""
|
|
|
|
;;
|
|
|
|
i686)
|
2024-08-16 21:58:10 +02:00
|
|
|
# -mstackrealign is needed for compatibilty with legacy binaries that
|
|
|
|
# keep 4-byte stack alignment.
|
|
|
|
# -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer are required by
|
|
|
|
# both nouveau and the nvidia driver to prevent crashes and hangs.
|
2024-08-18 20:11:20 +02:00
|
|
|
# We could also possibly add these:
|
|
|
|
# -fno-tree-vectorize -fno-tree-loop-vectorize -fno-tree-slp-vectorize
|
|
|
|
# But since we're already requiring at least a pentium4, I'm not sure
|
|
|
|
# what the benefit would be, so we won't do this yet.
|
2024-08-16 21:58:10 +02:00
|
|
|
OPTIMIZ="-O3 -march=pentium4 -mtune=generic -mstackrealign -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
|
2011-04-25 15:37:00 +02:00
|
|
|
LIBDIRSUFFIX=""
|
|
|
|
;;
|
|
|
|
x86_64)
|
Tue Jul 23 18:54:25 UTC 2024
Hey folks, we got a new glibc and are beginning the process of baking the new
default compile flags into the toolchain, the graphics stack, and whatever else
happens along. Enjoy! :-)
a/aaa_glibc-solibs-2.40-x86_64-1.txz: Upgraded.
a/libblockdev-3.1.1_1-x86_64-2.txz: Rebuilt.
Fix build against recent ext2fs.h. Thanks to shipujin.
a/xfsprogs-6.9.0-x86_64-1.txz: Upgraded.
ap/rpm-4.19.1.1-x86_64-3.txz: Rebuilt.
ap/slackpkg-15.0.10-noarch-4.txz: Rebuilt.
Prefer gpg1 again. Going with the modern gpg with more dependencies was
a mistake in this case. (now we know why gnupg-1 is still around :-)
Thanks to Petri Kaukasoina.
d/binutils-2.42-x86_64-3.txz: Rebuilt.
d/cargo-vendor-filterer-0.5.14-x86_64-2.txz: Rebuilt.
d/cbindgen-0.26.0-x86_64-2.txz: Rebuilt.
d/ccache-4.10.2-x86_64-1.txz: Upgraded.
d/cmake-3.30.1-x86_64-2.txz: Rebuilt.
d/gcc-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-g++-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gdc-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gfortran-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gm2-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gnat-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-go-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-objc-14.1.0-x86_64-2.txz: Rebuilt.
d/libgccjit-14.1.0-x86_64-2.txz: Rebuilt.
d/libtool-2.4.7-x86_64-8.txz: Rebuilt.
d/parallel-20240722-noarch-1.txz: Upgraded.
d/pkg-config-0.29.2-x86_64-5.txz: Rebuilt.
d/python-setuptools-71.1.0-x86_64-1.txz: Upgraded.
d/ruby-3.3.4-x86_64-2.txz: Rebuilt.
d/rust-bindgen-0.69.4-x86_64-2.txz: Rebuilt.
d/strace-6.10-x86_64-1.txz: Upgraded.
d/subversion-1.14.3-x86_64-3.txz: Rebuilt.
e/emacs-29.4-x86_64-2.txz: Rebuilt.
l/PyQt-builder-1.16.4-x86_64-2.txz: Rebuilt.
l/PyQt5-5.15.11-x86_64-1.txz: Upgraded.
l/PyQt5_sip-12.15.0-x86_64-2.txz: Rebuilt.
l/argon2-20190702-x86_64-6.txz: Rebuilt.
l/ffmpeg-6.1.1-x86_64-5.txz: Rebuilt.
l/glibc-2.40-x86_64-1.txz: Upgraded.
This update fixes security issues:
nscd: Stack-based buffer overflow in netgroup cache.
nscd: Null pointer crash after notfound response.
nscd: netgroup cache may terminate daemon on memory allocation failure.
nscd: netgroup cache assumes NSS callback uses in-buffer strings.
These vulnerabilities were only present in the nscd binary.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2024-33599
https://www.cve.org/CVERecord?id=CVE-2024-33600
https://www.cve.org/CVERecord?id=CVE-2024-33601
https://www.cve.org/CVERecord?id=CVE-2024-33602
(* Security fix *)
l/glibc-i18n-2.40-x86_64-1.txz: Upgraded.
l/glibc-profile-2.40-x86_64-1.txz: Upgraded.
l/gst-plugins-good-1.24.5-x86_64-2.txz: Rebuilt.
l/libcdio-paranoia-10.2+2.0.2-x86_64-1.txz: Upgraded.
l/libclc-18.1.8-x86_64-3.txz: Rebuilt.
l/libproxy-0.5.8-x86_64-1.txz: Upgraded.
l/lz4-1.10.0-x86_64-1.txz: Upgraded.
l/poppler-24.07.0-x86_64-2.txz: Rebuilt.
l/python-importlib_metadata-8.1.0-x86_64-1.txz: Upgraded.
l/python-sphinx-7.4.7-x86_64-1.txz: Upgraded.
l/qt5-5.15.14_20240716_ae0c8451-x86_64-1.txz: Upgraded.
l/qt5-webkit-5.212.0_alpha4-x86_64-13.txz: Rebuilt.
l/qt6-6.7.2_20240610_3f005f1e-x86_64-3.txz: Rebuilt.
l/sip-6.8.6-x86_64-2.txz: Rebuilt.
l/spirv-llvm-translator-18.1.2-x86_64-2.txz: Rebuilt.
l/v4l-utils-1.28.0-x86_64-1.txz: Upgraded.
n/bind-9.18.28-x86_64-1.txz: Upgraded.
This update fixes security issues:
Remove SIG(0) support from named as a countermeasure for CVE-2024-1975.
qctx-zversion was not being cleared when it should have been leading to
an assertion failure if it needed to be reused.
An excessively large number of rrtypes per owner can slow down database query
processing, so a limit has been placed on the number of rrtypes that can be
stored per owner (node) in a cache or zone database. This is configured with
the new "max-rrtypes-per-name" option, and defaults to 100.
Excessively large rdatasets can slow down database query processing, so a
limit has been placed on the number of records that can be stored per
rdataset in a cache or zone database. This is configured with the new
"max-records-per-type" option, and defaults to 100.
Malicious DNS client that sends many queries over TCP but never reads
responses can cause server to respond slowly or not respond at all for other
clients.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2024-1975
https://www.cve.org/CVERecord?id=CVE-2024-4076
https://www.cve.org/CVERecord?id=CVE-2024-1737
https://www.cve.org/CVERecord?id=CVE-2024-0760
(* Security fix *)
n/fetchmail-6.4.39-x86_64-1.txz: Upgraded.
n/obexftp-0.24.2-x86_64-13.txz: Rebuilt.
n/pinentry-1.3.1-x86_64-2.txz: Rebuilt.
n/wpa_supplicant-2.11-x86_64-1.txz: Upgraded.
x/fcitx5-qt-5.1.6-x86_64-3.txz: Rebuilt.
x/ibus-m17n-1.4.30-x86_64-1.txz: Upgraded.
x/libdrm-2.4.122-x86_64-2.txz: Rebuilt.
x/marisa-0.2.6-x86_64-10.txz: Rebuilt.
x/mesa-24.1.4-x86_64-2.txz: Rebuilt.
x/vulkan-sdk-1.3.275.0-x86_64-3.txz: Rebuilt.
xap/audacious-4.4-x86_64-2.txz: Rebuilt.
xap/audacious-plugins-4.4-x86_64-2.txz: Rebuilt.
xap/mozilla-thunderbird-128.0.1esr-x86_64-1.txz: Upgraded.
This is a bugfix release.
For more information, see:
https://www.mozilla.org/en-US/thunderbird/128.0.1esr/releasenotes/
xap/xaos-4.3.2-x86_64-2.txz: Rebuilt.
extra/emacs-regular-build/emacs-29.4-x86_64-2_regular.txz: Rebuilt.
2024-07-23 20:54:25 +02:00
|
|
|
OPTIMIZ="-O3 -march=x86-64 -mtune=generic -fPIC"
|
2011-04-25 15:37:00 +02:00
|
|
|
LIBDIRSUFFIX="64"
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
OPTIMIZ="-O3"
|
|
|
|
LIBDIRSUFFIX=""
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
case $ARCH in
|
|
|
|
x86_64)
|
|
|
|
TARGET=${TARGET:-x86_64}
|
|
|
|
;;
|
Tue Jul 23 18:54:25 UTC 2024
Hey folks, we got a new glibc and are beginning the process of baking the new
default compile flags into the toolchain, the graphics stack, and whatever else
happens along. Enjoy! :-)
a/aaa_glibc-solibs-2.40-x86_64-1.txz: Upgraded.
a/libblockdev-3.1.1_1-x86_64-2.txz: Rebuilt.
Fix build against recent ext2fs.h. Thanks to shipujin.
a/xfsprogs-6.9.0-x86_64-1.txz: Upgraded.
ap/rpm-4.19.1.1-x86_64-3.txz: Rebuilt.
ap/slackpkg-15.0.10-noarch-4.txz: Rebuilt.
Prefer gpg1 again. Going with the modern gpg with more dependencies was
a mistake in this case. (now we know why gnupg-1 is still around :-)
Thanks to Petri Kaukasoina.
d/binutils-2.42-x86_64-3.txz: Rebuilt.
d/cargo-vendor-filterer-0.5.14-x86_64-2.txz: Rebuilt.
d/cbindgen-0.26.0-x86_64-2.txz: Rebuilt.
d/ccache-4.10.2-x86_64-1.txz: Upgraded.
d/cmake-3.30.1-x86_64-2.txz: Rebuilt.
d/gcc-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-g++-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gdc-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gfortran-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gm2-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-gnat-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-go-14.1.0-x86_64-2.txz: Rebuilt.
d/gcc-objc-14.1.0-x86_64-2.txz: Rebuilt.
d/libgccjit-14.1.0-x86_64-2.txz: Rebuilt.
d/libtool-2.4.7-x86_64-8.txz: Rebuilt.
d/parallel-20240722-noarch-1.txz: Upgraded.
d/pkg-config-0.29.2-x86_64-5.txz: Rebuilt.
d/python-setuptools-71.1.0-x86_64-1.txz: Upgraded.
d/ruby-3.3.4-x86_64-2.txz: Rebuilt.
d/rust-bindgen-0.69.4-x86_64-2.txz: Rebuilt.
d/strace-6.10-x86_64-1.txz: Upgraded.
d/subversion-1.14.3-x86_64-3.txz: Rebuilt.
e/emacs-29.4-x86_64-2.txz: Rebuilt.
l/PyQt-builder-1.16.4-x86_64-2.txz: Rebuilt.
l/PyQt5-5.15.11-x86_64-1.txz: Upgraded.
l/PyQt5_sip-12.15.0-x86_64-2.txz: Rebuilt.
l/argon2-20190702-x86_64-6.txz: Rebuilt.
l/ffmpeg-6.1.1-x86_64-5.txz: Rebuilt.
l/glibc-2.40-x86_64-1.txz: Upgraded.
This update fixes security issues:
nscd: Stack-based buffer overflow in netgroup cache.
nscd: Null pointer crash after notfound response.
nscd: netgroup cache may terminate daemon on memory allocation failure.
nscd: netgroup cache assumes NSS callback uses in-buffer strings.
These vulnerabilities were only present in the nscd binary.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2024-33599
https://www.cve.org/CVERecord?id=CVE-2024-33600
https://www.cve.org/CVERecord?id=CVE-2024-33601
https://www.cve.org/CVERecord?id=CVE-2024-33602
(* Security fix *)
l/glibc-i18n-2.40-x86_64-1.txz: Upgraded.
l/glibc-profile-2.40-x86_64-1.txz: Upgraded.
l/gst-plugins-good-1.24.5-x86_64-2.txz: Rebuilt.
l/libcdio-paranoia-10.2+2.0.2-x86_64-1.txz: Upgraded.
l/libclc-18.1.8-x86_64-3.txz: Rebuilt.
l/libproxy-0.5.8-x86_64-1.txz: Upgraded.
l/lz4-1.10.0-x86_64-1.txz: Upgraded.
l/poppler-24.07.0-x86_64-2.txz: Rebuilt.
l/python-importlib_metadata-8.1.0-x86_64-1.txz: Upgraded.
l/python-sphinx-7.4.7-x86_64-1.txz: Upgraded.
l/qt5-5.15.14_20240716_ae0c8451-x86_64-1.txz: Upgraded.
l/qt5-webkit-5.212.0_alpha4-x86_64-13.txz: Rebuilt.
l/qt6-6.7.2_20240610_3f005f1e-x86_64-3.txz: Rebuilt.
l/sip-6.8.6-x86_64-2.txz: Rebuilt.
l/spirv-llvm-translator-18.1.2-x86_64-2.txz: Rebuilt.
l/v4l-utils-1.28.0-x86_64-1.txz: Upgraded.
n/bind-9.18.28-x86_64-1.txz: Upgraded.
This update fixes security issues:
Remove SIG(0) support from named as a countermeasure for CVE-2024-1975.
qctx-zversion was not being cleared when it should have been leading to
an assertion failure if it needed to be reused.
An excessively large number of rrtypes per owner can slow down database query
processing, so a limit has been placed on the number of rrtypes that can be
stored per owner (node) in a cache or zone database. This is configured with
the new "max-rrtypes-per-name" option, and defaults to 100.
Excessively large rdatasets can slow down database query processing, so a
limit has been placed on the number of records that can be stored per
rdataset in a cache or zone database. This is configured with the new
"max-records-per-type" option, and defaults to 100.
Malicious DNS client that sends many queries over TCP but never reads
responses can cause server to respond slowly or not respond at all for other
clients.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2024-1975
https://www.cve.org/CVERecord?id=CVE-2024-4076
https://www.cve.org/CVERecord?id=CVE-2024-1737
https://www.cve.org/CVERecord?id=CVE-2024-0760
(* Security fix *)
n/fetchmail-6.4.39-x86_64-1.txz: Upgraded.
n/obexftp-0.24.2-x86_64-13.txz: Rebuilt.
n/pinentry-1.3.1-x86_64-2.txz: Rebuilt.
n/wpa_supplicant-2.11-x86_64-1.txz: Upgraded.
x/fcitx5-qt-5.1.6-x86_64-3.txz: Rebuilt.
x/ibus-m17n-1.4.30-x86_64-1.txz: Upgraded.
x/libdrm-2.4.122-x86_64-2.txz: Rebuilt.
x/marisa-0.2.6-x86_64-10.txz: Rebuilt.
x/mesa-24.1.4-x86_64-2.txz: Rebuilt.
x/vulkan-sdk-1.3.275.0-x86_64-3.txz: Rebuilt.
xap/audacious-4.4-x86_64-2.txz: Rebuilt.
xap/audacious-plugins-4.4-x86_64-2.txz: Rebuilt.
xap/mozilla-thunderbird-128.0.1esr-x86_64-1.txz: Upgraded.
This is a bugfix release.
For more information, see:
https://www.mozilla.org/en-US/thunderbird/128.0.1esr/releasenotes/
xap/xaos-4.3.2-x86_64-2.txz: Rebuilt.
extra/emacs-regular-build/emacs-29.4-x86_64-2_regular.txz: Rebuilt.
2024-07-23 20:54:25 +02:00
|
|
|
i686)
|
|
|
|
# This should be i686 for all 32-bit x86 arch:
|
|
|
|
TARGET=${TARGET:-i686}
|
2011-04-25 15:37:00 +02:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
# Hand off the $ARCH variable to $SLACKWARE_ARCH to avoid confusing glibc:
|
|
|
|
SLACKWARE_ARCH=$ARCH
|
|
|
|
unset ARCH
|
|
|
|
|
2009-08-26 17:00:38 +02:00
|
|
|
CVSVER=${VERSION}${CHECKOUT}
|
|
|
|
|
|
|
|
# NOTE!!! glibc needs to be built against the sanitized kernel headers,
|
|
|
|
# which will be installed under /usr/include by the kernel-headers package.
|
|
|
|
# Be sure the correct version of the headers package is installed BEFORE
|
|
|
|
# building glibc!
|
|
|
|
|
2018-05-28 21:12:29 +02:00
|
|
|
TMP=${TMP:-/tmp}
|
2009-08-26 17:00:38 +02:00
|
|
|
mkdir -p $TMP
|
|
|
|
|
|
|
|
# This function fixes a doinst.sh file for x86_64.
|
|
|
|
# With thanks to Fred Emmott.
|
|
|
|
fix_doinst() {
|
|
|
|
if [ "x$LIBDIRSUFFIX" = "x" ]; then
|
|
|
|
return;
|
|
|
|
fi;
|
|
|
|
# Fix "( cd usr/lib ;" occurrences
|
|
|
|
sed -i "s#lib ;#lib${LIBDIRSUFFIX} ;#" install/doinst.sh
|
|
|
|
# Fix "lib/" occurrences
|
|
|
|
sed -i "s#lib/#lib${LIBDIRSUFFIX}/#g" install/doinst.sh
|
|
|
|
# Fix "( cd lib" occurrences
|
|
|
|
sed -i "s#( cd lib\$#( cd lib${LIBDIRSUFFIX}#" install/doinst.sh
|
|
|
|
|
2011-04-25 15:37:00 +02:00
|
|
|
if [ "$SLACKWARE_ARCH" = "x86_64" ]; then
|
2009-08-26 17:00:38 +02:00
|
|
|
sed -i 's#ld-linux.so.2#ld-linux-x86-64.so.2#' install/doinst.sh
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
# This is a patch function to put all glibc patches in the build script
|
|
|
|
# up near the top.
|
|
|
|
apply_patches() {
|
2019-02-17 02:45:20 +01:00
|
|
|
# Use old-style locale directories rather than a single (and strangely
|
|
|
|
# formatted) /usr/lib/locale/locale-archive file:
|
|
|
|
zcat $CWD/glibc.locale.no-archive.diff.gz | patch -p1 --verbose || exit 1
|
2009-08-26 17:00:38 +02:00
|
|
|
# Support ru_RU.CP1251 locale:
|
|
|
|
zcat $CWD/glibc.ru_RU.CP1251.diff.gz | patch -p1 --verbose || exit 1
|
2019-02-01 06:53:41 +01:00
|
|
|
# Don't use AM/PM format for date(1). That's just plain crazy.
|
2021-01-20 04:08:10 +01:00
|
|
|
zcat $CWD/glibc-2.32.en_US.no.am.pm.date.format.diff.gz | patch -p1 --verbose || exit 1
|
2019-09-10 23:28:36 +02:00
|
|
|
# Other regression fixes from git:
|
|
|
|
for git_patch in $CWD/patches/*.patch.gz ; do
|
|
|
|
zcat $git_patch | patch -p1 --verbose || exit 1
|
|
|
|
done
|
2009-08-26 17:00:38 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
# This is going to be the initial $DESTDIR:
|
|
|
|
export PKG=$TMP/package-glibc-incoming-tree
|
|
|
|
PGLIBC=$TMP/package-glibc
|
Mon Feb 8 05:13:26 UTC 2021
a/aaa_elflibs-15.0-x86_64-30.txz: Removed.
Renamed to aaa_libraries.
a/aaa_glibc-solibs-2.32-x86_64-2.txz: Added.
This package has been renamed from glibc-solibs, which helps avoid trouble
if someone upgrades using "upgradepkg --install-new */*.txz" by upgrading
this package before aaa_libraries. Otherwise, if aaa_libraries is upgraded
first any libraries in it that are linked against a newer version of glibc
than the one installed on the system would refuse to load.
a/aaa_libraries-15.0-x86_64-1.txz: Added.
This package has been renamed from aaa_elflibs to insure that it will come
after aaa_glibc-solibs when upgraded in alphabetical order.
Upgraded: libcap.so.2.48, libelf-0.183.so, libglib-2.0.so.0.6600.6,
libgmodule-2.0.so.0.6600.6, libgobject-2.0.so.0.6600.6,
libgthread-2.0.so.0.6600.6.
Added: libtirpc.so.3.0.0.
a/btrfs-progs-5.10.1-x86_64-1.txz: Upgraded.
a/glibc-solibs-2.32-x86_64-1.txz: Removed.
Renamed to aaa_glibc-solibs.
a/kernel-generic-5.10.14-x86_64-1.txz: Upgraded.
a/kernel-huge-5.10.14-x86_64-1.txz: Upgraded.
a/kernel-modules-5.10.14-x86_64-1.txz: Upgraded.
ap/slackpkg-15.0-noarch-1.txz: Upgraded.
These are some of the important changes (see the ChangeLog for more):
Note that this slackpkg release contains a backwards-incompatible change to
the blacklisting syntax (e.g. glibc ---> glibc-*). This changes the prior
behavior of the blacklist function; previously, adding "glibc" to the
blacklist would cause glibc, glibc-profile, glibc-zoneinfo, et al to be
ignored by slackpkg. The new behavior is that *only* the glibc package is
ignored. If you want to blacklist all packages whose names begin with glibc,
you would need to add "glibc.*" to the blacklist now. Also note that any
special characters, e.g. "+", will need to be escaped in the blacklist file.
To blacklist entire package sets, a trailing slash is now required: e.g. kde/
Another backwards-incompatibility warning: check-updates will now return 1 if
there are updates available - this will make it easier to use this feature
with cron (thanks to Peter Hyman).
Added support for Slackware-AArch64 (thanks to Stuart Winter).
Added aaa_glibc-solibs and aaa_libraries to the "do these first" routine.
Thanks to Robby Workman for the new slackpkg release!
ap/soma-3.3.7-noarch-1.txz: Upgraded.
Thanks to David Woodfall.
ap/xorriso-1.5.4.pl02-x86_64-1.txz: Upgraded.
d/help2man-1.48.1-x86_64-1.txz: Upgraded.
d/kernel-headers-5.10.14-x86-1.txz: Upgraded.
k/kernel-source-5.10.14-noarch-1.txz: Upgraded.
l/elfutils-0.183-x86_64-1.txz: Upgraded.
l/glibc-2.32-x86_64-2.txz: Rebuilt.
l/glibc-i18n-2.32-x86_64-2.txz: Rebuilt.
l/glibc-profile-2.32-x86_64-2.txz: Rebuilt.
l/lcms2-2.12-x86_64-1.txz: Upgraded.
l/libburn-1.5.4-x86_64-1.txz: Upgraded.
x/xf86-input-wacom-0.40.0-x86_64-1.txz: Upgraded.
isolinux/initrd.img: Rebuilt.
kernels/*: Upgraded.
usb-and-pxe-installers/usbboot.img: Rebuilt.
2021-02-08 06:13:26 +01:00
|
|
|
PSOLIBS=$TMP/package-aaa_glibc-solibs
|
2009-08-26 17:00:38 +02:00
|
|
|
PI18N=$TMP/package-glibc-i18n
|
|
|
|
PPROFILE=$TMP/package-glibc-profile
|
|
|
|
PDEBUG=$TMP/package-glibc-debug
|
|
|
|
|
|
|
|
# Empty these locations first:
|
|
|
|
for dir in $PKG $PGLIBC $PSOLIBS $PZONE $PI18N $PPROFILE $PDEBUG ; do
|
|
|
|
if [ -d $dir ]; then
|
|
|
|
rm -rf $dir
|
|
|
|
fi
|
|
|
|
mkdir -p $dir
|
|
|
|
done
|
|
|
|
if [ -d $TMP/glibc-$VERSION ]; then
|
|
|
|
rm -rf $TMP/glibc-$VERSION
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Create an incoming directory structure for glibc to be built into:
|
|
|
|
mkdir -p $PKG/lib${LIBDIRSUFFIX}
|
|
|
|
mkdir -p $PKG/sbin
|
|
|
|
mkdir -p $PKG/usr/bin
|
|
|
|
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
|
|
|
|
mkdir -p $PKG/usr/sbin
|
|
|
|
mkdir -p $PKG/usr/include
|
|
|
|
mkdir -p $PKG/usr/doc
|
|
|
|
mkdir -p $PKG/usr/man
|
|
|
|
mkdir -p $PKG/usr/share
|
|
|
|
mkdir -p $PKG/var/db/nscd
|
|
|
|
mkdir -p $PKG/var/run/nscd
|
|
|
|
|
|
|
|
# Begin extract/compile:
|
|
|
|
cd $TMP
|
|
|
|
rm -rf glibc-$CVSVER
|
2024-02-02 23:12:45 +01:00
|
|
|
echo "Extracting $CWD/glibc-$CVSVER.tar.?z..."
|
|
|
|
tar xf $CWD/glibc-$CVSVER.tar.xz \
|
|
|
|
|| tar xf $CWD/glibc-$CVSVER.tar.lz \
|
|
|
|
|| tar xf $CWD/glibc-$CVSVER.tar.gz
|
2009-08-26 17:00:38 +02:00
|
|
|
cd glibc-$CVSVER
|
|
|
|
|
|
|
|
# Apply patches; exit if any fail.
|
|
|
|
apply_patches
|
|
|
|
if [ ! $? = 0 ]; then
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2019-09-10 23:28:36 +02:00
|
|
|
# Clean up leftover CVS directories:
|
2019-09-30 23:08:32 +02:00
|
|
|
find . -type d -name CVS -exec rm -r {} \+ 2> /dev/null
|
2019-09-10 23:28:36 +02:00
|
|
|
|
|
|
|
chown -R root:root .
|
|
|
|
find . \
|
|
|
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
2019-09-30 23:08:32 +02:00
|
|
|
-exec chmod 755 {} \+ -o \
|
2019-09-10 23:28:36 +02:00
|
|
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
2019-09-30 23:08:32 +02:00
|
|
|
-exec chmod 644 {} \+
|
2019-09-10 23:28:36 +02:00
|
|
|
|
2009-08-26 17:00:38 +02:00
|
|
|
# Make build directory:
|
|
|
|
mkdir build-glibc-$VERSION
|
2011-04-25 15:37:00 +02:00
|
|
|
cd build-glibc-$VERSION || exit 1
|
2009-08-26 17:00:38 +02:00
|
|
|
|
|
|
|
echo "BUILDING DAS NPTL GLIBC"
|
|
|
|
CFLAGS="-g $OPTIMIZ" \
|
2024-08-16 21:58:10 +02:00
|
|
|
CXXFLAGS="-g $OPTIMIZ" \
|
2009-08-26 17:00:38 +02:00
|
|
|
../configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
Mon Oct 9 18:10:01 UTC 2023
a/aaa_glibc-solibs-2.38-x86_64-2.txz: Rebuilt.
ap/qpdf-11.6.2-x86_64-1.txz: Upgraded.
ap/vim-9.0.2009-x86_64-1.txz: Upgraded.
l/desktop-file-utils-0.27-x86_64-1.txz: Upgraded.
l/glibc-2.38-x86_64-2.txz: Rebuilt.
These glibc packages are the exact ones that were previously in /testing.
A test mass rebuild was done here finding no new FTBFS, so I think these
are good to go. :)
l/glibc-i18n-2.38-x86_64-2.txz: Rebuilt.
l/glibc-profile-2.38-x86_64-2.txz: Rebuilt.
l/imagemagick-7.1.1_20-x86_64-1.txz: Upgraded.
l/libxkbcommon-1.6.0-x86_64-1.txz: Upgraded.
l/shared-mime-info-2.3-x86_64-1.txz: Upgraded.
n/c-ares-1.20.0-x86_64-1.txz: Upgraded.
n/libtirpc-1.3.4-x86_64-1.txz: Upgraded.
n/proftpd-1.3.8a-x86_64-1.txz: Upgraded.
n/whois-5.5.19-x86_64-1.txz: Upgraded.
Fixed english support for Japanese queries to not add again the /e argument
if it had already been provided by the user. (Closes: #1050171)
Added the .ye and .*************** (.xn--54b7fta0cc, Bangladesh) TLD servers.
Updated the .ba, .bb, .dk, .es, .gt, .jo, .ml, .mo, .pa, .pn, .sv, .uy,
.a+-la-r+-d+.n+, (.xn--mgbayh7gpa, Jordan) and .****** (.xn--mix891f, Macao)
TLD servers.
Upgraded the TLD URLs to HTTPS whenever possible.
Updated the charset for whois.jprs.jp.
Removed 3 new gTLDs which are no longer active.
Removed support for the obsolete as32 dot notation.
x/xterm-386-x86_64-1.txz: Upgraded.
xap/vim-gvim-9.0.2009-x86_64-1.txz: Upgraded.
2023-10-09 20:10:01 +02:00
|
|
|
--enable-kernel=4.4 \
|
2009-08-26 17:00:38 +02:00
|
|
|
--with-headers=/usr/include \
|
2016-06-30 22:26:57 +02:00
|
|
|
--enable-add-ons \
|
2024-08-16 21:58:10 +02:00
|
|
|
--enable-multi-arch \
|
2009-08-26 17:00:38 +02:00
|
|
|
--enable-profile \
|
2013-11-04 18:08:47 +01:00
|
|
|
$DISABLE_NSCD \
|
2018-06-27 06:13:25 +02:00
|
|
|
$WERROR \
|
2009-08-26 17:00:38 +02:00
|
|
|
--infodir=/usr/info \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--with-tls \
|
|
|
|
--with-__thread \
|
|
|
|
--without-cvs \
|
|
|
|
$TARGET-slackware-linux
|
|
|
|
|
2020-02-07 23:32:38 +01:00
|
|
|
make $NUMJOBS || exit 1
|
|
|
|
make $NUMJOBS install install_root=$PKG || exit 1
|
2019-02-17 02:45:20 +01:00
|
|
|
# Don't use this, as it makes the i18n package WAY bigger:
|
|
|
|
#make localedata/install-locale-files DESTDIR=$PKG || exit 1
|
2020-02-07 23:32:38 +01:00
|
|
|
# This is ugly run in parallel, and seems to hang at the end. But it actually
|
|
|
|
# completes much faster. :)
|
|
|
|
make $NUMJOBS localedata/install-locales install_root=$PKG DESTDIR=$PKG || exit 1
|
2009-08-26 17:00:38 +02:00
|
|
|
|
Mon Oct 9 18:10:01 UTC 2023
a/aaa_glibc-solibs-2.38-x86_64-2.txz: Rebuilt.
ap/qpdf-11.6.2-x86_64-1.txz: Upgraded.
ap/vim-9.0.2009-x86_64-1.txz: Upgraded.
l/desktop-file-utils-0.27-x86_64-1.txz: Upgraded.
l/glibc-2.38-x86_64-2.txz: Rebuilt.
These glibc packages are the exact ones that were previously in /testing.
A test mass rebuild was done here finding no new FTBFS, so I think these
are good to go. :)
l/glibc-i18n-2.38-x86_64-2.txz: Rebuilt.
l/glibc-profile-2.38-x86_64-2.txz: Rebuilt.
l/imagemagick-7.1.1_20-x86_64-1.txz: Upgraded.
l/libxkbcommon-1.6.0-x86_64-1.txz: Upgraded.
l/shared-mime-info-2.3-x86_64-1.txz: Upgraded.
n/c-ares-1.20.0-x86_64-1.txz: Upgraded.
n/libtirpc-1.3.4-x86_64-1.txz: Upgraded.
n/proftpd-1.3.8a-x86_64-1.txz: Upgraded.
n/whois-5.5.19-x86_64-1.txz: Upgraded.
Fixed english support for Japanese queries to not add again the /e argument
if it had already been provided by the user. (Closes: #1050171)
Added the .ye and .*************** (.xn--54b7fta0cc, Bangladesh) TLD servers.
Updated the .ba, .bb, .dk, .es, .gt, .jo, .ml, .mo, .pa, .pn, .sv, .uy,
.a+-la-r+-d+.n+, (.xn--mgbayh7gpa, Jordan) and .****** (.xn--mix891f, Macao)
TLD servers.
Upgraded the TLD URLs to HTTPS whenever possible.
Updated the charset for whois.jprs.jp.
Removed 3 new gTLDs which are no longer active.
Removed support for the obsolete as32 dot notation.
x/xterm-386-x86_64-1.txz: Upgraded.
xap/vim-gvim-9.0.2009-x86_64-1.txz: Upgraded.
2023-10-09 20:10:01 +02:00
|
|
|
# Build and install libxcrypt:
|
|
|
|
pushd $CWD
|
|
|
|
ARCH=$SLACKWARE_ARCH LIBDIRSUFFIX=$LIBDIRSUFFIX SLKCFLAGS=$OPTIMIZ ./libxcrypt.build
|
|
|
|
popd
|
|
|
|
|
2018-09-21 20:51:07 +02:00
|
|
|
# We've always had an sln symlink in /bin, so let's make sure it
|
|
|
|
# remains there so as not to break any scripts that might need it:
|
|
|
|
mkdir -p $PKG/bin
|
|
|
|
( cd $PKG/bin ; ln -sf /sbin/sln sln )
|
|
|
|
|
|
|
|
# This bit was mostly copped from Fedora Rawhide's .spec file. I'm not
|
|
|
|
# entirely sure how important it is, since I'm not aware of anything
|
|
|
|
# we ship trying to link libpthread as static. What it does is make sure
|
|
|
|
# that anything linking libpthread static includes all of the functions
|
|
|
|
# so that the resulting binary doesn't rely on parts of the library that
|
|
|
|
# were not linked in. Optimizing actually working over binary size, so
|
|
|
|
# to speak.
|
|
|
|
( cd $PKG/usr/lib${LIBDIRSUFFIX}
|
|
|
|
gcc -r -nostdlib -o libpthread.o -Wl,--whole-archive ./libpthread.a
|
|
|
|
rm libpthread.a
|
|
|
|
ar rcs libpthread.a libpthread.o
|
|
|
|
rm libpthread.o
|
|
|
|
)
|
|
|
|
|
2009-08-26 17:00:38 +02:00
|
|
|
# The prevailing standard seems to be putting unstripped libraries in
|
|
|
|
# /usr/lib/debug/ and stripping the debugging symbols from all the other
|
|
|
|
# libraries.
|
|
|
|
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/debug
|
|
|
|
cp -a $PKG/lib${LIBDIRSUFFIX}/l*.so* $PKG/usr/lib${LIBDIRSUFFIX}/debug
|
|
|
|
cp -a $PKG/usr/lib${LIBDIRSUFFIX}/*.a $PKG/usr/lib${LIBDIRSUFFIX}/debug
|
|
|
|
# Don't need debug+profile:
|
|
|
|
( cd $PKG/usr/lib${LIBDIRSUFFIX}/debug ; rm -f *_p.* )
|
|
|
|
# NOTE: Is there really a reason for the glibc-debug package?
|
|
|
|
# If you're debugging glibc, you can also compile it, right?
|
|
|
|
|
|
|
|
## COMMENTED OUT: There's no reason for profile libs to include -g information.
|
|
|
|
## Put back unstripped profiling libraries:
|
|
|
|
#mv $PKG/usr/lib${LIBDIRSUFFIX}/debug/*_p.a $PKG/usr/lib${LIBDIRSUFFIX}
|
|
|
|
# It might be best to put the unstripped and profiling libraries in glibc-debug and glibc-profile.
|
|
|
|
|
|
|
|
# I don't think "strip -g" causes the pthread problems. It's --strip-unneeded that does.
|
|
|
|
strip -g $PKG/lib${LIBDIRSUFFIX}/l*.so*
|
|
|
|
strip -g $PKG/usr/lib${LIBDIRSUFFIX}/l*.so*
|
|
|
|
strip -g $PKG/usr/lib${LIBDIRSUFFIX}/lib*.a
|
|
|
|
|
2016-06-30 22:26:57 +02:00
|
|
|
# Remove the rquota.x and rquota.h include files, as they are provided by
|
|
|
|
# the quota package:
|
|
|
|
rm -f $PKG/usr/include/rpcsvc/rquota.{h,x}
|
2013-11-04 18:08:47 +01:00
|
|
|
|
2009-08-26 17:00:38 +02:00
|
|
|
# Back to the sources dir to add some files/docs:
|
|
|
|
cd $TMP/glibc-$CVSVER
|
|
|
|
|
|
|
|
# We'll automatically install the config file for the Name Server Cache Daemon.
|
|
|
|
# Perhaps this should also have some commented-out startup code in rc.inet2...
|
|
|
|
mkdir -p $PKG/etc
|
|
|
|
cat nscd/nscd.conf > $PKG/etc/nscd.conf.new
|
|
|
|
|
2016-06-30 22:26:57 +02:00
|
|
|
# Install docs:
|
2009-08-26 17:00:38 +02:00
|
|
|
( mkdir -p $PKG/usr/doc/glibc-$VERSION
|
|
|
|
cp -a \
|
Mon Oct 9 18:10:01 UTC 2023
a/aaa_glibc-solibs-2.38-x86_64-2.txz: Rebuilt.
ap/qpdf-11.6.2-x86_64-1.txz: Upgraded.
ap/vim-9.0.2009-x86_64-1.txz: Upgraded.
l/desktop-file-utils-0.27-x86_64-1.txz: Upgraded.
l/glibc-2.38-x86_64-2.txz: Rebuilt.
These glibc packages are the exact ones that were previously in /testing.
A test mass rebuild was done here finding no new FTBFS, so I think these
are good to go. :)
l/glibc-i18n-2.38-x86_64-2.txz: Rebuilt.
l/glibc-profile-2.38-x86_64-2.txz: Rebuilt.
l/imagemagick-7.1.1_20-x86_64-1.txz: Upgraded.
l/libxkbcommon-1.6.0-x86_64-1.txz: Upgraded.
l/shared-mime-info-2.3-x86_64-1.txz: Upgraded.
n/c-ares-1.20.0-x86_64-1.txz: Upgraded.
n/libtirpc-1.3.4-x86_64-1.txz: Upgraded.
n/proftpd-1.3.8a-x86_64-1.txz: Upgraded.
n/whois-5.5.19-x86_64-1.txz: Upgraded.
Fixed english support for Japanese queries to not add again the /e argument
if it had already been provided by the user. (Closes: #1050171)
Added the .ye and .*************** (.xn--54b7fta0cc, Bangladesh) TLD servers.
Updated the .ba, .bb, .dk, .es, .gt, .jo, .ml, .mo, .pa, .pn, .sv, .uy,
.a+-la-r+-d+.n+, (.xn--mgbayh7gpa, Jordan) and .****** (.xn--mix891f, Macao)
TLD servers.
Upgraded the TLD URLs to HTTPS whenever possible.
Updated the charset for whois.jprs.jp.
Removed 3 new gTLDs which are no longer active.
Removed support for the obsolete as32 dot notation.
x/xterm-386-x86_64-1.txz: Upgraded.
xap/vim-gvim-9.0.2009-x86_64-1.txz: Upgraded.
2023-10-09 20:10:01 +02:00
|
|
|
CONTRIBUTED-BY* COPYING* INSTALL* LICENSES* MAINTAINERS* NEWS* README* SECURITY* SHARED-FILES* \
|
2009-08-26 17:00:38 +02:00
|
|
|
$PKG/usr/doc/glibc-$VERSION
|
|
|
|
)
|
|
|
|
|
2016-06-30 22:26:57 +02:00
|
|
|
# Trim the NEWS file to omit ancient history:
|
|
|
|
if [ -r NEWS ]; then
|
|
|
|
DOCSDIR=$(echo $PKG/usr/doc/glibc-$VERSION)
|
|
|
|
cat NEWS | head -n 1000 > $DOCSDIR/NEWS
|
|
|
|
touch -r NEWS $DOCSDIR/NEWS
|
2009-08-26 17:00:38 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
# OK, there are some very old Linux standards that say that any binaries in a /bin or
|
|
|
|
# /sbin directory (and the directories themselves) should be group bin rather than
|
|
|
|
# group root, unless a specific group is really needed for some reason.
|
|
|
|
#
|
|
|
|
# I can't find any mention of this in more recent standards docs, and always thought
|
|
|
|
# that it was pretty cosmetic anyway (hey, if there's a reason -- fill me in!), so
|
|
|
|
# it's possible that this ownership change won't be followed in the near future
|
|
|
|
# (it's a PITA, and causes many bug reports when the perms change is occasionally
|
|
|
|
# forgotten).
|
|
|
|
#
|
|
|
|
# But, it's hard to get me to break old habits, so we'll continue the tradition here:
|
|
|
|
#
|
|
|
|
# No, no we won't. You know how we love to break traditions.
|
|
|
|
|
|
|
|
# Strip most binaries:
|
|
|
|
( cd $PKG
|
|
|
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-debug 2> /dev/null
|
|
|
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip -g 2> /dev/null
|
|
|
|
)
|
|
|
|
|
Mon Oct 9 18:10:01 UTC 2023
a/aaa_glibc-solibs-2.38-x86_64-2.txz: Rebuilt.
ap/qpdf-11.6.2-x86_64-1.txz: Upgraded.
ap/vim-9.0.2009-x86_64-1.txz: Upgraded.
l/desktop-file-utils-0.27-x86_64-1.txz: Upgraded.
l/glibc-2.38-x86_64-2.txz: Rebuilt.
These glibc packages are the exact ones that were previously in /testing.
A test mass rebuild was done here finding no new FTBFS, so I think these
are good to go. :)
l/glibc-i18n-2.38-x86_64-2.txz: Rebuilt.
l/glibc-profile-2.38-x86_64-2.txz: Rebuilt.
l/imagemagick-7.1.1_20-x86_64-1.txz: Upgraded.
l/libxkbcommon-1.6.0-x86_64-1.txz: Upgraded.
l/shared-mime-info-2.3-x86_64-1.txz: Upgraded.
n/c-ares-1.20.0-x86_64-1.txz: Upgraded.
n/libtirpc-1.3.4-x86_64-1.txz: Upgraded.
n/proftpd-1.3.8a-x86_64-1.txz: Upgraded.
n/whois-5.5.19-x86_64-1.txz: Upgraded.
Fixed english support for Japanese queries to not add again the /e argument
if it had already been provided by the user. (Closes: #1050171)
Added the .ye and .*************** (.xn--54b7fta0cc, Bangladesh) TLD servers.
Updated the .ba, .bb, .dk, .es, .gt, .jo, .ml, .mo, .pa, .pn, .sv, .uy,
.a+-la-r+-d+.n+, (.xn--mgbayh7gpa, Jordan) and .****** (.xn--mix891f, Macao)
TLD servers.
Upgraded the TLD URLs to HTTPS whenever possible.
Updated the charset for whois.jprs.jp.
Removed 3 new gTLDs which are no longer active.
Removed support for the obsolete as32 dot notation.
x/xterm-386-x86_64-1.txz: Upgraded.
xap/vim-gvim-9.0.2009-x86_64-1.txz: Upgraded.
2023-10-09 20:10:01 +02:00
|
|
|
# Compress manual pages:
|
|
|
|
find $PKG/usr/man -type f -exec gzip -9 {} \+
|
|
|
|
for i in $( find $PKG/usr/man -type l ) ; do
|
|
|
|
ln -s $( readlink $i ).gz $i.gz
|
|
|
|
rm $i
|
|
|
|
done
|
|
|
|
|
|
|
|
# Compress info files, if any:
|
|
|
|
if [ -d $PKG/usr/info ]; then
|
|
|
|
( cd $PKG/usr/info
|
|
|
|
rm -f dir
|
|
|
|
gzip -9 *
|
|
|
|
)
|
|
|
|
fi
|
2009-08-26 17:00:38 +02:00
|
|
|
|
|
|
|
# This is junk
|
|
|
|
rm $PKG/etc/ld.so.cache
|
|
|
|
( cd $PKG
|
2019-09-30 23:08:32 +02:00
|
|
|
find . -name "*.orig" -exec rm {} \+
|
2009-08-26 17:00:38 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
##################################
|
|
|
|
# OK, time to make some packages #
|
|
|
|
##################################
|
|
|
|
|
|
|
|
# glibc-profile:
|
|
|
|
cd $PPROFILE
|
|
|
|
mkdir -p usr/lib${LIBDIRSUFFIX}
|
|
|
|
# Might as well just grab these with 'mv' to simplify things later:
|
|
|
|
mv $PKG/usr/lib${LIBDIRSUFFIX}/lib*_p.a usr/lib${LIBDIRSUFFIX}
|
|
|
|
# Profile libs should be stripped. Use the debug libs to debug...
|
|
|
|
( cd usr/lib${LIBDIRSUFFIX} ; strip -g *.a )
|
|
|
|
mkdir install
|
|
|
|
cp -a $CWD/slack-desc.glibc-profile install/slack-desc
|
2011-04-25 15:37:00 +02:00
|
|
|
makepkg -l y -c n $TMP/glibc-profile-$VERSION-$SLACKWARE_ARCH-$BUILD.txz
|
2009-08-26 17:00:38 +02:00
|
|
|
|
|
|
|
# THIS IS NO LONGER PACKAGED (or is it? might be better to let it be made, and then ship it or not...)
|
|
|
|
# glibc-debug:
|
|
|
|
cd $PDEBUG
|
|
|
|
mkdir -p usr/lib${LIBDIRSUFFIX}
|
|
|
|
# Might as well just grab these with 'mv' to simplify things later:
|
|
|
|
mv $PKG/usr/lib${LIBDIRSUFFIX}/debug usr/lib${LIBDIRSUFFIX}
|
|
|
|
mkdir install
|
|
|
|
cp -a $CWD/slack-desc.glibc-debug install/slack-desc
|
2018-05-28 21:12:29 +02:00
|
|
|
## Don't package this:
|
|
|
|
#makepkg -l y -c n $TMP/glibc-debug-$VERSION-$SLACKWARE_ARCH-$BUILD.txz
|
2009-08-26 17:00:38 +02:00
|
|
|
## INSTEAD, NUKE THESE LIBS
|
|
|
|
#rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/debug
|
|
|
|
|
|
|
|
# glibc-i18n:
|
|
|
|
cd $PI18N
|
2016-06-30 22:26:57 +02:00
|
|
|
mkdir -p usr/lib${LIBDIRSUFFIX}/locale
|
|
|
|
mv $PKG/usr/lib${LIBDIRSUFFIX}/locale/* usr/lib${LIBDIRSUFFIX}/locale
|
|
|
|
mkdir -p usr/share/{i18n,locale}
|
|
|
|
mv $PKG/usr/share/i18n/* usr/share/i18n
|
|
|
|
mv $PKG/usr/share/locale/* usr/share/locale
|
|
|
|
# Leave copies of the C, POSIX, and en_US locales in the main glibc package:
|
|
|
|
cp -a usr/lib${LIBDIRSUFFIX}/locale/{C,en_US}* $PKG/usr/lib${LIBDIRSUFFIX}/locale
|
|
|
|
mkdir -p $PKG/usr/share/i18n/locales
|
|
|
|
cp -a usr/share/i18n/locales/{C,POSIX,en_US} $PKG/usr/share/i18n/locales
|
2009-08-26 17:00:38 +02:00
|
|
|
mkdir install
|
|
|
|
cp -a $CWD/slack-desc.glibc-i18n install/slack-desc
|
2011-04-25 15:37:00 +02:00
|
|
|
makepkg -l y -c n $TMP/glibc-i18n-$VERSION-$SLACKWARE_ARCH-$BUILD.txz
|
2009-08-26 17:00:38 +02:00
|
|
|
|
Mon Feb 8 05:13:26 UTC 2021
a/aaa_elflibs-15.0-x86_64-30.txz: Removed.
Renamed to aaa_libraries.
a/aaa_glibc-solibs-2.32-x86_64-2.txz: Added.
This package has been renamed from glibc-solibs, which helps avoid trouble
if someone upgrades using "upgradepkg --install-new */*.txz" by upgrading
this package before aaa_libraries. Otherwise, if aaa_libraries is upgraded
first any libraries in it that are linked against a newer version of glibc
than the one installed on the system would refuse to load.
a/aaa_libraries-15.0-x86_64-1.txz: Added.
This package has been renamed from aaa_elflibs to insure that it will come
after aaa_glibc-solibs when upgraded in alphabetical order.
Upgraded: libcap.so.2.48, libelf-0.183.so, libglib-2.0.so.0.6600.6,
libgmodule-2.0.so.0.6600.6, libgobject-2.0.so.0.6600.6,
libgthread-2.0.so.0.6600.6.
Added: libtirpc.so.3.0.0.
a/btrfs-progs-5.10.1-x86_64-1.txz: Upgraded.
a/glibc-solibs-2.32-x86_64-1.txz: Removed.
Renamed to aaa_glibc-solibs.
a/kernel-generic-5.10.14-x86_64-1.txz: Upgraded.
a/kernel-huge-5.10.14-x86_64-1.txz: Upgraded.
a/kernel-modules-5.10.14-x86_64-1.txz: Upgraded.
ap/slackpkg-15.0-noarch-1.txz: Upgraded.
These are some of the important changes (see the ChangeLog for more):
Note that this slackpkg release contains a backwards-incompatible change to
the blacklisting syntax (e.g. glibc ---> glibc-*). This changes the prior
behavior of the blacklist function; previously, adding "glibc" to the
blacklist would cause glibc, glibc-profile, glibc-zoneinfo, et al to be
ignored by slackpkg. The new behavior is that *only* the glibc package is
ignored. If you want to blacklist all packages whose names begin with glibc,
you would need to add "glibc.*" to the blacklist now. Also note that any
special characters, e.g. "+", will need to be escaped in the blacklist file.
To blacklist entire package sets, a trailing slash is now required: e.g. kde/
Another backwards-incompatibility warning: check-updates will now return 1 if
there are updates available - this will make it easier to use this feature
with cron (thanks to Peter Hyman).
Added support for Slackware-AArch64 (thanks to Stuart Winter).
Added aaa_glibc-solibs and aaa_libraries to the "do these first" routine.
Thanks to Robby Workman for the new slackpkg release!
ap/soma-3.3.7-noarch-1.txz: Upgraded.
Thanks to David Woodfall.
ap/xorriso-1.5.4.pl02-x86_64-1.txz: Upgraded.
d/help2man-1.48.1-x86_64-1.txz: Upgraded.
d/kernel-headers-5.10.14-x86-1.txz: Upgraded.
k/kernel-source-5.10.14-noarch-1.txz: Upgraded.
l/elfutils-0.183-x86_64-1.txz: Upgraded.
l/glibc-2.32-x86_64-2.txz: Rebuilt.
l/glibc-i18n-2.32-x86_64-2.txz: Rebuilt.
l/glibc-profile-2.32-x86_64-2.txz: Rebuilt.
l/lcms2-2.12-x86_64-1.txz: Upgraded.
l/libburn-1.5.4-x86_64-1.txz: Upgraded.
x/xf86-input-wacom-0.40.0-x86_64-1.txz: Upgraded.
isolinux/initrd.img: Rebuilt.
kernels/*: Upgraded.
usb-and-pxe-installers/usbboot.img: Rebuilt.
2021-02-08 06:13:26 +01:00
|
|
|
# aaa_glibc-solibs:
|
2009-08-26 17:00:38 +02:00
|
|
|
cd $PSOLIBS
|
|
|
|
mkdir -p etc/profile.d
|
|
|
|
cp -a $CWD/profile.d/* etc/profile.d
|
|
|
|
chown -R root:root etc
|
|
|
|
chmod 755 etc/profile.d/*
|
|
|
|
mkdir -p lib${LIBDIRSUFFIX}
|
|
|
|
cp -a $PKG/lib${LIBDIRSUFFIX}/* lib${LIBDIRSUFFIX}
|
|
|
|
( cd lib${LIBDIRSUFFIX}
|
|
|
|
mkdir incoming
|
|
|
|
mv *so* incoming
|
2022-02-21 21:21:38 +01:00
|
|
|
mv incoming/libmemusage.so .
|
|
|
|
# Beginning with glibc-2.34, shared objects are using their ABI sonames
|
|
|
|
# directly, which is frankly, a terrible idea. It might help other package
|
|
|
|
# managers, but doesn't do us any favors where we already had a system for
|
|
|
|
# dealing with upgrades (and downgrades!). We'll change these libraries to
|
|
|
|
# use the versioned naming system of glibc-2.33 and earlier so that we don't
|
|
|
|
# have to handle these files differently and so that it's easy to see what
|
|
|
|
# version of glibc is in use at a glance.
|
|
|
|
cd incoming
|
Mon Oct 9 18:10:01 UTC 2023
a/aaa_glibc-solibs-2.38-x86_64-2.txz: Rebuilt.
ap/qpdf-11.6.2-x86_64-1.txz: Upgraded.
ap/vim-9.0.2009-x86_64-1.txz: Upgraded.
l/desktop-file-utils-0.27-x86_64-1.txz: Upgraded.
l/glibc-2.38-x86_64-2.txz: Rebuilt.
These glibc packages are the exact ones that were previously in /testing.
A test mass rebuild was done here finding no new FTBFS, so I think these
are good to go. :)
l/glibc-i18n-2.38-x86_64-2.txz: Rebuilt.
l/glibc-profile-2.38-x86_64-2.txz: Rebuilt.
l/imagemagick-7.1.1_20-x86_64-1.txz: Upgraded.
l/libxkbcommon-1.6.0-x86_64-1.txz: Upgraded.
l/shared-mime-info-2.3-x86_64-1.txz: Upgraded.
n/c-ares-1.20.0-x86_64-1.txz: Upgraded.
n/libtirpc-1.3.4-x86_64-1.txz: Upgraded.
n/proftpd-1.3.8a-x86_64-1.txz: Upgraded.
n/whois-5.5.19-x86_64-1.txz: Upgraded.
Fixed english support for Japanese queries to not add again the /e argument
if it had already been provided by the user. (Closes: #1050171)
Added the .ye and .*************** (.xn--54b7fta0cc, Bangladesh) TLD servers.
Updated the .ba, .bb, .dk, .es, .gt, .jo, .ml, .mo, .pa, .pn, .sv, .uy,
.a+-la-r+-d+.n+, (.xn--mgbayh7gpa, Jordan) and .****** (.xn--mix891f, Macao)
TLD servers.
Upgraded the TLD URLs to HTTPS whenever possible.
Updated the charset for whois.jprs.jp.
Removed 3 new gTLDs which are no longer active.
Removed support for the obsolete as32 dot notation.
x/xterm-386-x86_64-1.txz: Upgraded.
xap/vim-gvim-9.0.2009-x86_64-1.txz: Upgraded.
2023-10-09 20:10:01 +02:00
|
|
|
# First do the new libxcrypt links (a little bit differently):
|
|
|
|
for cryptlib in libcrypt.so.* ; do
|
|
|
|
CRYPTSO=$(echo $cryptlib | cut -f 3 -d .)
|
|
|
|
mv $cryptlib libcrypt${CRYPTSO}-${VERSION}.so
|
|
|
|
done
|
2022-02-21 21:21:38 +01:00
|
|
|
for library in *.so.* ; do
|
|
|
|
mv $library $(echo $library | cut -f 1 -d .)-${VERSION}.so
|
|
|
|
done
|
|
|
|
# This one is a special case. We don't want an $ARCH embedded in the
|
|
|
|
# filename. It prevents using the same install scripts on all $ARCH
|
|
|
|
# and does no good since we'll never have multiple $ARCH libraries
|
|
|
|
# installed in the same directory anyway. So give it the previous name
|
|
|
|
# format:
|
|
|
|
mv ld-linux*-${VERSION}.so ld-${VERSION}.so
|
2009-08-26 17:00:38 +02:00
|
|
|
)
|
|
|
|
mkdir -p usr
|
|
|
|
cp -a $PKG/usr/bin usr
|
|
|
|
mv usr/bin/ldd .
|
|
|
|
rm usr/bin/*
|
|
|
|
mv ldd usr/bin
|
|
|
|
mkdir -p usr/lib${LIBDIRSUFFIX}
|
|
|
|
# The gconv directory has a lot of stuff, but including it here will save some problems.
|
|
|
|
# Seems standard elsewhere.
|
|
|
|
cp -a $PKG/usr/lib${LIBDIRSUFFIX}/gconv usr/lib${LIBDIRSUFFIX}
|
|
|
|
mkdir -p usr/libexec
|
|
|
|
cp -a $PKG/usr/libexec/pt_chown usr/libexec
|
|
|
|
# Same usr.bin deal:
|
|
|
|
cp -a $PKG/sbin .
|
|
|
|
mv sbin/ldconfig .
|
|
|
|
rm sbin/*
|
|
|
|
mv ldconfig sbin
|
|
|
|
mkdir install
|
Mon Feb 8 05:13:26 UTC 2021
a/aaa_elflibs-15.0-x86_64-30.txz: Removed.
Renamed to aaa_libraries.
a/aaa_glibc-solibs-2.32-x86_64-2.txz: Added.
This package has been renamed from glibc-solibs, which helps avoid trouble
if someone upgrades using "upgradepkg --install-new */*.txz" by upgrading
this package before aaa_libraries. Otherwise, if aaa_libraries is upgraded
first any libraries in it that are linked against a newer version of glibc
than the one installed on the system would refuse to load.
a/aaa_libraries-15.0-x86_64-1.txz: Added.
This package has been renamed from aaa_elflibs to insure that it will come
after aaa_glibc-solibs when upgraded in alphabetical order.
Upgraded: libcap.so.2.48, libelf-0.183.so, libglib-2.0.so.0.6600.6,
libgmodule-2.0.so.0.6600.6, libgobject-2.0.so.0.6600.6,
libgthread-2.0.so.0.6600.6.
Added: libtirpc.so.3.0.0.
a/btrfs-progs-5.10.1-x86_64-1.txz: Upgraded.
a/glibc-solibs-2.32-x86_64-1.txz: Removed.
Renamed to aaa_glibc-solibs.
a/kernel-generic-5.10.14-x86_64-1.txz: Upgraded.
a/kernel-huge-5.10.14-x86_64-1.txz: Upgraded.
a/kernel-modules-5.10.14-x86_64-1.txz: Upgraded.
ap/slackpkg-15.0-noarch-1.txz: Upgraded.
These are some of the important changes (see the ChangeLog for more):
Note that this slackpkg release contains a backwards-incompatible change to
the blacklisting syntax (e.g. glibc ---> glibc-*). This changes the prior
behavior of the blacklist function; previously, adding "glibc" to the
blacklist would cause glibc, glibc-profile, glibc-zoneinfo, et al to be
ignored by slackpkg. The new behavior is that *only* the glibc package is
ignored. If you want to blacklist all packages whose names begin with glibc,
you would need to add "glibc.*" to the blacklist now. Also note that any
special characters, e.g. "+", will need to be escaped in the blacklist file.
To blacklist entire package sets, a trailing slash is now required: e.g. kde/
Another backwards-incompatibility warning: check-updates will now return 1 if
there are updates available - this will make it easier to use this feature
with cron (thanks to Peter Hyman).
Added support for Slackware-AArch64 (thanks to Stuart Winter).
Added aaa_glibc-solibs and aaa_libraries to the "do these first" routine.
Thanks to Robby Workman for the new slackpkg release!
ap/soma-3.3.7-noarch-1.txz: Upgraded.
Thanks to David Woodfall.
ap/xorriso-1.5.4.pl02-x86_64-1.txz: Upgraded.
d/help2man-1.48.1-x86_64-1.txz: Upgraded.
d/kernel-headers-5.10.14-x86-1.txz: Upgraded.
k/kernel-source-5.10.14-noarch-1.txz: Upgraded.
l/elfutils-0.183-x86_64-1.txz: Upgraded.
l/glibc-2.32-x86_64-2.txz: Rebuilt.
l/glibc-i18n-2.32-x86_64-2.txz: Rebuilt.
l/glibc-profile-2.32-x86_64-2.txz: Rebuilt.
l/lcms2-2.12-x86_64-1.txz: Upgraded.
l/libburn-1.5.4-x86_64-1.txz: Upgraded.
x/xf86-input-wacom-0.40.0-x86_64-1.txz: Upgraded.
isolinux/initrd.img: Rebuilt.
kernels/*: Upgraded.
usb-and-pxe-installers/usbboot.img: Rebuilt.
2021-02-08 06:13:26 +01:00
|
|
|
cp -a $CWD/slack-desc.aaa_glibc-solibs install/slack-desc
|
|
|
|
cp -a $CWD/doinst.sh-aaa_glibc-solibs install/doinst.sh
|
2018-09-21 20:51:07 +02:00
|
|
|
# Fix specific versioning for the symlink creation script. This part of the
|
|
|
|
# script would only be used in the case where there is no ldconfig on the
|
|
|
|
# running system that's used to install the package. That should never be the
|
|
|
|
# case, but we'll leave the code in place anyway just in case.
|
2016-06-30 22:26:57 +02:00
|
|
|
sed -i "s/@@VERSION@@/$VERSION/g" install/doinst.sh
|
2018-09-21 20:51:07 +02:00
|
|
|
# Call the function to fix doinst.sh where $LIBDIRSUFFIX is needed:
|
|
|
|
fix_doinst
|
|
|
|
# Only scrub the links in /lib{,64} that will be created by ldconfig:
|
2019-09-30 23:08:32 +02:00
|
|
|
find lib${LIBDIRSUFFIX} -type l -exec rm {} \+
|
2009-08-26 17:00:38 +02:00
|
|
|
# Build the package:
|
Mon Feb 8 05:13:26 UTC 2021
a/aaa_elflibs-15.0-x86_64-30.txz: Removed.
Renamed to aaa_libraries.
a/aaa_glibc-solibs-2.32-x86_64-2.txz: Added.
This package has been renamed from glibc-solibs, which helps avoid trouble
if someone upgrades using "upgradepkg --install-new */*.txz" by upgrading
this package before aaa_libraries. Otherwise, if aaa_libraries is upgraded
first any libraries in it that are linked against a newer version of glibc
than the one installed on the system would refuse to load.
a/aaa_libraries-15.0-x86_64-1.txz: Added.
This package has been renamed from aaa_elflibs to insure that it will come
after aaa_glibc-solibs when upgraded in alphabetical order.
Upgraded: libcap.so.2.48, libelf-0.183.so, libglib-2.0.so.0.6600.6,
libgmodule-2.0.so.0.6600.6, libgobject-2.0.so.0.6600.6,
libgthread-2.0.so.0.6600.6.
Added: libtirpc.so.3.0.0.
a/btrfs-progs-5.10.1-x86_64-1.txz: Upgraded.
a/glibc-solibs-2.32-x86_64-1.txz: Removed.
Renamed to aaa_glibc-solibs.
a/kernel-generic-5.10.14-x86_64-1.txz: Upgraded.
a/kernel-huge-5.10.14-x86_64-1.txz: Upgraded.
a/kernel-modules-5.10.14-x86_64-1.txz: Upgraded.
ap/slackpkg-15.0-noarch-1.txz: Upgraded.
These are some of the important changes (see the ChangeLog for more):
Note that this slackpkg release contains a backwards-incompatible change to
the blacklisting syntax (e.g. glibc ---> glibc-*). This changes the prior
behavior of the blacklist function; previously, adding "glibc" to the
blacklist would cause glibc, glibc-profile, glibc-zoneinfo, et al to be
ignored by slackpkg. The new behavior is that *only* the glibc package is
ignored. If you want to blacklist all packages whose names begin with glibc,
you would need to add "glibc.*" to the blacklist now. Also note that any
special characters, e.g. "+", will need to be escaped in the blacklist file.
To blacklist entire package sets, a trailing slash is now required: e.g. kde/
Another backwards-incompatibility warning: check-updates will now return 1 if
there are updates available - this will make it easier to use this feature
with cron (thanks to Peter Hyman).
Added support for Slackware-AArch64 (thanks to Stuart Winter).
Added aaa_glibc-solibs and aaa_libraries to the "do these first" routine.
Thanks to Robby Workman for the new slackpkg release!
ap/soma-3.3.7-noarch-1.txz: Upgraded.
Thanks to David Woodfall.
ap/xorriso-1.5.4.pl02-x86_64-1.txz: Upgraded.
d/help2man-1.48.1-x86_64-1.txz: Upgraded.
d/kernel-headers-5.10.14-x86-1.txz: Upgraded.
k/kernel-source-5.10.14-noarch-1.txz: Upgraded.
l/elfutils-0.183-x86_64-1.txz: Upgraded.
l/glibc-2.32-x86_64-2.txz: Rebuilt.
l/glibc-i18n-2.32-x86_64-2.txz: Rebuilt.
l/glibc-profile-2.32-x86_64-2.txz: Rebuilt.
l/lcms2-2.12-x86_64-1.txz: Upgraded.
l/libburn-1.5.4-x86_64-1.txz: Upgraded.
x/xf86-input-wacom-0.40.0-x86_64-1.txz: Upgraded.
isolinux/initrd.img: Rebuilt.
kernels/*: Upgraded.
usb-and-pxe-installers/usbboot.img: Rebuilt.
2021-02-08 06:13:26 +01:00
|
|
|
makepkg -l y -c n $TMP/aaa_glibc-solibs-$VERSION-$SLACKWARE_ARCH-$BUILD.txz
|
2009-08-26 17:00:38 +02:00
|
|
|
|
|
|
|
# And finally, the complete "all-in-one" glibc package is created
|
|
|
|
# from whatever was leftover:
|
|
|
|
cd $PGLIBC
|
|
|
|
mv $PKG/* .
|
|
|
|
mkdir -p etc/profile.d
|
|
|
|
cp -a $CWD/profile.d/* etc/profile.d
|
|
|
|
chown -R root:root etc
|
|
|
|
chmod 755 etc/profile.d/*
|
2018-09-21 20:51:07 +02:00
|
|
|
# Only scrub the links in /lib{,64} that will be created by ldconfig:
|
2019-09-30 23:08:32 +02:00
|
|
|
find lib${LIBDIRSUFFIX} -type l -exec rm {} \+
|
2009-08-26 17:00:38 +02:00
|
|
|
mkdir install
|
|
|
|
cp -a $CWD/slack-desc.glibc install/slack-desc
|
|
|
|
cp -a $CWD/doinst.sh-glibc install/doinst.sh
|
2023-10-11 08:37:21 +02:00
|
|
|
# Fix specific versioning for the symlink creation script. This part of the
|
|
|
|
# script would only be used in the case where there is no ldconfig on the
|
|
|
|
# running system that's used to install the package. That should never be the
|
|
|
|
# case, but we'll leave the code in place anyway just in case.
|
|
|
|
sed -i "s/@@VERSION@@/$VERSION/g" install/doinst.sh
|
2018-09-21 20:51:07 +02:00
|
|
|
# Call the function to fix doinst.sh where $LIBDIRSUFFIX is needed:
|
|
|
|
fix_doinst
|
2009-08-26 17:00:38 +02:00
|
|
|
( cd lib${LIBDIRSUFFIX}
|
|
|
|
mkdir incoming
|
|
|
|
mv *so* incoming
|
2022-02-21 21:21:38 +01:00
|
|
|
mv incoming/libmemusage.so .
|
|
|
|
# Beginning with glibc-2.34, shared objects are using their ABI sonames
|
|
|
|
# directly, which is frankly, a terrible idea. It might help other package
|
|
|
|
# managers, but doesn't do us any favors where we already had a system for
|
|
|
|
# dealing with upgrades (and downgrades!). We'll change these libraries to
|
|
|
|
# use the versioned naming system of glibc-2.33 and earlier so that we don't
|
|
|
|
# have to handle these files differently and so that it's easy to see what
|
|
|
|
# version of glibc is in use at a glance.
|
|
|
|
cd incoming
|
Mon Oct 9 18:10:01 UTC 2023
a/aaa_glibc-solibs-2.38-x86_64-2.txz: Rebuilt.
ap/qpdf-11.6.2-x86_64-1.txz: Upgraded.
ap/vim-9.0.2009-x86_64-1.txz: Upgraded.
l/desktop-file-utils-0.27-x86_64-1.txz: Upgraded.
l/glibc-2.38-x86_64-2.txz: Rebuilt.
These glibc packages are the exact ones that were previously in /testing.
A test mass rebuild was done here finding no new FTBFS, so I think these
are good to go. :)
l/glibc-i18n-2.38-x86_64-2.txz: Rebuilt.
l/glibc-profile-2.38-x86_64-2.txz: Rebuilt.
l/imagemagick-7.1.1_20-x86_64-1.txz: Upgraded.
l/libxkbcommon-1.6.0-x86_64-1.txz: Upgraded.
l/shared-mime-info-2.3-x86_64-1.txz: Upgraded.
n/c-ares-1.20.0-x86_64-1.txz: Upgraded.
n/libtirpc-1.3.4-x86_64-1.txz: Upgraded.
n/proftpd-1.3.8a-x86_64-1.txz: Upgraded.
n/whois-5.5.19-x86_64-1.txz: Upgraded.
Fixed english support for Japanese queries to not add again the /e argument
if it had already been provided by the user. (Closes: #1050171)
Added the .ye and .*************** (.xn--54b7fta0cc, Bangladesh) TLD servers.
Updated the .ba, .bb, .dk, .es, .gt, .jo, .ml, .mo, .pa, .pn, .sv, .uy,
.a+-la-r+-d+.n+, (.xn--mgbayh7gpa, Jordan) and .****** (.xn--mix891f, Macao)
TLD servers.
Upgraded the TLD URLs to HTTPS whenever possible.
Updated the charset for whois.jprs.jp.
Removed 3 new gTLDs which are no longer active.
Removed support for the obsolete as32 dot notation.
x/xterm-386-x86_64-1.txz: Upgraded.
xap/vim-gvim-9.0.2009-x86_64-1.txz: Upgraded.
2023-10-09 20:10:01 +02:00
|
|
|
# First do the new libxcrypt links (a little bit differently):
|
|
|
|
for cryptlib in libcrypt.so.* ; do
|
|
|
|
CRYPTSO=$(echo $cryptlib | cut -f 3 -d .)
|
|
|
|
mv $cryptlib libcrypt${CRYPTSO}-${VERSION}.so
|
|
|
|
done
|
2022-02-21 21:21:38 +01:00
|
|
|
for library in *.so.* ; do
|
|
|
|
mv $library $(echo $library | cut -f 1 -d .)-${VERSION}.so
|
|
|
|
done
|
|
|
|
# This one is a special case. We don't want an $ARCH embedded in the
|
|
|
|
# filename. It prevents using the same install scripts on all $ARCH
|
|
|
|
# and does no good since we'll never have multiple $ARCH libraries
|
|
|
|
# installed in the same directory anyway. So give it the previous name
|
|
|
|
# format:
|
|
|
|
mv ld-linux*-${VERSION}.so ld-${VERSION}.so
|
2009-08-26 17:00:38 +02:00
|
|
|
)
|
|
|
|
# Build the package:
|
2011-04-25 15:37:00 +02:00
|
|
|
/sbin/makepkg -l y -c n $TMP/glibc-$VERSION-$SLACKWARE_ARCH-$BUILD.txz
|
2009-08-26 17:00:38 +02:00
|
|
|
|
|
|
|
# Done!
|
|
|
|
echo
|
|
|
|
echo "glibc packages built in $TMP!"
|