Several packaging spec problems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
RPM |
New
|
Undecided
|
Unassigned | ||
lsb |
Confirmed
|
Medium
|
Unassigned | ||
Mandriva |
In Progress
|
Medium
|
Bug Description
In investigating bug 1369, several problems were discovered in communication
with Jeff Johnson.
All the RPM_INT*_TYPEs are arrays with variable count, and the RPM_BIN_TYPE is a
variable array of octets. For the former, the count field is the number of
elements, for the latter the count is the number of octets. (pkgchk may know
this, but the spec doesn't seem to say it). RPM_BIN_TYPE should be documented
the same as RPM_INT8_TYPE.
==
The signature arrays should be variable-length, not fixed length. E.g.,
RPMSIGTAG_GPG is 65, and should really be a variable-length type.
RPMSIGTAG_DSA 267 BIN 1 Optional
RPMSIGTAG_RSA 268 BIN 1 Optional
RPMSIGTAG_PGP 1002 BIN 1 Optional
RPMSIGTAG_GPG 1005 BIN 65 Optional
==
The values in table 22-14 cannout be guaranteed:
Table 22-14. Package Dependency Attributes
Name Value Meaning
RPMSENSE_LESS 0x02
RPMSENSE_GREATER 0x04
RPMSENSE_EQUAL 0x08
RPMSENSE_PREREQ 0x40
RPMSENSE_INTERP 0x100
RPMSENSE_
RPMSENSE_
RPMSENSE_
RPMSENSE_
RPMSENSE_RPMLIB 0x1000000
Of these, only RPMSENSE_
"messy" semantics, all the other values need to be "undefined" or "subject to
change without notice".
[reply] [-] Comment 1
Changed in mandriva: | |
importance: | Unknown → Medium |
status: | Unknown → In Progress |