Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: Iab5438d6e4d45c937b191c03e9ef5dd3fad165c8
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
- Previously %pretrans and %posttrans were tied to --nopre and --nopost
disablers (since commit 0b2d7775c5e828652e45829f551352b93890bbc8)
because back then, there was no room new disablers in rpmtransFlags
bitfield. This is no longer the case as of rpm >= 4.9.x where
a bunch of obsolete flags were axed, so we can now add specific
--nopretrans and --noposttrans switches + corresponding flags.
- This is obviously a behavior change as --nopre and --nopost no
longer affect %pretrans and %posttrans, but --noscripts behavior
remains the same.
Change-Id: I7d8ebba44573f0a72a4eecfc8040af86e95409ce
|
|
a fast way to list all installed packages are
check if some package is installed. This is a hack.
|
|
(cherry picked from commit 644f080a4868208bf61f28103b7b676c094129a0)
|
|
(cherry picked from commit 4b19c17f53f56c841903e5d6a09efdb10b2ca400)
|
|
|
|
digest algorithm"
This reverts commit b040b323d6fac32f7f4fa77fd5cb60c7967fc53f.
The change does only affect file digests.
|
|
|
|
algorithm
|
|
|
|
- Ability to skip %clean build stage was requested as RhBug:756531,
--nocheck seems otherwise useful to have as %check can take a lot of
time, time you might not want to spend for a trivial spec change or such.
|
|
|
|
|
|
- '5' in verify stands for digest nowadays, keep the md5 reference to
explain why 5 is for digest though (related to RhBug:804049)
- In --dump query everything relates to files, refer to the attribute
in question ie 'digest' instead of 'filedigest'
|
|
|
|
- Since addition of file capability verification in rpm 4.7.x,
the verify output has nine characters, not eight (RhBug:746525)
|
|
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
|
|
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
|
|
- Based on suggestions from Masatake Yamato and others from rpm-list
|
|
- rpmgi is gone, rpmprob is a "new" item
|
|
|
|
|
|
|
|
- Remove rpmquery and rpmverify manuals for now, the functionality
didn't get split to separate binaries afterall and the manpages
were in a rather bad shape afterall.
- Add some missing options, remove no longer existing options
- Remove rpmdb, rpmkeys, rpmsign and rpmspec related switches from
man rpm manual, add them to the "see also"-section instead
- Adjust database file list on main rpm manual, remove it from rpmbuild man.
|
|
- It's a bad name for something that can also erase packages, leave
the install/upgrade/erase modes for /bin/rpm instead.
|
|
- Chainsaw relevant information out of rpm.8 and tweak a little bit,
adding cross-references etc. These will need a lot more love though...
|
|
- Finding out which package provides a file with a given digest
is just .. useless functionality. Being next to useless is one
thing, but we pay a high price for this particular uselessness:
the index needed for this is one of the biggest and most expensive
indexes we have.
|
|
|
|
|
|
This patch allows short-circuiting of building binary packages. To
prevent accidental use of short-circuited rpms, they are marked with
an unsatisfiable dependency "rpmlib(ShortCircuited)". A developer using
this feature for local development and testing will use "--nodeps".
Should such a rpm leak into the world, users will quickly notice
it does not install by default.
(v3: avoids API change, suggested by Panu Matilainen.
v2: added poisoning with unsatisfiable dependency.)
Michal
|
|
- Permits basic file verification with just a headerGet(), with some
caveats: there's no way to control which attributes get verified,
and there's no filtering of mtime differences of shared files. Those
aside, rpm -q --qf "[%{filestates:vflags} %{filenames}\n] <args>" now
performs the same as "rpm -V --nodeps --noscripts <args>"
|
|
- unused at the moment but doesn't hurt anything either...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- add aliases for obsolete {RPM}VERIFY_MD5 flags to
not to break API
|
|
- add %verify(nofiledigest) as %verify(nomd5) file attribute alias
- reference digests as digests not checksums
- make old md5 related symbols obsolete and use newer reference
- update man page accordingly
|
|
- previous conversion to utf-8 (from 2003!) was busted, wrong encoding
or something
|
|
- also fix a minor typo in --whatrequires description
|
|
|
|
|
|
- add minimal bits and pieces to check for capabilities in files on verify
- for now, any capability set is a verification failure as the capability
cannot have been set by rpm itself
- patch from Andreas Gruenbacher, modified to use libcap instead of raw
xattrs for portability
|
|
|
|
- RHL hasn't existed in years and rpm isn't specific to RH anyway...
|
|
|
|
|
|
|