Commit Graph

45 Commits

Author SHA1 Message Date
jbj 63864b6a28 Add hdrmd5ctx for header-only md5 rsa/md5 signatures.
CVS patchset: 7800
CVS date: 2005/03/12 15:16:42
2005-03-12 15:16:42 +00:00
jbj 8faa61c020 Doxygen fiddles.
CVS patchset: 7495
CVS date: 2004/10/20 10:19:34
2004-10-20 10:19:34 +00:00
jbj 9c5529608e - don't use error string after gzclose (Dmitry V. Levin).
Spliddles for rpmio, drill h_errno all the way through.

CVS patchset: 6826
CVS date: 2003/05/08 20:39:29
2003-05-08 20:39:29 +00:00
jbj 0ef682d77e - lclint clean.
CVS patchset: 5715
CVS date: 2002/09/17 15:21:03
2002-09-17 15:21:03 +00:00
jbj 40726dd94f Sync with rpm-4.1 parsing changes.
CVS patchset: 5711
CVS date: 2002/09/16 20:10:20
2002-09-16 20:10:20 +00:00
jbj cc5d229b0e Sync with rpm-4.1.
CVS patchset: 5695
CVS date: 2002/08/31 22:39:34
2002-08-31 22:39:34 +00:00
jbj 241fad1287 Propagate splint-3.0.1.7 close(2) internalState annotation throughout.
CVS patchset: 5542
CVS date: 2002/07/08 14:21:26
2002-07-08 14:21:26 +00:00
jbj 0a71efcfc0 - splint annotationsm, signature cleanup.
CVS patchset: 5351
CVS date: 2002/03/10 19:00:31
2002-03-10 19:00:31 +00:00
jbj c6449e9c44 - add header DSA signature.
CVS patchset: 5345
CVS date: 2002/03/06 23:17:31
2002-03-06 23:17:31 +00:00
jbj a3b362c466 - solaris: translate i86pc to i386 (#57182).
- fix: %GNUconfigure breaks with single quotes (#57264).
- fix: typo in find-requires.
- tru64 compiler message cleanup.
- add buildarch lines for hppa (#57728).

CVS patchset: 5228
CVS date: 2001/12/20 16:28:46
2001-12-20 16:28:46 +00:00
jbj e2dfa4f2d4 - beecrypt is at least as good as pgp/gpg on verify, pull the plug.
CVS patchset: 5124
CVS date: 2001/10/19 19:51:18
2001-10-19 19:51:18 +00:00
jbj d57a29baac Converging on lclint-3.0.17 strict level.
CVS patchset: 5118
CVS date: 2001/10/17 16:43:36
2001-10-17 16:43:36 +00:00
jbj d8dc44f363 lclint fiddles to annotate globals.
CVS patchset: 5106
CVS date: 2001/10/15 03:22:10
2001-10-15 03:22:10 +00:00
jbj 4ae69250a2 - fix typos in linux.{req,prov}.
CVS patchset: 4834
CVS date: 2001/06/05 19:26:22
2001-06-05 19:26:22 +00:00
jbj 750d54d8a3 lclint fiddles.
CVS patchset: 4833
CVS date: 2001/06/04 13:55:58
2001-06-04 13:55:58 +00:00
jbj f5ebe3fb42 - return multiple suggested packages (Pawel Kolodziej <pawelk@pld.org.pl>).
- fix: return suggested packages when using Depends cache.

CVS patchset: 4823
CVS date: 2001/05/31 22:31:14
2001-05-31 22:31:14 +00:00
jbj 8f75bbc17d - enough lclint annotations and fiddles already.
CVS patchset: 4741
CVS date: 2001/05/05 19:28:32
2001-05-05 19:28:32 +00:00
jbj d78e027808 - still more boring lclint annotations and fiddles.
CVS patchset: 4738
CVS date: 2001/05/03 21:00:18
2001-05-03 21:00:18 +00:00
jbj 85a84a6826 Add rpmRC return code type for the usual 0/1/2 codes.
Add RPMRC_BADSIZE to deal with packages changing size after repackaging.

CVS patchset: 4550
CVS date: 2001/02/12 19:02:15
2001-02-12 19:02:15 +00:00
jbj bc348ac49c Rename RPMSIG_* signature types to RPMSIGTYPE_* to avoid confusion.
Remove dead code.

CVS patchset: 4549
CVS date: 2001/02/12 16:33:08
2001-02-12 16:33:08 +00:00
jbj 2be9ecf0eb 1st stab at --repackage.
CVS patchset: 4545
CVS date: 2001/02/11 22:02:29
2001-02-11 22:02:29 +00:00
jbj 8c10883fdd Doxygen annotations.
CVS patchset: 4138
CVS date: 2000/08/28 01:08:57
2000-08-28 01:08:57 +00:00
jbj f8b364d7a8 Doxygen annotations.
CVS patchset: 4132
CVS date: 2000/08/27 19:27:03
2000-08-27 19:27:03 +00:00
jbj be45257fd9 dumb cpp's want white space around lclint annotations (Tim Mooney).
aix: aix.req broken by cut-and-paste (Tim Mooney).

CVS patchset: 3367
CVS date: 1999/10/04 20:18:48
1999-10-04 20:18:48 +00:00
jbj b8d3c0d56a lclint annotations.
CVS patchset: 3288
CVS date: 1999/09/17 20:40:41
1999-09-17 20:40:41 +00:00
jbj 70a0eb1d9b pgp and pgp5 have compatible RSA signature (#4780).
CVS patchset: 3276
CVS date: 1999/09/10 23:48:56
1999-09-10 23:48:56 +00:00
jbj 8bd997f2e0 Perl bindings need
#include <foo.h>
not
	#include "foo.h"

CVS patchset: 3143
CVS date: 1999/07/13 21:37:57
1999-07-13 21:37:57 +00:00
jbj bd3990b81c fix: don't add header if signature generation failed (Carlo Wood).
CVS patchset: 2909
CVS date: 1999/03/22 17:31:53
1999-03-22 17:31:53 +00:00
jbj 89e64b9785 pgp5 support (Carlo Wood <carlo@runaway.xs4all.nl>).
CVS patchset: 2906
CVS date: 1999/03/21 18:43:22
1999-03-21 18:43:22 +00:00
jbj 8e4b5d19fc 1998 8 Jan Toshio Kuratomi <badger@prtr-13.ucsc.edu>
* rpm.c: An error message for --nomd5 incorrectly  read "--nopgp can only
      be used during...."... Changed the --nopgp to --nomd5
1998 7 Jan  Toshio Kuratomi <bagder@prtr-13.ucsc.edu>
    * lib/rpmlib.h: Add a RPMSIGTAG_GPG define for gnupg.
    * lib/rpmlib.h: Add RPMVAR_GPG_PATH and RPMVAR_GPG_NAME variables.
    * lib/rpmrc.c: (optionTable) Add gpg_path and gpg_name to the optionTable
      (same stats as pgp_name and pgp_path.)
    * lib/signature.c: (rpmLookupSignatureType) Add RPMSIGTAG_GPG as one of the
      recognized types.
    * lib/signature.c: (rpmAddSignature) Add ability to create gnupg signature.
    * lib/signature.c: (makeGPGSignature) Routine to create a gnupg signature
      (based on makePGPSignature.)
    * lib/signature.c: (rpmVerifySignature) Add ability to verify gnupg
      signatures.
    * lib/signature.c: (verifyGPGSignature) Routine to verify a gnupg signature
      (based on verifyPGPSignature.)
    * lib/signature.c: (rpmGetPassPhrase) When getting pass phrase for gnupg,
      use RPMVAR_GPG_NAME instead of RPMVAR_PGP_NAME if we are signing with
      GPG isntead of PGP.
    * lib/signature.c: (checkPassPhrase) Need to allow for GPG when we check
      the PassPhrase's correctness.
    * rpm.c: Add equivalent GPG lines everywhere we find a PGP line.
    * rpm.c: Add equivalent gpg stanzas wherever we find a pgp stanza.
    * checksig.h: define CHECKSIG_GPG (1 << 2)  [Is this correct?]
    * checksig.c: (doCheckSig) Check for GPG signatures.  [A lot could be
      wrong/left out here.]
    * rpm.c: change the call to rpmGetPassPhrase to throw in the sigType as
      well.
    * signature.h: change rpmGetPassPhrase declaration to:
      rpmGetPassPhrase(const char * prompt, const int sigTag);
    * signature.c: (rpmGetPassPhrase) change the function to accept the
      signature type as its second argument.

CVS patchset: 2686
CVS date: 1999/01/09 00:24:02
1999-01-09 00:24:02 +00:00
jbj bd626d134d propagate "const char *" into rpmlib prototypes.
CVS patchset: 2663
CVS date: 1999/01/06 17:33:50
1999-01-06 17:33:50 +00:00
jbj 2578b7fc84 implement abstract fd type almost everywhere.
CVS patchset: 2542
CVS date: 1998/11/18 21:41:05
1998-11-18 21:41:05 +00:00
jbj 9acba0bddd Add multiple include avoidance and c++ prototype wrapping throughout *.h.
Delete trailing white space in *.h.

CVS patchset: 2181
CVS date: 1998/07/25 15:10:58
1998-07-25 15:10:58 +00:00
root d382745d17 The Great Renaming
CVS patchset: 1171
CVS date: 1996/11/18 18:02:36
1996-11-18 18:02:36 +00:00
ewt b098e693b1 added H_SIGNATURE wrapper
CVS patchset: 1072
CVS date: 1996/09/29 02:29:09
1996-09-29 02:29:09 +00:00
ewt d5378e6c93 changed MD5 sig type because of big-endian problems
CVS patchset: 1010
CVS date: 1996/08/31 18:36:53
1996-08-31 18:36:53 +00:00
root 2e4837fb6d add stuff for missing PGP keys
CVS patchset: 800
CVS date: 1996/07/12 19:27:34
1996-07-12 19:27:34 +00:00
root bc6d4246fc cleanup of verify stuff
CVS patchset: 743
CVS date: 1996/07/08 03:27:05
1996-07-08 03:27:05 +00:00
root 86dd8ab304 new Header-style signatures
CVS patchset: 737
CVS date: 1996/07/07 22:19:32
1996-07-07 22:19:32 +00:00
root a30d9b77a4 handle new signature types
CVS patchset: 664
CVS date: 1996/06/20 15:56:43
1996-06-20 15:56:43 +00:00
root 4969fb4549 new sig types
CVS patchset: 657
CVS date: 1996/06/20 03:10:17
1996-06-20 03:10:17 +00:00
root 68425333a0 add a few return codes
CVS patchset: 413
CVS date: 1996/02/23 22:28:40
1996-02-23 22:28:40 +00:00
root 7ac23c2d72 add getPassPhrase()
CVS patchset: 352
CVS date: 1996/02/20 15:06:47
1996-02-20 15:06:47 +00:00
root 68e87d3653 passPhrase is arg to makeSignature()
CVS patchset: 350
CVS date: 1996/02/20 06:01:30
1996-02-20 06:01:30 +00:00
marc 06cfb94633 Initial revision
CVS patchset: 309
CVS date: 1996/02/19 02:32:11
1996-02-19 02:32:11 +00:00