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
e5fb770e7d
Add boundsread annotations throughout, enable +bounds checking.
...
Start narrowing the scope of bounds annotations by adding more annotations.
CVS patchset: 5537
CVS date: 2002/07/02 23:54:35
2002-07-02 23:54:35 +00:00
jbj
77076c7c8d
add (disabled for now) dependency check to rpmgraph.
...
splint and gettext fiddles.
CVS patchset: 5536
CVS date: 2002/07/02 13:16:50
2002-07-02 13:16:50 +00:00
jbj
8c4991e9d5
- warn only once for each NOKEY/UNTRUSTED key id.
...
- factor common options into table, add rpmcliInit() and rpmcliFini().
- add preliminary rpmgraph(8) and rpmcache(8) executables to rpm-devel.
CVS patchset: 5535
CVS date: 2002/06/30 22:47:32
2002-06-30 22:47:32 +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
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
076a6e29c5
- opaque (well mostly) rpmTransactionSet using methods.
...
CVS patchset: 5437
CVS date: 2002/05/16 16:55:21
2002-05-16 16:55:21 +00:00
jbj
f9f1064dc0
Eliminate bogus strerror message for manifests.
...
CVS patchset: 5433
CVS date: 2002/05/13 22:34:25
2002-05-13 22:34:25 +00:00
jbj
81c2a9d267
Add toy db->associate, db->join, dbcursor->c_pget wrappers.
...
CVS patchset: 5421
CVS date: 2002/05/04 20:13:14
2002-05-04 20:13:14 +00:00
jbj
46bbc20b32
- use rpmdb-redhat to suggest dependency resolution(s).
...
CVS patchset: 5401
CVS date: 2002/04/13 01:28:20
2002-04-13 01:28:20 +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
d18bbd9bdc
- drill ts/fi through verify mode, add methods to keep fi abstract.
...
- use mmap when calculating file digests on verify, ~20% faster.
CVS patchset: 5352
CVS date: 2002/03/12 16:56:17
2002-03-12 16:56:17 +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
a224782884
- header handling moved to librpmdb to avoid linkage loops.
...
CVS patchset: 5193
CVS date: 2001/11/19 22:45:35
2001-11-19 22:45:35 +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
7402ce1546
- legacy signatures always checked where possible on package read.
...
- wire transactions through rpmcli build modes.
- lazy rpmdb open/close through transaction methods (mostly anyways).
- no-brainer refcounts for rpmdb object.
- check added header against transaction set, replace if newer.
CVS patchset: 5135
CVS date: 2001/10/27 20:09:20
2001-10-27 20:09:20 +00:00
jbj
4a1a5e8148
- wire transactions through rpmcli install/erase modes.
...
- legacy signatures always checked on package read.
CVS patchset: 5134
CVS date: 2001/10/26 04:16:19
2001-10-26 04:16:19 +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
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
9f45bcd3ec
More lclint annotations.
...
CVS patchset: 5116
CVS date: 2001/10/16 14:58:57
2001-10-16 14:58:57 +00:00
jbj
72471f2e54
Explicit branchstate annotations.
...
CVS patchset: 5113
CVS date: 2001/10/15 17:53:34
2001-10-15 17:53:34 +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
4b67d7621c
More lclint annotations.
...
CVS patchset: 5105
CVS date: 2001/10/13 22:01:38
2001-10-13 22:01:38 +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
be9867aa18
- python bindings should not segfault when fed bad data.
...
CVS patchset: 4934
CVS date: 2001/07/11 02:16:16
2001-07-11 02:16:16 +00:00
jbj
eb8db3316d
- finalize per-header methods, accessing headerFoo through vector.
...
CVS patchset: 4880
CVS date: 2001/06/19 16:59:23
2001-06-19 16:59:23 +00:00
jbj
1b87bd9ef7
- remove dead code frpm popt table reorg.
...
- more CLI typedefs/prototypes moved from rpmlib.h to rpmcli.h.
- rpm --verify skips files in non-installed states.
- rpm --verify skips content checks for %ghost files.
- rpm --verify displays config/doc/gnost/license/readme atrrs for files.
- rpm --verify checks immutable header region digest if available.
- rpmbuild adds header region digest (SHA1 as string).
- use rpmTag* typedefs in new hge/hae/hme/hre header vectors.
CVS patchset: 4854
CVS date: 2001/06/12 04:10:21
2001-06-12 04:10:21 +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
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
81ac89f4e6
- more boring lclint annotations and fiddles.
...
CVS patchset: 4725
CVS date: 2001/04/29 22:43:01
2001-04-29 22:43:01 +00:00
jbj
389d253e62
Sync with rpm-4_0 branch.
...
CVS patchset: 4700
CVS date: 2001/04/21 06:02:09
2001-04-21 06:02:09 +00:00
jbj
fc920e3ac3
Update to doxygen-1.2.6 configuration.
...
Add manual files to Doxfile.in.
lclint annotations.
CVS patchset: 4624
CVS date: 2001/03/14 23:09:09
2001-03-14 23:09:09 +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
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
888f65b07d
fix: segfault through python bindings with fd to non-package ( #24089 ).
...
CVS patchset: 4453
CVS date: 2001/01/16 14:10:21
2001-01-16 14:10:21 +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
424793073c
- tsorted packages processed in successor count order.
...
- fix: resurrect --excludepath (#19666 ).
CVS patchset: 4418
CVS date: 2001/01/09 04:07:49
2001-01-09 04:07:49 +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
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
f8b364d7a8
Doxygen annotations.
...
CVS patchset: 4132
CVS date: 2000/08/27 19:27:03
2000-08-27 19:27:03 +00:00
jbj
d919e56b45
doxygen annotations.
...
CVS patchset: 4105
CVS date: 2000/08/23 13:02:13
2000-08-23 13:02:13 +00:00
jbj
721e696edd
Sync with rpm-3.0.5 chnages.
...
CVS patchset: 3958
CVS date: 2000/07/17 00:40:17
2000-07-17 00:40:17 +00:00
jbj
77ea46f6a0
- rip out pre-transaction syscalls, more design is needed.
...
- display rpmlib provides when invoked with --showrc.
- remove (dead) dependency checks on implicitly provided package names.
- remove (dead) rpmdb API code in python bindings.
- remove (legacy) support for version 1 packaging.
- remove (legacy) support for converting gdbm databases.
CVS patchset: 3950
CVS date: 2000/07/15 14:53:54
2000-07-15 14:53:54 +00:00
jbj
835c1caaf3
- mark packaging with version 4 to reflect filename/provide changes.
...
- change next version from 3.1 to 4.0 to reflect package format change.
CVS patchset: 3766
CVS date: 2000/05/30 19:30:28
2000-05-30 19:30:28 +00:00
jbj
a6fc8ecb52
add explcit "Provides: name = [epoch:]version-release" to headers.
...
CVS patchset: 3678
CVS date: 2000/04/13 17:59:10
2000-04-13 17:59:10 +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
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
ewt
f90d8e7415
moved removed of extra UID information from header here from dependency
...
code (why was it ever there?)
CVS patchset: 3373
CVS date: 1999/10/06 22:50:55
1999-10-06 22:50:55 +00:00
ewt
4cfb2f8d63
first steps toward getting compressed file lists to work -- most things
...
are still *horribly* broken
CVS patchset: 3370
CVS date: 1999/10/06 15:51:14
1999-10-06 15:51:14 +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
00dcfeff38
lclint annotations.
...
CVS patchset: 3290
CVS date: 1999/09/17 20:52:46
1999-09-17 20:52:46 +00:00
jbj
f005d4c15c
Fiddles to resurrect lclint.
...
CVS patchset: 3281
CVS date: 1999/09/12 20:43:23
1999-09-12 20:43:23 +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
25e6b06959
add configure scaffolding to support rpm-4.0 packages.
...
CVS patchset: 3136
CVS date: 1999/07/08 22:10:33
1999-07-08 22:10:33 +00:00
jbj
303fa780d3
EGCS cruft.
...
Use cpioStrerror when getNextHeader fails.
More const warnings removed.
binary rpms always have RPMTAG_SOURCERPM, source rpms do not.
CVS patchset: 2682
CVS date: 1999/01/08 16:44:30
1999-01-08 16:44:30 +00:00
ewt
10d3b6d5b6
first pass at new transaction api; basic installing/removing works
...
fine but I wouldn't push it much harder then that
CVS patchset: 2603
CVS date: 1998/12/16 21:58:53
1998-12-16 21:58:53 +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
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
8fa9463826
Sync with 5.2 branch.
...
CVS patchset: 2275
CVS date: 1998/09/04 16:17:46
1998-09-04 16:17:46 +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
4786aaf066
1) header file cleanups
...
2) use new dependency scheme
3) changed " #if" to "# if"
CVS patchset: 2024
CVS date: 1998/03/04 16:52:59
1998-03-04 16:52:59 +00:00
ewt
2c223345d8
implemented most of generic package relocation
...
CVS patchset: 1979
CVS date: 1998/01/28 16:49:43
1998-01-28 16:49:43 +00:00
ewt
af9aba223f
added more i18n strings
...
CVS patchset: 1946
CVS date: 1998/01/09 19:10:54
1998-01-09 19:10:54 +00:00
ewt
306172f600
0 length files are bad only if the files are regular ones -- it may be
...
fine for sockets
CVS patchset: 1916
CVS date: 1998/01/06 03:20:24
1998-01-06 03:20:24 +00:00
ewt
1e318ff6d1
various header file cleanups
...
CVS patchset: 1903
CVS date: 1997/11/18 03:13:56
1997-11-18 03:13:56 +00:00
ewt
002ae63afb
fixed oops
...
CVS patchset: 1893
CVS date: 1997/11/04 15:28:55
1997-11-04 15:28:55 +00:00
ewt
d63fd08403
handle empty files as bad magic, not read errors
...
CVS patchset: 1891
CVS date: 1997/11/03 20:17:45
1997-11-03 20:17:45 +00:00
ewt
3b9ccca76a
need to fabricate user/group name lists for v1 packagse
...
CVS patchset: 1806
CVS date: 1997/08/28 18:41:06
1997-08-28 18:41:06 +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
68b3ca9ea6
cleaned up pkgReadHeader() mechanism
...
CVS patchset: 1167
CVS date: 1996/11/15 20:54:00
1996-11-15 20:54:00 +00:00
ewt
630ac54a73
fixed error message
...
CVS patchset: 1001
CVS date: 1996/08/31 14:59:27
1996-08-31 14:59:27 +00:00
ewt
b72002c101
pkReadHdr() shouldn't fail on minor number differences
...
CVS patchset: 1000
CVS date: 1996/08/31 14:58:53
1996-08-31 14:58:53 +00:00
ewt
148c67febc
pkgReadHeader() optionally returns major/minor version of package
...
CVS patchset: 990
CVS date: 1996/08/29 04:15:54
1996-08-29 04:15:54 +00:00
ewt
85db57fe5d
1) sets arch properly for v1 packages
...
2) assumes all v1 packages were built for OS #1 (Linux)
CVS patchset: 878
CVS date: 1996/07/17 20:01:45
1996-07-17 20:01:45 +00:00
ewt
120170226e
removed debugging message, fixed typo
...
CVS patchset: 872
CVS date: 1996/07/17 14:38:55
1996-07-17 14:38:55 +00:00
ewt
64fcd73d57
check package version numbers for source packages
...
CVS patchset: 775
CVS date: 1996/07/10 19:50:46
1996-07-10 19:50:46 +00:00
root
1f5921a046
new Header-style signatures, HEADER_MAGIC
...
CVS patchset: 735
CVS date: 1996/07/07 22:18:14
1996-07-07 22:18:14 +00:00
ewt
13b145e64b
supports version 3 packages
...
CVS patchset: 683
CVS date: 1996/06/27 18:18:15
1996-06-27 18:18:15 +00:00
ewt
571888e3a2
merged rpmlib.h and package.h
...
CVS patchset: 641
CVS date: 1996/06/17 19:43:55
1996-06-17 19:43:55 +00:00
root
a82bae4fa4
packages with bad headers shouldn't cause an error, just a differnet return
...
code
CVS patchset: 529
CVS date: 1996/04/05 17:36:11
1996-04-05 17:36:11 +00:00
ewt
db3e2a06f8
returns a null header for old style source packages
...
CVS patchset: 499
CVS date: 1996/03/29 19:39:56
1996-03-29 19:39:56 +00:00
ewt
96e602e3ba
fixed bug where a header was freed when it shouldn't have been
...
CVS patchset: 497
CVS date: 1996/03/29 19:25:17
1996-03-29 19:25:17 +00:00
root
c8e2fe70aa
added some debug messages
...
CVS patchset: 462
CVS date: 1996/03/07 16:48:06
1996-03-07 16:48:06 +00:00