rpm-3.0.4 released (fwd)
Tomasz Kłoczko
kloczek w rudy.mif.pg.gda.pl
Czw, 16 Mar 2000, 21:08:44 CET
Wyszedł właśnie rpm 3.0.4.
Radzę przyjrzeć się temu co w nim zmieniono.
---------- Forwarded message ----------
Date: Thu, 16 Mar 2000 12:54:15 -0500
From: Jeff Johnson <jbj w JBJ.ORG>
Reply-To: rpm-list w redhat.com
To: rpm-list w redhat.com
Subject: rpm-3.0.4 released
Resent-Date: 16 Mar 2000 17:54:21 -0000
Resent-From: rpm-list w redhat.com
Resent-cc: recipient list not shown: ;
Rpm 3.0.4 is now available at
ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/rpm-3.0.4-*
The final part of the release (4x, 5x, 6x) indicates the version
of Red Hat Linux for which the package has been built.
This version is also available through anonymous cvs:
cvs -d :pserver:anonymous w cvs.rpm.org:/cvs/devel login
(no password, just carriage return)
cvs -d :pserver:anonymous w cvs.rpm.org:/cvs/devel get rpm
cd rpm
cvs up -r rpm-3_0_4
You will need the latest versions of libtool, autoconf, and automake
if you wish to build from CVS.
If you have installed a "test" version of rpm-3.0.4, there were two last
minute "fixes" that may cause you problems:
1) globbing with patterns like /usr/*/locale/LC_MESSAGES/*.mo
Note the two wildcards. I've internalized the glibc-2.1.3 glob
to fix this. Configure with --with-glob if you wish to use
the internal glob.
2) On linux, there was a /usr/lib/rpm/find-requires typo:
Thanks to Rod Stewart for both the patch and the fix.
- (START==1) && (LIBNAME!="") && ($4~=/^GLIBC_*/) { print LIBNAME "(" $4 ")"; }
+ (START==1) && (LIBNAME!="") && ($4~/^GLIBC_*/) { print LIBNAME "(" $4 ")"; }
Download the final release and reinstall to fix.
If you do install rpm-3.0.x on a system that uses rpm-2.5.x, you
will have to do
rpm --rebuilddb
because the database format has changed. You will also have to do
rpm --rebuilddb if you go back to rpm-2.5.x.
========================================================================
Here's the list of CHANGES in rpm-3.0.4:
- use compressed filenames on install side.
- start unifying FD types, CFD_t now gone.
- check for memory leaks (almost all leaks are plugged).
- fix: resurrect multiple target platform builds.
- freshen.sh: detect when all packages are up to date (Ian Macdonald).
- fix: typo in error message (#6858).
- add/update dependency scripts (Ken Estes).
- use directory tokens internally to reduce memory usage.
- permit --whatprovides to lookup file dependencies.
- fail to package if absolute symlink points within build root.
- initial version of check-prereqs.
- expose enough of legacy fdio interface to compile rpmfind/rpm2html.
- fix: Fopen should use 0666 as default (umask will be applied later).
- fix: default for rd_timeoutsecs is 1 sec (avoid ufdio assertion).
- fix: new FILENAMES tags require package index, not pointer in lookups.
- rename new FILENAMES tags to BASENAMES/DIRNAMES/DIRINDEXES.
- fix: don't look at password when searching urlCache.
- add contentLength sanity check on rpmdb headerWrite.
- fix: fprint abort on stat("/", ...) in empty chroots.
- perform glob on remote ftp query args.
- fix: ftpAbort must close the data channel to read abort status.
- perform glob on remote ftp install args.
- fix: reload macros from cmd line when re-reading config files.
- fix: compressFileList was over-generating dirNames.
- fix: alAddPackage sorted dirNames too soon, destroying dirMapping.
- expose enough of legacy fdio interface to compile gnorpm.
- fix: missing strdup when overriding buildroot from command line
argument (#1026,#5006).
- diddle some names to keep my C++ brethern happy (i.e. kpackage port).
- fix: add ufdSeek.
- build popt (with libpopt.so*) as a sub-package of rpm.
- split python bindings into a separate sub-package of rpm.
- add ja translation and man pages (Kanda Mitsuru kanda w nn.iij4u.or.jp).
- fix: fp.subDir was incorrectly set to NULL in sparse chroot's.
- fix: manageFile needs to and with O_WRONLY(=1), not O_RDONLY(=0).
- fix: resurrect failed glob error message during build.
- add several BuildRoot FTW policies.
- add manpage for gendiff (pbrown w redhat.com).
- updated sv.po (goeran w uddeborg.pp.se) (#8349).
- configurable PATH for install %pre/%post et al scriptlets.
- use only %_install_langs, not LINGUAS/LANG when deciding to install.
- configurable compression type/level for package payloads.
- default value for %_install_langs is all.
- fix: resurrect relative path's in fprint lookup queries.
- extract spec files from bzip'ped tarballs too on tar builds.
- add %_rebuilddbpath macro to permit rebuilding db in new location.
- updated perl scripts (Ken Estes).
- fix: on --rebuilddb, make sure new/old paths are not the same (#8752).
- fix: on --erase, segfault caused by "" prefix.
- explicitly expand file lists in writeRPM for rpmputtext.
- {Free,Open}BSD find-{provides,requires} (suzukis w file.phys.tohoku.ac.jp).
- new rpm-build package to isolate rpm dependencies on perl/bash2.
- always remove duplicate identical package entries on --rebuilddb.
- add scripts for autogenerating CPAN dependencies.
- add sl.po from Primoz Peterlin <peterlin w biofiz.mf.uni-lj.si>.
- updated sv.po from <goeran w uddeborg.pp.se>.
- macro expansion (and absolute path) in %files -f arg (#9508,#9091).
- permit cli setting of build root policies.
- fix: filter excluded paths before adding install prefixes (#8709).
- add i18n lookaside to PO catalogue(s) for i18n strings.
- try for /etc/rpm/macros.specspo so that specspo autoconfigures rpm.
- per-platform configuration factored into /usr/lib/rpm subdir.
- sparc-sun-solaris2.6 portability check.
- simpler hpux.prov script (Tim Mooney).
- portability: skip bzip2 if not available.
- portability: skip gzseek if not available (zlib-1.0.4).
- portability: skip personality if not available (linux).
- portability: always include arpa/inet.h (HP-UX).
- portability: don't use id -u (Brandon Allbery).
- portability: don't chown/chgrp -h w/o lchown.
- portability: splats in rpm.spec to find /usr/{share,lib}/locale/* .
- fix: better filter in linux.req to avoid ARM specific objdump output.
- fix: use glibc 2.1 glob/fnmatch everywhere.
- fix: noLibio = 0 on Red Hat 4.x and 5.x.
- fix: typo in autodeps/linux.req.
========================================================================
Here are 3 common FAQ for experienced users of rpm:
1) --rcfile works differently.
Old way: rpm --rcfile whatever
New way: rpm --rcfile /usr/lib/rpm/rpmrc:whatever
2) topdir (and other rpmrc configurables) work differently.
Old way:
~/.rpmrc contains
topdir: whatever
New way:
~/.rpmmacros contains
%_topdir whatever
3) All of Provides:, Requires:, Conflicts:, Obsoletes:, PreRequires: now
permit versions. In addition, an epoch may be specified in the dependency.
For example,
Requires: foo >= 1:2.3-4
specifies a requirement on the name "foo", with epoch 1, version 2.3, and
release 4. Both the epoch and release are optional in dependencies.
However, that means that rpm-3.0.[34] will interpret a dependency like
Provides: something
as implictly providing "all versions" of "something".
The interpretation "all versions" may have surprising consequences. Consider
a kernel-smp package that has
Provides: kernel
This tag is now interpreted as providing all versions of the kernel including
0.0, ... 2.4, ... 100.100 etc.
Certain packages, like initscripts, have dependencies that look like
Conflicts: kernel < 2.2
and the results of resolving the Provides: and Conflicts: are almost certainly
not what was originally intended.
--
Jeff Johnson ARS N3NPQ
jbj w jbj.org (jbj w redhat.com)
Chapel Hill, NC
--
To unsubscribe: mail -s unsubscribe rpm-list-request w redhat.com < /dev/null
_________________________
polish linux distribution
Więcej informacji o liście dyskusyjnej pld-devel-pl