RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm/ CHANGES rpm/lib/ depends.c rpmns.c rpmns.h

From: Ralf S. Engelschall <rse+rpm-devel@rpm5.org>
Date: Sat 26 Jan 2008 - 19:47:01 CET
Message-ID: <20080126184701.GA81274@engelschall.com>
On Sat, Jan 26, 2008, Jeff Johnson wrote:

> Perhaps
> 	Requires: verify(N) = E:V-R
> will simplify some of your OpenPKG framework hardening.
>
> Easy way to exercise the verify(...) probe is
>     mkdir -p /etc/rpm/sysinfo
>     echo "verify(zlib)" >> /etc/rpm/sysinfo/Requirename
>
> Return code is goofy atm, the I/O spew while checking dependencies
> will need some fiddling, and there are some obvious generalizations to
>     Requires: verify(*)		# same as -Va
>     Requires: verify(/path)	# same as -Vf path
> and a few extensions that I can think of, I'm sure you can think of some
> uses too.

Interesting. But what happens on "verify(foo)" if a %config file of
package "foo" is modified. It is already causing "verify(foo)" to fail?
In on short: when in particular does "verify(foo)" fail and when does it
succeed?
                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
Received on Mon Jan 28 21:37:31 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.