[devel] [jbj на JBJ.ORG: rpm-4.0.1 available for testing]

Dmitry V. Levin =?iso-8859-1?q?ldv_=CE=C1_fandra=2Eorg?=
Сб Дек 23 03:01:26 MSK 2000


Greetings!

Итак, 7.2 RE мы выпускаем на основе rpm-3.0.7 (если к тому времени этот
номер релиза уже будет, иначе 3.0.6; по сути у нас сейчас уже rpm-3.0.7 +
кое-что выборочно из 4.0.1).

После этого в Sisyphus сразу переходим на 4.0.1

----- Forwarded message from Jeff Johnson <jbj на JBJ.ORG> -----

Date: Fri, 22 Dec 2000 14:24:52 -0500
From: Jeff Johnson <jbj на JBJ.ORG>
To: rpm-list на redhat.com
Subject: rpm-4.0.1 available for testing

I've just put up a preliminary version of rpm-4.0.1 for testing at

	ftp://ftp.rpm.org/pub/rpm/test-4.0.1/{rpm,popt}-*4.0.1-0.29*

There are packages there for all supported Red Hat distributions. Packages
for Red Hat 6.x/5.x have ".6x" or ".5x" in the package release. There
are db3 packages for Red Hat 7.x/6.x/5.x at the URL above that will be
needed as well. I will be adding packages for gnorpm, kpackage, rpmfind,
etc at the URL above as available.

This is a preliminary rpm-4.0.1 release candidate that I'm making available
early to identify any and all legacy issues with
	1) db1 -> db3 conversion.
	2) version3 -> version4 compatibility.
	3) rpm API creep with other packages that use rpmlib.
	4) compilation problems on non-linux platforms.
	5) package install ordering problems (more info soon).
	6) immutable header regions (more info soon).

The goal in rpm 4.0.1 is a drop-in replacement everywhere, no fuss, no muss,
no problems. That means that the packages will
	1) detect whether you have a db1 or db3 version database and
	auto-configure (in /etc/rpm/macros.db1) appropriately.
	2) convert to db3 on the first "rpm --rebuilddb", removing
	/etc/rpm/macros.db1 if successful.
	3) produce version3 compatible packages if "--nodirtokens" is
	included during build.
	
Please do not install this version on production machines. And, before
installing any of these packages, please save a copy of your existing
rpm database and executable by doing (as root)
	cp /bin/rpm /bin/orpm
	cd /var/lib
	tar czvf rpmdb.tar.gz ./rpm

If you have done so, then you should be able to get out of any difficulties
by doing (as root)
	cd /var/lib
	rm -rf rpm
	tar xzvf rpmdb.tar.gz
	/bin/orpm -Uv --force <Old Reliable RPM packages here>

Please report any difficulties, problems, issues, feature requests, whatever at
	http://bugzilla.redhat.com
as I can't possibly have gotten everything right.

A short note on rpm versions:

rpm 3.0.7 is the current "production" version of rpm which is going to be
released as an errata Real Soon Now. This is end of life form rpm-3.0.x,
although I will continue to add critical bug fixes in CVS until the dust
clears.

rpm 4.0.1 will be the "production" version of rpm as soon as it is released
as an errata.

rpm 4.0.2 is the "development" version of rpm. At the moment, the 4.0.1
and 4.0.2 versions are identical, although this will change Real Soon Now.
Anticipated in 4.0.2 are
	1) internal support for DSA signatures on headers, verification 1st.
	2) transaction rollbacks, i.e. the ability to "undo" an installation.

Thanks for any and all help in testing.

Here's the CHANGES file for rpm-4.0.1:
=============================================================================
4.0 -> 4.0.1
	- fix: avoid calling getpass twice as side effect of xstrdup macro
		(katzj на linuxpower.org) (#17672).
	- order packages using tsort, clipping Requires:'s in dependency loops.
	- handle possible db3 dependency on -lpthread more gracefully.
	- bump popt version to 1.6.1.
	- fix: more (possible) xstrdup side effects.
	- fix: rpm2cpio error check wrong on non-libio platforms.
	- fix: runTriggers was not adding countCorrection.
	- add rpmGetRpmlibProvides() to retrieve rpmlib(...) provides
		"Pawel A. Gajda" <mis на k2.net.pl>.
	- 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.
	- fix: duplicate headerFree() on instalBinaryPackage() error return.
	- fix: work around for (mis-compilation?!) segfaults on signature paths.
	- 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.
	- don't verify src rpm MD5 sums (yet).
	- md5 sums are little endian (no swap) so big endian needs the swap.
	- 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.
	- unify rpmError and rpmMessge interfaces through rpmlog.
	- collect and display rpm build error messages at end of build.
	- 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<rodrigob на conectiva.com.br>).
	- remove getMacroBody() from rpmio API.
	- add support for unzip <rodrigob на conectiva.com.br>
	- add brp-strip-shared script <rodrigob на conectiva.com.br>.
	- better item/task progress bars <rodrigob на conectiva.com.br>.
	- 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.
	- RPM_BIN_TYPE malloc'ed when retrieved through headerGetEntry().
	- add headerFreeData() to free any data malloc'ed during retrieval.
	- preserve exact image of original header when installing/upgrading.
	- 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.
	- improved find-{requires,provides} for aix4/hpux/irix6/osf.
		Tim Mooney<mooney на dogbert.cc.ndsu.NoDak.edu>
	- 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.
	- fix: don't fdFree in rpmVerifyScript, rpmtransFree does already.
	- 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.
	- add rpmtransGetKeys() to retrieve transaction keys in tsort'ed order.
	- python bindings for rpmtransGetKeys().
	- fix: include alignment in count when swabbing header region.
	- 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.
	- resurrect rpmrc Provides: as well as implicit dependency on packge
		info.
	- change dependency loop message to RPMMESS_WARNING to use stderr, not
                stdout.
	- 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: synthesized callbacks for removed packages have not a pkgkey.
	- 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.
	- remove overly verbose dbiOpen() error messages, no longer needed.
	- whiteout mozilla loop for 7.1.
	- immutable headers, once installed by rpm3, need to lose immutablity.
	- fix: removed headers from db need a headerCopy().

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj на jbj.org	(jbj на redhat.com)
Chapel Hill, NC
_______________________________________________
Rpm-list mailing list
Rpm-list на redhat.com
https://listman.redhat.com/mailman/listinfo/rpm-list

----- End forwarded message -----

Regards,
	Dmitry

+-------------------------------------------------------------------------+
Dmitry V. Levin     mailto://ldv@fandra.org
Software Engineer   PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html
IPLabs Linux Team   http://linux.iplabs.ru
Fandra Project      http://www.fandra.org
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 232 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20001223/aafacaf3/attachment-0001.bin>


Подробная информация о списке рассылки Devel