jbj [Tue, 4 Jun 2002 15:09:19 +0000 (15:09 +0000)]
Add -I../rpmdb.
CVS patchset: 5463
CVS date: 2002/06/04 15:09:19
jbj [Tue, 4 Jun 2002 15:06:36 +0000 (15:06 +0000)]
Update from "Jaco Greeff" <jaco@puxedo.org>.
CVS patchset: 5462
CVS date: 2002/06/04 15:06:36
jbj [Mon, 3 Jun 2002 23:27:05 +0000 (23:27 +0000)]
Teach doxygen about python/*-py.c files.
Make sure that automake includes the python/test/* files.
CVS patchset: 5461
CVS date: 2002/06/03 23:27:05
jbj [Mon, 3 Jun 2002 20:56:33 +0000 (20:56 +0000)]
- python: include rpmdb module, renamed from bsddb3.
CVS patchset: 5460
CVS date: 2002/06/03 20:56:33
jbj [Mon, 3 Jun 2002 20:44:08 +0000 (20:44 +0000)]
Functional unit tests after renaming bsdddb3 -> rpmdb, _db -> _rpmdb.
CVS patchset: 5459
CVS date: 2002/06/03 20:44:08
jbj [Sun, 2 Jun 2002 20:50:48 +0000 (20:50 +0000)]
Clone an rpmdb module from bsddb3 (rpmdb/*.py need work).
CVS patchset: 5458
CVS date: 2002/06/02 20:50:48
jbj [Sat, 1 Jun 2002 15:48:00 +0000 (15:48 +0000)]
- fix: use getgrnam, not getpwnam, to convert gid -> group.
- fix: avoid sign extension, use only 16 bits, when verifying rdev.
- python: separate {add,del}Macro methods, prepare for macro dictionary.
- i18n: copy current production PO files to top-of-stack.
CVS patchset: 5457
CVS date: 2002/06/01 15:48:00
jbj [Thu, 30 May 2002 15:08:46 +0000 (15:08 +0000)]
Add -I../rpmdb and -I../popt
CVS patchset: 5456
CVS date: 2002/05/30 15:08:46
jbj [Thu, 30 May 2002 15:03:17 +0000 (15:03 +0000)]
Initial revision
CVS patchset: 5454
CVS date: 2002/05/30 15:03:17
jbj [Tue, 28 May 2002 23:06:44 +0000 (23:06 +0000)]
- eliminate legacy db methods, add ts.dbMatch method.
CVS patchset: 5453
CVS date: 2002/05/28 23:06:44
jbj [Tue, 28 May 2002 16:22:42 +0000 (16:22 +0000)]
- add rpmal/rpmte/rpmfd methods to bindings.
- drop cpanflute and cpanflute2, will be in Chip's CPAN package now.
CVS patchset: 5452
CVS date: 2002/05/28 16:22:42
jbj [Mon, 27 May 2002 21:40:08 +0000 (21:40 +0000)]
Add bindings for rpmte and FD_t.
CVS patchset: 5451
CVS date: 2002/05/27 21:40:08
jbj [Mon, 27 May 2002 18:12:12 +0000 (18:12 +0000)]
Add rpmal bindings, Grand Renaming to rpmalFoo().
CVS patchset: 5450
CVS date: 2002/05/27 18:12:12
jbj [Sun, 26 May 2002 18:40:25 +0000 (18:40 +0000)]
- fix: un-resurrect "()(64bit)" markings using objdump on i386.
CVS patchset: 5449
CVS date: 2002/05/26 18:40:25
jbj [Sat, 25 May 2002 17:15:20 +0000 (17:15 +0000)]
- re-enable rpm-python sub-package.
- fix: resurrect "()(64bit)" markings using objdump.
CVS patchset: 5448
CVS date: 2002/05/25 17:15:20
jbj [Thu, 23 May 2002 21:06:42 +0000 (21:06 +0000)]
- add rpmds/rpmfi/rpmts methods to bindings.
CVS patchset: 5447
CVS date: 2002/05/23 21:06:42
jbj [Thu, 23 May 2002 19:42:23 +0000 (19:42 +0000)]
Create rpmts-py.c.
CVS patchset: 5446
CVS date: 2002/05/23 19:42:23
jbj [Thu, 23 May 2002 17:29:21 +0000 (17:29 +0000)]
rpmds and rpmfi iterators, take 0.
CVS patchset: 5445
CVS date: 2002/05/23 17:29:21
jbj [Thu, 23 May 2002 00:49:19 +0000 (00:49 +0000)]
Bind rpmds as class derived from header.
CVS patchset: 5444
CVS date: 2002/05/23 00:49:19
jbj [Tue, 21 May 2002 16:33:33 +0000 (16:33 +0000)]
Enable CDB access as default.
Remove unused int from dbiIndexSet.
CVS patchset: 5443
CVS date: 2002/05/21 16:33:33
jbj [Tue, 21 May 2002 14:56:05 +0000 (14:56 +0000)]
Make sure that db.h symlink is created.
CVS patchset: 5442
CVS date: 2002/05/21 14:56:05
jbj [Tue, 21 May 2002 00:00:39 +0000 (00:00 +0000)]
Always use cursors.
Use DB_KEYLAST with db->c_put for now, just like rpm-4.0.x.
Make sure that db->c_get is done before doing db->c_del.
Check that CDB access is still functional.
CVS patchset: 5441
CVS date: 2002/05/21 00:00:39
jbj [Sun, 19 May 2002 23:37:24 +0000 (23:37 +0000)]
- fix: synthesize unpacking progress callbacks for packages w/o files.
CVS patchset: 5440
CVS date: 2002/05/19 23:37:24
jbj [Sun, 19 May 2002 18:42:25 +0000 (18:42 +0000)]
- Grand Renaming of rpm data types.
CVS patchset: 5439
CVS date: 2002/05/19 18:42:25
jbj [Fri, 17 May 2002 21:08:39 +0000 (21:08 +0000)]
Transactions made increasingly opaque.
CVS patchset: 5438
CVS date: 2002/05/17 21:08:39
jbj [Thu, 16 May 2002 16:55:21 +0000 (16:55 +0000)]
- opaque (well mostly) rpmTransactionSet using methods.
CVS patchset: 5437
CVS date: 2002/05/16 16:55:21
jbj [Mon, 13 May 2002 22:45:30 +0000 (22:45 +0000)]
AIX fiddles (Albert Chin <rpm-list@thewrittenword.com>).
CVS patchset: 5434
CVS date: 2002/05/13 22:45:30
jbj [Mon, 13 May 2002 22:34:25 +0000 (22:34 +0000)]
Eliminate bogus strerror message for manifests.
CVS patchset: 5433
CVS date: 2002/05/13 22:34:25
rjray [Fri, 10 May 2002 08:09:51 +0000 (08:09 +0000)]
Changes for 0.40, and they are many.
CVS patchset: 5432
CVS date: 2002/05/10 08:09:51
rjray [Fri, 10 May 2002 08:04:55 +0000 (08:04 +0000)]
RPM generation now works, mostly due to backing out the changes after
discussing release and distribution plans with the rpm maintainer.
CVS patchset: 5431
CVS date: 2002/05/10 08:04:55
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