UPS: apcupsd clean sources
[tomato.git] / release / src / router / apcupsd / VERIFYING
blobcc9f7065413e844acc1c93512e31ce9cc5878c94
2 All apcupsd packages released on Source Forge after 24 July 2003
3 will be signed with the apcupsd Distribution Verification Key.  By
4 obtaining a copy of the apcupsd Distribution Verification Public
5 key from either the home site (www.apcupsd.com) or from the Source
6 Forge project page, (www.sourceforge.net/projects/apcupsd).  you
7 can verify that the code you have is complete, unaltered, and
8 packaged by myself (Kern Sibbald) or D. Scott Barninger.
10 Putting the apcupsd Key in your Keyring:
12 Once you download the apcupsd public key, you must insert it in
13 your keyring.  The procedure will differ depending on whether you
14 are using PGP or GPG.  For GPG, assuming you have put the key
15 in apcupsd.k, the procedure is:
17   gpg --import apcupsd.key
19 Verifying an RPM:
21 The procedure for verification differs slightly if you are using
22 rpms or tar.gz files. For rpms, the signature becomes part of the
23 rpm package, and once the apcupsd public key is in your keyring
24 you check the package with:
26   rpm --checksig apcupsd-3.10.xx.rpm
28 Verifying tar files:
30 Tar files are distributed as they always have been in the past,
31 unchanged. However, for each xxxx.tar.gz file that is released there
32 will be a second file released with the same name but with .sig
33 appended, for example xxxx.tar.gz.sig.  To verify the apcupsd distribution,
34 you download both the files and put them in the same directory, then
35 for GPG, you use the following command to do the verification:
37   gpg --verify xxxx.tar.gz.sig