From 9eb5b26c02ac97f7291ee8f3779e9479f6aaa38d Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 11:49:58 +0000 Subject: [PATCH] auto-import changelog data from rpm-4.0.2-7x.src.rpm Tue Mar 13 2001 Jeff Johnson - map i686-like (i.e. w/o CMOV) platforms to better alternatives. Mon Mar 12 2001 Jeff Johnson - fix: adjust for libio breakage in Red Hat 5.x with glibc-2.0.7-29.4. Wed Mar 07 2001 Jeff Johnson - remove mozilla dependency white out, no longer needed. Fri Feb 23 2001 Jeff Johnson - (sparc) disable MD5 sum checks during install. - (db1) plug largish memory leak in simulated interface for falloc.c. Thu Feb 22 2001 Jeff Johnson - portability changes from Joe Orton et al. - (alpha): rip out ALPHA_LOSSAGE now that gcc-2.96-76 has fix (#28509). - (popt): use sprintf rather than snprintf for portability. Mon Feb 19 2001 Jeff Johnson - rpm-4.0.2 release candidate. Wed Feb 14 2001 Jeff Johnson - fix: permit packages to differ by 0 or 32 bytes (#26373). - fix: permit HEADER_IMMUTABLE tag queries. - split db configuration into separate file. Tue Feb 13 2001 Jeff Johnson - fix: remove fixed size buffer on output path (#26987,#26332). - resurrect rpmErrorCode in the API for Perl-RPM. Sat Feb 10 2001 Jeff Johnson - fix: diddle exit code for attempted installs of non-packages (#26850). - python binding diddles to reduce installer memory footprint by delayed loading of file info. Fri Feb 09 2001 Jeff Johnson - fix: make a copy of retrieved header before loading. Sun Jan 21 2001 Jeff Johnson - fix: check waitpid return code. Fri Jan 19 2001 Jeff Johnson - ewt's cpio.c hack. - ewt's cpio.c hack reverted. - rebuild with i18n from rpm-4_0 branch. - rpmlint conformance. Thu Jan 18 2001 Matt Wilson - fix: exit 0 at the end of %pre Thu Jan 18 2001 Jeff Johnson - fix: insure that %lang scopes over hard links correctly. - fix: rpmCleanPath was nibbling at .. in macrofiles incorrectly. Wed Jan 17 2001 Jeff Johnson - 1st crack at Mandrake specific per-platform macros. Tue Jan 16 2001 Jeff Johnson - tsort prefers presentation order. Mon Jan 15 2001 Jeff Johnson - fix: extra newline in many error messages (#23947). - fix: rpm -Va with db1 needs per-iterator, not per-index, offset. - add install/remove transaction id tags. Sat Jan 13 2001 Jeff Johnson - fix the hack. Fri Jan 12 2001 Jeff Johnson - hack: permit installer to determine package ordering using 1000003 tag. Thu Jan 11 2001 Jeff Johnson - fix: don't hang on build error. - fix: remove "error: " prefix from signature verification message. Wed Jan 10 2001 Jeff Johnson - successors from tsort are processed in presentation order. - fix: find-requires.perl needed update (#23450). Tue Jan 09 2001 Jeff Johnson - fix: digests on input FD_t dinna work. - fix: remove rebuilddb debugging leakage. Mon Jan 08 2001 Jeff Johnson - tsorted packages processed in successor count order. - fix: resurrect --excludepath (#19666). Fri Jan 05 2001 Jeff Johnson - fix: 3 packages from Red Hat 5.2 had bogus %verifyscript tag. Wed Jan 03 2001 Jeff Johnson - fix: avoid locale issues with strcasecmp/strncasecmp (#23199). - remove almost all explicit uses of stderr in rpmlib using rpmError(). - fix: pass scriptlet args, as in %post -p "/sbin/ldconfig -n /lib". (Rodrigo Barbosa) Tue Jan 02 2001 Jeff Johnson - fix apidocs. Mon Jan 01 2001 Jeff Johnson - use popt autohelp for rpm helper binaries. Sun Dec 31 2000 Jeff Johnson - (popt): fix float/double handling (#19701). - (popt): non-linux needs (#22732). - (popt): add POPT_ARGFLAG_OPTIONAL for long options with optional arg. - (popt): diddle auto-help to include type of arg expected. Sat Dec 30 2000 Jeff Johnson - (non-linux): move stubs.c to rpmio (#21132). - (python): bind initdb (#20988). Fri Dec 29 2000 Jeff Johnson - fix: hack around alpha mis-compilation signature problems. - rpmmodule.c(handleDbResult): return empty list when nothing matches. Thu Dec 28 2000 Jeff Johnson - fix: avoid FAT and other brain-dead file systems that have not inodes. Wed Dec 27 2000 Jeff Johnson - use malloc'ed buffer for large queries. Tue Dec 26 2000 Jeff Johnson - send query/verify output through rpmlog(). - resurrect rpmErrorSetCallback() and rpmErrorString(). Thu Dec 21 2000 Jeff Johnson - immutable headers, once installed by rpm3, need to lose immutablity. - fix: removed headers from db need a headerCopy(). Wed Dec 20 2000 Jeff Johnson - whiteout mozilla loop for 7.1. Tue Dec 19 2000 Jeff Johnson - gendiff: generate ChangeLog patches more intelligently (#22356). - identify install scriptlet failures with the name of the scriptlet. - handle install chroot's identically throughout the install process. - add rpmlib(HeaderLoadSortsTags) for tracking header regions "just in case". - create _tmppath on the fly if not present. - remove /etc/rpm/macros.db1 configuration file if db3 rebuilt. Wed Dec 13 2000 Jeff Johnson - bump popt version. - fix: (transaction.c) assume file state normal if tag is missing. - fix: failed signature read headerFree segfault. - fix: revert ALPHA_LOSSAGE, breaks 6.2/i386. - fix: segfault on build path, ignore deleted drips. - fix: synthesized callbacks for removed packages have not a pkgkey. Tue Dec 12 2000 Jeff Johnson - bail on header regions. - change dependency loop message to RPMMESS_WARNING to use stderr, not stdout. Sun Dec 10 2000 Jeff Johnson - handle added dirtoken tags (mostly) correctly with header regions. - add FHS doc/man/info dirs, diddle autoconf goo. - fix: headerUnload handles headers w/o regions correctly on rebuilddb. Thu Dec 07 2000 Jeff Johnson - add rpmtransGetKeys() to retrieve transaction keys in tsort'ed order. - python bindings for rpmtransGetKeys(). - fix: include alignment in count when swabbing header region. Wed Dec 06 2000 Jeff Johnson - improved find-{requires,provides} for aix4/hpux/irix6/osf. Tim Mooney - portability: remove use of GNU make subst in lib/Makefile (Joe Orton). - python: bind package removal (#21274). - autoconfigure building python bindings. - autoconfigure generating rpm API doco rpm-devel package. - fix: don't fdFree in rpmVerifyScript, rpmtransFree does already. - unify rpmError and rpmMessge interfaces through rpmlog. - collect and display rpm build error messages at end of build. - use package version 3 if --nodirtokens is specified. - add package names to problem sets early, don't save removed header. - make sure that replaced tags in region are counted in headerSizeof(). - support for dmalloc debugging. - filter region tags in headerNextIterator, exit throut headerReload. Thu Nov 30 2000 Jeff Johnson - add missing headerFree for legacy signature header. - fix: removed packages leaked DIRINDEXES tag data. - reload tags added during install when loading header from rpmdb. - avoid brp-compress hang with both compressed/uncompressed man pages. Tue Nov 21 2000 Jeff Johnson - add brp-strip-shared script . - better item/task progress bars . - load headers as single contiguous region. - add region marker as RPM_BIN_TYPE in packages and database. - fix: don't headerCopy() relocateable packages if not relocating. - merge signatures into header after reading from package. Mon Nov 20 2000 Jeff Johnson - add doxygen and lclint annotations most everywhere. - consistent return for all signature verification. - use enums for almost all rpmlib #define's. - API: change rpmProblem typedef to pass by reference, not value. - don't trim leading ./ in rpmCleanPath() (#14961). - detect (still need to test) rdonly linux file systems. - check available inodes as well as blocks on mounted file systems. - pass rpmTransactionSet, not elements, to installBinaryPackage et al. - add cscope/ctags (Rodrigo Barbosa). - remove getMacroBody() from rpmio API. - add support for unzip Thu Nov 16 2000 Jeff Johnson - don't verify src rpm MD5 sums (yet). - md5 sums are little endian (no swap) so big endian needs the swap. Wed Nov 15 2000 Jeff Johnson - fix: segfault on exit of "rpm -qp --qf '%{#fsnames}' pkg" (#20595). - hpux w/o -D_OPEN_SOURCE has not h_errno. - verify MD5 sums of payload files when unpacking archive. - hide libio lossage in prototype, not API. - add support for SHA1 as well as MD5 message digests. Mon Nov 13 2000 Jeff Johnson - fix: work around for (mis-compilation?!) segfaults on signature paths. Sun Nov 12 2000 Jeff Johnson - fix: duplicate headerFree() on instalBinaryPackage() error return. Sat Nov 11 2000 Jeff Johnson - fix: runTriggers was not adding countCorrection. - add rpmGetRpmlibProvides() to retrieve rpmlib(...) provides "Pawel A. Gajda" . - syntax to specify source of Requires: (PreReq: now legacy). - rip out rpm{get,put}text, use getpo.sh and specspo instead. - fine-grained Requires, remove install PreReq's from Requires db. --- .cvsignore | 2 +- rpm.spec | 568 +++++++++++++++++++++++++++++------------------------ sources | 2 +- 3 files changed, 308 insertions(+), 264 deletions(-) diff --git a/.cvsignore b/.cvsignore index a124804..afaa96c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -rpm-4.0.tar.gz +rpm-4.0.2.tar.gz diff --git a/rpm.spec b/rpm.spec index 6cfe186..cbcdbd9 100644 --- a/rpm.spec +++ b/rpm.spec @@ -1,3 +1,8 @@ +%define with_python_subpackage 1 +%define with_bzip2 1 +%define with_apidocs 1 +%define strip_binaries 1 + # XXX legacy requires './' payload prefix to be omitted from rpm packages. %define _noPayloadPrefix 1 @@ -6,17 +11,20 @@ Summary: The Red Hat package management system. Name: rpm -%define version 4.0 +%define version 4.0.2 Version: %{version} -Release: 4.3 +Release: 7x Group: System Environment/Base Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-%{version}.tar.gz Copyright: GPL Conflicts: patch < 2.5 %ifos linux -Patch: rpm-ia64.patch -Prereq: gawk fileutils textutils sh-utils mktemp -Requires: popt, bzip2 >= 0.9.0c-2 +Prereq: gawk fileutils textutils mktemp +Requires: popt +%endif + +BuildRequires: db3-devel + # XXX glibc-2.1.92 has incompatible locale changes that affect statically # XXX linked binaries like /bin/rpm. %ifnarch ia64 @@ -24,10 +32,15 @@ Requires: glibc >= 2.1.92 # XXX needed to avoid libdb.so.2 satisfied by compat/libc5 provides. Requires: db1 = 1.85 %endif -BuildRequires: db3-devel + +# XXX Red Hat 5.2 has not bzip2 or python +%if %{with_bzip2} BuildRequires: bzip2 >= 0.9.0c-2 +%endif +%if %{with_python_subpackage} BuildRequires: python-devel >= 1.5.2 %endif + BuildRoot: %{_tmppath}/%{name}-root %description @@ -62,11 +75,12 @@ Requires: rpm = %{version} This package contains scripts and executable programs that are used to build packages using RPM. -%ifos linux +%if %{with_python_subpackage} %package python Summary: Python bindings for apps which will manipulate RPM packages. Group: Development/Libraries BuildRequires: popt >= 1.5 +Requires: rpm = %{version} Requires: popt >= 1.5 Requires: python >= 1.5.2 @@ -82,7 +96,7 @@ programs that will manipulate RPM packages and databases. %package -n popt Summary: A C library for parsing command line parameters. Group: Development/Libraries -Version: 1.6 +Version: 1.6.2 %description -n popt Popt is a C library for parsing command line parameters. Popt was @@ -99,7 +113,6 @@ capabilities. %prep %setup -q -%patch -p1 %build %ifos linux @@ -110,42 +123,60 @@ CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix} make -%ifos linux -make -C python -%endif - %install rm -rf $RPM_BUILD_ROOT make DESTDIR="$RPM_BUILD_ROOT" install -%ifos linux -make DESTDIR="$RPM_BUILD_ROOT" install -C python -%endif -mkdir -p $RPM_BUILD_ROOT/etc/rpm +mkdir -p $RPM_BUILD_ROOT/etc/rpm +cat << E_O_F > $RPM_BUILD_ROOT/etc/rpm/macros.db1 +%%_dbapi 1 +E_O_F + +%if %{with_apidocs} +gzip -9n apidocs/man/man*/* || : +%endif + +%if %{strip_binaries} { cd $RPM_BUILD_ROOT strip ./bin/rpm strip .%{__prefix}/bin/rpm2cpio - strip .%{__prefix}/lib/rpm/rpmputtext .%{__prefix}/lib/rpm/rpmgettext } +%endif %clean rm -rf $RPM_BUILD_ROOT -%post -/sbin/ldconfig -%ifos linux -if [ ! -e /etc/rpm/macros -a -e /etc/rpmrc -a -f %{__prefix}/lib/rpm/convertrpmrc.sh ] -then - sh %{__prefix}/lib/rpm/convertrpmrc.sh > /dev/null 2>&1 +%pre +if [ -f /var/lib/rpm/Packages -a -f /var/lib/rpm/packages.rpm ]; then +# echo " +#You have both +# /var/lib/rpm/packages.rpm db1 format installed package headers +# /var/lib/rpm/Packages db3 format installed package headers +#Please remove (or at least rename) one of those files, and re-install. +#" + exit 1 fi -%else -/bin/rpm --initdb -%endif +exit 0 +%post +%ifos linux +/sbin/ldconfig +%endif +if [ -f /var/lib/rpm/packages.rpm ]; then + : # do nothing +elif [ -f /var/lib/rpm/Packages ]; then + # undo db1 configuration + rm -f /etc/rpm/macros.db1 +else + # initialize db3 database + rm -f /etc/rpm/macros.db1 + /bin/rpm --initdb +fi + +%ifos linux %postun -p /sbin/ldconfig -%ifos linux %post devel -p /sbin/ldconfig %postun devel -p /sbin/ldconfig @@ -153,7 +184,7 @@ fi %postun -n popt -p /sbin/ldconfig %endif -%ifos linux +%if %{with_python_subpackage} %post python -p /sbin/ldconfig %postun python -p /sbin/ldconfig %endif @@ -162,7 +193,8 @@ fi %defattr(-,root,root) %doc RPM-PGP-KEY RPM-GPG-KEY CHANGES GROUPS doc/manual/[a-z]* /bin/rpm -%dir /etc/rpm +%dir /etc/rpm +%config(missingok) /etc/rpm/macros.db1 %{__prefix}/bin/rpm2cpio %{__prefix}/bin/gendiff %{__prefix}/bin/rpmdb @@ -199,7 +231,36 @@ fi %ifarch powerpc ppc %{__prefix}/lib/rpm/ppc* %endif +%ifarch armv3l armv4l +%{__prefix}/lib/rpm/armv[34][lb]* +%endif +%lang(cs) %{__prefix}/*/locale/cs/LC_MESSAGES/rpm.mo +%lang(da) %{__prefix}/*/locale/da/LC_MESSAGES/rpm.mo +%lang(de) %{__prefix}/*/locale/de/LC_MESSAGES/rpm.mo +%lang(fi) %{__prefix}/*/locale/fi/LC_MESSAGES/rpm.mo +%lang(fr) %{__prefix}/*/locale/fr/LC_MESSAGES/rpm.mo +%lang(is) %{__prefix}/*/locale/is/LC_MESSAGES/rpm.mo +%lang(ja) %{__prefix}/*/locale/ja/LC_MESSAGES/rpm.mo +%lang(no) %{__prefix}/*/locale/no/LC_MESSAGES/rpm.mo +%lang(pl) %{__prefix}/*/locale/pl/LC_MESSAGES/rpm.mo +%lang(pt) %{__prefix}/*/locale/pt/LC_MESSAGES/rpm.mo +%lang(pt_BR) %{__prefix}/*/locale/pt_BR/LC_MESSAGES/rpm.mo +%lang(ro) %{__prefix}/*/locale/ro/LC_MESSAGES/rpm.mo +%lang(ru) %{__prefix}/*/locale/ru/LC_MESSAGES/rpm.mo +%lang(sk) %{__prefix}/*/locale/sk/LC_MESSAGES/rpm.mo +%lang(sl) %{__prefix}/*/locale/sl/LC_MESSAGES/rpm.mo +%lang(sr) %{__prefix}/*/locale/sr/LC_MESSAGES/rpm.mo +%lang(sv) %{__prefix}/*/locale/sv/LC_MESSAGES/rpm.mo +%lang(tr) %{__prefix}/*/locale/tr/LC_MESSAGES/rpm.mo + +%{__prefix}%{__share}/man/man[18]/*.[18]* +%lang(pl) %{__prefix}%{__share}/man/pl/man[18]/*.[18]* +%lang(ru) %{__prefix}%{__share}/man/ru/man[18]/*.[18]* +%lang(sk) %{__prefix}%{__share}/man/sk/man[18]/*.[18]* + +%files build +%defattr(-,root,root) %dir %{__prefix}/src/redhat %dir %{__prefix}/src/redhat/BUILD %dir %{__prefix}/src/redhat/SPECS @@ -207,14 +268,6 @@ fi %dir %{__prefix}/src/redhat/SRPMS %dir %{__prefix}/src/redhat/RPMS %{__prefix}/src/redhat/RPMS/* -%{__prefix}/*/locale/*/LC_MESSAGES/rpm.mo -%{__prefix}%{__share}/man/man[18]/*.[18]* -%lang(pl) %{__prefix}%{__share}/man/pl/man[18]/*.[18]* -%lang(ru) %{__prefix}%{__share}/man/ru/man[18]/*.[18]* -%lang(sk) %{__prefix}%{__share}/man/sk/man[18]/*.[18]* - -%files build -%defattr(-,root,root) %{__prefix}/bin/rpmbuild %{__prefix}/lib/rpm/brp-* %{__prefix}/lib/rpm/check-prereqs @@ -229,6 +282,7 @@ fi %{__prefix}/lib/rpm/get_magic.pl %{__prefix}/lib/rpm/getpo.sh %{__prefix}/lib/rpm/http.req +%{__prefix}/lib/rpm/javadeps %{__prefix}/lib/rpm/magic.prov %{__prefix}/lib/rpm/magic.req %{__prefix}/lib/rpm/perl.prov @@ -236,13 +290,11 @@ fi %{__prefix}/lib/rpm/rpm[bt] %{__prefix}/lib/rpm/rpmdiff %{__prefix}/lib/rpm/rpmdiff.cgi -%{__prefix}/lib/rpm/rpmgettext -%{__prefix}/lib/rpm/rpmputtext %{__prefix}/lib/rpm/u_pkg.sh %{__prefix}/lib/rpm/vpkg-provides.sh %{__prefix}/lib/rpm/vpkg-provides2.sh -%ifos linux +%if %{with_python_subpackage} %files python %defattr(-,root,root) %{__prefix}/lib/python1.5/site-packages/rpmmodule.so @@ -250,6 +302,9 @@ fi %files devel %defattr(-,root,root) +%if %{with_apidocs} +%doc apidocs +%endif %{__prefix}/include/rpm %{__prefix}/lib/librpm.a %{__prefix}/lib/librpm.la @@ -264,8 +319,23 @@ fi %files -n popt %defattr(-,root,root) %{__prefix}/lib/libpopt.so.* -%{__prefix}/*/locale/*/LC_MESSAGES/popt.mo %{__prefix}%{__share}/man/man3/popt.3* +%lang(cs) %{__prefix}/*/locale/cs/LC_MESSAGES/popt.mo +%lang(da) %{__prefix}/*/locale/da/LC_MESSAGES/popt.mo +%lang(gl) %{__prefix}/*/locale/gl/LC_MESSAGES/popt.mo +%lang(hu) %{__prefix}/*/locale/hu/LC_MESSAGES/popt.mo +%lang(is) %{__prefix}/*/locale/is/LC_MESSAGES/popt.mo +%lang(no) %{__prefix}/*/locale/no/LC_MESSAGES/popt.mo +%lang(pt) %{__prefix}/*/locale/pt/LC_MESSAGES/popt.mo +%lang(ro) %{__prefix}/*/locale/ro/LC_MESSAGES/popt.mo +%lang(ru) %{__prefix}/*/locale/ru/LC_MESSAGES/popt.mo +%lang(sk) %{__prefix}/*/locale/sk/LC_MESSAGES/popt.mo +%lang(sl) %{__prefix}/*/locale/sl/LC_MESSAGES/popt.mo +%lang(sv) %{__prefix}/*/locale/sv/LC_MESSAGES/popt.mo +%lang(tr) %{__prefix}/*/locale/tr/LC_MESSAGES/popt.mo +%lang(uk) %{__prefix}/*/locale/uk/LC_MESSAGES/popt.mo +%lang(wa) %{__prefix}/*/locale/wa/LC_MESSAGES/popt.mo +%lang(zh_CN) %{__prefix}/*/locale/zh_CN.GB2312/LC_MESSAGES/popt.mo # XXX These may end up in popt-devel but it hardly seems worth the effort now. %{__prefix}/lib/libpopt.a @@ -274,276 +344,250 @@ fi %{__prefix}/include/popt.h %changelog -* Sun Oct 22 2000 Bill Nottingham -- pull a couple of ia64 fixes from CVS in (find-provides, add arch_compat - for i686 to ia64) +* Tue Mar 13 2001 Jeff Johnson +- map i686-like (i.e. w/o CMOV) platforms to better alternatives. -* Fri Oct 6 2000 Jakub Jelinek -- rebuild against glibc 2.1.94 to use its locale format. +* Mon Mar 12 2001 Jeff Johnson +- fix: adjust for libio breakage in Red Hat 5.x with glibc-2.0.7-29.4. -* Wed Sep 13 2000 Jeff Johnson -- popt: support for float/double args. -- fix: honor --test when doing --freshen. -- add alpha* architectures. +* Wed Mar 7 2001 Jeff Johnson +- remove mozilla dependency white out, no longer needed. -* Tue Aug 29 2000 Jeff Johnson -- translate rpm.8 man page (Peter Ivanyi ). +* Fri Feb 23 2001 Jeff Johnson +- (sparc) disable MD5 sum checks during install. +- (db1) plug largish memory leak in simulated interface for falloc.c. -* Thu Aug 24 2000 Jeff Johnson -- Pass NULL as pkgKey on RPMCALLBACK_UNINST_*. +* Thu Feb 22 2001 Jeff Johnson +- portability changes from Joe Orton et al. +- (alpha): rip out ALPHA_LOSSAGE now that gcc-2.96-76 has fix (#28509). +- (popt): use sprintf rather than snprintf for portability. -* Thu Aug 24 2000 Matt Wilson -- corrected reference count to transaction header +* Mon Feb 19 2001 Jeff Johnson +- rpm-4.0.2 release candidate. -* Wed Aug 23 2000 Jeff Johnson -- rpm now needs /sbin/ldconfig in post/postun scriptlets. -- python bindings to retrieve removed header on callback. +* Wed Feb 14 2001 Jeff Johnson +- fix: permit packages to differ by 0 or 32 bytes (#26373). +- fix: permit HEADER_IMMUTABLE tag queries. +- split db configuration into separate file. -* Sun Aug 20 2000 Jeff Johnson -- add callbacks on package erasure. -- fix: preserve cpio errno when using Fclose with libio. -- fix: initialize sigs everywhere in python header object. +* Tue Feb 13 2001 Jeff Johnson +- fix: remove fixed size buffer on output path (#26987,#26332). +- resurrect rpmErrorCode in the API for Perl-RPM. -* Fri Aug 18 2000 Jeff Johnson -- python bindings to query and verify signatures. +* Sat Feb 10 2001 Jeff Johnson +- fix: diddle exit code for attempted installs of non-packages (#26850). +- python binding diddles to reduce installer memory footprint by + delayed loading of file info. -* Wed Aug 16 2000 Jeff Johnson -- fix: rebuild db1 -> db3 ate 1st header (#16263). +* Fri Feb 9 2001 Jeff Johnson +- fix: make a copy of retrieved header before loading. -* Mon Aug 14 2000 Jeff Johnson -- disable rpmlib(VersionedDependencies) by defining _noVersionedDependencies. -- man page fixes. +* Sun Jan 21 2001 Jeff Johnson +- fix: check waitpid return code. -* Mon Aug 7 2000 Jeff Johnson -- fix: segfault when globbing on "" (#15593). +* Fri Jan 19 2001 Jeff Johnson +- ewt's cpio.c hack. +- ewt's cpio.c hack reverted. +- rebuild with i18n from rpm-4_0 branch. +- rpmlint conformance. -* Fri Aug 4 2000 Jeff Johnson -- fix: popt POST callbacks typo. -- fix: -Va broken, make db cursors per-iterator, not per-dbi. +* Thu Jan 18 2001 Matt Wilson +- fix: exit 0 at the end of %pre -* Thu Aug 3 2000 Jeff Johnson -- add glibc requirement. +* Thu Jan 18 2001 Jeff Johnson +- fix: insure that %lang scopes over hard links correctly. +- fix: rpmCleanPath was nibbling at .. in macrofiles incorrectly. -* Mon Jul 31 2000 Jeff Johnson -- fix: uniqify dependency problems when printing (#14034). -- fix: segfault on erase if filestates is missing in header (#14679). -- popt: add ability to perform callbacks for every, not just first, match. +* Wed Jan 17 2001 Jeff Johnson +- 1st crack at Mandrake specific per-platform macros. -* Sat Jul 29 2000 Jeff Johnson -- bail on firstkey/nextkey, there's a better way. -- link rpm2cpio dynamically since cpio is linked dynamically. -- re-resurrect firstkey/nextkey python bindings for up2date compatibility. +* Tue Jan 16 2001 Jeff Johnson +- tsort prefers presentation order. -* Fri Jul 28 2000 Jeff Johnson -- resurrect firstkey/nextkey python bindings. +* Mon Jan 15 2001 Jeff Johnson +- fix: extra newline in many error messages (#23947). +- fix: rpm -Va with db1 needs per-iterator, not per-index, offset. +- add install/remove transaction id tags. -* Wed Jul 26 2000 Jeff Johnson -- fix: look for any/all dbapi when rebuilding. +* Sat Jan 13 2001 Jeff Johnson +- fix the hack. -* Tue Jul 25 2000 Jeff Johnson -- create rpmbuild/rpmquery/rpmverify/rpmsign symlinks. +* Fri Jan 12 2001 Jeff Johnson +- hack: permit installer to determine package ordering using 1000003 tag. -* Mon Jul 24 2000 Jeff Johnson -- rebuild with python binding fix. +* Thu Jan 11 2001 Jeff Johnson +- fix: don't hang on build error. +- fix: remove "error: " prefix from signature verification message. -* Tue Jul 18 2000 Jeff Johnson -- rebuild against glibc-2.1.91-14. -- add /usr/kerberos/man to brp-compress. +* Wed Jan 10 2001 Jeff Johnson +- successors from tsort are processed in presentation order. +- fix: find-requires.perl needed update (#23450). -* Mon Jul 17 2000 Jeff Johnson -- first release candidate. +* Tue Jan 9 2001 Jeff Johnson +- fix: digests on input FD_t dinna work. +- fix: remove rebuilddb debugging leakage. -* Sat Jul 15 2000 Jeff Johnson -- rip out pre-transaction syscalls, more design is needed. -- display rpmlib provides when invoked with --showrc. -- remove (dead) dependency checks on implicitly provided package names. -- remove (dead) rpmdb API code in python bindings. -- remove (legacy) support for version 1 packaging. -- remove (legacy) support for converting gdbm databases. -- fix: make set of replaced file headers unique. -- fix: don't attempt dbiOpen with anything but requested dbN. +* Mon Jan 8 2001 Jeff Johnson +- tsorted packages processed in successor count order. +- fix: resurrect --excludepath (#19666). -* Thu Jul 13 2000 Jeff Johnson -- fix: initialize pretransaction argv (segfault). -- fix: check rpmlib features w/o database (and check earlier as well). +* Fri Jan 5 2001 Jeff Johnson +- fix: 3 packages from Red Hat 5.2 had bogus %verifyscript tag. -* Wed Jul 12 2000 Jeff Johnson -- add S_ISLNK pre-transaction syscall test. +* Wed Jan 3 2001 Jeff Johnson +- fix: avoid locale issues with strcasecmp/strncasecmp (#23199). +- remove almost all explicit uses of stderr in rpmlib using rpmError(). +- fix: pass scriptlet args, as in %post -p "/sbin/ldconfig -n /lib". + (Rodrigo Barbosa) -* Tue Jul 11 2000 Jeff Johnson -- fix: legacy requires './' payload prefix to be omitted for rpm itself. -- fix: remove verbose database +++/--- messages to conform to doco. -- compare versions if doing --freshen. +* Tue Jan 2 2001 Jeff Johnson +- fix apidocs. -* Mon Jul 10 2000 Jeff Johnson -- identify package when install scriptlet fails (#12448). -- remove build mode help from rpm.c, use rpmb instead. -- support for rpmlib(...) internal feature dependencies. -- fix: set multilibno on sparc per-platform config. +* Mon Jan 1 2001 Jeff Johnson +- use popt autohelp for rpm helper binaries. -* Sun Jul 9 2000 Jeff Johnson -- add pre-transaction syscall's to handle /etc/init.d change. -- don't bother saving '/' as fingerprint subdir. -- eliminate legacy RPMTAG_{OBSOLETES,PROVIDES,CAPABILITY}. -- eliminate unused headerGz{Read,Write}. -- fix: payload compression tag not nul terminated. -- prefix payload paths with "./", otherwise "/" can't be represented. -- fix: compressFilelist broke when fed '/'. -- fix: typo in --last popt alias (#12690). -- fix: clean file paths before performing -qf (#12493). +* Sun Dec 31 2000 Jeff Johnson +- (popt): fix float/double handling (#19701). +- (popt): non-linux needs (#22732). +- (popt): add POPT_ARGFLAG_OPTIONAL for long options with optional arg. +- (popt): diddle auto-help to include type of arg expected. -* Wed Jul 5 2000 Jeff Johnson -- change optflags for i386. -- multilib patch, take 1. +* Sat Dec 30 2000 Jeff Johnson +- (non-linux): move stubs.c to rpmio (#21132). +- (python): bind initdb (#20988). -* Fri Jun 23 2000 Jeff Johnson -- i486 optflags typo fixed. +* Fri Dec 29 2000 Jeff Johnson +- fix: hack around alpha mis-compilation signature problems. +- rpmmodule.c(handleDbResult): return empty list when nothing matches. -* Thu Jun 22 2000 Jeff Johnson -- internalize --freshen (Gordon Messmer ). -- support for separate source/binary compression policy. -- support for bzip payloads. +* Thu Dec 28 2000 Jeff Johnson +- fix: avoid FAT and other brain-dead file systems that have not inodes. -* Wed Jun 21 2000 Jeff Johnson -- fix: don't expand macros in false branch of %if (kasal@suse.cz). -- fix: macro expansion problem and clean up (#11484) (kasal@suse.cz). -- uname on i370 has s390 as arch (#11456). -- put version on rpmpopt filename to avoid legacy filename collision. -- python: initdb binding (Dan Burcaw ). +* Wed Dec 27 2000 Jeff Johnson +- use malloc'ed buffer for large queries. -* Tue Jun 20 2000 Jeff Johnson -- fix: typo in brp-compress caused i18n man pages not to compress. -- API: uncouple fadio from rest of librpmio. -- API: externalize legacy fdOpen interface for rpmfind et al in librpmio. -- update brp-* scripts from rpm-4.0, enable in per-platform config. -- alpha: add -mieee to default optflags. -- add RPMTAG_OPTFLAGS, configured optflags when package was built. -- add RPMTAG_DISTURL for rpmfind-like tools (content unknown yet). -- teach brp-compress about /usr/info and /usr/share/info as well. +* Tue Dec 26 2000 Jeff Johnson +- send query/verify output through rpmlog(). +- resurrect rpmErrorSetCallback() and rpmErrorString(). -* Mon Jun 19 2000 Jeff Johnson -- fix: open all db indices before performing chroot. +* Thu Dec 21 2000 Jeff Johnson +- immutable headers, once installed by rpm3, need to lose immutablity. +- fix: removed headers from db need a headerCopy(). -* Sun Jun 18 2000 Jeff Johnson -- require --rebuilddb to convert db1 -> db3, better messages. +* Wed Dec 20 2000 Jeff Johnson +- whiteout mozilla loop for 7.1. -* Fri Jun 16 2000 Jeff Johnson -- fix: resurrect symlink unique'ifying property of finger prints. +* Tue Dec 19 2000 Jeff Johnson +- gendiff: generate ChangeLog patches more intelligently (#22356). +- identify install scriptlet failures with the name of the scriptlet. +- handle install chroot's identically throughout the install process. +- add rpmlib(HeaderLoadSortsTags) for tracking header regions "just in case". +- create _tmppath on the fly if not present. +- remove /etc/rpm/macros.db1 configuration file if db3 rebuilt. -* Wed Jun 14 2000 Jeff Johnson -- fix: don't count removed files if removed packages is empty set. -- fix: permit '\0' as special case key (e.g. "/" in Basenames). +* Wed Dec 13 2000 Jeff Johnson +- bump popt version. +- fix: (transaction.c) assume file state normal if tag is missing. +- fix: failed signature read headerFree segfault. +- fix: revert ALPHA_LOSSAGE, breaks 6.2/i386. +- fix: segfault on build path, ignore deleted drips. +- fix: synthesized callbacks for removed packages have not a pkgkey. -* Tue Jun 13 2000 Jeff Johnson -- make librpmio standalone. -- fix: avoid clobbering db cursor in removeBinaryPackage. -- expose cursors in dbi interfaces, remove internal cursors. -- remove incremental link. -- portability: sparc-sun-solaris2.5.1. +* Tue Dec 12 2000 Jeff Johnson +- bail on header regions. +- change dependency loop message to RPMMESS_WARNING to use stderr, not stdout. -* Wed Jun 7 2000 Jeff Johnson -- create rpmio directory for librpmio. +* Sun Dec 10 2000 Jeff Johnson +- handle added dirtoken tags (mostly) correctly with header regions. +- add FHS doc/man/info dirs, diddle autoconf goo. +- fix: headerUnload handles headers w/o regions correctly on rebuilddb. -* Tue Jun 6 2000 Jeff Johnson -- require db3 in default configuration. +* Thu Dec 7 2000 Jeff Johnson +- add rpmtransGetKeys() to retrieve transaction keys in tsort'ed order. +- python bindings for rpmtransGetKeys(). +- fix: include alignment in count when swabbing header region. -* Mon Jun 5 2000 Jeff Johnson -- add optflags for i486 and i586. -- fix: segfault with legacy packages missing RPMTAG_FILEINODES. +* Wed Dec 6 2000 Jeff Johnson +- improved find-{requires,provides} for aix4/hpux/irix6/osf. + Tim Mooney +- portability: remove use of GNU make subst in lib/Makefile (Joe Orton). +- python: bind package removal (#21274). +- autoconfigure building python bindings. +- autoconfigure generating rpm API doco rpm-devel package. +- fix: don't fdFree in rpmVerifyScript, rpmtransFree does already. +- unify rpmError and rpmMessge interfaces through rpmlog. +- collect and display rpm build error messages at end of build. +- use package version 3 if --nodirtokens is specified. +- add package names to problem sets early, don't save removed header. +- make sure that replaced tags in region are counted in headerSizeof(). +- support for dmalloc debugging. +- filter region tags in headerNextIterator, exit throut headerReload. -* Tue May 30 2000 Matt Wilson -- change %%configure, add %%makeinstall macros to handle FHS changes. +* Thu Nov 30 2000 Jeff Johnson +- add missing headerFree for legacy signature header. +- fix: removed packages leaked DIRINDEXES tag data. +- reload tags added during install when loading header from rpmdb. +- avoid brp-compress hang with both compressed/uncompressed man pages. -* Tue May 30 2000 Jeff Johnson -- mark packaging with version 4 to reflect filename/provide changes. -- change next version from 3.1 to 4.0 to reflect package format change. +* Tue Nov 21 2000 Jeff Johnson +- add brp-strip-shared script . +- better item/task progress bars . +- load headers as single contiguous region. +- add region marker as RPM_BIN_TYPE in packages and database. +- fix: don't headerCopy() relocateable packages if not relocating. +- merge signatures into header after reading from package. -* Wed May 26 2000 Jeff Johnson -- change popt exec alias in oreder to exec rpm children. -- split rpm into 5 pieces along major mode fault lines with popt glue. +* Mon Nov 20 2000 Jeff Johnson +- add doxygen and lclint annotations most everywhere. +- consistent return for all signature verification. +- use enums for almost all rpmlib #define's. +- API: change rpmProblem typedef to pass by reference, not value. +- don't trim leading ./ in rpmCleanPath() (#14961). +- detect (still need to test) rdonly linux file systems. +- check available inodes as well as blocks on mounted file systems. +- pass rpmTransactionSet, not elements, to installBinaryPackage et al. +- add cscope/ctags (Rodrigo Barbosa). +- remove getMacroBody() from rpmio API. +- add support for unzip -* Thu May 18 2000 Jeff Johnson -- 2nd try at db1 -> db3 stable functionality. +* Thu Nov 16 2000 Jeff Johnson +- don't verify src rpm MD5 sums (yet). +- md5 sums are little endian (no swap) so big endian needs the swap. -* Tue May 16 2000 Matt Wilson -- build against bzip2 1.0 -- use the new fopencookie API in glibc 2.2 +* Wed Nov 15 2000 Jeff Johnson +- fix: segfault on exit of "rpm -qp --qf '%{#fsnames}' pkg" (#20595). +- hpux w/o -D_OPEN_SOURCE has not h_errno. +- verify MD5 sums of payload files when unpacking archive. +- hide libio lossage in prototype, not API. +- add support for SHA1 as well as MD5 message digests. -* Fri May 12 2000 Jeff Johnson -- fix stupid mistakes (alpha segfaults). +* Mon Nov 13 2000 Jeff Johnson +- fix: work around for (mis-compilation?!) segfaults on signature paths. -* Wed May 10 2000 Jeff Johnson -- include RPM-GPG-KEY in file manifest. -- simplify --last popt alias, date like -qi (bjerrick@easystreet.com). -- fix: alloca'd memory used outside of scope (alpha segfault). +* Sun Nov 12 2000 Jeff Johnson +- fix: duplicate headerFree() on instalBinaryPackage() error return. -* Mon May 8 2000 Jeff Johnson -- FreeBSD fixes (bero@redhat.com). +* Sat Nov 11 2000 Jeff Johnson +- fix: runTriggers was not adding countCorrection. +- add rpmGetRpmlibProvides() to retrieve rpmlib(...) provides + "Pawel A. Gajda" . +- syntax to specify source of Requires: (PreReq: now legacy). +- rip out rpm{get,put}text, use getpo.sh and specspo instead. +- fine-grained Requires, remove install PreReq's from Requires db. -* Sat May 6 2000 Jeff Johnson -- finish db1 and db3 cleanup. +* Wed Oct 11 2000 Jeff Johnson +- fix: rpm2cpio error check wrong on non-libio platforms. -* Tue May 2 2000 Jeff Johnson -- first try at db1 -> db3 stability. +* Fri Sep 29 2000 Jeff Johnson +- fix: more (possible) xstrdup side effects. -* Mon May 1 2000 Jeff Johnson -- Rename db0.c to db1.c, resurrect db2.c (from db3.c). -- Add ia64 and sparc64 changes. -- rpm.spec: add per-platform sub-directories. +* Wed Sep 27 2000 Jeff Johnson +- bump popt version to 1.6.1. -* Fri Apr 28 2000 Jeff Johnson -- Filter DB_INCOMPLETE on db->sync, it's usually harmless. -- Add per-transaction cache of resolved dependencies (aka Depends). -- Do lazy dbi{Open,Close} throughout. -- Attempt fine grained dbi cursors throughout. -- fix: free iterator *after* loop, not during. -- fix: Depends needed keylen in dbiPut, rpmdbFreeIterator after use. +* Tue Sep 26 2000 Jeff Johnson +- fix: avoid calling getpass twice as side effect of xstrdup macro (#17672). +- order packages using tsort, clipping PreReq:'s in dependency loops. +- handle possible db3 dependency on -lpthread more gracefully. -* Thu Apr 27 2000 Jeff Johnson -- API: replace rpmdbUpdateRecord with rpmdbSetIteratorModified. -- API: replace rpmdbFindByLabel with RPMDBI_LABEL iteration. -- API: replace rpmdbGetRecord with iterators. -- API: replace findMatches with iterators. - -* Tue Apr 25 2000 Jeff Johnson -- rebuild to check autoconf configuration in dist-7.0. - -* Sun Apr 23 2000 Jeff Johnson -- fix: cpio.c: pre-, not post-, decrement the link count. -- make db indices as lightweight as possible, with per-dbi config. -- db1.c will never be needed, eliminate. -- API: merge rebuilddb.c into rpmdb.c. - -* Thu Apr 13 2000 Jeff Johnson -- API: pass *SearchIndex() length of key (0 will use strlen(key)). -- API: remove rpmdb{First,Next}RecNum routines. -- drop rpm-python subpackage until bindings are fixed. -- add explcit "Provides: name = [epoch:]version-release" to headers. - -* Tue Apr 11 2000 Jeff Johnson -- solaris2.6: avoid bsearch with empty dir list (Ric Klaren - klaren@cs.utwente.nl) -- db3: save join keys in endian neutral binary format. -- treat legacy falloc.c as "special" db[01] index for package headers. - -* Thu Apr 6 2000 Jeff Johnson -- use hashed access for package headers. - -* Tue Apr 4 2000 Jeff Johnson -- create dbi from template rather than passed args. - -* Mon Apr 3 2000 Jeff Johnson -- prefer db3 as default. -- permit db3 configuration using macros. - -* Fri Mar 31 2000 Jeff Johnson -- try for db3 DB_INIT_CDB model. - -* Fri Mar 24 2000 Jeff Johnson -- use DIRNAMES/BASENAMES/DIRINDICES not FILENAMES in packages and db. -- configure.in fiddles for BSD systems (Patrick Schoo). -- API: change dbi to pass by reference, not value. -- cram all of db1, db_185, and db2 interfaces into rpmlib. -- convert db1 -> db2 on-disk format using --rebuilddb. - -* Mon Mar 13 2000 Jeff Johnson -- start rpm-3.1 development. +* Thu Sep 14 2000 Jeff Johnson +- start rpm-4.0.1. diff --git a/sources b/sources index 93deb93..7ce5ccd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a1c46f70698d3c44c746742558e590c7 rpm-4.0.tar.gz +7b247d7fb7a0042fc81df935a7d21aac rpm-4.0.2.tar.gz