[devel] [jbj на JBJ.ORG: Final test release of rpm-4.0.3]
Dmitry V. Levin
=?iso-8859-1?q?ldv_=CE=C1_alt-linux=2Eorg?=
Чт Июл 5 15:09:44 MSD 2001
FYI
----- Forwarded message from Jeff Johnson <jbj на JBJ.ORG> -----
Date: Thu, 5 Jul 2001 00:04:06 -0400
From: Jeff Johnson <jbj на JBJ.ORG>
To: rpm-list на redhat.com
Subject: Final test release of rpm-4.0.3
Delivered-To: rpm-list на listman.redhat.com
Mail-Followup-To: rpm-list на redhat.com
X-Mailer: Mutt 0.95.4us
Reply-To: rpm-list на redhat.com
I've put up a final test release for rpm-4.0.3-0.57 at
ftp://ftp.rpm.org/pub/rpm/test-4.0.3
This includes packages for Red Hat 7.x and 6.x for all arches. Packages
for Red Hat 6.x have a release of "-0.57.6x".
rpm-4.0.3 no longer links against the Berkeley db-1.85 libraries. This
means that there is limited support for what I call "db1 format", sufficient
to do an rpm --rebuilddb to convert from db1 to db3 format. Queries that
access only /var/lib/rpm/packages.rpm will "work", but queries that access
the db-1.85 hash format indices (e.g. "rpm -q rpm") will return EINVAL.
rpm-4.0.3 uses an internal copy of Berkeley db-3.3.4, and the final release
of rpm-4.0.3 will probably be soon after the final Berkeley db-3.3.x release,
as I'd like to use the final version if possible.
There are two main changes necessary to port to rpm-4.0.3:
1) Add -lrpmdb, remove -ldb-3.1, with associated autoconf tests for existence
of /usr/lib/librpmdb.*. The order for library linkage in rpm-4.0.3 should
be
-lrpmbuild -lrpm -lrpmdb -lrpmio -lpopt
2) Certain symbols have moved from rpmlib.h to rpmcli.h. Change
#include <rpmlib.h>
to
#include <rpmcli.h>
There are patches for programs that use -lrpmlib in the current Raw Hide
packages for gnorpm, kpackage, rpmfind, rpm2html, etc.
I believe that rpm-4.0.3 will tolerate damaged headers from both db1 and
db3 databases now, so, if you have a "corrupted database" problem,
rpm-4.0.3-0.57 is the 1st thing to try. Again, if rpm-4.0.3-0.57 doesn't
fix your "corrupted database", please file a bug report at
http://bugzilla.redhat.com
with a pointer (i.e. a url, bugzilla attachments won't work) to a tar ball
of your database
cd /var/lib
tar czvf /tmp/rpmdb.tar.gz rpm
and I'll try to get you a fix.
Please submit bug reports, RFE's, patches, etc as always at
http://bugzilla.redhat.com
Here's the changelog for rpm-4.0.3:
==============================================================================
4.0.2 -> 4.0.3:
- update per-interpreter dependency scripts, add sql/tcl (#20295).
- fix: rpmvercmp("1.a", "1.") returned -1, not +1 (#21392).
- add cpuid asm voodoo to detect athlon processors.
- add %exclude support (i.e. "everything but") to %files.
(Michael (Micksa) Slade" <micksa на knobbits.org>)
- add --with/--without popt glue for conditional builds(Tomasz Kloczko).
- python: strip header regions during unload.
- add -g to optflags in per-platform config.
- permit confgure/compile with db3-3.2.9.
- permit manifest files as args to query/verify/install modes.
- fix: parameterized macro segfault (Jakub Bogusz <qboosh на pld.org.pl>)
- fix: i18n tags in rpm-2.5.x had wrong offset/length (#33478).
- fix: AIX has sizeof(uint_16) != sizeof(mode_t) verify cast needed.
- fix: zero length hard links unpacked incorrectly (#34211).
- fix: --relocate missing trailing slash (#28874,#25876).
- fix: --excludedoc shouldn't create empty doc dir (#14531).
- fix: %_netsharedpath needs to look at basenames (#26561).
- fix: --excludepath was broken (#24434).
- fix: s390 (and ppc?) could return CPIOERR_BAD_HEADER (#28645).
- fix: Fwrite's are optimized out by aggressive compiler(irix) (#34711).
- portability: vsnprintf/snprintf wrappers for those without (#34657).
- more info provided by rpmdepOrder() debugging messages.
- merge (compatible) changes from top-of-stack into rpmlib.h.
- cpio mappings carry dirname/basename, not absolute path.
- fix: check waitpid return code.
- remove support for v1 src rpm's.
- re-position callbacks with ts/fi in cpio payload layer.
- state machines for packages (psm.c) and payloads (fsm.c)
- add --repackage option to put erased bits back into a package.
- fix: (ppc) copy va_list in loop (#36845).
- cpanflute perl dependency needs explicit epoch (#37034).
- regenerate rpm.8 man page from docbook glop (in max-rpm).
- lib/depends.c: diddle debugging messages.
- fix: readlink return value clobbered by header write.
- fix: ineeded count wrong for overlapped, created files.
- globalize _free(3) wrapper in rpmlib.h, consistent usage throughout.
- internalize locale insensitive ctype(3) in rpmio.h.
- boring lclint annotations and fiddles.
- transaction iterator(s) need to run in reverse order on pure erasures.
- erasures not yet strict, warn & chug on unlink(2)/rmdir(2) failure.
- more boring lclint annotations and fiddles.
- yet more boring lclint annotations and fiddles.
- still more boring lclint annotations and fiddles.
- enough lclint annotations and fiddles already.
- fix: specfile queries with BuildArch: (#27589).
- fix: debugging message displays header keys (#38454).
- use internal db-3.2.9 sources to build by default.
- don't build db1 support by default.
- create rpmdb.la so that linkage against rpm's db-3.2.9 is possible.
- rpm database has rpm.rpm g+w permissions to share db3 mutexes.
- expose more db3 macro configuration tokens.
- move fprint.[ch] and hash.[ch] to rpmdb directory.
- detect and fiddle incompatible mixtures of db3 env/open flags.
- add DBI_WRITECURSOR to map to db3 flags with CDB database model.
- add rpmdbSetIteratorRewrite to warn of pending lazy (re-)writes.
- harden rpmdb iterators from damaged header instance segfaults.
- add cron/logrotate scripts to save installed package filenames.
- upgrade to db-3.3.4.
- fix: filter duplicate package removals (#35828).
- add armv3l arch.
- fix: i18n strings need 1 on sucess return code (#41313).
- fix: skip %ghost files when building packages (#38218).
- headerFree() returns NULL, _free is C++ safe.
- remove all header region assertion failures, return NULL instead.
- perform db->verify when closing db files.
- eliminate db-1.85 and db-2.x configuration.
- fix: popt arg sanity checks broken, optarg != optArg.
- fix: popt range checks on floats/doubles broken.
- popt: return POPT_ERROR_ERRNO on config open/read/close failure.
- fix: popt exec doesn't add '--', --target et al no longer need '='.
- fix: popt consume-next-arg "!#:+" w/o side effect (#41956).
- fix: for busted db1, attempt chain reconnection to following record.
- return multiple suggested packages
(Pawel Kolodziej <pawelk на pld.org.pl>).
- fix: return suggested packages when using Depends cache.
- merge sparc64/ia64 fiddles back into linux.{req,prov}.
- automagically generate perl module dependencies always.
- fix: lclint fiddles broke uCache initialization (#43139).
- always use db cursors.
- permit duplicates for btree indices.
- document build modes in rpmbuild.8, rpmbuild is born.
- default to dbenv with mpool, --rebuilddb with nofsync is much faster.
- fix: QUERY_FOR_LIST file count clobbered.
- create top level rpmcli API, factor top level modes into popt tables.
- popt: add POPT_BIT_SET/POPT_BIT_CLR to API.
- autogen.sh checks for latest libtool-1.4 and automake-1.4-p2.
- rpm --verify reports failure(s) if corresponding tag is not in header.
- rpm --verify honors %config(missingok), add -v for legacy behavior.
- remove dead code frpm popt table reorg.
- more CLI typedefs/prototypes moved from rpmlib.h to rpmcli.h.
- rpm --verify skips files in non-installed states.
- rpm --verify skips content checks for %ghost files.
- rpm --verify displays config/doc/gnost/license/readme atrrs for files.
- rpm --verify checks immutable header region digest if available.
- rpmbuild adds header region digest (SHA1 as string).
- use rpmTag* typedefs in new hge/hae/hme/hre header vectors.
- remove rpmrc Provides: Yet Again, use virtual packages.
- dump cursor debugging wrappers.
- rpm --verify can disable rpmFileAttr checks.
- add rpmdbSetIteratorRE() for regex matching in database iterators.
- permit rpm -qa to take RE args applied to name tag.
- permit dbiFindMatches() to use version/release patterns.
- eliminate all uses of rpmdbSetIterator{Version,Release}.
- fix: db1 end-of-file not detected in legacy compatible way.
- fix: remove (harmless) chown error message from %post.
- add --target/--host to %configure, add example cross-build/config.site
scripts to /usr/lib/rpm <arjanv на redhat.com> (#44581).
- rpmdb iterator selectors permit default/strcmp/regex/glob matching.
- rpmdb iterator selectors permit negative matches.
- alpha: don't add "()(64bit)" dependency markers.
- ia64/sparc: <arch>.{req,prov} identical to linux.{req,prov}.
- add "rpmlib(ScriptletInterpreterArgs)" to track
%post -p "/sbin/ldconfig -n /usr/lib"
incompatibilities.
- popt: add POPT_ARGFLAG_SHOW_DEFAULT to display initial values(#32558).
- popt: add POPT_CONTEXT_ARG_OPTS for all opts to return 1 (#30912).
- fix: fsm reads/writes now return error on partial I/O.
- fix: Ferror returned spurious error for gzdio/bzdio.
- check for API/ABI creep, diddle up some compatibility.
- preliminary abstraction to support per-header methods.
- finalize per-header methods, accessing headerFoo through vector.
- make package ordering loop messages debug, not warning.
- remove {ia64,sparc}-linux.{prov,req}, changes merged into linux.*.
- fix: partial sets of hardlinked files permitted in payload.
- fix: mark rpmdb files with %config to prevent erasure on downgrade.
- work around a (possible) compiler problem on ia64.
- fix: rpm -qlv link count for directories dinna include '..'.
- fix: rpm -qlv size for directories should be zero.
- add --noghost to filter non-payload files from rpm -qlv output.
- add %{_gnu} macro to append "-gnu" to %{_target_platform} to
support --target/--host flavored %configure. Legacy behavior
available by undefining %{_gnu}.
- propagate %{_gnu} to per-platform configuration.
- fix: parameterized macros with massive mumber of options need
"optind = 1" "Dmitry V. Levin" <ldv на alt-linux.org>.
- add athlon per-platform configuration.
- remove executable bit to disable autogenerated perl requires until
perl provides can be vetted.
- disable per-platform %%configure use of %%_gnu until libtool package
stabilizes.
- fix: permit partially enumerated hardlink file sets during build.
- fix: resurrect rpm signature modes.
- fix: sanity checks on #tags (<65K) and offset (<16Mb) in header.
- fix: add -r to useradd to prevent /etc/skel glop (#46215).
- fix: disambiguate typedef and struct name(s) for kpackage.
- update intl dirs to gettext-0.10.38.
- fix: sanity check for header size added in headerCopyLoad() (#46469).
- fix: redundant entries in file manifests handled correctly (#46914).
- map uid/gid from metadata into payload headers.
- add removetid to header during --repackage.
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@alt-linux.org
ALT Linux Team http://www.altlinux.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/20010705/507fb2ef/attachment-0001.bin>
Подробная информация о списке рассылки Devel