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
f5a546f580
- merge signature returns into rpmRC.
...
- python: exceptions on NOKEY/NOTTRUSTED.
CVS patchset: 5667
CVS date: 2002/08/23 21:01:59
2002-08-23 21:01:59 +00:00
jbj
ae8428475c
- add --with-efence to configure, check install/upgrade with efence.
...
- beecrypt: short hex string conversion overflows target buffer.
- mark "successors only" packages in transaction.
- reap scriptlets with SIGCHLD handler.
- rename PSM_t to rpmpsm, add methods and refcounts to manage.
- remove %%configure/%%makeinstall from arch-os/macros, default is OK.
- don't export MALLOC_CHECK_ to scriptlets.
- squeaky clean memory leak checking.
- always malloc rpmfi structure, refcounts are correct in rpmtsRun().
- skip redundant /sbin/ldconfig scripts on upgrade (if possible).
CVS patchset: 5645
CVS date: 2002/08/19 22:27:44
2002-08-19 22:27:44 +00:00
jbj
c33342be5f
- fix: --repackage repaired ( #67217 ).
...
- fix: rpm2cpio disables signature checks (i.e. same behavior).
CVS patchset: 5574
CVS date: 2002/07/25 23:36:32
2002-07-25 23:36:32 +00:00
jbj
6540da4256
fix: Header SHA1 was giving false positive.
...
CVS patchset: 5567
CVS date: 2002/07/21 22:37:14
2002-07-21 22:37:14 +00:00
jbj
6af194ed8e
- add methods to make signature handling opaque wrto rpmts.
...
CVS patchset: 5566
CVS date: 2002/07/21 22:06:19
2002-07-21 22:06:19 +00:00
jbj
261b4a2ecb
- install rpmal.h and rpmhash.h, implicit rpmps.hinclude, for now.
...
- revert headerFree/headerLink/headerUnlink debugging.
CVS patchset: 5550
CVS date: 2002/07/13 19:08:51
2002-07-13 19:08:51 +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
af3c677f06
- use rpmfi in showQueryPackage(), eliminating headerGetEntry().
...
CVS patchset: 5538
CVS date: 2002/07/03 14:01:49
2002-07-03 14:01:49 +00:00
jbj
05cb73a7ee
Factor bounds checking annotations into source code.
...
CVS patchset: 5521
CVS date: 2002/06/22 18:51:56
2002-06-22 18:51:56 +00:00
jbj
110df96c22
- add translated man pages from PLD.
...
CVS patchset: 5514
CVS date: 2002/06/20 17:17:23
2002-06-20 17:17:23 +00:00
jbj
0a7481d0f7
- make sure that rpm can verify prelinked shared libraries.
...
- don't install /usr/lib/rpm/redhat per-vendor configuration anymore.
CVS patchset: 5512
CVS date: 2002/06/20 02:19:21
2002-06-20 02:19:21 +00:00
jbj
386882db7a
- fix: synthesize unpacking progress callbacks for packages w/o files.
...
CVS patchset: 5440
CVS date: 2002/05/19 23:37:24
2002-05-19 23:37:24 +00:00
jbj
2126e4ad09
- Grand Renaming of rpm data types.
...
CVS patchset: 5439
CVS date: 2002/05/19 18:42:25
2002-05-19 18:42:25 +00:00
jbj
b4c604e75c
- plug most install mode leaks.
...
CVS patchset: 5424
CVS date: 2002/05/07 01:07:41
2002-05-07 01:07:41 +00:00
jbj
cf2484ce1f
- attempt to make peace with automake-1.6.1, autoconf-2.53.
...
- rip out two layers of dbN gook, internal Berkeley db is here to stay.
CVS patchset: 5412
CVS date: 2002/05/01 22:13:00
2002-05-01 22:13:00 +00:00
jbj
2404e8d918
- rescusitate --rebuild.
...
CVS patchset: 5389
CVS date: 2002/04/11 16:55:19
2002-04-11 16:55:19 +00:00
jbj
721d88ed7f
Sanity.
...
CVS patchset: 5382
CVS date: 2002/04/08 22:52:45
2002-04-08 22:52:45 +00:00
jbj
b45c27e2ab
doxygen cleanup.
...
CVS patchset: 5379
CVS date: 2002/04/08 18:56:01
2002-04-08 18:56:01 +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
14ec54e33b
- wire --nodigest/--nosignature options to checksig/query/verify modes.
...
CVS patchset: 5348
CVS date: 2002/03/08 22:24:58
2002-03-08 22:24:58 +00:00
jbj
441764ef45
- add header RSA signature (untested, disabled for now).
...
- don't bother with signing check if 16 bits of hash don't match.
- only V3 signatures for now.
CVS patchset: 5347
CVS date: 2002/03/07 22:54:43
2002-03-07 22:54:43 +00:00
jbj
52864ffa4d
- add header RSA signature (untested).
...
CVS patchset: 5346
CVS date: 2002/03/07 02:17:59
2002-03-07 02:17:59 +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
2e2d1cad39
- add payload uncompressed size to signature to avoid rewriting header.
...
- drill header sha1 into signature parallel to header+payload md5.
- mandatory "most effective" signature check on query/verify/install.
- don't bother adding empty filemd's to index.
- add Pubkey index, using signer id as binary key.
- display pubkeys in hex when debugging db access.
- retrieve pubkey(s) from rpmdb, not from detached signature file.
- reapply Berkeley DB patch #4491 .
CVS patchset: 5341
CVS date: 2002/03/03 23:09:49
2002-03-03 23:09:49 +00:00
jbj
9aa5bedac7
Use Knuth algorithm Y for computing DSA "w = inv(s) mod q".
...
CVS patchset: 5339
CVS date: 2002/02/28 15:48:39
2002-02-28 15:48:39 +00:00
jbj
81d60b4706
Sync with rpm-4.0.4 rollbacks.
...
CVS patchset: 5293
CVS date: 2002/02/02 22:45:41
2002-02-02 22:45:41 +00:00
jbj
3ef59667d3
Resync with db-4.0.14 (and what's on the rpm-4_0 branch).
...
CVS patchset: 5254
CVS date: 2002/01/17 20:11:42
2002-01-17 20:11:42 +00:00
jbj
cbcc2cc467
- fix: signing multiple times dinna work, discard immutable region.
...
- remove poptmodule.so for separate packaging.
CVS patchset: 5250
CVS date: 2002/01/10 19:16:54
2002-01-10 19:16:54 +00:00
jbj
85f676ed66
- lclint-3.0.0.19 fiddles.
...
CVS patchset: 5217
CVS date: 2001/12/08 17:21:36
2001-12-08 17:21:36 +00:00
jbj
fe68f3c0cd
- add header refcount annotations throughout.
...
CVS patchset: 5146
CVS date: 2001/11/01 20:15:10
2001-11-01 20:15:10 +00:00
jbj
f03b462b1e
- legacy signatures always checked on -qp and -Vp.
...
CVS patchset: 5133
CVS date: 2001/10/25 01:36:32
2001-10-25 01:36:32 +00:00
jbj
72f92dd744
- wire transactions through rpmcli signature modes.
...
CVS patchset: 5131
CVS date: 2001/10/23 20:52:51
2001-10-23 20:52:51 +00:00
jbj
3b820b2d53
- generate an rpm header on the fly for imported pubkeys.
...
CVS patchset: 5130
CVS date: 2001/10/23 16:48:20
2001-10-23 16:48:20 +00:00
jbj
1ad22a0bc4
- all symbols but hdrVec are now forward references in linkage.
...
CVS patchset: 5128
CVS date: 2001/10/21 21:43:32
2001-10-21 21:43:32 +00:00
jbj
d5dd3dfbc6
- stupid macros to configure public key file paths.
...
CVS patchset: 5127
CVS date: 2001/10/20 22:31:09
2001-10-20 22:31:09 +00:00
jbj
00a348f332
- add :base64 and :armor format extensions, dump binary tags in hex.
...
- proof-of-concept pubkey retrieval from RPM-{PGP,GPG}-KEY.
CVS patchset: 5126
CVS date: 2001/10/20 20:28:56
2001-10-20 20:28:56 +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
e2a8424075
Start ripping gpg/pgp on signature verify paths.
...
CVS patchset: 5123
CVS date: 2001/10/19 13:51:20
2001-10-19 13:51:20 +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
96a3f7a55d
Factor -type problems into explicit code annotations.
...
CVS patchset: 5117
CVS date: 2001/10/16 17:42:18
2001-10-16 17:42:18 +00:00
jbj
9f45bcd3ec
More lclint annotations.
...
CVS patchset: 5116
CVS date: 2001/10/16 14:58:57
2001-10-16 14:58:57 +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
525f4cb8b1
- ratchet up to lclint "strict" level.
...
CVS patchset: 5104
CVS date: 2001/10/13 19:35:58
2001-10-13 19:35:58 +00:00
jbj
2d312d19c1
- proof-of-concept PGP/RSA verification for legacy signatures.
...
CVS patchset: 5103
CVS date: 2001/10/11 21:31:56
2001-10-11 21:31:56 +00:00
jbj
61b8964fb9
- upgrade to beecrypt-2.2.0pre.
...
CVS patchset: 5102
CVS date: 2001/10/08 16:12:33
2001-10-08 16:12:33 +00:00
jbj
71dff1a731
- proof-of-concept GPG/DSA verification for legacy signatures.
...
CVS patchset: 5097
CVS date: 2001/10/05 20:39:50
2001-10-05 20:39:50 +00:00
jbj
c91fc95859
Display signature and public key internals, calculate SHA1 digest as well.
...
Display private signature internals in tkey.
Add dumpasn to rpmio jfor reference.
CVS patchset: 5091
CVS date: 2001/10/01 17:40:12
2001-10-01 17:40:12 +00:00
jbj
b7c25b0bef
- create RFC-2440 OpenPGP API in rpmio.
...
- display signature packets before exec'ing gpg/pgp when verifying.
CVS patchset: 5090
CVS date: 2001/09/29 17:44:45
2001-09-29 17:44:45 +00:00
jbj
92556605af
- legacy: drop brokenMD5 support (rrpm-2.3.3 to rpm-2.3.8 on sparc).
...
- eliminate DYING code.
CVS patchset: 5082
CVS date: 2001/09/25 20:51:34
2001-09-25 20:51:34 +00:00
jbj
cb21600940
- drop rpmio/base64.[ch] in favor of beecrypt.
...
- drop lib/md5*.[ch] files in favor of beecrypt.
CVS patchset: 5081
CVS date: 2001/09/25 16:21:44
2001-09-25 16:21:44 +00:00
jbj
9d555b6216
Move to lclint-3.0.0.15, revisit and clean up annotations.
...
intl/: Add gettext orphans.
popt/intl/: Add gettext orphans.
beecrypt: Add beecrypt repository.
rpmio/tdigest.c: Add beecrypt digest checks.
CVS patchset: 5077
CVS date: 2001/09/24 21:53:14
2001-09-24 21:53:14 +00:00
jbj
1eef0782f6
- lclint-3.0.0.15 fiddles.
...
CVS patchset: 5067
CVS date: 2001/09/21 15:07:11
2001-09-21 15:07:11 +00:00
jbj
29ea1567e7
Sync with rpm-4_0 branch.
...
CVS patchset: 4876
CVS date: 2001/06/17 22:18:03
2001-06-17 22:18:03 +00:00
jbj
1ed6bde25a
linux.req now verified functional on ia64-linux.
...
CVS patchset: 4870
CVS date: 2001/06/16 01:49:10
2001-06-16 01:49: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
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
71f818828e
- headerFree() returns NULL, _free is C++ safe.
...
CVS patchset: 4807
CVS date: 2001/05/23 14:25:19
2001-05-23 14:25:19 +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
0ecdbba935
- yet more boring lclint annotations and fiddles.
...
CVS patchset: 4732
CVS date: 2001/04/30 22:32:22
2001-04-30 22:32:22 +00:00
jbj
3b5820c420
- globalize _free(3) wrapper in rpmlib.h, consistent usage throughout.
...
- internalize locale insensitive ctype(3) in rpmio.h
- boring lclint annotations and fiddles.
CVS patchset: 4721
CVS date: 2001/04/29 01:05:43
2001-04-29 01:05:43 +00:00
jbj
74f16c53a3
Handle non-string tag indices correctly.
...
Sync with rpm-4.0.2.
CVS patchset: 4583
CVS date: 2001/02/27 21:30:27
2001-02-27 21:30:27 +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
c74cc1df1c
- fix: extra newline in many error messages ( #23947 ).
...
- fix: rpm -Va with db1 needs per-iterator, not per-index, offset.
- add install/remove transaction id tags.
CVS patchset: 4441
CVS date: 2001/01/15 23:09:42
2001-01-15 23:09:42 +00:00
jbj
23fcf67cb5
- fix: avoid locale issues with strcasecmp/strncasecmp ( #23199 ).
...
- remove almost all explicit uses of stderr in rpmlib using rpmError().
CVS patchset: 4406
CVS date: 2001/01/03 20:19:27
2001-01-03 20:19:27 +00:00
jbj
6aafc439da
doxygen annotations for popt.
...
CVS patchset: 4401
CVS date: 2001/01/02 17:19:34
2001-01-02 17:19:34 +00:00
jbj
06e45e2923
- fix: avoid FAT and other brain-dead file systems that have not inodes.
...
- fix: hack around alpha mis-compilation signature problems.
- rpmmodule.c(handleDbResult): return empty list when nothing matches.
CVS patchset: 4385
CVS date: 2000/12/29 21:44:37
2000-12-29 21:44:37 +00:00
jbj
f84fd1900d
- use malloc'ed buffer for large queries.
...
CVS patchset: 4377
CVS date: 2000/12/27 21:19:53
2000-12-27 21:19:53 +00:00
jbj
66671b9701
- fix: (transaction.c) assume file state normal if tag is missing.
...
- fix: failed signature read headerFree segfault.
- fix: revert ALPHA_LOSSAGE, breaks 6.2/i386.
CVS patchset: 4343
CVS date: 2000/12/13 22:00:33
2000-12-13 22:00:33 +00:00
jbj
db32ab6bea
Sync with rpm-4_0 branch.
...
CVS patchset: 4338
CVS date: 2000/12/12 20:03:45
2000-12-12 20:03:45 +00:00
jbj
2885f536b6
Bring header reggions mods back to top of stack.
...
CVS patchset: 4305
CVS date: 2000/12/02 21:53:44
2000-12-02 21:53:44 +00:00
jbj
2d09e6c9da
Sanity.
...
CVS patchset: 4276
CVS date: 2000/11/15 20:38:58
2000-11-15 20:38:58 +00:00
jbj
636e4b3771
- load headers as single contiguous region.
...
CVS patchset: 4244
CVS date: 2000/11/07 13:16:43
2000-11-07 13:16:43 +00:00
jbj
3ad99fcba5
- add cscope/ctags (Rodrigo Barbosa<rodrigob@conectiva.com.br>).
...
- remove getMacroBody() from rpmio API.
- hide libio lossage in prototype, not API.
lclint annotations.
CVS patchset: 4230
CVS date: 2000/10/28 17:16:25
2000-10-28 17:16:25 +00:00
jbj
c7b24dad58
- translate rpm.8 man page (Peter Ivanyi <ivanyi@internet.sk>).
...
Doxygen annotations.
CVS patchset: 4146
CVS date: 2000/08/29 22:04:33
2000-08-29 22:04:33 +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
af938797ac
- consistent return for all signature verification.
...
- use enum for signature header tags.
CVS patchset: 4137
CVS date: 2000/08/27 21:35:14
2000-08-27 21:35:14 +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
e0b1d0be36
Swap 2nd and 3rd arg to Fread/Fwrite to preserve read/write type return.
...
Use Fstrerror to retrieve fd->syserrno.
Make ftpFileDoneNeeded per-fd rather than per-url.
Make data fd unique rather than per-url.
Use appropriate protocol commands for ufdio writing.
CVS patchset: 3421
CVS date: 1999/11/10 22:09:49
1999-11-10 22:09:49 +00:00
jbj
3363604c70
Use Fopen almost everywhere.
...
Rip out --enable-bzip2-payload, we'll use Fopen w macros instead.
Work out ref counting for ftpControl so that control channel is persistent.
build/build.c: Use fpio to write build stage script.
parseSpec.c: Rework include stack to use FD_t, not FILE *.
tread.c: Delete, use ufdio->read instead.
rpmio.c: Filter out fdio fd == NULL assertion failures.
rpmrc.c: Don't fail if HOME is not environment.
rpmrc.c: Rework ufdio FTP rcfile I/O to be more similar to stdio.
CVS patchset: 3417
CVS date: 1999/11/04 21:26:08
1999-11-04 21:26:08 +00:00
jbj
7fc3a97733
Add ref/deref/new/fileno/open vectors to FDIO_t.
...
Hide fdOpen/ufdOpen, use {fdio,ufdio}->open throughout.
url.c: Create ref counted abstract urlinfo type with debugging.
url.c: Rename functions to urlNew/urlFree/urlFreeCache for consistency.
rpmio.c: Create ref counted abstract FD_t type with debugging.
rpmio.c: Create private struct _FD_s type.
cpio.c: Create fd[GS]etCpioPos to preserve FD_t abstraction.
CVS patchset: 3414
CVS date: 1999/11/02 14:33:14
1999-11-02 14:33:14 +00:00
jbj
2b84d36c2e
Make fdFileno() static, use Fileno()/Ferror() analogues throughout.
...
Make ufdClose() static, use Fclose() with ufdio cookie throughout.
rpm.c: Clean urlinfoCache and rpmBuildArgs leaks.
url.c: urlIsURL() should be here, not in rpmio.c.
url.c: Preserve FD_t abstraction by creating ufdGetUrlinfo().
url.c: Create freeUrlinfoCache().
rpmio.c: Create ufdio cookie.
CVS patchset: 3407
CVS date: 1999/10/30 16:43:29
1999-10-30 16:43:29 +00:00
jbj
1e0138188b
check for memory leaks (almost all leaks are plugged).
...
CVS patchset: 3403
CVS date: 1999/10/29 16:06:01
1999-10-29 16:06:01 +00:00
jbj
0d0b405c20
use compressed filenames on install side.
...
start unifying FD types, CFD_t now gone.
CVS patchset: 3402
CVS date: 1999/10/27 23:18:10
1999-10-27 23:18:10 +00:00
jbj
6defa683eb
lclint annotations.
...
CVS patchset: 3387
CVS date: 1999/10/20 21:40:10
1999-10-20 21:40:10 +00:00
jbj
20d78e939a
fix: command line install had header memory leak.
...
check for NULL on all memory allocations.
free rpmrc mallocs on exit.
permit run time leak detection.
CVS patchset: 3311
CVS date: 1999/09/21 03:22:53
1999-09-21 03:22:53 +00:00
jbj
e5d3c31bb2
lclint annotations.
...
CVS patchset: 3291
CVS date: 1999/09/17 21:08:32
1999-09-17 21:08:32 +00:00
jbj
6bdc80981e
fix: with unspecified epochs, skip dependency epoch compare.
...
CVS patchset: 3283
CVS date: 1999/09/14 16:04:03
1999-09-14 16:04:03 +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
438d40966e
add headerWrite return code and check for errors.
...
CVS patchset: 3250
CVS date: 1999/08/24 15:18:43
1999-08-24 15:18:43 +00:00
jbj
5a8aceb05e
fix: use pgp5 rather than pgp-2.6.3 if both are in %_pgpbin ( #4564 ).
...
CVS patchset: 3237
CVS date: 1999/08/18 17:04:54
1999-08-18 17:04:54 +00:00
jbj
4bd2f3531a
File internals rearranged to taste.
...
CVS patchset: 3152
CVS date: 1999/07/13 23:33:02
1999-07-13 23:33:02 +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
d26418617c
fix: prefer pgp2.6.3 over pgp5 if both are installed.
...
CVS patchset: 3037
CVS date: 1999/04/29 19:18:22
1999-04-29 19:18:22 +00:00
jbj
5fbc0dd6c3
add explicit macrofiles path to rpmrc.
...
CVS patchset: 2933
CVS date: 1999/03/31 20:37:55
1999-03-31 20:37:55 +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
2f5f89f2a3
Typos.
...
CVS patchset: 2907
CVS date: 1999/03/21 19:11:29
1999-03-21 19:11:29 +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
bc76393a17
eliminate old rpmrc configuration syntax.
...
CVS patchset: 2905
CVS date: 1999/03/20 21:09:47
1999-03-20 21:09:47 +00:00
jbj
dd63b4fd68
More fixes from Toshio.
...
CVS patchset: 2688
CVS date: 1999/01/10 17:10:17
1999-01-10 17:10:17 +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
4551a1256f
Clean up on files.c.
...
CVS patchset: 2555
CVS date: 1998/11/24 19:30:38
1998-11-24 19:30:38 +00:00
jbj
a15a36abd1
Sanity.
...
CVS patchset: 2551
CVS date: 1998/11/20 20:18:22
1998-11-20 20:18:22 +00:00
jbj
dc7ee4090d
finish hiding rpmdb index record data ("matches").
...
CVS patchset: 2543
CVS date: 1998/11/19 18:10:28
1998-11-19 18:10:28 +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
28c4ae83a3
LCLINT pass 0.
...
CVS patchset: 2540
CVS date: 1998/11/16 21:40:28
1998-11-16 21:40:28 +00:00
jbj
1607fbe7a3
Consolidate i18n baggage into AM_GNU_GETTEXT and system.h.
...
CVS patchset: 2425
CVS date: 1998/10/08 14:59:17
1998-10-08 14:59:17 +00:00
jbj
fd068345e6
add Slovak translation (Stanislav Meduna <stano@trillian.eunet.sk>)
...
gettextify rpmMessage/rpmError/fprintf messages.
CVS patchset: 2368
CVS date: 1998/09/27 22:03:52
1998-09-27 22:03:52 +00:00
jbj
f005d723a5
Macro handling in rpmlib -- rework include: tag with macro expansion.
...
CVS patchset: 2215
CVS date: 1998/07/31 20:11:49
1998-07-31 20:11:49 +00:00
jbj
5142bf78e6
Consolidated includes for librpmbuild API.
...
CVS patchset: 2213
CVS date: 1998/07/30 22:09:42
1998-07-30 22:09:42 +00:00
jbj
e4151252f8
Aggregate system includes into system.h.
...
Rearrange functions to minimize exported routines in librpmbuild API.
VS: ----------------------------------------------------------------------
CVS patchset: 2183
CVS date: 1998/07/25 21:00:26
1998-07-25 21:00:26 +00:00
ewt
c81e8aefaa
Must include <sys/tiome.h> before <sys/resource.h> for SunOS
...
CVS patchset: 1653
CVS date: 1997/05/20 17:43:34
1997-05-20 17:43:34 +00:00
ewt
49afbf25a1
Moved includes of miscfn.h to the top.
...
CVS patchset: 1648
CVS date: 1997/05/20 15:57:39
1997-05-20 15:57:39 +00:00
ewt
aeb65017bb
Added more includes of <sys/time.h> and <sys/resource.h> for AIX
...
CVS patchset: 1646
CVS date: 1997/05/20 15:42:27
1997-05-20 15:42:27 +00:00
ewt
a5681a3d0c
Minor cleanups.
...
CVS patchset: 1600
CVS date: 1997/05/07 14:56:06
1997-05-07 14:56:06 +00:00
ewt
b2a7ff43f3
Made messages translatable.
...
CVS patchset: 1578
CVS date: 1997/05/01 15:15:11
1997-05-01 15:15:11 +00:00
ewt
aa64e9fdd7
added more support for broken md5 code
...
CVS patchset: 1503
CVS date: 1997/03/28 17:46:34
1997-03-28 17:46:34 +00:00
ewt
e95e75d71d
use if not ifdef
...
include "misc.h" and "config.h"
CVS patchset: 1315
CVS date: 1997/01/17 16:22:08
1997-01-17 16:22:08 +00:00
ewt
fc92e27c20
use <string.h> not <strings.h>
...
CVS patchset: 1291
CVS date: 1997/01/16 17:22:20
1997-01-16 17:22:20 +00:00
ewt
c3caab7f1f
use doputenv() and dosetenv()
...
CVS patchset: 1252
CVS date: 1996/12/24 14:02:21
1996-12-24 14:02:21 +00:00
ewt
dec77c92e8
use _exit instead of exit in forks
...
CVS patchset: 1233
CVS date: 1996/12/12 03:35:01
1996-12-12 03:35:01 +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
e106025673
use timedRead() instead of read()
...
CVS patchset: 1096
CVS date: 1996/10/15 03:15:30
1996-10-15 03:15:30 +00:00
ewt
eceef60532
don't include paths.h (which isn't used anyway)
...
CVS patchset: 1071
CVS date: 1996/09/29 02:28:42
1996-09-29 02:28:42 +00:00
ewt
88926b82b9
conditionally include <asm/byteorder.h>
...
CVS patchset: 1054
CVS date: 1996/09/25 19:16:34
1996-09-25 19:16:34 +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
ewt
4ed78096b7
uses RPMVAR_TMPPATH
...
CVS patchset: 976
CVS date: 1996/08/20 16:28:40
1996-08-20 16:28:40 +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
f722281aa1
clean up temp file
...
CVS patchset: 790
CVS date: 1996/07/11 23:42:46
1996-07-11 23:42:46 +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
42a5bd5280
remove support for old-new style signatures (never released)
...
CVS patchset: 738
CVS date: 1996/07/07 22:26:31
1996-07-07 22:26:31 +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
1e9ee9f5d5
added stuff for "size" signature
...
CVS patchset: 703
CVS date: 1996/06/28 18:48:34
1996-06-28 18:48:34 +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
dc2a236ff4
handle new sig types
...
always do at least a MD5
CVS patchset: 658
CVS date: 1996/06/20 03:10:44
1996-06-20 03:10:44 +00:00
root
eb5cf89443
remove pu/sec ring stuff, and use PGPPATH properly
...
CVS patchset: 648
CVS date: 1996/06/19 14:29:48
1996-06-19 14:29:48 +00:00
root
f0156ac74c
turn off any default armor
...
CVS patchset: 552
CVS date: 1996/04/29 14:26:01
1996-04-29 14:26:01 +00:00
root
d4a59f62c7
use /var/tmp
...
CVS patchset: 492
CVS date: 1996/03/29 01:26:20
1996-03-29 01:26:20 +00:00
root
8ecf043b19
check for 151 byte sig and try again
...
CVS patchset: 418
CVS date: 1996/02/25 05:05:52
1996-02-25 05:05:52 +00:00
root
7d1e36e5f7
fix return codes
...
CVS patchset: 414
CVS date: 1996/02/23 22:28:59
1996-02-23 22:28:59 +00:00
root
115bc0e288
add debug message
...
CVS patchset: 409
CVS date: 1996/02/23 05:15:13
1996-02-23 05:15:13 +00:00
root
dfb5ed188b
fix return codes for makeSignature()
...
CVS patchset: 390
CVS date: 1996/02/22 01:59:29
1996-02-22 01:59:29 +00:00
root
391abf9b93
check for bad pass phrases
...
CVS patchset: 388
CVS date: 1996/02/22 01:35:00
1996-02-22 01:35:00 +00:00
root
d90c22d3e9
check for bad read in readSignature()
...
CVS patchset: 384
CVS date: 1996/02/21 22:20:37
1996-02-21 22:20:37 +00:00
root
46a977012a
add simple getPassPhrase()
...
CVS patchset: 353
CVS date: 1996/02/20 15:07:02
1996-02-20 15:07:02 +00:00
root
db1590def9
passPhrase is passed as arg
...
start writing getPassPhrase()
CVS patchset: 351
CVS date: 1996/02/20 06:02:32
1996-02-20 06:02:32 +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