Bug 3638 - rpm --sign setup misdocumented/not documented
rpm --sign setup misdocumented/not documented
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jay Turner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-06-22 13:46 EDT by Anderson, Dan E.
Modified: 2015-01-07 18:37 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-08-18 14:29:02 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Anderson, Dan E. 1999-06-22 13:46:08 EDT
I was trying to create rpms for the rhcn Contrib|Net.
However, lots of things are misdocumented/not documented.
I had to add debug to the rpm source to find how to use it.
Please correct!!!!!!!!

1. /usr/man/man8/rpm.8 (section PGP_SIGNATURES)
1a. The "pgp" must be on the same line as %_signature
1b. Same with %_pgp_name
1c. Same with %pgp_name
1d. %_pgp_name's value is missing the initial double quote
(")

2. Add a line line in the man page
%_pgpbin /usr/local/bin/pgp
(or whereever pgp is located)
Also another file must exist with the version appended in
the same directory.
E.g., /usr/local/bin/pgp26 or /usr/local/bin/pgp50
(Ref: pgp source file lib/signature.c)

2. File /usr/doc/rpm-3.0.1/signatures
2a. Change references to rpmrc to
 "/etc/rpm/macros or ~/.rpmmacros"
2b. Change "signature" to "%_signature"
2c. Change "pgp_name" to "%_pgp_name"
2d. Add "%_pgpbin"

------- Additional Comments From   06/23/99 02:02 -------
The RPM HOWTO (v2.0) has the same problems.
Also the RPM HOWTO should mention file
"/etc/rpm/macros or ~/.rpmmacros"

------- Additional Comments From   06/26/99 13:33 -------
In the RPM HOWTO, also remove mention of the /etc/rpmrc
vendor, packager, and distribution
 keywords.  They are now in the
/etc/rpm/macros or ~/.rpmmacros file and are renamed
%vendor, %packager, and %distribution
Comment 1 Jeff Johnson 1999-08-18 14:29:59 EDT
Fixed in rpm-3.0.3.

Note You need to log in before you can comment on or make changes to this bug.