rjray [Fri, 10 May 2002 07:38:58 +0000 (07:38 +0000)]
Allow new() to take options like TIEHASH does. Also documents new.
CVS patchset: 5430
CVS date: 2002/05/10 07:38:58
rjray [Fri, 10 May 2002 07:38:21 +0000 (07:38 +0000)]
Some casts to reduce compiler warnings on some systems.
CVS patchset: 5429
CVS date: 2002/05/10 07:38:21
rjray [Fri, 10 May 2002 07:37:08 +0000 (07:37 +0000)]
Changed some safemalloc calls to New/Newz. Put a fix in FIRSTKEY to avoid
getting a null back from the initial tag look-up. Cause DESTROY to free some
memory that was being forgotten. Pulled out all the 3.0 and pre-4.0.3 support
code.
CVS patchset: 5428
CVS date: 2002/05/10 07:37:08
rjray [Fri, 10 May 2002 05:53:48 +0000 (05:53 +0000)]
Turned a macro call that was using safemalloc into a direct call to
Newz. Turned some calls to safefree into Safefree.
CVS patchset: 5427
CVS date: 2002/05/10 05:53:48
rjray [Fri, 10 May 2002 05:50:19 +0000 (05:50 +0000)]
Removed uneeded #define
CVS patchset: 5426
CVS date: 2002/05/10 05:50:19
jbj [Tue, 7 May 2002 14:26:39 +0000 (14:26 +0000)]
Sanity.
CVS patchset: 5425
CVS date: 2002/05/07 14:26:39
jbj [Tue, 7 May 2002 01:07:41 +0000 (01:07 +0000)]
- plug most install mode leaks.
CVS patchset: 5424
CVS date: 2002/05/07 01:07:41
jbj [Mon, 6 May 2002 19:48:14 +0000 (19:48 +0000)]
- rework most of rpmdb.c prepatory to implementing duplicates.
- fix: 2 memory leaks in headerSprintf.
- fix: db mire's access out-of-bounds memory.
CVS patchset: 5423
CVS date: 2002/05/06 19:48:14
jbj [Sun, 5 May 2002 21:49:45 +0000 (21:49 +0000)]
Add mi_key and mi_data to db match iterator.
CVS patchset: 5422
CVS date: 2002/05/05 21:49:45
jbj [Sat, 4 May 2002 20:13:14 +0000 (20:13 +0000)]
Add toy db->associate, db->join, dbcursor->c_pget wrappers.
CVS patchset: 5421
CVS date: 2002/05/04 20:13:14
jbj [Sat, 4 May 2002 16:41:01 +0000 (16:41 +0000)]
Pass dbiGet() flags from application.
CVS patchset: 5420
CVS date: 2002/05/04 16:41:01
jbj [Sat, 4 May 2002 12:55:03 +0000 (12:55 +0000)]
Eliminate another layer of db abstraction, continue eradicating db1.
CVS patchset: 5419
CVS date: 2002/05/04 12:55:03
jbj [Sat, 4 May 2002 00:02:37 +0000 (00:02 +0000)]
Wire key DBT through the API.
CVS patchset: 5418
CVS date: 2002/05/04 00:02:37
jbj [Fri, 3 May 2002 23:26:25 +0000 (23:26 +0000)]
- use DBT_DB_MALLOC to eliminate re-malloc'ing header blobs.
CVS patchset: 5417
CVS date: 2002/05/03 23:26:25
jbj [Fri, 3 May 2002 19:06:03 +0000 (19:06 +0000)]
Sanity.
CVS patchset: 5416
CVS date: 2002/05/03 19:06:03
jbj [Thu, 2 May 2002 23:34:20 +0000 (23:34 +0000)]
- eliminate db1 support.
- enable CDB by default.
CVS patchset: 5415
CVS date: 2002/05/02 23:34:20
jbj [Thu, 2 May 2002 22:16:30 +0000 (22:16 +0000)]
- eliminate db1 support.
- fix: rpmdb iterator memory leak in python bindings.
- fix: include <sys/time.h> for 6.2 python modules.
- remove vestiges of mipseb arch (#62408).
CVS patchset: 5414
CVS date: 2002/05/02 22:16:30
jbj [Wed, 1 May 2002 22:13:00 +0000 (22:13 +0000)]
- 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
jbj [Mon, 15 Apr 2002 13:59:22 +0000 (13:59 +0000)]
Typo.
CVS patchset: 5407
CVS date: 2002/04/15 13:59:22
jbj [Sun, 14 Apr 2002 21:48:44 +0000 (21:48 +0000)]
- use build time to choose one of multiple alternative suggestions.
- add --nosuggests to disable suggested resolutions.
- splint fiddles.
CVS patchset: 5406
CVS date: 2002/04/14 21:48:44
cturner [Sun, 14 Apr 2002 05:13:23 +0000 (05:13 +0000)]
vastly improve test suite; add some new methods; add some documentation; use librpm.la to help determine linker parameters
CVS patchset: 5405
CVS date: 2002/04/14 05:13:23
cturner [Sun, 14 Apr 2002 03:12:14 +0000 (03:12 +0000)]
be smarter about extracting LIBS linker entries
CVS patchset: 5404
CVS date: 2002/04/14 03:12:14
jbj [Sat, 13 Apr 2002 19:01:32 +0000 (19:01 +0000)]
Sanity.
CVS patchset: 5403
CVS date: 2002/04/13 19:01:32
jbj [Sat, 13 Apr 2002 18:52:18 +0000 (18:52 +0000)]
- merge conflicts into problems, handle as transaction set variable.
CVS patchset: 5402
CVS date: 2002/04/13 18:52:18
jbj [Sat, 13 Apr 2002 01:28:20 +0000 (01:28 +0000)]
- use rpmdb-redhat to suggest dependency resolution(s).
CVS patchset: 5401
CVS date: 2002/04/13 01:28:20
rjray [Fri, 12 Apr 2002 22:40:11 +0000 (22:40 +0000)]
Added a command-line option to the "perl Makefile.PL" invocation used for
building the Perl-RPM sub-component. This interacts with changes already made
to Perl-RPM/Makefile.PL.
CVS patchset: 5400
CVS date: 2002/04/12 22:40:11
rjray [Fri, 12 Apr 2002 22:37:34 +0000 (22:37 +0000)]
This change is not 100% complete, as the Makefile is still unable to create a
working rpm specfile on its own. However, it works to allow seamless building
of the extension outside of a full rpm build, and will recognize the
command-line argument that ../rpm.spec will pass to signal a build in the
larger context.
CVS patchset: 5399
CVS date: 2002/04/12 22:37:34
rjray [Fri, 12 Apr 2002 00:16:33 +0000 (00:16 +0000)]
First of two efforts at redefining how multiple packages for one name are
handled. This applies the patch from Gerald Teschl <gt@esi.ac.at> that makes a
multiple match yield the newest, rather than the first one encountered. After
this, I'll try to handle list-context.
CVS patchset: 5398
CVS date: 2002/04/12 00:16:33
rjray [Thu, 11 Apr 2002 23:07:01 +0000 (23:07 +0000)]
Now that rpm 3.0 is no longer supported, the ERR_CHAR_CONST macro is no longer
needed.
CVS patchset: 5397
CVS date: 2002/04/11 23:07:01
rjray [Thu, 11 Apr 2002 23:06:01 +0000 (23:06 +0000)]
Now that rpm 3.0 is no longer supported, the HDR_ITER_CONST macro is no longer
needed.
CVS patchset: 5396
CVS date: 2002/04/11 23:06:01
rjray [Thu, 11 Apr 2002 22:42:08 +0000 (22:42 +0000)]
Removed all the rpm 3.0 support logic #if/#endif blocks. rpm 3.0 is no longer
supported.
CVS patchset: 5395
CVS date: 2002/04/11 22:42:08
rjray [Thu, 11 Apr 2002 22:41:15 +0000 (22:41 +0000)]
Removed all the #if/#endif conditionals for rpm 3.0 compatibility. The rpm 3.0
line is no longer supported.
CVS patchset: 5394
CVS date: 2002/04/11 22:41:15
rjray [Thu, 11 Apr 2002 22:40:20 +0000 (22:40 +0000)]
Removed all the #if/#endif blocks that were for distinguishing 3.0 and 4.0 rpm
lineage. rpm 3.0 is no longer going to be supported.
CVS patchset: 5393
CVS date: 2002/04/11 22:40:20
rjray [Thu, 11 Apr 2002 22:38:07 +0000 (22:38 +0000)]
Switched the order of preference in choosing a package to use as a control for
testing. The kernel package might have more than one instance on the system,
which breaks some of the tests. The rpm package should be OK.
CVS patchset: 5392
CVS date: 2002/04/11 22:38:07
cturner [Thu, 11 Apr 2002 17:10:12 +0000 (17:10 +0000)]
silly test
CVS patchset: 5390
CVS date: 2002/04/11 17:10:12
jbj [Thu, 11 Apr 2002 16:55:19 +0000 (16:55 +0000)]
- rescusitate --rebuild.
CVS patchset: 5389
CVS date: 2002/04/11 16:55:19
jbj [Wed, 10 Apr 2002 22:10:13 +0000 (22:10 +0000)]
Fix: source package already part of the transaction.
CVS patchset: 5388
CVS date: 2002/04/10 22:10:13
jbj [Wed, 10 Apr 2002 20:00:40 +0000 (20:00 +0000)]
- beecrypt: add types.h, eliminate need for config.gnu.h.
CVS patchset: 5386
CVS date: 2002/04/10 20:00:40
jbj [Tue, 9 Apr 2002 21:36:47 +0000 (21:36 +0000)]
Use NEEDED from objdump, not ldd, to auto-generate Requires:.
CVS patchset: 5385
CVS date: 2002/04/09 21:36:47
cturner [Tue, 9 Apr 2002 09:38:12 +0000 (09:38 +0000)]
more churn. more stable. a hint of documentation, but only a hint.
CVS patchset: 5383
CVS date: 2002/04/09 09:38:12
jbj [Mon, 8 Apr 2002 22:52:45 +0000 (22:52 +0000)]
Sanity.
CVS patchset: 5382
CVS date: 2002/04/08 22:52:45
jbj [Mon, 8 Apr 2002 20:09:40 +0000 (20:09 +0000)]
Check {fsm,psm} for orphans.
CVS patchset: 5381
CVS date: 2002/04/08 20:09:40
jbj [Mon, 8 Apr 2002 19:13:35 +0000 (19:13 +0000)]
Check rpm-4.0.4 for orpahns.
CVS patchset: 5380
CVS date: 2002/04/08 19:13:35
jbj [Mon, 8 Apr 2002 18:56:01 +0000 (18:56 +0000)]
doxygen cleanup.
CVS patchset: 5379
CVS date: 2002/04/08 18:56:01
jbj [Sun, 7 Apr 2002 19:52:42 +0000 (19:52 +0000)]
- speedup large queries by ~50%.
- revert to presentation ordering Yet Again (#62158).
- non-glibc: on upgrade, mergesort is much faster than quicksort.
CVS patchset: 5377
CVS date: 2002/04/07 19:52:42
cturner [Sun, 7 Apr 2002 07:22:29 +0000 (07:22 +0000)]
cleanup some memory issues; fix iteration over DB and proper freeing of headers; fix silly refcount trick of db and iterators to be more like the simpler python system
CVS patchset: 5376
CVS date: 2002/04/07 07:22:29
cturner [Sun, 7 Apr 2002 06:45:24 +0000 (06:45 +0000)]
initial import of perl-RPM2
CVS patchset: 5375
CVS date: 2002/04/07 06:45:24
jbj [Sun, 17 Mar 2002 21:13:43 +0000 (21:13 +0000)]
Test program for file name join.
CVS patchset: 5363
CVS date: 2002/03/17 21:13:43
jbj [Sun, 17 Mar 2002 15:49:09 +0000 (15:49 +0000)]
- *really* dump signature header immutable region.
CVS patchset: 5362
CVS date: 2002/03/17 15:49:09
jbj [Sun, 17 Mar 2002 15:46:23 +0000 (15:46 +0000)]
Bail on mmap/rsync fiddles for now.
CVS patchset: 5361
CVS date: 2002/03/17 15:46:23
jbj [Sun, 17 Mar 2002 01:23:32 +0000 (01:23 +0000)]
Conflicts.
CVS patchset: 5360
CVS date: 2002/03/17 01:23:32
jbj [Sat, 16 Mar 2002 19:56:27 +0000 (19:56 +0000)]
Initial revision
CVS patchset: 5359
CVS date: 2002/03/16 19:56:27
jbj [Wed, 13 Mar 2002 20:01:50 +0000 (20:01 +0000)]
Factor notify callback function/arg onto per-ts method.
CVS patchset: 5357
CVS date: 2002/03/13 20:01:50
jbj [Wed, 13 Mar 2002 17:59:49 +0000 (17:59 +0000)]
Split transaction set handling into separate file, prepatory to
devising some toy access methods.
CVS patchset: 5356
CVS date: 2002/03/13 17:59:49
jbj [Wed, 13 Mar 2002 15:06:07 +0000 (15:06 +0000)]
Pass ts and args to rpmInstall() and rpmErase().
CVS patchset: 5355
CVS date: 2002/03/13 15:06:07
jbj [Tue, 12 Mar 2002 21:01:58 +0000 (21:01 +0000)]
Sanity.
CVS patchset: 5354
CVS date: 2002/03/12 21:01:58
jbj [Tue, 12 Mar 2002 20:28:30 +0000 (20:28 +0000)]
- permit --dbpath and --root with signature (i.e. --import) modes.
CVS patchset: 5353
CVS date: 2002/03/12 20:28:30
jbj [Tue, 12 Mar 2002 16:56:17 +0000 (16:56 +0000)]
- 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
jbj [Sun, 10 Mar 2002 19:00:31 +0000 (19:00 +0000)]
- splint annotationsm, signature cleanup.
CVS patchset: 5351
CVS date: 2002/03/10 19:00:31
jbj [Sun, 10 Mar 2002 15:16:57 +0000 (15:16 +0000)]
- make --addsign and --resign behave exactly the same.
CVS patchset: 5350
CVS date: 2002/03/10 15:16:57
jbj [Sat, 9 Mar 2002 19:02:59 +0000 (19:02 +0000)]
Strip CFLAGS passed as argument to db configure.
CVS patchset: 5349
CVS date: 2002/03/09 19:02:59
jbj [Fri, 8 Mar 2002 22:24:58 +0000 (22:24 +0000)]
- wire --nodigest/--nosignature options to checksig/query/verify modes.
CVS patchset: 5348
CVS date: 2002/03/08 22:24:58
jbj [Thu, 7 Mar 2002 22:54:43 +0000 (22:54 +0000)]
- 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
jbj [Thu, 7 Mar 2002 02:17:59 +0000 (02:17 +0000)]
- add header RSA signature (untested).
CVS patchset: 5346
CVS date: 2002/03/07 02:17:59
jbj [Wed, 6 Mar 2002 23:17:31 +0000 (23:17 +0000)]
- add header DSA signature.
CVS patchset: 5345
CVS date: 2002/03/06 23:17:31
jbj [Sun, 3 Mar 2002 23:09:49 +0000 (23:09 +0000)]
- 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
jbj [Thu, 28 Feb 2002 22:08:55 +0000 (22:08 +0000)]
Speed up "w = iv(s) mod q" by eliminating the unnecessary {u,v,t}2
computation.
CVS patchset: 5340
CVS date: 2002/02/28 22:08:55
jbj [Thu, 28 Feb 2002 15:48:39 +0000 (15:48 +0000)]
Use Knuth algorithm Y for computing DSA "w = inv(s) mod q".
CVS patchset: 5339
CVS date: 2002/02/28 15:48:39
jbj [Wed, 27 Feb 2002 21:38:51 +0000 (21:38 +0000)]
Sanity.
CVS patchset: 5338
CVS date: 2002/02/27 21:38:51
jbj [Wed, 27 Feb 2002 14:26:29 +0000 (14:26 +0000)]
Create.
CVS patchset: 5337
CVS date: 2002/02/27 14:26:29
jbj [Mon, 25 Feb 2002 15:29:22 +0000 (15:29 +0000)]
Annotation fiddles.
CVS patchset: 5336
CVS date: 2002/02/25 15:29:22
jbj [Sun, 24 Feb 2002 20:44:36 +0000 (20:44 +0000)]
Synthesize a st_ino field for fts(3) use across FTP.
CVS patchset: 5335
CVS date: 2002/02/24 20:44:36
jbj [Sun, 24 Feb 2002 17:14:33 +0000 (17:14 +0000)]
Auto-detect lvr vendor if /etc/lvr-release (#59897).
CVS patchset: 5334
CVS date: 2002/02/24 17:14:33
jbj [Sat, 23 Feb 2002 21:24:37 +0000 (21:24 +0000)]
fix: opendir(3) et al functional with FTP.
Use GNU extensions to apply glob(3) to ftp:// URL's.
CVS patchset: 5333
CVS date: 2002/02/23 21:24:37
jbj [Fri, 22 Feb 2002 22:52:26 +0000 (22:52 +0000)]
Make peace with lclint for fts.[ch].
CVS patchset: 5332
CVS date: 2002/02/22 22:52:26
jbj [Fri, 22 Feb 2002 17:12:15 +0000 (17:12 +0000)]
tpkgid cleanup.
Recognize GNU extensions in myGlobPatternP(), flag in misc/fnmatch.h, as well.
CVS patchset: 5331
CVS date: 2002/02/22 17:12:15
jbj [Thu, 21 Feb 2002 22:53:30 +0000 (22:53 +0000)]
Add tpkgid.c.
CVS patchset: 5330
CVS date: 2002/02/21 22:53:30
jbj [Thu, 21 Feb 2002 00:30:49 +0000 (00:30 +0000)]
Add pkgid db builder pre-cursor.
CVS patchset: 5329
CVS date: 2002/02/21 00:30:49
jbj [Wed, 20 Feb 2002 22:57:06 +0000 (22:57 +0000)]
Include fts.[ch] in rpmio, APi renamed to Fts_foo.
CVS patchset: 5328
CVS date: 2002/02/20 22:57:06
jbj [Wed, 20 Feb 2002 22:28:00 +0000 (22:28 +0000)]
Add (for portability) copies of fts.{c,h} from glibc-2.2.90-6.
CVS patchset: 5327
CVS date: 2002/02/20 22:28:00
jbj [Wed, 20 Feb 2002 22:09:28 +0000 (22:09 +0000)]
Sanity.
CVS patchset: 5326
CVS date: 2002/02/20 22:09:28
jbj [Wed, 20 Feb 2002 21:00:15 +0000 (21:00 +0000)]
- make peace with automake et al in 8.0, ugh.
- auto-configure with gcj, build javaglue.c.
CVS patchset: 5325
CVS date: 2002/02/20 21:00:15
jbj [Wed, 20 Feb 2002 20:51:20 +0000 (20:51 +0000)]
Autogenerated.
CVS patchset: 5324
CVS date: 2002/02/20 20:51:20
jbj [Sun, 10 Feb 2002 21:13:52 +0000 (21:13 +0000)]
- make peace with automake et al in 8.0, ugh.
CVS patchset: 5314
CVS date: 2002/02/10 21:13:52
jbj [Sun, 10 Feb 2002 19:00:16 +0000 (19:00 +0000)]
- make peace with gcc-3.1, remove compiler cruft.
CVS patchset: 5313
CVS date: 2002/02/10 19:00:16
jbj [Sun, 10 Feb 2002 17:19:28 +0000 (17:19 +0000)]
Sanity.
CVS patchset: 5312
CVS date: 2002/02/10 17:19:28
jbj [Sun, 10 Feb 2002 16:50:06 +0000 (16:50 +0000)]
Flip 4.0.4 devel changes back here.
More splint fiddles.
CVS patchset: 5311
CVS date: 2002/02/10 16:50:06
jbj [Sat, 9 Feb 2002 22:40:52 +0000 (22:40 +0000)]
Don't bother with man page.
CVS patchset: 5310
CVS date: 2002/02/09 22:40:52
jbj [Sat, 9 Feb 2002 22:39:29 +0000 (22:39 +0000)]
Sync with 4.0.4, splint clean.
CVS patchset: 5309
CVS date: 2002/02/09 22:39:29
jbj [Sat, 9 Feb 2002 20:09:59 +0000 (20:09 +0000)]
Ignore built files.
CVS patchset: 5308
CVS date: 2002/02/09 20:09:59
jbj [Sat, 9 Feb 2002 20:08:32 +0000 (20:08 +0000)]
Update to rpm-4.0.x API.
CVS patchset: 5307
CVS date: 2002/02/09 20:08:32
jbj [Sat, 9 Feb 2002 19:21:34 +0000 (19:21 +0000)]
Capture rpm-3.0.3 examples from "Maximum RPM".
CVS patchset: 5306
CVS date: 2002/02/09 19:21:34
jbj [Thu, 7 Feb 2002 16:55:01 +0000 (16:55 +0000)]
Sync with rpm-4.0.4.
CVS patchset: 5303
CVS date: 2002/02/07 16:55:01
jbj [Mon, 4 Feb 2002 23:29:59 +0000 (23:29 +0000)]
- generate index for pkgid (aka Sigmd5) tag, query/verify by pkgid.
- generate index for hdrid (aka Sha1header) tag, query/verify by hdrid.
- generate index for fileid (aka Filemd5s) tag, query/verify by fileid.
- query/verify by install transaction id.
CVS patchset: 5300
CVS date: 2002/02/04 23:29:59
jbj [Mon, 4 Feb 2002 18:07:52 +0000 (18:07 +0000)]
1) added sprintf method to headers
2) added setVerbosity()
CVS patchset: 5298
CVS date: 2002/02/04 18:07:52
jbj [Mon, 4 Feb 2002 16:53:51 +0000 (16:53 +0000)]
rollback changes from 4.0.4.
CVS patchset: 5297
CVS date: 2002/02/04 16:53:51
jbj [Sat, 2 Feb 2002 22:45:41 +0000 (22:45 +0000)]
Sync with rpm-4.0.4 rollbacks.
CVS patchset: 5293
CVS date: 2002/02/02 22:45:41
jbj [Fri, 1 Feb 2002 15:19:44 +0000 (15:19 +0000)]
- permit args to be hidden within %%__find_{requires,provides}.
- a couple more perl.{prov,req} fiddles.
CVS patchset: 5289
CVS date: 2002/02/01 15:19:44
jbj [Wed, 30 Jan 2002 22:19:56 +0000 (22:19 +0000)]
- legacy: configurable whiteout for known Red Hat dependency loops.
- perl.req: don't mis-generate dependencies like perl(::path/to/foo.pl).
CVS patchset: 5286
CVS date: 2002/01/30 22:19:56
jbj [Mon, 28 Jan 2002 16:16:27 +0000 (16:16 +0000)]
popt PAIN, sigh.
CVS patchset: 5283
CVS date: 2002/01/28 16:16:27