jlinton / rpms / glibc

Forked from rpms/glibc 3 years ago
Clone
cvsdist 18c157d
%define glibcrelease 43
cvsdist dac76f7
%define auxarches i586 i686 athlon sparcv9 alphaev6
cvsdist 075c0fe
%define prelinkarches i686 athlon alpha alphaev6
cvsdist 2e3cbbc
%define prelinkdate 20020617
cvsdist dac76f7
Summary: The GNU libc libraries.
cvsdist dac76f7
Name: glibc
cvsdist 075c0fe
Version: 2.2.5
cvsdist 48664b9
Release: %{glibcrelease}
cvsdist 8200dbb
Copyright: LGPL
cvsdist 8200dbb
Group: System Environment/Libraries
cvsdist dac76f7
Source: %{name}-%{version}.tar.bz2
cvsdist 075c0fe
Source2: ftp://people.redhat.com/jakub/prelink/prelink-%{prelinkdate}.tar.bz2
cvsdist 8200dbb
# In the source tarball the file diff-CYGNUS-to-REDHAT.patch contains all
cvsdist 8200dbb
# diffs applied by Red Hat to the current CVS version of glibc
cvsdist 987ea0c
Buildroot: %{_tmppath}/glibc-%{PACKAGE_VERSION}-root
cvsdist 8200dbb
Obsoletes: zoneinfo, libc-static, libc-devel, libc-profile, libc-headers,
cvsdist 8200dbb
Obsoletes:  linuxthreads, gencat, locale, ldconfig, locale-ja
cvsdist 8200dbb
Provides: ldconfig
cvsdist 8200dbb
Autoreq: false
cvsdist 987ea0c
Requires: glibc-common = %{version}-%{release}
cvsdist 8200dbb
%ifarch sparc
cvsdist 8200dbb
Obsoletes: libc
cvsdist 8200dbb
%endif
cvsdist 8200dbb
Prereq: basesystem
cvsdist e2f026e
# This is for building auxiliary programs like memusage
cvsdist e2f026e
# For initial glibc bootstraps it can be commented out
cvsdist e2f026e
BuildPreReq: gd-devel libpng-devel zlib-devel
cvsdist 075c0fe
BuildPreReq: libelf >= 0.7.0-2
cvsdist e2f026e
# This is to ensure that __frame_state_for exported by glibc
cvsdist e2f026e
# will be compatible with egcs 1.x.y
cvsdist 2e3cbbc
BuildPreReq: gcc >= 2.96-84
cvsdist 8200dbb
Conflicts: rpm <= 4.0-0.65
cvsdist 4118c17
Conflicts: glibc-devel < 2.2.3
cvsdist f2d193b
Patch: glibc-kernel-2.4.patch
cvsdist 2e3cbbc
Patch2: glibc-2.2.5.patch
cvsdist b18ac84
Patch3: glibc-2.2.5-security.patch
cvsdist b18ac84
Patch4: glibc-2.2.5-getdents.patch
cvsdist b18ac84
Patch5: glibc-2.2.5-xdr_array.patch
cvsdist b18ac84
Patch6: glibc-2.2.5-calloc.patch
cvsdist 18c157d
Patch7: glibc-2.2.5-dl-environ.patch
cvsdist 18c157d
Patch8: glibc-2.2.5-wprintf.patch
cvsdist 18c157d
Patch9: glibc-2.2.5-maxpacket.patch
cvsdist 18c157d
Patch10: glibc-2.2.5-setrlimit.patch
cvsdist 18c157d
Patch11: glibc-2.2.5-xdrmem.patch
cvsdist 987ea0c
%ifarch ia64 sparc64 s390x
cvsdist ab18463
Conflicts: kernel < 2.4.0
cvsdist ab18463
%define enablekernel 2.4.0
cvsdist e2f026e
%define enablemask [01].*|2.[0-3]*
cvsdist 1ced64d
%else
cvsdist 8200dbb
%define enablekernel 2.2.5
cvsdist 075c0fe
%ifarch i686 athlon
cvsdist 2704fae
%define enablekernel2 2.4.1
cvsdist 2704fae
%define enablemask [01].*|2.[0-3]*|2.4.0*
cvsdist 2704fae
%else
cvsdist 06aa72c
%define enablemask [01].*|2.[0-1]*|2.2.[0-4]|2.2.[0-4][^0-9]*
cvsdist e2f026e
%endif
cvsdist 2704fae
%endif
cvsdist 06aa72c
%define __find_provides %{_builddir}/%{name}-%{version}/find_provides.sh
cvsdist 8200dbb
cvsdist 8200dbb
%description
cvsdist 8200dbb
The glibc package contains standard libraries which are used by
cvsdist 8200dbb
multiple programs on the system. In order to save disk space and
cvsdist 8200dbb
memory, as well as to make upgrading easier, common system code is
cvsdist 8200dbb
kept in one place and shared between programs. This particular package
cvsdist 8200dbb
contains the most important sets of shared libraries: the standard C
cvsdist 8200dbb
library and the standard math library. Without these two libraries, a
cvsdist dac76f7
Linux system will not function.
cvsdist 8200dbb
cvsdist 8200dbb
%package devel
cvsdist 8200dbb
Summary: Header and object files for development using standard C libraries.
cvsdist 8200dbb
Group: Development/Libraries
cvsdist 8200dbb
Conflicts: texinfo < 3.11
cvsdist 8200dbb
Prereq: /sbin/install-info
cvsdist 8200dbb
Obsoletes: libc-debug, libc-headers, libc-devel, linuxthreads-devel
cvsdist 8200dbb
Prereq: kernel-headers
cvsdist dac76f7
Requires: kernel-headers >= 2.2.1, %{name} = %{version}
cvsdist e2f026e
%ifarch x86
cvsdist e2f026e
# Earlier gcc's had atexit reference in crtendS.o, which does not
cvsdist e2f026e
# work with this glibc where atexit is in libc_nonshared.a
cvsdist e2f026e
Conflicts: gcc < 2.96-79
cvsdist e2f026e
%endif
cvsdist 8200dbb
Autoreq: true
cvsdist 8200dbb
cvsdist 8200dbb
%description devel
cvsdist 8200dbb
The glibc-devel package contains the header and object files necessary
cvsdist 8200dbb
for developing programs which use the standard C libraries (which are
cvsdist 075c0fe
used by nearly all programs).  If you are developing programs which
cvsdist 8200dbb
will use the standard C libraries, your system needs to have these
cvsdist 8200dbb
standard header and object files available in order to create the
cvsdist 8200dbb
executables.
cvsdist 8200dbb
cvsdist 8200dbb
Install glibc-devel if you are going to develop programs which will
cvsdist 8200dbb
use the standard C libraries.
cvsdist 8200dbb
cvsdist 8200dbb
%package profile
cvsdist 8200dbb
Summary: The GNU libc libraries, including support for gprof profiling.
cvsdist 8200dbb
Group: Development/Libraries
cvsdist 8200dbb
Obsoletes: libc-profile
cvsdist 8200dbb
Autoreq: true
cvsdist 8200dbb
cvsdist 8200dbb
%description profile
cvsdist 8200dbb
The glibc-profile package includes the GNU libc libraries and support
cvsdist 075c0fe
for profiling using the gprof program.  Profiling is analyzing a
cvsdist 8200dbb
program's functions to see how much CPU time they use and determining
cvsdist 075c0fe
which functions are calling other functions during execution.  To use
cvsdist 8200dbb
gprof to profile a program, your program needs to use the GNU libc
cvsdist 8200dbb
libraries included in glibc-profile (instead of the standard GNU libc
cvsdist 8200dbb
libraries included in the glibc package).
cvsdist 8200dbb
cvsdist 8200dbb
If you are going to use the gprof program to profile a program, you'll
cvsdist 075c0fe
need to install the glibc-profile package.
cvsdist 8200dbb
cvsdist dac76f7
%package common
cvsdist 075c0fe
Summary: Common binaries and locale data for glibc
cvsdist 987ea0c
Conflicts: %{name} < %{version}
cvsdist 987ea0c
Conflicts: %{name} > %{version} 
cvsdist dac76f7
Autoreq: false
cvsdist dac76f7
Group: System Environment/Base
cvsdist dac76f7
cvsdist dac76f7
%description common
cvsdist dac76f7
The glibc-common package includes common binaries for the GNU libc
cvsdist dac76f7
libraries, as well as national language (locale) support and timezone
cvsdist dac76f7
databases.
cvsdist dac76f7
cvsdist 8200dbb
%package -n nscd
cvsdist 8200dbb
Summary: A Name Service Caching Daemon (nscd).
cvsdist 8200dbb
Group: System Environment/Daemons
cvsdist 8200dbb
Conflicts: kernel < 2.2.0
cvsdist 06aa72c
Prereq: /sbin/chkconfig, /usr/sbin/useradd, /usr/sbin/userdel, sh-utils
cvsdist 8200dbb
Autoreq: true
cvsdist 8200dbb
cvsdist 8200dbb
%description -n nscd
cvsdist 075c0fe
Nscd caches name service lookups and can dramatically improve
cvsdist 075c0fe
performance with NIS+, and may help with DNS as well. Note that you
cvsdist 075c0fe
can't use nscd with 2.0 kernels because of bugs in the kernel-side
cvsdist 075c0fe
thread support. Unfortunately, nscd happens to hit these bugs
cvsdist 075c0fe
particularly hard.
cvsdist 075c0fe
cvsdist 075c0fe
%package debug
cvsdist 075c0fe
Summary: Shared standard C libraries with debugging information
cvsdist 075c0fe
Group: Development/Libraries
cvsdist 075c0fe
Requires: glibc = %{version}-%{release}, glibc-devel = %{version}-%{release}
cvsdist 075c0fe
Autoreq: false
cvsdist 075c0fe
cvsdist 075c0fe
%description debug
cvsdist 075c0fe
The glibc-debug package contains shared standard C libraries
cvsdist 075c0fe
with debugging information.  You need this only if you want to step into
cvsdist 075c0fe
C library routines during debugging.
cvsdist 075c0fe
To use these libraries, you need to set LD_LIBRARY_PATH=%{_prefix}/%{_lib}/debug
cvsdist 075c0fe
in your environment before starting debugger.
cvsdist 075c0fe
If you want to see glibc source files during debugging, you should
cvsdist 075c0fe
rpm -i glibc-%{version}-%{release}.src.rpm
cvsdist 075c0fe
rpm -bp %{_specdir}/glibc.spec
cvsdist 075c0fe
cvsdist 075c0fe
If unsure if you need this, don't install this package.
cvsdist 075c0fe
cvsdist 075c0fe
%package debug-static
cvsdist 075c0fe
Summary: Static standard C libraries with debugging information
cvsdist 075c0fe
Group: Development/Libraries
cvsdist 075c0fe
Requires: glibc = %{version}-%{release}, glibc-devel = %{version}-%{release}
cvsdist 075c0fe
Autoreq: true
cvsdist 075c0fe
cvsdist 075c0fe
%description debug-static
cvsdist 075c0fe
The glibc-debug-static package contains static standard C libraries
cvsdist 075c0fe
with debugging information.  You need this only if you want to step into
cvsdist 075c0fe
C library routines during debugging programs statically linked against
cvsdist 075c0fe
one or more of the standard C libraries.
cvsdist 075c0fe
To use this debugging information, you need to link binaries
cvsdist 075c0fe
with -L%{_prefix}/%{_lib}/debug compiler option.
cvsdist 075c0fe
If you want to see glibc source files during debugging, you should
cvsdist 075c0fe
rpm -i glibc-%{version}-%{release}.src.rpm
cvsdist 075c0fe
rpm -bp %{_specdir}/glibc.spec
cvsdist 075c0fe
cvsdist 075c0fe
If unsure if you need this, don't install this package.
cvsdist 075c0fe
cvsdist 075c0fe
%package utils
cvsdist 075c0fe
Summary: Development utilities from GNU C library
cvsdist 075c0fe
Group: Development/Tools
cvsdist 075c0fe
Requires: glibc = %{version}-%{release}
cvsdist 075c0fe
cvsdist 075c0fe
%description utils
cvsdist 075c0fe
The glibc-utils package contains memusage, a memory usage profiler,
cvsdist 075c0fe
mtrace, a memory leak tracer and xtrace, a function call tracer
cvsdist 075c0fe
which can be helpful during program debugging.
cvsdist 075c0fe
cvsdist 075c0fe
If unsure if you need this, don't install this package.
cvsdist 8200dbb
cvsdist 8200dbb
%prep
cvsdist 8200dbb
%setup -q
cvsdist e2f026e
# If we are building enablekernel 2.x.y glibc on older kernel,
cvsdist 8200dbb
# we have to make sure no binaries compiled against that glibc
cvsdist 8200dbb
# are ever run
cvsdist 8200dbb
case `uname -r` in
cvsdist e2f026e
%enablemask)
cvsdist f2d193b
%patch -p1
cvsdist 8200dbb
;; esac
cvsdist a76a167
%patch2 -p1
cvsdist b18ac84
%patch3 -p1
cvsdist b18ac84
%patch4 -p1
cvsdist b18ac84
%patch5 -p1
cvsdist b18ac84
%patch6 -p1
cvsdist 18c157d
%patch7 -p1
cvsdist 18c157d
%patch8 -p1
cvsdist 18c157d
%patch9 -p1
cvsdist 18c157d
%patch10 -p1
cvsdist 18c157d
%patch11 -p1
cvsdist 075c0fe
cvsdist 211c16f
perl -pi -e 'm/PACKET.*1024/ and s/1024/65536/' \
cvsdist 211c16f
  `find resolv glibc-compat -name \*.c`
cvsdist 211c16f
cvsdist 075c0fe
%ifarch %{prelinkarches}
cvsdist 075c0fe
mkdir prelink
cvsdist 075c0fe
tar x --bzip2 -C prelink -f %{SOURCE2}
cvsdist cc7ca1e
%endif
cvsdist 987ea0c
cvsdist 987ea0c
%ifarch armv4l sparc64 ia64 s390 s390x
cvsdist 8200dbb
rm -rf glibc-compat
cvsdist 8200dbb
%endif
cvsdist 8200dbb
cvsdist c601102
# Waiting for explanation...
cvsdist c601102
rm -f sysdeps/powerpc/memset.S
cvsdist c601102
cvsdist 8200dbb
find . -type f -size 0 -o -name "*.orig" -exec rm -f {} \;
cvsdist 06aa72c
cat > find_provides.sh <
cvsdist 06aa72c
#!/bin/sh
cvsdist 075c0fe
/usr/lib/rpm/find-provides | grep -v GLIBC_PRIVATE
cvsdist 075c0fe
exit 0
cvsdist 06aa72c
EOF
cvsdist 06aa72c
chmod +x find_provides.sh
cvsdist 8200dbb
cvsdist 8200dbb
%build
cvsdist 8200dbb
rm -rf build-%{_target_cpu}-linux
cvsdist 8200dbb
mkdir build-%{_target_cpu}-linux ; cd build-%{_target_cpu}-linux
cvsdist 99bce00
GCC=gcc
cvsdist 8200dbb
%ifarch %{ix86}
cvsdist 075c0fe
BuildFlags="-march=%{_target_cpu}"
cvsdist 8200dbb
%endif
cvsdist 1ced64d
%ifarch alphaev6
cvsdist 1ced64d
BuildFlags="-mcpu=ev6"
cvsdist 1ced64d
%endif
cvsdist 99bce00
%ifarch sparc
cvsdist 99bce00
BuildFlags="-fcall-used-g7"
cvsdist 99bce00
GCC="gcc -m32"
cvsdist 99bce00
%endif
cvsdist 8200dbb
%ifarch sparcv9
cvsdist 8200dbb
BuildFlags="-mcpu=ultrasparc -fcall-used-g7"
cvsdist 99bce00
GCC="gcc -m32"
cvsdist 8200dbb
%endif
cvsdist 8200dbb
%ifarch sparc64
cvsdist 8200dbb
BuildFlags="-mcpu=ultrasparc -mvis -fcall-used-g7"
cvsdist 99bce00
GCC="gcc -m64"
cvsdist 8200dbb
%endif
cvsdist 987ea0c
%ifnarch ia64 s390 s390x
cvsdist dac76f7
BuildFlags="$BuildFlags -freorder-blocks"
cvsdist 1ced64d
%endif
cvsdist dac76f7
BuildFlags="$BuildFlags -DNDEBUG=1"
cvsdist 075c0fe
if gcc -v | grep -q 'gcc version 3'; then
cvsdist 075c0fe
  BuildFlags="$BuildFlags -finline-limit=2000"
cvsdist 075c0fe
fi
cvsdist 8200dbb
EnableKernel="--enable-kernel=%{enablekernel}"
cvsdist dac76f7
%ifarch %{auxarches}
cvsdist 1ced64d
EnableKernel="$EnableKernel --disable-profile"
cvsdist 1ced64d
%endif
cvsdist 987ea0c
echo "$BuildFlags" > ../BuildFlags
cvsdist 99bce00
CC="$GCC" CFLAGS="$BuildFlags -g -O3" ../configure --prefix=%{_prefix} \
cvsdist 8200dbb
	--enable-add-ons=yes --without-cvs $EnableKernel \
cvsdist 8200dbb
	%{_target_cpu}-redhat-linux
cvsdist 8200dbb
if [ -x /usr/bin/getconf ] ; then
cvsdist 8200dbb
  numprocs=$(/usr/bin/getconf _NPROCESSORS_ONLN)
cvsdist 8200dbb
  if [ $numprocs -eq 0 ]; then
cvsdist 8200dbb
    numprocs=1
cvsdist 8200dbb
  fi
cvsdist 8200dbb
else
cvsdist 8200dbb
  numprocs=1
cvsdist 8200dbb
fi
cvsdist 8200dbb
make -j$numprocs -r CFLAGS="$BuildFlags -g -O3" PARALLELMFLAGS=-s
cvsdist cc7ca1e
gcc -static -Os ../redhat/glibc_post_upgrade.c -o glibc_post_upgrade \
cvsdist cc7ca1e
%ifarch i386
cvsdist cc7ca1e
    -DARCH_386 '-DVERSION="%{version}"' '-DPVERSION="0.9"' \
cvsdist cc7ca1e
%endif
cvsdist cc7ca1e
    '-DGCONV_MODULES_CACHE="%{_prefix}/%{_lib}/gconv/gconv-modules.cache"'
cvsdist 8200dbb
cvsdist 8200dbb
%install
cvsdist 06aa72c
if [ -x /usr/bin/getconf ] ; then
cvsdist 06aa72c
  numprocs=$(/usr/bin/getconf _NPROCESSORS_ONLN)
cvsdist 06aa72c
  if [ $numprocs -eq 0 ]; then
cvsdist 06aa72c
    numprocs=1
cvsdist 06aa72c
  fi
cvsdist 06aa72c
else
cvsdist 06aa72c
  numprocs=1
cvsdist 06aa72c
fi
cvsdist 8200dbb
rm -rf $RPM_BUILD_ROOT
cvsdist 8200dbb
mkdir -p $RPM_BUILD_ROOT
cvsdist 8200dbb
make install_root=$RPM_BUILD_ROOT install -C build-%{_target_cpu}-linux
cvsdist 06aa72c
%ifnarch %{auxarches}
cvsdist 8200dbb
cd build-%{_target_cpu}-linux && \
cvsdist 06aa72c
    make -j$numprocs install_root=$RPM_BUILD_ROOT install-locales -C ../localedata objdir=`pwd` && \
cvsdist 8200dbb
    cd ..
cvsdist 06aa72c
%endif
cvsdist 8200dbb
cvsdist 075c0fe
%ifarch i686 athlon
cvsdist 2704fae
rm -rf build-%{_target_cpu}-linux2.4
cvsdist 2704fae
mkdir build-%{_target_cpu}-linux2.4 ; cd build-%{_target_cpu}-linux2.4
cvsdist 2704fae
GCC=gcc
cvsdist 2704fae
BuildFlags=`cat ../BuildFlags`
cvsdist 2704fae
EnableKernel="--enable-kernel=%{enablekernel2} --disable-profile"
cvsdist 2704fae
CC="$GCC" CFLAGS="$BuildFlags -g -O3" ../configure --prefix=%{_prefix} \
cvsdist 2704fae
	--enable-add-ons=yes --without-cvs $EnableKernel \
cvsdist 2704fae
	%{_target_cpu}-redhat-linux
cvsdist 2704fae
if [ -x /usr/bin/getconf ] ; then
cvsdist 2704fae
  numprocs=$(/usr/bin/getconf _NPROCESSORS_ONLN)
cvsdist 2704fae
  if [ $numprocs -eq 0 ]; then
cvsdist 2704fae
    numprocs=1
cvsdist 2704fae
  fi
cvsdist 2704fae
else
cvsdist 2704fae
  numprocs=1
cvsdist 2704fae
fi
cvsdist 2704fae
make -j$numprocs -r CFLAGS="$BuildFlags -g -O3" PARALLELMFLAGS=-s
cvsdist 075c0fe
mkdir -p $RPM_BUILD_ROOT/lib/i686/
cvsdist 075c0fe
cp -a libc.so $RPM_BUILD_ROOT/lib/i686/`basename $RPM_BUILD_ROOT/lib/libc-*.so`
cvsdist 075c0fe
ln -sf `basename $RPM_BUILD_ROOT/lib/libc-*.so` $RPM_BUILD_ROOT/lib/i686/`basename $RPM_BUILD_ROOT/lib/libc.so.*`
cvsdist 075c0fe
cp -a math/libm.so $RPM_BUILD_ROOT/lib/i686/`basename $RPM_BUILD_ROOT/lib/libm-*.so`
cvsdist 075c0fe
ln -sf `basename $RPM_BUILD_ROOT/lib/libm-*.so` $RPM_BUILD_ROOT/lib/i686/`basename $RPM_BUILD_ROOT/lib/libm.so.*`
cvsdist 075c0fe
cp -a linuxthreads/libpthread.so $RPM_BUILD_ROOT/lib/i686/`basename $RPM_BUILD_ROOT/lib/libpthread-*.so`
cvsdist 075c0fe
ln -sf `basename $RPM_BUILD_ROOT/lib/libpthread-*.so` $RPM_BUILD_ROOT/lib/i686/`basename $RPM_BUILD_ROOT/lib/libpthread.so.*`
cvsdist fb47195
strip -R .comment $RPM_BUILD_ROOT/lib/{libc,libm,libpthread}-*.so
cvsdist 2704fae
cd ..
cvsdist 2704fae
%endif
cvsdist 2704fae
cvsdist 075c0fe
%ifarch %{prelinkarches}
cvsdist 075c0fe
# Build prelink
cvsdist 2e3cbbc
cd prelink/prelink
cvsdist 075c0fe
%configure
cvsdist 075c0fe
make
cvsdist 075c0fe
cd ../..
cvsdist 075c0fe
%endif
cvsdist 075c0fe
cvsdist 8200dbb
# compatibility hack: this locale has vanished from glibc, but some other
cvsdist 8200dbb
# programs are still using it. Normally we would handle it in the %pre
cvsdist 8200dbb
# section but with glibc that is simply not an option
cvsdist 8200dbb
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/locale/ru_RU/LC_MESSAGES
cvsdist 8200dbb
cvsdist 8200dbb
# Remove the files we don't want to distribute
cvsdist 8200dbb
rm -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libNoVersion*
cvsdist 987ea0c
%ifarch sparc64 ia64 s390 s390x
cvsdist 8200dbb
rm -f $RPM_BUILD_ROOT/%{_lib}/libNoVersion*
cvsdist 8200dbb
%endif
cvsdist 8200dbb
cvsdist c601102
# If librt.so is a symlink, change it into linker script
cvsdist c601102
if [ -L $RPM_BUILD_ROOT%{_prefix}/%{_lib}/librt.so ]; then
cvsdist c601102
  rm -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/librt.so
cvsdist c601102
  LIBRTSO=`cd $RPM_BUILD_ROOT/%{_lib}; echo librt.so.*`
cvsdist c601102
  LIBPTHREADSO=`cd $RPM_BUILD_ROOT/%{_lib}; echo libpthread.so.*`
cvsdist c601102
  cat > $RPM_BUILD_ROOT%{_prefix}/%{_lib}/librt.so <
cvsdist c601102
/* GNU ld script
cvsdist c601102
   librt.so.1 needs libpthread.so.0 to come before libc.so.6*
cvsdist c601102
   in search scope.  */
cvsdist c601102
GROUP ( /%{_lib}/$LIBPTHREADSO /%{_lib}/$LIBRTSO )
cvsdist c601102
EOF
cvsdist c601102
fi
cvsdist c601102
cvsdist 8200dbb
# the man pages for the linuxthreads require special attention
cvsdist 8200dbb
make -C linuxthreads/man
cvsdist 8200dbb
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3
cvsdist 8200dbb
install -m 0644 linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
cvsdist 8200dbb
gzip -9nvf $RPM_BUILD_ROOT%{_mandir}/man3/*
cvsdist 8200dbb
cvsdist 8200dbb
if [ -d $RPM_BUILD_ROOT%{_prefix}/info -a "%{_infodir}" != "%{_prefix}/info" ]; then
cvsdist 8200dbb
    mkdir -p $RPM_BUILD_ROOT%{_infodir}
cvsdist 8200dbb
    mv -f $RPM_BUILD_ROOT%{_prefix}/info/* $RPM_BUILD_ROOT%{_infodir}
cvsdist 8200dbb
    rm -rf $RPM_BUILD_ROOT%{_prefix}/info
cvsdist 8200dbb
fi
cvsdist 8200dbb
cvsdist 8200dbb
gzip -9nvf $RPM_BUILD_ROOT%{_infodir}/libc*
cvsdist 8200dbb
cvsdist 8200dbb
ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libbsd.a
cvsdist 8200dbb
cvsdist 8200dbb
install -m 644 redhat/nsswitch.conf $RPM_BUILD_ROOT/etc/nsswitch.conf
cvsdist 8200dbb
cvsdist 8200dbb
# Take care of setuids
cvsdist 8200dbb
# -- new security review sez that this shouldn't be needed anymore
cvsdist 8200dbb
#chmod 755 $RPM_BUILD_ROOT%{_prefix}/libexec/pt_chown
cvsdist 8200dbb
cvsdist 8200dbb
# This is for ncsd - in glibc 2.2
cvsdist 8200dbb
install -m 644 nscd/nscd.conf $RPM_BUILD_ROOT/etc
cvsdist 8200dbb
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
cvsdist 8200dbb
install -m 755 nscd/nscd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
cvsdist 8200dbb
cvsdist 8200dbb
# Don't include ld.so.cache
cvsdist 8200dbb
rm -f $RPM_BUILD_ROOT/etc/ld.so.cache
cvsdist 8200dbb
cvsdist 8200dbb
# Include ld.so.conf
cvsdist 8200dbb
> $RPM_BUILD_ROOT/etc/ld.so.conf
cvsdist 8200dbb
chmod 644 $RPM_BUILD_ROOT/etc/ld.so.conf
cvsdist 8200dbb
cvsdist 06aa72c
# Include %{_prefix}/%{_lib}/gconv/gconv-modules.cache
cvsdist 06aa72c
> $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gconv/gconv-modules.cache
cvsdist 06aa72c
chmod 644 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gconv/gconv-modules.cache
cvsdist 06aa72c
cvsdist 1ced64d
# Install the upgrade program
cvsdist 1ced64d
install -m 700 build-%{_target_cpu}-linux/glibc_post_upgrade $RPM_BUILD_ROOT/usr/sbin/glibc_post_upgrade
cvsdist 1ced64d
cvsdist 8200dbb
# Strip binaries
cvsdist 8200dbb
strip -R .comment $RPM_BUILD_ROOT/sbin/* || :
cvsdist 8200dbb
strip -R .comment $RPM_BUILD_ROOT%{_prefix}/bin/* || :
cvsdist 8200dbb
strip -R .comment $RPM_BUILD_ROOT%{_prefix}/sbin/* || :
cvsdist 8200dbb
strip -R .comment $RPM_BUILD_ROOT%{_prefix}/libexec/pt_chown || :
cvsdist 8200dbb
strip -R .comment $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gconv/* || :
cvsdist 8200dbb
cvsdist 075c0fe
mkdir $RPM_BUILD_ROOT%{_prefix}/%{_lib}/debug
cvsdist 075c0fe
cp -a $RPM_BUILD_ROOT%{_prefix}/%{_lib}/*.a $RPM_BUILD_ROOT%{_prefix}/%{_lib}/debug/
cvsdist 075c0fe
rm -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/debug/*_p.a
cvsdist 075c0fe
cp -a $RPM_BUILD_ROOT/%{_lib}/lib*.so* $RPM_BUILD_ROOT%{_prefix}/%{_lib}/debug/
cvsdist 075c0fe
# Now strip debugging info from all static and shared libraries but
cvsdist 075c0fe
# those which will be in glibc-debug subpackage
cvsdist 075c0fe
pushd $RPM_BUILD_ROOT%{_prefix}/%{_lib}/
cvsdist 075c0fe
for i in *.a; do
cvsdist 075c0fe
  if [ -f $i ]; then
cvsdist 075c0fe
    case "$i" in
cvsdist 075c0fe
    *_p.a) ;;
cvsdist 075c0fe
    *) strip -g -R .comment $i ;;
cvsdist 075c0fe
    esac
cvsdist 075c0fe
  fi
cvsdist 075c0fe
done
cvsdist 075c0fe
popd
cvsdist 075c0fe
%ifarch i686 athlon
cvsdist 075c0fe
rm -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/debug/{libc,libm,libpthread}[-.]*.so*
cvsdist 075c0fe
cp -a $RPM_BUILD_ROOT/%{_lib}/i686/lib*.so* $RPM_BUILD_ROOT%{_prefix}/%{_lib}/debug/
cvsdist 075c0fe
%endif
cvsdist 075c0fe
pushd $RPM_BUILD_ROOT/%{_lib}
cvsdist 075c0fe
for i in *.so*; do
cvsdist 075c0fe
  if [ -f $i -a ! -L $i ]; then
cvsdist 075c0fe
    if [ "$i" = libc.so -o "$i" = librt.so ]; then
cvsdist 075c0fe
      :
cvsdist 075c0fe
%ifarch i686 athlon
cvsdist 075c0fe
    elif [ -f i686/$i ]; then
cvsdist 075c0fe
      strip -g -R .comment i686/$i
cvsdist 075c0fe
%endif
cvsdist 075c0fe
    else
cvsdist 075c0fe
      strip -g -R .comment $i
cvsdist 075c0fe
    fi
cvsdist 075c0fe
  fi
cvsdist 075c0fe
done
cvsdist 075c0fe
popd
cvsdist 075c0fe
cvsdist 075c0fe
%ifarch i686 athlon
cvsdist 075c0fe
# Prelink ld.so and libc.so
cvsdist 075c0fe
cd prelink
cvsdist 075c0fe
> prelink.conf
cvsdist 075c0fe
# For now disable prelinking of ld.so, as it breaks statically linked
cvsdist 075c0fe
# binaries built against non-NDEBUG old glibcs (assert unknown dynamic tag)
cvsdist 2e3cbbc
# prelink/src/prelink -c ./prelink.conf -C ./prelink.cache \
cvsdist 075c0fe
#  --mmap-region-start=0x40000000 $RPM_BUILD_ROOT/%{_lib}/ld-*.so
cvsdist 2e3cbbc
prelink/src/prelink --reloc-only=0x42000000 \
cvsdist 075c0fe
  $RPM_BUILD_ROOT/%{_lib}/i686/libc-*.so
cvsdist 075c0fe
cd ..
cvsdist 075c0fe
%endif
cvsdist 075c0fe
%ifarch alpha alphaev6
cvsdist 075c0fe
# Prelink ld.so and libc.so
cvsdist 075c0fe
cd prelink
cvsdist 075c0fe
> prelink.conf
cvsdist 075c0fe
# For now disable prelinking of ld.so, as it breaks statically linked
cvsdist 075c0fe
# binaries built against non-NDEBUG old glibcs (assert unknown dynamic tag)
cvsdist 2e3cbbc
# prelink/src/prelink -c ./prelink.conf -C ./prelink.cache \
cvsdist 075c0fe
#  --mmap-region-start=0x0000020000000000 $RPM_BUILD_ROOT/%{_lib}/ld-*.so
cvsdist 2e3cbbc
prelink/src/prelink --reloc-only=0x0000020010000000 \
cvsdist 075c0fe
  $RPM_BUILD_ROOT/%{_lib}/libc-*.so
cvsdist 075c0fe
cd ..
cvsdist 075c0fe
%endif
cvsdist 075c0fe
cvsdist 06aa72c
# rquota.x and rquota.h are now provided by quota
cvsdist 06aa72c
rm -f $RPM_BUILD_ROOT%{_prefix}/include/rpcsvc/rquota.[hx]
cvsdist 06aa72c
cvsdist dac76f7
# Hardlink identical locale files together
cvsdist 06aa72c
%ifnarch %{auxarches}
cvsdist e2f026e
gcc -O2 -o build-%{_target_cpu}-linux/hardlink redhat/hardlink.c
cvsdist e2f026e
build-%{_target_cpu}-linux/hardlink -vc $RPM_BUILD_ROOT%{_prefix}/lib/locale
cvsdist 06aa72c
%endif
cvsdist dac76f7
cvsdist 8200dbb
# BUILD THE FILE LIST
cvsdist 8200dbb
find $RPM_BUILD_ROOT -type f -or -type l |
cvsdist 987ea0c
	sed -e 's|.*/etc|%config &|' \
cvsdist 06aa72c
	    -e 's|.*/gconv/gconv-modules$|%verify(not md5 size mtime) %config(noreplace) &|' \
cvsdist 075c0fe
	    -e 's|.*/gconv/gconv-modules.cache|%verify(not md5 size mtime) &|' \
cvsdist 075c0fe
	    -e '/debug/d' > rpm.filelist.in
cvsdist 8200dbb
for n in %{_prefix}/share %{_prefix}/include %{_prefix}/lib/locale; do 
cvsdist 8200dbb
    find ${RPM_BUILD_ROOT}${n} -type d | \
cvsdist 99bce00
	grep -v '%{_prefix}/share$' | \
cvsdist 06aa72c
	grep -v '\(%{_mandir}\|%{_infodir}\)' | \
cvsdist 8200dbb
	sed "s/^/%dir /" >> rpm.filelist.in
cvsdist 8200dbb
done
cvsdist 8200dbb
cvsdist 8200dbb
# primary filelist
cvsdist dac76f7
SHARE_LANG='s|.*/share/locale/\([^/_]\+\).*/LC_MESSAGES/.*\.mo|%lang(\1) &|'
cvsdist dac76f7
LIB_LANG='s|.*/lib/locale/\([^/_]\+\)|%lang(\1) &|'
cvsdist dac76f7
# rpm does not handle %lang() tagged files hardlinked together accross
cvsdist dac76f7
# languages very well, temporarily disable
cvsdist 075c0fe
# LIB_LANG=''
cvsdist dac76f7
sed -e "s|$RPM_BUILD_ROOT||" -e "$LIB_LANG" -e "$SHARE_LANG" < rpm.filelist.in |
cvsdist 075c0fe
	grep -v '/etc/\(localtime\|nsswitch.conf\|ld.so.conf\)'  | \
cvsdist 075c0fe
	grep -v '/%{_lib}/lib\(pcprofile\|memusage\).so' | \
cvsdist 075c0fe
	grep -v 'bin/\(memusage\|mtrace\|xtrace\|pcprofiledump\)' | \
cvsdist 8200dbb
	sort > rpm.filelist
cvsdist 8200dbb
cvsdist 075c0fe
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{_lib}
cvsdist 075c0fe
mv -f $RPM_BUILD_ROOT/%{_lib}/lib{pcprofile,memusage}.so $RPM_BUILD_ROOT%{_prefix}/%{_lib}
cvsdist 075c0fe
for i in $RPM_BUILD_ROOT%{_prefix}/bin/{xtrace,memusage}; do
cvsdist 075c0fe
  cp -a $i $i.tmp
cvsdist 075c0fe
  sed -e 's~=/%{_lib}/libpcprofile.so~=%{_prefix}/%{_lib}/libpcprofile.so~' \
cvsdist 075c0fe
      -e 's~=/%{_lib}/libmemusage.so~=%{_prefix}/%{_lib}/libmemusage.so~' \
cvsdist 075c0fe
    $i.tmp > $i
cvsdist 075c0fe
  chmod 755 $i; rm -f $i.tmp
cvsdist 075c0fe
done
cvsdist 075c0fe
cvsdist 1ced64d
grep '%{_prefix}/%{_lib}/lib.*_p\.a' < rpm.filelist > profile.filelist || :
cvsdist 8200dbb
egrep "(%{_prefix}/include)|(%{_infodir})" < rpm.filelist | 
cvsdist 8200dbb
	grep -v %{_infodir}/dir > devel.filelist
cvsdist 8200dbb
cvsdist 8200dbb
mv rpm.filelist rpm.filelist.full
cvsdist 8200dbb
grep -v '%{_prefix}/%{_lib}/lib.*_p.a' rpm.filelist.full | 
cvsdist 8200dbb
	egrep -v "(%{_prefix}/include)|(%{_infodir})" > rpm.filelist
cvsdist 8200dbb
cvsdist 8200dbb
grep '%{_prefix}/%{_lib}/lib.*\.a' < rpm.filelist >> devel.filelist
cvsdist 8200dbb
grep '%{_prefix}/%{_lib}/.*\.o' < rpm.filelist >> devel.filelist
cvsdist 8200dbb
grep '%{_prefix}/%{_lib}/lib.*\.so' < rpm.filelist >> devel.filelist
cvsdist 8200dbb
grep '%{_mandir}' < rpm.filelist >> devel.filelist
cvsdist 8200dbb
cvsdist 8200dbb
mv rpm.filelist rpm.filelist.full
cvsdist 8200dbb
grep -v '%{_prefix}/%{_lib}/lib.*\.a' < rpm.filelist.full |
cvsdist 8200dbb
	grep -v '%{_prefix}/%{_lib}/.*\.o' |
cvsdist 8200dbb
	grep -v '%{_prefix}/%{_lib}/lib.*\.so'|
cvsdist 8200dbb
	grep -v '%{_mandir}' | 
cvsdist 8200dbb
	grep -v 'nscd' > rpm.filelist
cvsdist 06aa72c
cvsdist 06aa72c
%ifnarch %{auxarches}
cvsdist dac76f7
grep '%{_prefix}/bin' < rpm.filelist >> common.filelist
cvsdist dac76f7
grep '%{_prefix}/lib/locale' < rpm.filelist >> common.filelist
cvsdist dac76f7
grep '%{_prefix}/libexec' < rpm.filelist >> common.filelist
cvsdist 06aa72c
grep '%{_prefix}/sbin/[^gi]' < rpm.filelist >> common.filelist
cvsdist dac76f7
grep '%{_prefix}/share' < rpm.filelist >> common.filelist
cvsdist 06aa72c
%endif
cvsdist dac76f7
cvsdist dac76f7
mv rpm.filelist rpm.filelist.full
cvsdist dac76f7
grep -v '%{_prefix}/bin' < rpm.filelist.full |
cvsdist dac76f7
	grep -v '%{_prefix}/lib/locale' |
cvsdist dac76f7
	grep -v '%{_prefix}/libexec' | 
cvsdist 06aa72c
	grep -v '%{_prefix}/sbin/[^gi]' |
cvsdist dac76f7
	grep -v '%{_prefix}/share' > rpm.filelist
cvsdist 8200dbb
cvsdist 8200dbb
# /etc/localtime - we're proud of our timezone
cvsdist 8200dbb
rm -f $RPM_BUILD_ROOT/etc/localtime
cvsdist 8200dbb
cp -f $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo/US/Eastern $RPM_BUILD_ROOT/etc/localtime
cvsdist 8200dbb
#ln -sf ..%{_prefix}/share/zoneinfo/US/Eastern $RPM_BUILD_ROOT/etc/localtime
cvsdist 8200dbb
cvsdist 8200dbb
# the last bit: more documentation
cvsdist 8200dbb
rm -rf documentation
cvsdist 8200dbb
mkdir documentation
cvsdist 8200dbb
cp linuxthreads/ChangeLog  documentation/ChangeLog.threads
cvsdist 8200dbb
cp linuxthreads/Changes documentation/Changes.threads
cvsdist 8200dbb
cp linuxthreads/README documentation/README.threads
cvsdist 8200dbb
cp linuxthreads/FAQ.html documentation/FAQ-threads.html
cvsdist 8200dbb
cp -r linuxthreads/Examples documentation/examples.threads
cvsdist 8200dbb
cp crypt/README.ufc-crypt documentation/README.ufc-crypt
cvsdist 8200dbb
cp timezone/README documentation/README.timezone
cvsdist 8200dbb
cp ChangeLog* documentation
cvsdist 8200dbb
gzip -9 documentation/ChangeLog*
cvsdist 8200dbb
cvsdist 48664b9
echo ====================TESTING=========================
cvsdist 48664b9
cd build-%{_target_cpu}-linux
cvsdist 48664b9
make -j$numprocs -k check PARALLELMFLAGS=-s || :
cvsdist 48664b9
cd ..
cvsdist 48664b9
%ifarch i686 athlon
cvsdist 48664b9
echo ====================TESTING OPTIMIZED===============
cvsdist 48664b9
cd build-%{_target_cpu}-linux2.4
cvsdist 48664b9
make -j$numprocs -k check PARALLELMFLAGS=-s || :
cvsdist 48664b9
cd ..
cvsdist 48664b9
%endif
cvsdist 48664b9
echo ====================TESTING END=====================
cvsdist 48664b9
cvsdist 1ced64d
%post -p /usr/sbin/glibc_post_upgrade
cvsdist 8200dbb
cvsdist 8200dbb
%postun -p /sbin/ldconfig
cvsdist 8200dbb
cvsdist 8200dbb
%post devel
cvsdist 8200dbb
/sbin/install-info %{_infodir}/libc.info.gz %{_infodir}/dir
cvsdist 8200dbb
cvsdist 8200dbb
%pre devel
cvsdist 8200dbb
# this used to be a link and it is causing nightmares now
cvsdist 8200dbb
if [ -L %{_prefix}/include/scsi ] ; then
cvsdist 8200dbb
    rm -f %{_prefix}/include/scsi
cvsdist 8200dbb
fi
cvsdist 8200dbb
cvsdist 8200dbb
%preun devel
cvsdist 8200dbb
if [ "$1" = 0 ]; then
cvsdist 8200dbb
    /sbin/install-info --delete %{_infodir}/libc.info.gz %{_infodir}/dir
cvsdist 8200dbb
fi
cvsdist 8200dbb
cvsdist 075c0fe
%post utils -p /sbin/ldconfig
cvsdist 075c0fe
cvsdist 075c0fe
%postun utils -p /sbin/ldconfig
cvsdist 075c0fe
cvsdist 8200dbb
%pre -n nscd
cvsdist 8200dbb
/usr/sbin/useradd -M -o -r -d / -s /bin/false \
cvsdist 8200dbb
	-c "NSCD Daemon" -u 28 nscd > /dev/null 2>&1 || :
cvsdist 8200dbb
cvsdist 8200dbb
%post -n nscd
cvsdist 8200dbb
/sbin/chkconfig --add nscd
cvsdist 8200dbb
cvsdist 8200dbb
%preun -n nscd
cvsdist 8200dbb
if [ $1 = 0 ] ; then
cvsdist 8200dbb
    service nscd stop > /dev/null 2>&1
cvsdist 8200dbb
    /sbin/chkconfig --del nscd
cvsdist 8200dbb
fi
cvsdist 8200dbb
cvsdist 8200dbb
%postun -n nscd
cvsdist 8200dbb
if [ $1 = 0 ] ; then
cvsdist 8200dbb
    /usr/sbin/userdel nscd > /dev/null 2>&1 || :
cvsdist 8200dbb
fi
cvsdist 8200dbb
if [ "$1" -ge "1" ]; then
cvsdist 8200dbb
    service nscd condrestart > /dev/null 2>&1 || :
cvsdist 8200dbb
fi
cvsdist 8200dbb
cvsdist 8200dbb
%clean
cvsdist 8200dbb
rm -rf "$RPM_BUILD_ROOT"
cvsdist 8200dbb
rm -f *.filelist*
cvsdist 8200dbb
cvsdist 8200dbb
%files -f rpm.filelist
cvsdist 8200dbb
%defattr(-,root,root)
cvsdist 075c0fe
%ifarch i686 athlon
cvsdist 2704fae
%dir /lib/i686
cvsdist 2704fae
%endif
cvsdist 8200dbb
%verify(not md5 size mtime) %config(noreplace) /etc/localtime
cvsdist 8200dbb
%verify(not md5 size mtime) %config(noreplace) /etc/nsswitch.conf
cvsdist 8200dbb
%verify(not md5 size mtime) %config(noreplace) /etc/ld.so.conf
cvsdist 8200dbb
%doc README NEWS INSTALL FAQ BUGS NOTES PROJECTS CONFORMANCE
cvsdist 075c0fe
%doc COPYING COPYING.LIB README.libm
cvsdist 8200dbb
%doc hesiod/README.hesiod
cvsdist 8200dbb
cvsdist 075c0fe
%files debug
cvsdist 075c0fe
%defattr(-,root,root)
cvsdist 075c0fe
%dir %{_prefix}/%{_lib}/debug
cvsdist 075c0fe
%{_prefix}/%{_lib}/debug/*.so*
cvsdist 075c0fe
cvsdist 99bce00
%ifnarch %{auxarches}
cvsdist dac76f7
%files -f common.filelist common
cvsdist dac76f7
%defattr(-,root,root)
cvsdist dac76f7
%doc documentation/*
cvsdist dac76f7
cvsdist 8200dbb
%files -f devel.filelist devel
cvsdist 8200dbb
%defattr(-,root,root)
cvsdist 8200dbb
cvsdist 8200dbb
%files -f profile.filelist profile
cvsdist 8200dbb
%defattr(-,root,root)
cvsdist 8200dbb
cvsdist 075c0fe
%files utils
cvsdist 075c0fe
%defattr(-,root,root)
cvsdist 075c0fe
%{_prefix}/%{_lib}/libmemusage.so
cvsdist 075c0fe
%{_prefix}/%{_lib}/libpcprofile.so
cvsdist 075c0fe
%{_prefix}/bin/memusage
cvsdist 075c0fe
%{_prefix}/bin/memusagestat
cvsdist 075c0fe
%{_prefix}/bin/mtrace
cvsdist 075c0fe
%{_prefix}/bin/pcprofiledump
cvsdist 075c0fe
%{_prefix}/bin/xtrace
cvsdist 075c0fe
cvsdist 075c0fe
%files debug-static
cvsdist 075c0fe
%defattr(-,root,root)
cvsdist 075c0fe
%dir %{_prefix}/%{_lib}/debug
cvsdist 075c0fe
%{_prefix}/%{_lib}/debug/*.a
cvsdist 075c0fe
cvsdist 8200dbb
%files -n nscd
cvsdist 8200dbb
%defattr(-,root,root)
cvsdist dac76f7
%config(noreplace) /etc/nscd.conf
cvsdist dac76f7
%config /etc/rc.d/init.d/nscd
cvsdist 8200dbb
%{_prefix}/sbin/nscd
cvsdist 8200dbb
%endif
cvsdist 8200dbb
cvsdist 8200dbb
%changelog
cvsdist 18c157d
* Wed Mar  5 2003 Jakub Jelinek <jakub@redhat.com> 2.2.5-43
cvsdist 18c157d
- fix overflows in xdrmem (Paul Eggert, Roland McGrath)
cvsdist 18c157d
cvsdist 18c157d
* Thu Oct 12 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-42
cvsdist 18c157d
- use malloc instead of alloca for get*by* functions, so that
cvsdist 18c157d
  they work even with extremely low stack sizes (#75128, #75616)
cvsdist 18c157d
- fix *wprintf
cvsdist 18c157d
- don't muck with RLIMIT_STACK in FLOATING_STACKS linuxthreads
cvsdist 18c157d
cvsdist 18c157d
* Thu Sep 12 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-41
cvsdist 18c157d
- only remove required dangerous env variables from environment
cvsdist 18c157d
  for suid/sgid apps, not also any variables matching their prefixes
cvsdist 18c157d
cvsdist 211c16f
* Mon Sep  9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-40
cvsdist 211c16f
- fix resolver buffer overflows
cvsdist 211c16f
cvsdist b18ac84
* Wed Aug  7 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-39
cvsdist b18ac84
- fix the calloc patch so that calloc (131072, 0) doesn't
cvsdist b18ac84
  crash
cvsdist b18ac84
cvsdist b18ac84
* Thu Aug  1 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-38
cvsdist b18ac84
- fix xdr_array buffer overflow
cvsdist b18ac84
- fix calloc overflow (both patches by Solar Designer)
cvsdist b18ac84
- getdents fix for LSB conformance
cvsdist b18ac84
cvsdist b18ac84
* Tue Jul  9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-37
cvsdist b18ac84
- fix buffer overflows in getnetby* (if nsswitch.conf
cvsdist b18ac84
  network: line includes dns) and gethostby* for apps compiled
cvsdist b18ac84
  against glibc 2.0.
cvsdist b18ac84
cvsdist b18ac84
* Tue Jun 18 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-36
cvsdist 2e3cbbc
- fix nice return value
cvsdist 2e3cbbc
- fix __moddi3 (#65612, #65695)
cvsdist 2e3cbbc
- export get*ent_r@@GLIBC_2.1.2 symbols (#66278)
cvsdist 2e3cbbc
- update prelink to fix prelink -r on alpha
cvsdist 2e3cbbc
cvsdist 075c0fe
* Mon Apr 15 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-34
cvsdist 075c0fe
- add relocation dependencies even for weak symbols (#63422)
cvsdist 075c0fe
- stricter check_fds check for suid/sgid binaries
cvsdist 075c0fe
- run make check at %%install time
cvsdist 075c0fe
cvsdist 075c0fe
* Sat Apr 13 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-33
cvsdist 075c0fe
- handle Dec 31 1969 in mktime for timezones west of GMT (#63369)
cvsdist 075c0fe
- back out do-lookup.h change (#63261, #63305)
cvsdist 075c0fe
- use "memory" clobber instead all the fancy stuff in i386/i686/bits/string.h
cvsdist 075c0fe
  since lots of compilers break on it
cvsdist 075c0fe
- fix sparc build with gcc 3.1
cvsdist 075c0fe
- fix spec file for athlon
cvsdist 075c0fe
cvsdist 075c0fe
* Tue Apr  9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-32
cvsdist 075c0fe
- fix debugging of threaded apps (#62804)
cvsdist 075c0fe
- fix DST for Estonia (#61494)
cvsdist 075c0fe
- document that pthread_mutexattr_?etkind_np are deprecated
cvsdist 075c0fe
  and pthread_mutexattr_?ettype should be used instead in man
cvsdist 075c0fe
  pages (#61485)
cvsdist 075c0fe
- fix libSegFault.so undefined externals
cvsdist 075c0fe
cvsdist 075c0fe
* Fri Apr  5 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-31
cvsdist 075c0fe
- temporarily disable prelinking ld.so, as some statically linked
cvsdist 075c0fe
  binaries linked against debugging versions of old glibcs die on it
cvsdist 075c0fe
  (#62352)
cvsdist 075c0fe
- fix <semaphore.h> for -std=c99 (#62516)
cvsdist 075c0fe
- fix ether_ntohost segfault (#62397)
cvsdist 075c0fe
- remove in glibc_post_upgrade on i386 all /lib/i686/libc-*.so,
cvsdist 075c0fe
  /lib/i686/libm-*.so and /lib/i686/libpthread-*.so, not just current
cvsdist 075c0fe
  version (#61633)
cvsdist 075c0fe
- prelink -r on alpha too
cvsdist 075c0fe
cvsdist 075c0fe
* Thu Mar 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-30
cvsdist 075c0fe
- update GB18030 iconv module (Yu Shao)
cvsdist 075c0fe
cvsdist 075c0fe
* Tue Mar 26 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-29
cvsdist 075c0fe
- features.h fix
cvsdist 075c0fe
cvsdist 075c0fe
* Tue Mar 26 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-28
cvsdist 075c0fe
- update from CVS
cvsdist 075c0fe
  - fix nscd with huge groups
cvsdist 075c0fe
  - fix nis to not close fds it shouldn't
cvsdist 075c0fe
- rebuilt against newer glibc-kernheaders to use the correct
cvsdist 075c0fe
  PATH_MAX
cvsdist 075c0fe
- handle .athlon.rpm glibc the same way as .i686.rpm
cvsdist 075c0fe
- add a couple of .ISO-8859-15 locales (#61922)
cvsdist 075c0fe
- readd temporarily currencies which were superceeded by Euro
cvsdist 075c0fe
  into the list of accepted currencies by localedef to make
cvsdist 075c0fe
  standard conformance testsuites happy
cvsdist 075c0fe
- temporarily moved __libc_waitpid back to make Sun JDK happy
cvsdist 075c0fe
- use old malloc code
cvsdist 075c0fe
- prelink i686/athlon ld.so and prelink -r i686/athlon libc.so
cvsdist 075c0fe
cvsdist 075c0fe
* Thu Mar 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-27
cvsdist 075c0fe
- update from CVS
cvsdist 075c0fe
  - fix DST handling for southern hemisphere (#60747)
cvsdist 075c0fe
  - fix daylight setting for tzset (#59951)
cvsdist cc7ca1e
  - fix ftime (#60350)
cvsdist 075c0fe
  - fix nice return value
cvsdist 075c0fe
  - fix a malloc segfault
cvsdist 075c0fe
- temporarily moved __libc_wait, __libc_fork and __libc_stack_end
cvsdist 075c0fe
  back to what they used to be exported at
cvsdist 075c0fe
- censorship (#60758)
cvsdist 075c0fe
cvsdist 075c0fe
* Thu Feb 28 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-26
cvsdist 075c0fe
- update from CVS
cvsdist 075c0fe
- use __attribute__((visibility(...))) if supported, use _rtld_local
cvsdist 075c0fe
  for ld.so only objects
cvsdist 075c0fe
- provide libc's own __{,u}{div,mod}di3
cvsdist 075c0fe
cvsdist 075c0fe
* Wed Feb 27 2002 Jakub Jelinek <jakub@redhat.com> 2.2.5-25
cvsdist 075c0fe
- switch back to 2.2.5, mmap stdio needs work
cvsdist 075c0fe
cvsdist 075c0fe
* Mon Feb 25 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-8
cvsdist 075c0fe
- fix two other mmap stdio bugs (#60228)
cvsdist 075c0fe
cvsdist 075c0fe
* Thu Feb 21 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-7
cvsdist 075c0fe
- fix yet another mmap stdio bug (#60145)
cvsdist 075c0fe
cvsdist 075c0fe
* Tue Feb 19 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-6
cvsdist 075c0fe
- fix mmap stdio bug (seen on ld as File truncated error, #60043)
cvsdist 075c0fe
- apply Andreas Schwab's fix for pthread sigwait
cvsdist cc7ca1e
- remove /lib/i686/ libraries in glibc_post_upgrade when
cvsdist cc7ca1e
  performing i386 glibc install
cvsdist cc7ca1e
cvsdist 075c0fe
* Thu Feb 14 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-5
cvsdist 075c0fe
- update to CVS
cvsdist 075c0fe
- added glibc-utils subpackage
cvsdist 075c0fe
- disable autoreq in glibc-debug
cvsdist 075c0fe
- readd %%lang() to locale files
cvsdist 075c0fe
cvsdist 075c0fe
* Fri Feb  7 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-4
cvsdist 075c0fe
- update to CVS
cvsdist 075c0fe
- move glibc private symbols to GLIBC_PRIVATE symbol version
cvsdist 075c0fe
cvsdist 075c0fe
* Wed Jan  9 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-3
cvsdist 075c0fe
- fix a sqrt bug on alpha which caused SHN_UNDEF $__full_ieee754_sqrt..ng
cvsdist 075c0fe
  symbol in libm
cvsdist 075c0fe
cvsdist 075c0fe
* Tue Jan  8 2002 Jakub Jelinek <jakub@redhat.com> 2.2.90-2
cvsdist 075c0fe
- add debug-static package
cvsdist 075c0fe
cvsdist 075c0fe
* Mon Dec 31 2001 Jakub Jelinek <jakub@redhat.com> 2.2.90-1
cvsdist 075c0fe
- update from CVS
cvsdist 075c0fe
- remove -D__USE_STRING_INLINES
cvsdist 075c0fe
- add debug subpackage to trim glibc and glibc-devel size
cvsdist 55dc6c2
cvsdist 2704fae
* Wed Oct  3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-19
cvsdist c601102
- fix strsep
cvsdist c601102
cvsdist c601102
* Fri Sep 28 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-18
cvsdist c601102
- fix a ld.so bug with duplicate searchlists in l_scope
cvsdist c601102
- fix erfcl(-inf)
cvsdist c601102
- turn /usr/lib/librt.so into linker script
cvsdist c601102
cvsdist c601102
* Wed Sep 26 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-17
cvsdist c601102
- fix a ld.so lookup bug after lots of dlopen calls
cvsdist c601102
- fix CMSG_DATA for non-gcc non-ISOC99 compilers (#53984)
cvsdist c601102
- prelinking support for Sparc64
cvsdist c601102
cvsdist c601102
* Fri Sep 21 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-16
cvsdist c601102
- update from CVS to fix DT_SYMBOLIC
cvsdist c601102
- prelinking support for Alpha and Sparc
cvsdist c601102
cvsdist c601102
* Tue Sep 18 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-15
cvsdist c601102
- update from CVS
cvsdist c601102
  - linuxthreads now retries if -1/EINTR is returned from
cvsdist c601102
    reading or writing to thread manager pipe (#43742)
cvsdist c601102
- use DT_FILTER in librt.so (#53394)
cvsdist c601102
  - update glibc prelink patch so that it handles filters
cvsdist c601102
- fix timer_* with SIGEV_NONE (#53494)
cvsdist c601102
- make glibc_post_upgrade work on PPC (patch from Franz Sirl)
cvsdist c601102
cvsdist c601102
* Mon Sep 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-14
cvsdist c601102
- fix build on sparc32
cvsdist c601102
- 2.2.4-13 build for some reason missed some locales
cvsdist c601102
  on alpha/ia64
cvsdist 12cb322
cvsdist 06aa72c
* Mon Sep  3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-13
cvsdist 06aa72c
- fix iconvconfig
cvsdist 06aa72c
cvsdist 06aa72c
* Mon Sep  3 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-12
cvsdist 06aa72c
- add fam to /etc/rpc (#52863)
cvsdist 06aa72c
- fix <inttypes.h> for C++ (#52960)
cvsdist 06aa72c
- fix perror
cvsdist 06aa72c
cvsdist 06aa72c
* Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-11
cvsdist 06aa72c
- fix strnlen(x, -1)
cvsdist 06aa72c
cvsdist 06aa72c
* Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-10
cvsdist 06aa72c
- doh, <bits/libc-lock.h> should only define __libc_rwlock_t
cvsdist 06aa72c
  if __USE_UNIX98.
cvsdist 06aa72c
cvsdist 06aa72c
* Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-9
cvsdist 06aa72c
- fix bits/libc-lock.h so that gcc can compile
cvsdist 06aa72c
- fix s390 build
cvsdist 06aa72c
cvsdist 06aa72c
* Fri Aug 24 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-8
cvsdist 06aa72c
- kill stale library symlinks in ldconfig (#52350)
cvsdist 06aa72c
- fix inttypes.h for G++ < 3.0
cvsdist 06aa72c
- use DT_REL*COUNT
cvsdist 06aa72c
cvsdist 06aa72c
* Wed Aug 22 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-7
cvsdist 06aa72c
- fix strnlen on IA-64 (#50077)
cvsdist 06aa72c
cvsdist 06aa72c
* Thu Aug 16 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-6
cvsdist 06aa72c
- glibc 2.2.4 final
cvsdist 06aa72c
- fix -lpthread -static (#51672)
cvsdist 06aa72c
cvsdist 06aa72c
* Fri Aug 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-5
cvsdist 06aa72c
- doh, include libio/tst-swscanf.c
cvsdist 06aa72c
cvsdist 06aa72c
* Fri Aug 10 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-4
cvsdist 06aa72c
- don't crash on catclose(-1)
cvsdist 06aa72c
- fix wscanf %[] handling
cvsdist 06aa72c
- fix return value from swprintf
cvsdist 06aa72c
- handle year + %U/%W week + week day in strptime
cvsdist 06aa72c
cvsdist 06aa72c
* Thu Aug  9 2001 Jakub Jelinek <jakub@redhat.com> 2.2.4-3
cvsdist 06aa72c
- update from CVS to
cvsdist 06aa72c
  - fix strcoll (#50548)
cvsdist 06aa72c
  - fix seekdir (#51132)
cvsdist 06aa72c
  - fix memusage (#50606)
cvsdist 06aa72c
- don't make gconv-modules.cache %%config file, just don't verify
cvsdist 06aa72c
  its content.
cvsdist 06aa72c
cvsdist 06aa72c
* Mon Aug  6 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 06aa72c
- fix strtod and *scanf (#50723, #50724)
cvsdist 06aa72c
cvsdist 06aa72c
* Sat Aug  4 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 06aa72c
- update from CVS
cvsdist 06aa72c
  - fix iconv cache handling
cvsdist 06aa72c
- glibc should not own %{_infodir}, %{_mandir} nor %{_mandir}/man3 (#50673)
cvsdist 06aa72c
- add gconv-modules.cache as emtpy config file (#50699)
cvsdist 06aa72c
- only run iconvconfig if /usr is mounted read-write (#50667)
cvsdist 06aa72c
cvsdist 06aa72c
* Wed Jul 25 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 06aa72c
- move iconvconfig from glibc-common into glibc subpackage,
cvsdist 06aa72c
  call it from glibc_post_upgrade instead of common's post.
cvsdist 06aa72c
cvsdist 06aa72c
* Tue Jul 24 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 06aa72c
- turn off debugging printouts in iconvconfig
cvsdist 06aa72c
cvsdist 06aa72c
* Tue Jul 24 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 06aa72c
- update from CVS
cvsdist 06aa72c
  - fix IA-32 makecontext
cvsdist 06aa72c
  - make fflush(0) thread-safe (#46446)
cvsdist 06aa72c
cvsdist 06aa72c
* Mon Jul 23 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 06aa72c
- adjust prelinking DT_* and SHT_* values in elf.h
cvsdist 06aa72c
- update from CVS
cvsdist 06aa72c
  - iconv cache
cvsdist 06aa72c
  - make iconv work in SUID/SGID programs (#34611)
cvsdist 06aa72c
cvsdist 06aa72c
* Fri Jul 20 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 06aa72c
- update from CVS
cvsdist 06aa72c
  - kill non-pic code in libm.so
cvsdist 06aa72c
  - fix getdate
cvsdist 06aa72c
  - fix some locales (#49402)
cvsdist 06aa72c
- rebuilt with binutils-2.11.90.0.8-5 to place .interp section
cvsdist 06aa72c
  properly in libBrokenLocale.so, libNoVersion.so and libanl.so
cvsdist 06aa72c
- add floating stacks on IA-64, Alpha, Sparc (#49308)
cvsdist 06aa72c
cvsdist 06aa72c
* Mon Jul 16 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 06aa72c
- make /lib/i686 directory owned by glibc*.i686.rpm
cvsdist 06aa72c
cvsdist 06aa72c
* Mon Jul  9 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 06aa72c
- remove rquota.[hx] headers which are now provided by quota (#47141)
cvsdist 06aa72c
- add prelinking patch
cvsdist 06aa72c
cvsdist 06aa72c
* Thu Jul  5 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 06aa72c
- require sh-utils for nscd
cvsdist 06aa72c
cvsdist 06aa72c
* Mon Jun 25 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 06aa72c
- update from CVS (#43681, #43350, #44663, #45685)
cvsdist 06aa72c
- fix ro_RO bug (#44644)
cvsdist 06aa72c
cvsdist 4118c17
* Wed Jun  6 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 4118c17
- fix a bunch of math bugs (#43210, #43345, #43346, #43347, #43348, #43355)
cvsdist 4118c17
- make rpc headers -ansi compilable (#42390)
cvsdist 4118c17
- remove alphaev6 optimized memcpy, since there are still far too many
cvsdist 4118c17
  broken apps which call memcpy where they should call memmove
cvsdist 4118c17
- update from CVS to (among other things):
cvsdist 4118c17
  - fix tanhl bug (#43352)
cvsdist 4118c17
cvsdist e2f026e
* Tue May 22 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist e2f026e
- fix #include <signal.h> with -D_XOPEN_SOURCE=500 on ia64 (#35968)
cvsdist e2f026e
- fix a dlclose reldeps handling bug
cvsdist e2f026e
- some more profiling fixes
cvsdist e2f026e
- fix tgmath.h
cvsdist e2f026e
cvsdist e2f026e
* Thu May 17 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist e2f026e
- make ldconfig more quiet
cvsdist e2f026e
- fix LD_PROFILE on i686 (#41030)
cvsdist e2f026e
cvsdist e2f026e
* Wed May 16 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist e2f026e
- fix the hardlink program, so that it really catches all files with
cvsdist e2f026e
  identical content
cvsdist e2f026e
- add a s390x clone fix
cvsdist e2f026e
cvsdist e2f026e
* Wed May 16 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist e2f026e
- fix rpc for non-threaded apps using svc_fdset and similar variables (#40409)
cvsdist e2f026e
- fix nss compatibility DSO versions for alphaev6
cvsdist e2f026e
- add a hardlink program instead of the shell 3x for plus cmp -s/link
cvsdist e2f026e
  which takes a lot of time during build
cvsdist e2f026e
- rework BuildPreReq and Conflicts with gcc, so that
cvsdist e2f026e
  it applies only where it has to
cvsdist e2f026e
cvsdist e2f026e
* Fri May 11 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist e2f026e
- fix locale name of ja_JP in UTF-8 (#39783)
cvsdist e2f026e
- fix re_search_2 (#40244)
cvsdist e2f026e
- fix memusage script (#39138, #39823)
cvsdist e2f026e
- fix dlsym(RTLD_NEXT, ) from main program (#39803)
cvsdist e2f026e
- fix xtrace script (#39609)
cvsdist e2f026e
- make glibc conflict with glibc-devel 2.2.2 and below (to make sure
cvsdist e2f026e
  libc_nonshared.a has atexit)
cvsdist e2f026e
- fix getconf LFS_CFLAGS on 64bitters
cvsdist e2f026e
- recompile with gcc-2.96-84 or above to fix binary compatibility problem
cvsdist e2f026e
  with __frame_state_for function (#37933)
cvsdist e2f026e
cvsdist e2f026e
* Fri Apr 27 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist e2f026e
- glibc 2.2.3 release
cvsdist e2f026e
  - fix strcoll (#36539)
cvsdist e2f026e
- add BuildPreReqs (#36378)
cvsdist e2f026e
cvsdist e2f026e
* Wed Apr 25 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist e2f026e
- update from CVS
cvsdist e2f026e
cvsdist e2f026e
* Fri Apr 20 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist e2f026e
- update from CVS
cvsdist e2f026e
  - fix sparc64, ia64
cvsdist e2f026e
  - fix some locale syntax errors (#35982)
cvsdist e2f026e
cvsdist e2f026e
* Wed Apr 18 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist e2f026e
- update from CVS
cvsdist e2f026e
cvsdist e2f026e
* Wed Apr 11 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist e2f026e
- update from CVS
cvsdist e2f026e
cvsdist 987ea0c
* Fri Apr  6 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 987ea0c
- support even 2.4.0 kernels on ia64, sparc64 and s390x
cvsdist 987ea0c
- include UTF-8 locales
cvsdist 987ea0c
- make gconv-modules %%config(noreplace)
cvsdist 987ea0c
cvsdist 987ea0c
* Fri Mar 23 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 987ea0c
- back out sunrpc changes
cvsdist 987ea0c
cvsdist 987ea0c
* Wed Mar 21 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 987ea0c
- update from CVS
cvsdist 987ea0c
  - fix ia64 build
cvsdist 987ea0c
  - fix pthread_getattr_np
cvsdist 987ea0c
cvsdist 987ea0c
* Fri Mar 16 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 987ea0c
- update from CVS
cvsdist 987ea0c
  - run atexit() registered functions at dlclose time if they are in shared
cvsdist 987ea0c
    libraries (#28625)
cvsdist 987ea0c
  - add pthread_getattr_np API to make JVM folks happy
cvsdist 987ea0c
cvsdist 987ea0c
* Wed Mar 14 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 987ea0c
- require 2.4.1 instead of 2.4.0 on platforms where it required 2.4 kernel
cvsdist 987ea0c
- fix ldd behaviour on unresolved symbols
cvsdist 987ea0c
- remove nonsensical ldconfig warning, update osversion for the most
cvsdist 987ea0c
  recent library with the same soname in the same directory instead (#31703)
cvsdist 987ea0c
- apply selected patches from CVS
cvsdist 987ea0c
- s390x spec file changes from Florian La Roche
cvsdist 987ea0c
cvsdist 987ea0c
* Wed Mar  7 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 987ea0c
- fix gencat (#30894)
cvsdist 987ea0c
- fix ldconfig changes from yesterday, fix LD_ASSUME_KERNEL handling
cvsdist 987ea0c
cvsdist 987ea0c
* Tue Mar  6 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 987ea0c
- update from CVS
cvsdist 987ea0c
- make pthread_attr_setstacksize consistent before and after pthread manager
cvsdist 987ea0c
  is started (#28194)
cvsdist 987ea0c
- pass back struct sigcontext from pthread signal wrapper (on ia32 only so
cvsdist 987ea0c
  far, #28493)
cvsdist 987ea0c
- on i686 ship both --enable-kernel 2.2.5 and 2.4.0 libc/libm/libpthread,
cvsdist 987ea0c
  make ld.so pick the right one
cvsdist 987ea0c
cvsdist 987ea0c
* Sat Feb 17 2001 Preston Brown <pbrown@redhat.com>
cvsdist 987ea0c
- glib-common doesn't require glibc, until we can figure out how to get out of dependency hell.
cvsdist 987ea0c
cvsdist 987ea0c
* Sat Feb 17 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 987ea0c
- make glibc require particular version of glibc-common
cvsdist 987ea0c
  and glibc-common prerequire glibc.
cvsdist 987ea0c
cvsdist 987ea0c
* Fri Feb 16 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 987ea0c
- glibc 2.2.2 release
cvsdist 987ea0c
  - fix regex REG_ICASE bug seen in ksymoops
cvsdist 987ea0c
cvsdist 987ea0c
* Sat Feb 10 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 987ea0c
- fix regexec leaking memory (#26864)
cvsdist 987ea0c
cvsdist 987ea0c
* Fri Feb  9 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 987ea0c
- update from CVS
cvsdist 987ea0c
  - fix ia64 build with gnupro
cvsdist 987ea0c
  - make regex 64bit clean
cvsdist 987ea0c
  - fix tgmath make check failures on alpha
cvsdist 987ea0c
cvsdist 987ea0c
* Tue Feb  6 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 987ea0c
- update again for ia64 DF_1_INITFIRST
cvsdist 987ea0c
cvsdist 987ea0c
* Fri Feb  2 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist 987ea0c
- update from CVS
cvsdist 987ea0c
  - fix getaddrinfo (#25437)
cvsdist 987ea0c
  - support DF_1_INITFIRST (#25029)
cvsdist 987ea0c
cvsdist dac76f7
* Wed Jan 24 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist dac76f7
- build all auxiliary arches with --enablekernel 2.4.0, those wanting
cvsdist dac76f7
  to run 2.2 kernels can downgrade to the base architecture glibc.
cvsdist dac76f7
cvsdist dac76f7
* Sat Jan 20 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist dac76f7
- remove %%lang() flags from %%{_prefix}/lib/locale files temporarily
cvsdist dac76f7
cvsdist dac76f7
* Sun Jan 14 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist dac76f7
- update to 2.2.1 final
cvsdist dac76f7
  - fix a pthread_kill_other_threads_np breakage (#23966)
cvsdist dac76f7
  - make static binaries using dlopen work on ia64 again
cvsdist dac76f7
- fix a typo in glibc-common group
cvsdist dac76f7
cvsdist dac76f7
* Wed Jan 10 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist dac76f7
- devel requires glibc = %%{version}
cvsdist dac76f7
- noreplace /etc/nscd.conf
cvsdist dac76f7
cvsdist dac76f7
* Wed Jan 10 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist dac76f7
- some more security fixes:
cvsdist dac76f7
  - don't look up LD_PRELOAD libs in cache for SUID apps
cvsdist dac76f7
    (because that bypasses SUID bit checking on the library)
cvsdist dac76f7
  - place output files for profiling SUID apps into /var/profile,
cvsdist dac76f7
    use O_NOFOLLOW for them
cvsdist dac76f7
  - add checks for $MEMUSAGE_OUTPUT and $SEGFAULT_OUTPUT_NAME
cvsdist dac76f7
- hardlink identical locale files together
cvsdist dac76f7
- add %%lang() tags to locale stuff
cvsdist dac76f7
- remove ko_KR.utf8 for now, it is provided by locale-utf8 package
cvsdist dac76f7
cvsdist dac76f7
* Mon Jan  8 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist dac76f7
- add glibc-common subpackage
cvsdist dac76f7
- fix alphaev6 memcpy (#22494)
cvsdist dac76f7
- fix sys/cdefs.h (#22908)
cvsdist dac76f7
- don't define stdin/stdout/stderr as macros for -traditional (#22913)
cvsdist dac76f7
- work around a bug in IBM JDK (#22932, #23012)
cvsdist dac76f7
- fix pmap_unset when network is down (#23176)
cvsdist dac76f7
- move nscd in rc.d before netfs on shutdown
cvsdist dac76f7
- fix $RESOLV_HOST_CONF in SUID apps (#23562)
cvsdist dac76f7
cvsdist 99bce00
* Fri Dec 15 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 99bce00
- fix ftw and nftw
cvsdist 99bce00
cvsdist 99bce00
* Wed Dec 13 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 99bce00
- fix fcvt (#22184)
cvsdist 99bce00
- ldd /lib/ld-linux.so.2 is not crashing any longer again (#22197)
cvsdist 99bce00
- fix gencat
cvsdist 99bce00
cvsdist 99bce00
* Mon Dec 11 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 99bce00
- fix alpha htonl and alphaev6 stpcpy
cvsdist 99bce00
cvsdist 99bce00
* Sat Dec  9 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 99bce00
- update to CVS to:
cvsdist 99bce00
  - fix getnameinfo (#21934)
cvsdist 99bce00
  - don't stomp on memory in rpath handling (#21544)
cvsdist 99bce00
  - fix setlocale (#21507)
cvsdist 99bce00
- fix libNoVersion.so.1 loading code (#21579)
cvsdist 99bce00
- use auxarches define in spec file for auxiliary
cvsdist 99bce00
  architectures (#21219)
cvsdist 99bce00
- remove /usr/share directory from filelist (#21218)
cvsdist dc652d4
cvsdist 3bf2920
* Sun Nov 19 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 3bf2920
- update to CVS to fix getaddrinfo
cvsdist 3bf2920
cvsdist 3bf2920
* Fri Nov 17 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 3bf2920
- update to CVS to fix freopen
cvsdist 3bf2920
- remove all alpha workarounds, not needed anymore
cvsdist 3bf2920
cvsdist 3bf2920
* Wed Nov 15 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 3bf2920
- fix dladdr bug on alpha/sparc32/sparc64
cvsdist 3bf2920
- fix Makefiles so that they run static tests properly
cvsdist 3bf2920
cvsdist 3bf2920
* Tue Nov 14 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 3bf2920
- update to CVS to fix ldconfig
cvsdist 3bf2920
cvsdist 3bf2920
* Thu Nov  9 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 3bf2920
- update to glibc 2.2 release
cvsdist 3bf2920
cvsdist 3bf2920
* Mon Nov  6 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 3bf2920
- update to CVS to:
cvsdist 3bf2920
  - export __sysconf@@GLIBC_2.2 (#20417)
cvsdist 3bf2920
cvsdist 3bf2920
* Fri Nov  3 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 3bf2920
- merge to 2.1.97
cvsdist 3bf2920
cvsdist 3bf2920
* Mon Oct 30 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 3bf2920
- update to CVS, including:
cvsdist 3bf2920
  - fix WORD_BIT/LONG_BIT definition in limits.h (#19088)
cvsdist 3bf2920
  - fix hesiod (#19375)
cvsdist 3bf2920
  - set LC_MESSAGES in zic/zdump for proper error message output (#19495)
cvsdist 3bf2920
  - fix LFS fcntl when used with non-LFS aware kernels (#19730)
cvsdist 3bf2920
cvsdist b32d7ee
* Thu Oct 19 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist b32d7ee
- fix alpha semctl (#19199)
cvsdist b32d7ee
- update to CVS, including:
cvsdist b32d7ee
  - fix glibc headers for Compaq non-gcc compilers
cvsdist b32d7ee
  - fix locale alias handling code (#18832)
cvsdist b32d7ee
  - fix rexec on little endian machines (#18886)
cvsdist b32d7ee
- started writing changelog again
cvsdist 3bf2920
cvsdist 3bf2920
* Thu Aug 10 2000 Adrian Havill <havill@redhat.com>
cvsdist 3bf2920
- added ja ujis alias for backwards compatibility