>
> Its time to get rpm-5.1 on a release track in the next
> week or two.
>
> I've been working on developing tools in rpm-5.1 using rpmio
> functionality:
>
> rpmgrep, rpmdigest, rpmtar, rpmmtree
>
> The tools are currently used as part of "make check" in rpmio
> to automate testing anddevelop API's for use in rpm.
>
> Likely the most important is rpmgrep, based on pcregrep,
> that has been used to develop a pattern API in librpmio that
> can use globs, posix regex, or pcre patterns interchangeably
> on URI's.
>
> The rpmdigest tool was included in rpm-5.0, but now has the
> ability to not only generate, but also verify, multiple digests on
> URI manifests (like the -c option in "man md5sum").
>
> An rpmtar tool, based on bsdtar, that uses the same state
> machine that rpm itself uses for package installs has been
> started. Most of the rpmtar effort was to get a well defined set of
> options to handle cpio/tar/ar archive formats in a unified manner.
>
> More recently, a port of mtree(8) from BSD called rpmmtree has been
> added
> to rpmio. mtree(8) permits generating/verifying stat(2), readlink
> (2) and multiple
> digests for directory tree's.
>
> (aside) I've also added the ability to use rpmmtree to generate/
> verify *.rpm
> package contents, e.g.
>
> $ ./rpmmtree -c -p time-1.7-27.i386.rpm/ | tee /dev/tty | ./
> rpmmtree -p time-1.7-27.i386.rpm/
>
> # user: jbj
> # machine: wellfleet.jbj.org
> # tree: /X/src/wdj/rpmio/time-1.7-27.i386.rpm/
> # date: Thu Mar 20 08:10:36 2008
>
> # /X/src/wdj/rpmio/time-1.7-27.i386.rpm/
> /set type=file uid=0 gid=0 mode=0755 nlink=1
> . type=dir uid=500 gid=500 mode=0644 time=1205879820.0
> /usr/bin/time \
> size=10360 time=1109769621.0
> /usr/share/info/time.info.gz \
> mode=0644 size=4983 time=1109769621.0
>
> # /X/src/wdj/rpmio/time-1.7-27.i386.rpm//usr/share/doc/time-1.7
> /usr/share/doc/time-1.7 \
> type=dir nlink=2 time=1109769621.0
> NEWS mode=0644 size=811 time=834531888.0
> README mode=0644 size=663 time=834604687.0
> # /X/src/wdj/rpmio/time-1.7-27.i386.rpm//usr/share/doc/time-1.7
> ..
>
> ..
>
>
>
>
>
>
Received on Thu Mar 20 13:56:26 2008