From: short <> Date: Sun, 5 Dec 2004 20:01:53 +0000 (+0000) Subject: Cleanup rpm/ from any development files. X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=4a9bfc9c33befca104ae19f144564c4d51be4f4c Cleanup rpm/ from any development files. --- diff --git a/src/rpm/BUILD/.stub b/src/rpm/BUILD/.stub new file mode 100644 index 0000000..e69de29 diff --git a/src/rpm/RPMS/i386/.stub b/src/rpm/RPMS/i386/.stub new file mode 100644 index 0000000..e69de29 diff --git a/src/rpm/SOURCES/.stub b/src/rpm/SOURCES/.stub new file mode 100644 index 0000000..e69de29 diff --git a/src/rpm/SOURCES/cvs-1.11-badroot.patch b/src/rpm/SOURCES/cvs-1.11-badroot.patch deleted file mode 100644 index f8761c4..0000000 --- a/src/rpm/SOURCES/cvs-1.11-badroot.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru cvs-1.11-orig/src/options.h.in cvs-1.11/src/options.h.in ---- cvs-1.11-orig/src/options.h.in Wed Jan 27 23:58:14 1999 -+++ cvs-1.11/src/options.h.in Fri Aug 31 10:31:37 2001 -@@ -136,7 +136,7 @@ - * the lines below. - */ - #ifndef CVS_BADROOT --#define CVS_BADROOT -+/*#define CVS_BADROOT*/ - #endif - - /* Define this to enable the SETXID support. The way to use this is diff --git a/src/rpm/SOURCES/cvs-1.11-umask022.patch b/src/rpm/SOURCES/cvs-1.11-umask022.patch deleted file mode 100644 index 4fc96ec..0000000 --- a/src/rpm/SOURCES/cvs-1.11-umask022.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru cvs-1.11-prep/src/options.h.in cvs-1.11/src/options.h.in ---- cvs-1.11-prep/src/options.h.in Wed Jan 27 23:58:14 1999 -+++ cvs-1.11/src/options.h.in Wed Sep 26 16:34:25 2001 -@@ -63,7 +63,7 @@ - * octal number. - */ - #ifndef UMASK_DFLT --#define UMASK_DFLT 002 -+#define UMASK_DFLT 022 - #endif - - /* diff --git a/src/rpm/SPECS/.stub b/src/rpm/SPECS/.stub new file mode 100644 index 0000000..e69de29 diff --git a/src/rpm/SPECS/cvs.spec b/src/rpm/SPECS/cvs.spec deleted file mode 100644 index d177d10..0000000 --- a/src/rpm/SPECS/cvs.spec +++ /dev/null @@ -1,221 +0,0 @@ -%define cvsbase 1.11.1 -%define cvspatch p1 -Summary: A version control system. -Name: cvs -Version: %{cvsbase}%{cvspatch} -Release: 3 -License: GPL -Group: Development/Tools -Source: ftp://ftp.cvshome.org/pub/cvs-%{cvsbase}/cvs-%{version}.tar.gz -URL: http://www.cvshome.org/ -Patch0: cvs-1.11.1p1-mktemp.patch -Patch1: cvs-1.11.1p1-krb4.patch -Patch2: cvs-1.11.1p1-automake.patch -Patch3: cvs-1.11.1p1-sockaddr.patch -Patch4: cvs-1.11.1p1-authserver.patch -Patch5: cvs-1.11.1p1-cvspass.patch -Patch6: cvs-1.11.1p1-bs.patch -Prereq: /sbin/install-info -Prefix: %{_prefix} -Buildroot: %{_tmppath}/%{name}-root -BuildPreReq: autoconf, automake, libtool, zlib-devel -%{!?nokerberos:Requires: krb5-libs} -%{!?nokerberos:BuildPrereq: krb5-devel} - -%description -CVS (Concurrent Version System) is a version control system that can -record the history of your files (usually, but not always, source -code). CVS only stores the differences between versions, instead of -every version of every file you have ever created. CVS also keeps a log -of who, when, and why changes occurred. - -CVS is very helpful for managing releases and controlling the -concurrent editing of source files among multiple authors. Instead of -providing version control for a collection of files in a single -directory, CVS provides version control for a hierarchical collection -of directories consisting of revision controlled files. These -directories and files can then be combined together to form a software -release. - -%prep -%setup -q -%patch0 -p1 -b .mktemp -%patch1 -p1 -b .krb4 -%patch2 -p1 -b .automake -%patch3 -p1 -b .sockaddr -%patch4 -p1 -b .authserver -%patch5 -p1 -b .cvspass -%patch6 -p1 -b .bs -aclocal -automake -autoconf - -%build -%{!?nokerberos: CPPFLAGS="-I/usr/kerberos/include"; export CPPFLAGS} -%{!?nokerberos: CFLAGS="-I/usr/kerberos/include $RPM_OPT_FLAGS"; export CFLAGS} -%{!?nokerberos: LIBS="-L/usr/kerberos/lib -lkrb4 -ldes425 -lk5crypto -lcom_err"; export LIBS} -%configure \ -%{!?nokerberos: --with-gssapi=/usr/kerberos --with-krb4=/usr/kerberos --enable-encryption} - -make -if [ `id -u` -ne 0 ] ; then - make check -fi - -%install -[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT -%{makeinstall} -# forcefully compress the info pages so that install-info will work properly -# in the %%post -gzip $RPM_BUILD_ROOT/%{_infodir}/cvs* || true - -%clean -[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT - -%post -/sbin/install-info /%{_infodir}/cvs.info.gz /%{_infodir}/dir -/sbin/install-info /%{_infodir}/cvsclient.info.gz /%{_infodir}/dir - -%preun -if [ $1 = 0 ]; then - /sbin/install-info --delete /%{_infodir}/cvs.info.gz /%{_infodir}/dir - /sbin/install-info --delete /%{_infodir}/cvsclient.info.gz /%{_infodir}/dir -fi - -%files -%defattr(-,root,root) -%doc AUTHORS BUGS FAQ MINOR-BUGS NEWS PROJECTS TODO README -%doc doc/*.ps -%{_bindir}/* -%{_mandir}/*/* -%{_infodir}/*.info* -%{_datadir}/%{name} - -%changelog -* Tue Jul 31 2001 Bernhard Rosenkraenzer 1.11.1p1-3 -- Fix up initial cvs login (#47457) -- Bring back the leading newline at the beginning of commit messages - "a" is one key less than "O". ;) -- Fix build in the current build system - -* Mon Jun 25 2001 Bill Nottingham -- don't own /usr/share/info/dir - -* Fri Jun 22 2001 Nalin Dahyabhai -- fix the files list - -* Mon Jun 18 2001 Nalin Dahyabhai -- update to 1.11.1p1 -- drop no-longer-necessary patches -- use bundled zlib, because it's apparently not the same as the system zlib -- run the test suite in the build phase -- drop explicit Requires: on perl (RPM will catch the interpreter req) - -* Mon Jan 29 2001 Nalin Dahyabhai -- fix cvs-1.11-security.patch, which had CR-LF line terminators (#25090) -- check for and ignore ENOENT errors when attempting to remove symlinks (#25173) - -* Mon Jan 08 2001 Preston Brown -- patch from Olaf Kirch to do tmp files safely. - -* Tue Oct 10 2000 Bernhard Rosenkraenzer -- 1.11 - -* Wed Jul 12 2000 Prospector -- automatic rebuild - -* Mon Jul 10 2000 Nalin Dahyabhai -- always zero errno before calling readdir (#10374) - -* Tue Jun 27 2000 Nalin Dahyabhai -- rebuild in new build environment (release 6) - -* Mon Jun 5 2000 Nalin Dahyabhai -- rebuild in new build environment (release 5) -- FHS tweaks -- actually gzip the info pages - -* Wed May 10 2000 Nalin Dahyabhai -- reverse sense of conditional kerberos dependency -- add kerberos IV patch from Ken Raeburn -- switch to using the system's zlib instead of built-in -- default to unstripped binaries - -* Tue Apr 4 2000 Bill Nottingham -- eliminate explicit krb5-configs dependency - -* Mon Mar 20 2000 Bernhard Rosenkraenzer -- 1.10.8 - -* Wed Mar 1 2000 Nalin Dahyabhai -- make kerberos support conditional at build-time - -* Wed Mar 1 2000 Bill Nottingham -- integrate kerberos support into main tree - -* Mon Feb 14 2000 Nalin Dahyabhai -- build with gssapi auth (--with-gssapi, --with-encryption) -- apply patch to update libs to krb5 1.1.1 - -* Fri Feb 04 2000 Cristian Gafton -- fix the damn info pages too while we're at it. -- fix description -- man pages are compressed -- make sure %post and %preun work okay - -* Sun Jan 9 2000 Jim Kingdon -- update to 1.10.7. - -* Wed Jul 14 1999 Jim Kingdon -- add the patch to make 1.10.6 usable - (http://www.cyclic.com/cvs/dev-known.html). - -* Tue Jun 1 1999 Jeff Johnson -- update to 1.10.6. - -* Sun Mar 21 1999 Cristian Gafton -- auto rebuild in the new build environment (release 2) - -* Mon Feb 22 1999 Jeff Johnson -- updated text in spec file. - -* Mon Feb 22 1999 Jeff Johnson -- update to 1.10.5. - -* Tue Feb 2 1999 Jeff Johnson -- update to 1.10.4. - -* Tue Oct 20 1998 Jeff Johnson -- update to 1.10.3. - -* Mon Sep 28 1998 Jeff Johnson -- update to 1.10.2. - -* Wed Sep 23 1998 Jeff Johnson -- remove trailing characters from rcs2log mktemp args - -* Thu Sep 10 1998 Jeff Johnson -- update to 1.10.1 - -* Mon Aug 31 1998 Jeff Johnson -- fix race conditions in cvsbug/rcs2log - -* Sun Aug 16 1998 Jeff Johnson -- update to 1.10. - -* Wed Aug 12 1998 Jeff Johnson -- update to 1.9.30. - -* Mon Jun 08 1998 Prospector System -- translations modified for de, fr - -* Mon Jun 8 1998 Jeff Johnson -- build root -- update to 1.9.28 - -* Mon Apr 27 1998 Prospector System -- translations modified for de, fr, tr - -* Wed Oct 29 1997 Otto Hammersmith -- added install-info stuff -- added changelog section diff --git a/src/rpm/SPECS/glibc.spec b/src/rpm/SPECS/glibc.spec deleted file mode 100644 index c105476..0000000 --- a/src/rpm/SPECS/glibc.spec +++ /dev/null @@ -1,605 +0,0 @@ -%define glibcrelease 10 -%define auxarches sparcv9 alphaev6 -Summary: The GNU libc libraries. -Name: glibc -Version: 2.2.2 -Release: %{glibcrelease}_staticnss -Copyright: LGPL -Group: System Environment/Libraries -Source: %{name}-%{version}.tar.bz2 -# In the source tarball the file diff-CYGNUS-to-REDHAT.patch contains all -# diffs applied by Red Hat to the current CVS version of glibc -Buildroot: %{_tmppath}/glibc-%{PACKAGE_VERSION}-root -Obsoletes: zoneinfo, libc-static, libc-devel, libc-profile, libc-headers, -Obsoletes: linuxthreads, gencat, locale, ldconfig, locale-ja -Provides: ldconfig -Autoreq: false -Requires: glibc-common = %{version}-%{release} -%ifarch alpha -Provides: ld.so.2 -%else -%endif -%ifarch sparc -Obsoletes: libc -%endif -Prereq: basesystem -Conflicts: rpm <= 4.0-0.65 -Patch: glibc-kernel-2.4.patch -%ifarch ia64 sparc64 s390x -Conflicts: kernel < 2.4.0 -%define enablekernel 2.4.0 -%else -%define enablekernel 2.2.5 -%endif -%define enablekernel2 2.4.1 -%define __find_provides %{_builddir}/%{name}-%{version}/find_provides.sh - -%description -The glibc package contains standard libraries which are used by -multiple programs on the system. In order to save disk space and -memory, as well as to make upgrading easier, common system code is -kept in one place and shared between programs. This particular package -contains the most important sets of shared libraries: the standard C -library and the standard math library. Without these two libraries, a -Linux system will not function. - -%package devel -Summary: Header and object files for development using standard C libraries. -Group: Development/Libraries -Conflicts: texinfo < 3.11 -Prereq: /sbin/install-info -Obsoletes: libc-debug, libc-headers, libc-devel, linuxthreads-devel -Obsoletes: glibc-debug -Prereq: kernel-headers -Requires: kernel-headers >= 2.2.1, %{name} = %{version} -Autoreq: true - -%description devel -The glibc-devel package contains the header and object files necessary -for developing programs which use the standard C libraries (which are -used by nearly all programs). If you are developing programs which -will use the standard C libraries, your system needs to have these -standard header and object files available in order to create the -executables. - -Install glibc-devel if you are going to develop programs which will -use the standard C libraries. - -%package profile -Summary: The GNU libc libraries, including support for gprof profiling. -Group: Development/Libraries -Obsoletes: libc-profile -Autoreq: true - -%description profile -The glibc-profile package includes the GNU libc libraries and support -for profiling using the gprof program. Profiling is analyzing a -program's functions to see how much CPU time they use and determining -which functions are calling other functions during execution. To use -gprof to profile a program, your program needs to use the GNU libc -libraries included in glibc-profile (instead of the standard GNU libc -libraries included in the glibc package). - -If you are going to use the gprof program to profile a program, you'll -need to install the glibc-profile program. - -%package common -Summary: Common binaries and locale data for glibc -Conflicts: %{name} < %{version} -Conflicts: %{name} > %{version} -Autoreq: false -Group: System Environment/Base - -%description common -The glibc-common package includes common binaries for the GNU libc -libraries, as well as national language (locale) support and timezone -databases. - -%package -n nscd -Summary: A Name Service Caching Daemon (nscd). -Group: System Environment/Daemons -Conflicts: kernel < 2.2.0 -Prereq: /sbin/chkconfig, /usr/sbin/useradd, /usr/sbin/userdel -Autoreq: true - -%description -n nscd -Nscd caches name service lookups and can dramatically improve -performance with NIS+, and may help with DNS as well. Note that you -can't use nscd with 2.0 kernels because of bugs in the kernel-side -thread support. Unfortunately, nscd happens to hit these bugs -particularly hard. - -Install nscd if you need a name service lookup caching daemon, and -you're not using a version 2.0 kernel. - -%prep -%setup -q -%ifarch ia64 sparc64 s390x %{auxarches} -# If we are building enablekernel 2.4.1 glibc on older kernel, -# we have to make sure no binaries compiled against that glibc -# are ever run -case `uname -r` in -[01].*|2.[0-3]*|2.4.0*) -%patch -p1 -;; esac -%endif - -%ifarch armv4l sparc64 ia64 s390 s390x -rm -rf glibc-compat -%endif - -find . -type f -size 0 -o -name "*.orig" -exec rm -f {} \; - -cat > find_provides.sh < ../BuildFlags -CC="$GCC -Lnss -Lbuild-%{_target_cpu}-linux/nss" CFLAGS="$BuildFlags -g -O3" ../configure --prefix=%{_prefix} \ - --enable-add-ons=yes --without-cvs $EnableKernel \ - --enable-static-nss \ - %{_target_cpu}-redhat-linux -if [ -x /usr/bin/getconf ] ; then - numprocs=$(/usr/bin/getconf _NPROCESSORS_ONLN) - if [ $numprocs -eq 0 ]; then - numprocs=1 - fi -else - numprocs=1 -fi -make -j$numprocs -r CFLAGS="$BuildFlags -g -O3" PARALLELMFLAGS=-s -gcc -static -Os ../redhat/glibc_post_upgrade.c -o glibc_post_upgrade - -%install -rm -rf $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT -make install_root=$RPM_BUILD_ROOT install -C build-%{_target_cpu}-linux -cd build-%{_target_cpu}-linux && \ - make install_root=$RPM_BUILD_ROOT install-locales -C ../localedata objdir=`pwd` && \ - cd .. - -%ifarch i686 -rm -rf build-%{_target_cpu}-linux2.4 -mkdir build-%{_target_cpu}-linux2.4 ; cd build-%{_target_cpu}-linux2.4 -GCC=gcc -BuildFlags=`cat ../BuildFlags` -EnableKernel="--enable-kernel=%{enablekernel2} --disable-profile" -CC="$GCC" CFLAGS="$BuildFlags -g -O3" ../configure --prefix=%{_prefix} \ - --enable-add-ons=yes --without-cvs $EnableKernel \ - --enable-static-nss \ - %{_target_cpu}-redhat-linux -if [ -x /usr/bin/getconf ] ; then - numprocs=$(/usr/bin/getconf _NPROCESSORS_ONLN) - if [ $numprocs -eq 0 ]; then - numprocs=1 - fi -else - numprocs=1 -fi -make -j$numprocs -r CFLAGS="$BuildFlags -g -O3" PARALLELMFLAGS=-s -mkdir -p $RPM_BUILD_ROOT/lib/%{_target_cpu}/ -cp -a libc.so $RPM_BUILD_ROOT/lib/%{_target_cpu}/`basename $RPM_BUILD_ROOT/lib/libc-*.so` -ln -sf `basename $RPM_BUILD_ROOT/lib/libc-*.so` $RPM_BUILD_ROOT/lib/%{_target_cpu}/`basename $RPM_BUILD_ROOT/lib/libc.so.*` -cp -a math/libm.so $RPM_BUILD_ROOT/lib/%{_target_cpu}/`basename $RPM_BUILD_ROOT/lib/libm-*.so` -ln -sf `basename $RPM_BUILD_ROOT/lib/libm-*.so` $RPM_BUILD_ROOT/lib/%{_target_cpu}/`basename $RPM_BUILD_ROOT/lib/libm.so.*` -cp -a linuxthreads/libpthread.so $RPM_BUILD_ROOT/lib/%{_target_cpu}/`basename $RPM_BUILD_ROOT/lib/libpthread-*.so` -ln -sf `basename $RPM_BUILD_ROOT/lib/libpthread-*.so` $RPM_BUILD_ROOT/lib/%{_target_cpu}/`basename $RPM_BUILD_ROOT/lib/libpthread.so.*` -strip -R .comment $RPM_BUILD_ROOT/lib/{libc,libm,libpthread}-*.so -cd .. -%endif - -# compatibility hack: this locale has vanished from glibc, but some other -# programs are still using it. Normally we would handle it in the %pre -# section but with glibc that is simply not an option -mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/locale/ru_RU/LC_MESSAGES - -# Remove the files we don't want to distribute -rm -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libNoVersion* -%ifarch sparc64 ia64 s390 s390x -rm -f $RPM_BUILD_ROOT/%{_lib}/libNoVersion* -%endif - -# the man pages for the linuxthreads require special attention -make -C linuxthreads/man -mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3 -install -m 0644 linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3 -gzip -9nvf $RPM_BUILD_ROOT%{_mandir}/man3/* - -if [ -d $RPM_BUILD_ROOT%{_prefix}/info -a "%{_infodir}" != "%{_prefix}/info" ]; then - mkdir -p $RPM_BUILD_ROOT%{_infodir} - mv -f $RPM_BUILD_ROOT%{_prefix}/info/* $RPM_BUILD_ROOT%{_infodir} - rm -rf $RPM_BUILD_ROOT%{_prefix}/info -fi - -gzip -9nvf $RPM_BUILD_ROOT%{_infodir}/libc* - -ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libbsd.a - -install -m 644 redhat/nsswitch.conf $RPM_BUILD_ROOT/etc/nsswitch.conf - -# Take care of setuids -# -- new security review sez that this shouldn't be needed anymore -#chmod 755 $RPM_BUILD_ROOT%{_prefix}/libexec/pt_chown - -# This is for ncsd - in glibc 2.2 -install -m 644 nscd/nscd.conf $RPM_BUILD_ROOT/etc -mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d -install -m 755 nscd/nscd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd - -# Don't include ld.so.cache -rm -f $RPM_BUILD_ROOT/etc/ld.so.cache - -# Include ld.so.conf -> $RPM_BUILD_ROOT/etc/ld.so.conf -chmod 644 $RPM_BUILD_ROOT/etc/ld.so.conf - -# Install the upgrade program -install -m 700 build-%{_target_cpu}-linux/glibc_post_upgrade $RPM_BUILD_ROOT/usr/sbin/glibc_post_upgrade - -# Strip binaries -strip -R .comment $RPM_BUILD_ROOT/sbin/* || : -strip -R .comment $RPM_BUILD_ROOT%{_prefix}/bin/* || : -strip -R .comment $RPM_BUILD_ROOT%{_prefix}/sbin/* || : -strip -R .comment $RPM_BUILD_ROOT%{_prefix}/libexec/pt_chown || : -strip -R .comment $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gconv/* || : - -# Hardlink identical locale files together -ALL_LC="LC_ADDRESS LC_COLLATE LC_CTYPE LC_IDENTIFICATION LC_MEASUREMENT \ - LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME \ - LC_MESSAGES/SYS_LC_MESSAGES" -for i in $RPM_BUILD_ROOT%{_prefix}/lib/locale/*; do - if [ ! -d $i ]; then continue; fi - for j in $ALL_LC; do - for k in $RPM_BUILD_ROOT%{_prefix}/lib/locale/*; do - if [ ! -d $k ]; then continue; fi - if [ $i = $k ]; then break; fi - if cmp -s $i/$j $k/$j; then ln -f $k/$j $i/$j; break; fi - done - done -done - -# BUILD THE FILE LIST -find $RPM_BUILD_ROOT -type f -or -type l | - sed -e 's|.*/etc|%config &|' \ - -e 's|.*/gconv/gconv-modules|%verify(not md5 size mtime) %config(noreplace) &|' > rpm.filelist.in -for n in %{_prefix}/share %{_prefix}/include %{_prefix}/lib/locale; do - find ${RPM_BUILD_ROOT}${n} -type d | \ - grep -v '%{_prefix}/share$' | \ - sed "s/^/%dir /" >> rpm.filelist.in -done - -# primary filelist -SHARE_LANG='s|.*/share/locale/\([^/_]\+\).*/LC_MESSAGES/.*\.mo|%lang(\1) &|' -LIB_LANG='s|.*/lib/locale/\([^/_]\+\)|%lang(\1) &|' -# rpm does not handle %lang() tagged files hardlinked together accross -# languages very well, temporarily disable -LIB_LANG='' -sed -e "s|$RPM_BUILD_ROOT||" -e "$LIB_LANG" -e "$SHARE_LANG" < rpm.filelist.in | - grep -v '/etc/localtime' | \ - grep -v '/etc/nsswitch.conf' | \ - grep -v '/etc/ld.so.conf' | \ - sort > rpm.filelist - -grep '%{_prefix}/%{_lib}/lib.*_p\.a' < rpm.filelist > profile.filelist || : -egrep "(%{_prefix}/include)|(%{_infodir})" < rpm.filelist | - grep -v %{_infodir}/dir > devel.filelist - -mv rpm.filelist rpm.filelist.full -grep -v '%{_prefix}/%{_lib}/lib.*_p.a' rpm.filelist.full | - egrep -v "(%{_prefix}/include)|(%{_infodir})" > rpm.filelist - -grep '%{_prefix}/%{_lib}/lib.*\.a' < rpm.filelist >> devel.filelist -grep '%{_prefix}/%{_lib}/.*\.o' < rpm.filelist >> devel.filelist -grep '%{_prefix}/%{_lib}/lib.*\.so' < rpm.filelist >> devel.filelist -grep '%{_mandir}' < rpm.filelist >> devel.filelist - -mv rpm.filelist rpm.filelist.full -grep -v '%{_prefix}/%{_lib}/lib.*\.a' < rpm.filelist.full | - grep -v '%{_prefix}/%{_lib}/.*\.o' | - grep -v '%{_prefix}/%{_lib}/lib.*\.so'| - grep -v '%{_mandir}' | - grep -v 'nscd' > rpm.filelist - -grep '%{_prefix}/bin' < rpm.filelist >> common.filelist -grep '%{_prefix}/lib/locale' < rpm.filelist >> common.filelist -grep '%{_prefix}/libexec' < rpm.filelist >> common.filelist -grep '%{_prefix}/sbin/[^g]' < rpm.filelist >> common.filelist -grep '%{_prefix}/share' < rpm.filelist >> common.filelist - -mv rpm.filelist rpm.filelist.full -grep -v '%{_prefix}/bin' < rpm.filelist.full | - grep -v '%{_prefix}/lib/locale' | - grep -v '%{_prefix}/libexec' | - grep -v '%{_prefix}/sbin/[^g]' | - grep -v '%{_prefix}/share' > rpm.filelist - -# /etc/localtime - we're proud of our timezone -rm -f $RPM_BUILD_ROOT/etc/localtime -cp -f $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo/US/Eastern $RPM_BUILD_ROOT/etc/localtime -#ln -sf ..%{_prefix}/share/zoneinfo/US/Eastern $RPM_BUILD_ROOT/etc/localtime - -# the last bit: more documentation -rm -rf documentation -mkdir documentation -cp linuxthreads/ChangeLog documentation/ChangeLog.threads -cp linuxthreads/Changes documentation/Changes.threads -cp linuxthreads/README documentation/README.threads -cp linuxthreads/FAQ.html documentation/FAQ-threads.html -cp -r linuxthreads/Examples documentation/examples.threads -cp crypt/README.ufc-crypt documentation/README.ufc-crypt -cp timezone/README documentation/README.timezone -cp ChangeLog* documentation -gzip -9 documentation/ChangeLog* - -%post -p /usr/sbin/glibc_post_upgrade - -%postun -p /sbin/ldconfig - -%post devel -/sbin/install-info %{_infodir}/libc.info.gz %{_infodir}/dir - -%pre devel -# this used to be a link and it is causing nightmares now -if [ -L %{_prefix}/include/scsi ] ; then - rm -f %{_prefix}/include/scsi -fi - -%preun devel -if [ "$1" = 0 ]; then - /sbin/install-info --delete %{_infodir}/libc.info.gz %{_infodir}/dir -fi - -%pre -n nscd -/usr/sbin/useradd -M -o -r -d / -s /bin/false \ - -c "NSCD Daemon" -u 28 nscd > /dev/null 2>&1 || : - -%post -n nscd -/sbin/chkconfig --add nscd - -%preun -n nscd -if [ $1 = 0 ] ; then - service nscd stop > /dev/null 2>&1 - /sbin/chkconfig --del nscd -fi - -%postun -n nscd -if [ $1 = 0 ] ; then - /usr/sbin/userdel nscd > /dev/null 2>&1 || : -fi -if [ "$1" -ge "1" ]; then - service nscd condrestart > /dev/null 2>&1 || : -fi - -%clean -rm -rf "$RPM_BUILD_ROOT" -rm -f *.filelist* - -%files -f rpm.filelist -%defattr(-,root,root) -%verify(not md5 size mtime) %config(noreplace) /etc/localtime -%verify(not md5 size mtime) %config(noreplace) /etc/nsswitch.conf -%verify(not md5 size mtime) %config(noreplace) /etc/ld.so.conf -%doc README NEWS INSTALL FAQ BUGS NOTES PROJECTS CONFORMANCE -%doc COPYING COPYING.LIB README.template README.libm -%doc hesiod/README.hesiod - -%ifnarch %{auxarches} -%files -f common.filelist common -%defattr(-,root,root) -%doc documentation/* - -%files -f devel.filelist devel -%defattr(-,root,root) - -%files -f profile.filelist profile -%defattr(-,root,root) - -%files -n nscd -%defattr(-,root,root) -%config(noreplace) /etc/nscd.conf -%config /etc/rc.d/init.d/nscd -%{_prefix}/sbin/nscd -%endif - -%changelog -* Fri Apr 6 2001 Jakub Jelinek -- support even 2.4.0 kernels on ia64, sparc64 and s390x -- include UTF-8 locales -- make gconv-modules %%config(noreplace) - -* Fri Mar 23 2001 Jakub Jelinek -- back out sunrpc changes - -* Wed Mar 21 2001 Jakub Jelinek -- update from CVS - - fix ia64 build - - fix pthread_getattr_np - -* Fri Mar 16 2001 Jakub Jelinek -- update from CVS - - run atexit() registered functions at dlclose time if they are in shared - libraries (#28625) - - add pthread_getattr_np API to make JVM folks happy - -* Wed Mar 14 2001 Jakub Jelinek -- require 2.4.1 instead of 2.4.0 on platforms where it required 2.4 kernel -- fix ldd behaviour on unresolved symbols -- remove nonsensical ldconfig warning, update osversion for the most - recent library with the same soname in the same directory instead (#31703) -- apply selected patches from CVS -- s390x spec file changes from Florian La Roche - -* Wed Mar 7 2001 Jakub Jelinek -- fix gencat (#30894) -- fix ldconfig changes from yesterday, fix LD_ASSUME_KERNEL handling - -* Tue Mar 6 2001 Jakub Jelinek -- update from CVS -- make pthread_attr_setstacksize consistent before and after pthread manager - is started (#28194) -- pass back struct sigcontext from pthread signal wrapper (on ia32 only so - far, #28493) -- on i686 ship both --enable-kernel 2.2.5 and 2.4.0 libc/libm/libpthread, - make ld.so pick the right one - -* Sat Feb 17 2001 Preston Brown -- glib-common doesn't require glibc, until we can figure out how to get out of dependency hell. - -* Sat Feb 17 2001 Jakub Jelinek -- make glibc require particular version of glibc-common - and glibc-common prerequire glibc. - -* Fri Feb 16 2001 Jakub Jelinek -- glibc 2.2.2 release - - fix regex REG_ICASE bug seen in ksymoops - -* Sat Feb 10 2001 Jakub Jelinek -- fix regexec leaking memory (#26864) - -* Fri Feb 9 2001 Jakub Jelinek -- update from CVS - - fix ia64 build with gnupro - - make regex 64bit clean - - fix tgmath make check failures on alpha - -* Tue Feb 6 2001 Jakub Jelinek -- update again for ia64 DF_1_INITFIRST - -* Fri Feb 2 2001 Jakub Jelinek -- update from CVS - - fix getaddrinfo (#25437) - - support DF_1_INITFIRST (#25029) - -* Wed Jan 24 2001 Jakub Jelinek -- build all auxiliary arches with --enablekernel 2.4.0, those wanting - to run 2.2 kernels can downgrade to the base architecture glibc. - -* Sat Jan 20 2001 Jakub Jelinek -- remove %%lang() flags from %%{_prefix}/lib/locale files temporarily - -* Sun Jan 14 2001 Jakub Jelinek -- update to 2.2.1 final - - fix a pthread_kill_other_threads_np breakage (#23966) - - make static binaries using dlopen work on ia64 again -- fix a typo in glibc-common group - -* Wed Jan 10 2001 Bernhard Rosenkraenzer -- devel requires glibc = %%{version} -- noreplace /etc/nscd.conf - -* Wed Jan 10 2001 Jakub Jelinek -- some more security fixes: - - don't look up LD_PRELOAD libs in cache for SUID apps - (because that bypasses SUID bit checking on the library) - - place output files for profiling SUID apps into /var/profile, - use O_NOFOLLOW for them - - add checks for $MEMUSAGE_OUTPUT and $SEGFAULT_OUTPUT_NAME -- hardlink identical locale files together -- add %%lang() tags to locale stuff -- remove ko_KR.utf8 for now, it is provided by locale-utf8 package - -* Mon Jan 8 2001 Jakub Jelinek -- add glibc-common subpackage -- fix alphaev6 memcpy (#22494) -- fix sys/cdefs.h (#22908) -- don't define stdin/stdout/stderr as macros for -traditional (#22913) -- work around a bug in IBM JDK (#22932, #23012) -- fix pmap_unset when network is down (#23176) -- move nscd in rc.d before netfs on shutdown -- fix $RESOLV_HOST_CONF in SUID apps (#23562) - -* Fri Dec 15 2000 Jakub Jelinek -- fix ftw and nftw - -* Wed Dec 13 2000 Jakub Jelinek -- fix fcvt (#22184) -- ldd /lib/ld-linux.so.2 is not crashing any longer again (#22197) -- fix gencat - -* Mon Dec 11 2000 Jakub Jelinek -- fix alpha htonl and alphaev6 stpcpy - -* Sat Dec 9 2000 Jakub Jelinek -- update to CVS to: - - fix getnameinfo (#21934) - - don't stomp on memory in rpath handling (#21544) - - fix setlocale (#21507) -- fix libNoVersion.so.1 loading code (#21579) -- use auxarches define in spec file for auxiliary - architectures (#21219) -- remove /usr/share directory from filelist (#21218) - -* Sun Nov 19 2000 Jakub Jelinek -- update to CVS to fix getaddrinfo - -* Fri Nov 17 2000 Jakub Jelinek -- update to CVS to fix freopen -- remove all alpha workarounds, not needed anymore - -* Wed Nov 15 2000 Jakub Jelinek -- fix dladdr bug on alpha/sparc32/sparc64 -- fix Makefiles so that they run static tests properly - -* Tue Nov 14 2000 Jakub Jelinek -- update to CVS to fix ldconfig - -* Thu Nov 9 2000 Jakub Jelinek -- update to glibc 2.2 release - -* Mon Nov 6 2000 Jakub Jelinek -- update to CVS to: - - export __sysconf@@GLIBC_2.2 (#20417) - -* Fri Nov 3 2000 Jakub Jelinek -- merge to 2.1.97 - -* Mon Oct 30 2000 Jakub Jelinek -- update to CVS, including: - - fix WORD_BIT/LONG_BIT definition in limits.h (#19088) - - fix hesiod (#19375) - - set LC_MESSAGES in zic/zdump for proper error message output (#19495) - - fix LFS fcntl when used with non-LFS aware kernels (#19730) - -* Thu Oct 19 2000 Jakub Jelinek -- fix alpha semctl (#19199) -- update to CVS, including: - - fix glibc headers for Compaq non-gcc compilers - - fix locale alias handling code (#18832) - - fix rexec on little endian machines (#18886) -- started writing changelog again - -* Thu Aug 10 2000 Adrian Havill -- added ja ujis alias for backwards compatibility diff --git a/src/rpm/SRPMS/.stub b/src/rpm/SRPMS/.stub new file mode 100644 index 0000000..e69de29