Commit Graph

349 Commits

Author SHA1 Message Date
jbj 0635d0ad62 Use $(shell ...) in Makefile.am, duh.
CVS patchset: 6002
CVS date: 2003/01/08 22:36:23
2003-01-08 22:36:23 +00:00
jbj 050717618a - python: put rpmmodule.so where python expects to find.
- add brp-strip-static-archive build root policy helper.
- add -lelf to rpm LDFLAGS, not LDADD, since there is no libelf.la now.

CVS patchset: 6001
CVS date: 2003/01/08 21:37:01
2003-01-08 21:37:01 +00:00
jbj 86f5190567 Dump multilib code, colored depndencies instead.
CVS patchset: 5990
CVS date: 2002/12/31 02:12:02
2002-12-31 02:12:02 +00:00
jbj 39cbc98d69 1st crack at colored installs.
CVS patchset: 5989
CVS date: 2002/12/31 01:23:03
2002-12-31 01:23:03 +00:00
jbj 24e9464d2e - use rpmfiFDepends() underneath --fileprovide and --filerequire.
- python: add fi.FColor() and fi.FClass() methods.
- calculate dependency color and refernces.
- python: add ds.Color() and ds.Refs() methods.

CVS patchset: 5987
CVS date: 2002/12/30 02:37:01
2002-12-30 02:37:01 +00:00
jbj 1b8508adc2 - use rpmfiFDepends() underneath --fileprovide/--filerequire.
CVS patchset: 5986
CVS date: 2002/12/30 00:03:53
2002-12-30 00:03:53 +00:00
jbj 98fc9d533c - python: eliminate hash.[ch] and upgrade.[ch], methods too.
CVS patchset: 5983
CVS date: 2002/12/29 19:28:30
2002-12-29 19:28:30 +00:00
jbj 268376a208 Rescusitate doxygen file manifest.
CVS patchset: 5968
CVS date: 2002/12/24 17:06:35
2002-12-24 17:06:35 +00:00
jbj b3bc3cb19d - add --file{class,provide,require} popt aliases and header extensions
CVS patchset: 5947
CVS date: 2002/12/18 22:54:00
2002-12-18 22:54:00 +00:00
jbj d69ad2f4fa - rebuild against glibc with fcntl fixed in libpthread.
- re-enable CDB locking, removing "private" from %%__dbi_cdb macro.

CVS patchset: 5944
CVS date: 2002/12/17 19:22:15
2002-12-17 19:22:15 +00:00
jbj 06ace585a7 Bail on rpmfts_repr() for now.
CVS patchset: 5939
CVS date: 2002/12/13 20:50:14
2002-12-13 20:50:14 +00:00
jbj 8681309f1a Add
PyObject *md_dict;		/*!< to look like PyModuleObject */
to all rpmfoo_Type's.

CVS patchset: 5936
CVS date: 2002/12/12 17:46:22
2002-12-12 17:46:22 +00:00
jbj 78ddb8c876 Sanity.
CVS patchset: 5935
CVS date: 2002/12/11 15:06:17
2002-12-11 15:06:17 +00:00
jbj 513fc078de Add iterators to rpmfts-py.c.
splint fiddles.

CVS patchset: 5933
CVS date: 2002/12/11 03:16:24
2002-12-11 03:16:24 +00:00
jbj 2452c14619 Add rpmfts-py.[ch] bindings for fts(3) from rpmio.
splint fiddles.

CVS patchset: 5932
CVS date: 2002/12/11 00:12:17
2002-12-11 00:12:17 +00:00
jbj fe6043016c Add tp_{init,alloc,new,free} methods to rpmts.
Use PyObject_{New,Del} consistently throughout.

CVS patchset: 5931
CVS date: 2002/12/10 19:46:03
2002-12-10 19:46:03 +00:00
jbj c6dcee8ac6 Add coercions.
CVS patchset: 5928
CVS date: 2002/12/10 16:31:39
2002-12-10 16:31:39 +00:00
jbj 76cf50aa5b Include rpmbc-py.h too.
CVS patchset: 5927
CVS date: 2002/12/09 17:59:03
2002-12-09 17:59:03 +00:00
jbj 971303be3e - don't generate dependencies unless execute bit is set.
- enable internal automagic dependency generation as default.

CVS patchset: 5926
CVS date: 2002/12/09 17:22:55
2002-12-09 17:22:55 +00:00
jbj 1b650d04ab Implement divide and divmod methods.
CVS patchset: 5925
CVS date: 2002/12/08 21:50:36
2002-12-08 21:50:36 +00:00
jbj 0b6941dbb4 Add Debug method, implement obvious functions.
CVS patchset: 5924
CVS date: 2002/12/08 20:57:34
2002-12-08 20:57:34 +00:00
jbj 9e279581d8 Stubs for beecrypt bindings.
CVS patchset: 5923
CVS date: 2002/12/08 19:04:54
2002-12-08 19:04:54 +00:00
jbj 92dee513d2 Finish converting to .splintrc.
CVS patchset: 5919
CVS date: 2002/12/07 19:00:57
2002-12-07 19:00:57 +00:00
jbj a2e69e7622 python: gilding lilies.
CVS patchset: 5915
CVS date: 2002/12/04 02:01:47
2002-12-04 02:01:47 +00:00
jbj 0717d19bb1 Add new rpmte methods.
CVS patchset: 5914
CVS date: 2002/12/03 21:00:38
2002-12-03 21:00:38 +00:00
jbj 0efbbada0f - link rpm libraries together, use shared helpers with external -lelf.
- move libfmagic to librpmio.
- use libtool-1.4.3, autoconf-2.56.
- add explicit -L/lib64 -L/usr/lib64 for libtool mode=relink on x86_64.

CVS patchset: 5910
CVS date: 2002/12/01 18:03:22
2002-12-01 18:03:22 +00:00
jbj 0046c56cf8 - upgrade to elfutils-0.63.
CVS patchset: 5906
CVS date: 2002/11/30 21:07:08
2002-11-30 21:07:08 +00:00
jbj 362d1ae73f - resurrect availablePackages one more time.
CVS patchset: 5871
CVS date: 2002/11/15 21:10:32
2002-11-15 21:10:32 +00:00
jbj 3a6513ab13 Regenerate libltdl autocrap.
CVS patchset: 5841
CVS date: 2002/11/08 22:23:36
2002-11-08 22:23:36 +00:00
jbj cce908ec4a Upgrade to bsddb3 3.4.2, include db-4.1.17 fiddles.
CVS patchset: 5829
CVS date: 2002/11/06 16:46:54
2002-11-06 16:46:54 +00:00
jbj 2782446f1e - python: permit headers to be hashed.
CVS patchset: 5780
CVS date: 2002/10/15 18:52:50
2002-10-15 18:52:50 +00:00
jbj d0ccee051f - fix: use size_t consistently, avoid segfault on ia64.
CVS patchset: 5760
CVS date: 2002/10/09 19:07:43
2002-10-09 19:07:43 +00:00
jbj 0fd303f38a Check for orphan'ed chnages in rpm-4.1.
CVS patchset: 5718
CVS date: 2002/09/19 16:30:25
2002-09-19 16:30:25 +00:00
jbj f19f373a59 - fix: always do rpmalMakeIndex.
- fix: resurrect --triggers (#73330).
- python: typo in NOKEY exception string.

CVS patchset: 5696
CVS date: 2002/09/03 12:23:51
2002-09-03 12:23:51 +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 4914b09624 - python: don't remap NOKEY/UNTRUSTED to OK.
CVS patchset: 5671
CVS date: 2002/08/26 17:42:39
2002-08-26 17:42:39 +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 b6b6612cfa - check for interrupt during iteration.
- python: add ts.setProbFilter() method, remove ts.run() argument.

CVS patchset: 5652
CVS date: 2002/08/20 22:05:18
2002-08-20 22:05:18 +00:00
jbj fb8ced8979 - python: supid typo broke ts.check().
CVS patchset: 5648
CVS date: 2002/08/20 13:39:31
2002-08-20 13:39:31 +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 c7881d8017 - python: explicit method to set transFlags.
- python: stuff package name into a string for repackage callbacks.
- rollback: re-create empty transaction set for multiple rollbacks.
- fix: %%basename typo (Dmitry V. Levin<ldv@altlinux.org>).
- fix: queryformat segfaults (Dmitry V. Levin<ldv@altlinux.org>).

CVS patchset: 5639
CVS date: 2002/08/15 18:50:46
2002-08-15 18:50:46 +00:00
jbj 622e406784 Update to db-4.1.17.
CVS patchset: 5636
CVS date: 2002/08/14 21:35:35
2002-08-14 21:35:35 +00:00
jbj 9b29055f42 - supply transitive closure for CLI packages from rpmdb-redhat database.
CVS patchset: 5624
CVS date: 2002/08/13 16:36:44
2002-08-13 16:36:44 +00:00
jbj 644401875d - python: include instance in IDTXload, filename in IDTXglob, return
- python: argument to ts.addErase (if integer) deletes that instance.
- python: rpmmi methods to return this instance, and number of members.

CVS patchset: 5620
CVS date: 2002/08/09 23:14:10
2002-08-09 23:14:10 +00:00
jbj 7937158c01 - python: add (optional) ts.check() callback.
CVS patchset: 5619
CVS date: 2002/08/09 22:25:04
2002-08-09 22:25:04 +00:00
jbj c961f3f78e - python: add return codes for rollbacks and fooDB methods.
- avoid generating fingerprints for locale/zoneinfo sub-directories.

CVS patchset: 5618
CVS date: 2002/08/08 22:20:26
2002-08-08 22:20:26 +00:00
jbj acfdb7fd57 Remove hdrVerifyFile, unusable as was (#58576).
CVS patchset: 5614
CVS date: 2002/08/07 23:19:10
2002-08-07 23:19:10 +00:00
jbj d0905ecafb - python: bindings to import pubkeys and display openpgp packets.
CVS patchset: 5605
CVS date: 2002/08/06 19:07:37
2002-08-06 19:07:37 +00:00
jbj 035cf961d5 - add bitmask for precise control of signature/digest verification.
CVS patchset: 5604
CVS date: 2002/08/06 01:41:44
2002-08-06 01:41:44 +00:00
jbj 5211039a20 - python: the death of rpmdb-py.[ch], use ts.fooDB() methods instead.
- python: the death of rpm.headerFromPackage(), use ts.hdrFromFdno().
- python: permit direct ts.dbMatch() python iterations.
- python: the death of rpm.checksig(), use ts.hdrFromFdno() instead.

CVS patchset: 5603
CVS date: 2002/08/05 21:46:50
2002-08-05 21:46:50 +00:00
jbj b8656c52ed - python: enable threads on callbacks and longish rpmlib calls.
- python: expose RPMTAG_SOURCEPACKAGE to identify source headers.
- python: eliminate headerFromPackage() tuple return, deprecated.
- python: add ts.hdrFromFdno(fdno) method.

CVS patchset: 5601
CVS date: 2002/08/05 18:40:58
2002-08-05 18:40:58 +00:00
jbj 3a99677e95 - python: bare bones rollback bindings.
CVS patchset: 5600
CVS date: 2002/08/05 16:25:39
2002-08-05 16:25:39 +00:00
jbj de0ff3b553 - resurrect --rollback.
- renumber the callback types to be an orthogonal bit mask.
- provide repackage progress callbacks, compression is slow.

CVS patchset: 5597
CVS date: 2002/08/04 16:55:55
2002-08-04 16:55:55 +00:00
jbj f5c9fd111b - check header blobs on export (i.e. rpmdbAdd())..
- enable iterator header blob checks for install/erase modes.
- python: _vsflags_up2date macro to configure verify signature flags.

CVS patchset: 5595
CVS date: 2002/08/02 21:52:01
2002-08-02 21:52:01 +00:00
jbj 4605223103 - python: methods to disable all new features for benchmarking.
CVS patchset: 5588
CVS date: 2002/08/01 18:37:17
2002-08-01 18:37:17 +00:00
jbj 5a1ebaccd5 - python: don't segfault in ts.GetKeys() on erased packages.
resurrect build modes.
add undocumented debugging options.

CVS patchset: 5577
CVS date: 2002/07/28 14:52:33
2002-07-28 14:52:33 +00:00
jbj 2881b1bb53 - python: remove the old initdb/rebuilddb methods, use ts.fooDB().
- python: 1st crack at backport to 1.5.2.

CVS patchset: 5571
CVS date: 2002/07/25 17:03:11
2002-07-25 17:03:11 +00:00
jbj 81fef98480 - python: add ts.hdrCheck(), ts.rebuildDB() methods.
- python: iterating on an ts object returns transaction elements now.
- add yellowdog as vendor.

CVS patchset: 5570
CVS date: 2002/07/25 00:13:25
2002-07-25 00:13:25 +00:00
jbj ede1f445e0 - verify signatures/digests retrieved through rpmdbNextIterator().
- imbue %ghost with missingok attribute with --verify (#68933).

CVS patchset: 5568
CVS date: 2002/07/24 16:21:23
2002-07-24 16:21:23 +00:00
jbj c499cd119c Remove foo.iter() method, use tp_iter mechanism, for rpmmi/rpmds/rpmfi.
CVS patchset: 5559
CVS date: 2002/07/19 20:26:38
2002-07-19 20:26:38 +00:00
jbj 6c4025a55b up2date functional on rpm-python-4.1 bindings.
CVS patchset: 5558
CVS date: 2002/07/18 21:42:18
2002-07-18 21:42:18 +00:00
jbj 3ea74aa3c7 - python: sanity check fixes on rpmts/rpmte methods.
CVS patchset: 5554
CVS date: 2002/07/14 21:23:29
2002-07-14 21:23:29 +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 5d1dadc96e - python: link internal libelf (if used) directly into rpmmodule.so.
CVS patchset: 5525
CVS date: 2002/06/25 18:43:40
2002-06-25 18:43:40 +00:00
jbj f96fc8d894 - resurrect libelf with Elf64, prelink verify should work everywhere.
autostuff fiddles.

CVS patchset: 5517
CVS date: 2002/06/20 21:53:31
2002-06-20 21:53:31 +00:00
jbj e96eefbe68 Remove autogenerated file.
CVS patchset: 5516
CVS date: 2002/06/20 21:49:33
2002-06-20 21:49:33 +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 db4e72211e Sanity.
CVS patchset: 5477
CVS date: 2002/06/09 22:15:16
2002-06-09 22:15:16 +00:00
jbj 2d53159731 Orphans.
CVS patchset: 5472
CVS date: 2002/06/07 13:26:07
2002-06-07 13:26:07 +00:00
jbj 128357ffba Changes from bsddb3-3.3.4.
CVS patchset: 5471
CVS date: 2002/06/07 13:12:34
2002-06-07 13:12:34 +00:00
jbj 2395582ab0 - python: portability fiddles (#54350).
- check inodes (but not blocks) on FAT file systems (#64256).

CVS patchset: 5465
CVS date: 2002/06/05 20:26:57
2002-06-05 20:26:57 +00:00
jbj bf7fc63baa 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
2002-06-03 23:27:05 +00:00
jbj 9b2ac14866 Functional unit tests after renaming bsdddb3 -> rpmdb, _db -> _rpmdb.
CVS patchset: 5459
CVS date: 2002/06/03 20:44:08
2002-06-03 20:44:08 +00:00
jbj b3308c5f87 Clone an rpmdb module from bsddb3 (rpmdb/*.py need work).
CVS patchset: 5458
CVS date: 2002/06/02 20:50:48
2002-06-02 20:50:48 +00:00
jbj 26db42d8cc - 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
2002-06-01 15:48:00 +00:00
jbj c3ed66c298 - eliminate legacy db methods, add ts.dbMatch method.
CVS patchset: 5453
CVS date: 2002/05/28 23:06:44
2002-05-28 23:06:44 +00:00
jbj 3b63310674 - 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
2002-05-28 16:22:42 +00:00
jbj 23bbe266cc Add bindings for rpmte and FD_t.
CVS patchset: 5451
CVS date: 2002/05/27 21:40:08
2002-05-27 21:40:08 +00:00
jbj 259bb824cc Add rpmal bindings, Grand Renaming to rpmalFoo().
CVS patchset: 5450
CVS date: 2002/05/27 18:12:12
2002-05-27 18:12:12 +00:00
jbj 3067a2c91d - re-enable rpm-python sub-package.
- fix: resurrect "()(64bit)" markings using objdump.

CVS patchset: 5448
CVS date: 2002/05/25 17:15:20
2002-05-25 17:15:20 +00:00
jbj 4f1bba10aa - add rpmds/rpmfi/rpmts methods to bindings.
CVS patchset: 5447
CVS date: 2002/05/23 21:06:42
2002-05-23 21:06:42 +00:00
jbj aeb8ed2318 Create rpmts-py.c.
CVS patchset: 5446
CVS date: 2002/05/23 19:42:23
2002-05-23 19:42:23 +00:00
jbj ed2765de23 rpmds and rpmfi iterators, take 0.
CVS patchset: 5445
CVS date: 2002/05/23 17:29:21
2002-05-23 17:29:21 +00:00
jbj 0f0184d17f Bind rpmds as class derived from header.
CVS patchset: 5444
CVS date: 2002/05/23 00:49:19
2002-05-23 00:49:19 +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 38385c8d63 Transactions made increasingly opaque.
CVS patchset: 5438
CVS date: 2002/05/17 21:08:39
2002-05-17 21:08:39 +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 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 2b83d36c08 - 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
2002-05-02 22:16:30 +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 b463db44dc - 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
2002-04-14 21:48:44 +00:00
jbj e3c57cf71e - merge conflicts into problems, handle as transaction set variable.
CVS patchset: 5402
CVS date: 2002/04/13 18:52:18
2002-04-13 18:52:18 +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 b45c27e2ab doxygen cleanup.
CVS patchset: 5379
CVS date: 2002/04/08 18:56:01
2002-04-08 18:56:01 +00:00
jbj ffdfd1056e - 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
2002-04-07 19:52:42 +00:00
jbj c1d98e55b2 - *really* dump signature header immutable region.
CVS patchset: 5362
CVS date: 2002/03/17 15:49:09
2002-03-17 15:49:09 +00:00
jbj 54945a10c1 Factor notify callback function/arg onto per-ts method.
CVS patchset: 5357
CVS date: 2002/03/13 20:01:50
2002-03-13 20:01:50 +00:00
jbj 865ec50f94 - permit --dbpath and --root with signature (i.e. --import) modes.
CVS patchset: 5353
CVS date: 2002/03/12 20:28:30
2002-03-12 20:28:30 +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 09f274515f - make peace with automake et al in 8.0, ugh.
CVS patchset: 5314
CVS date: 2002/02/10 21:13:52
2002-02-10 21:13:52 +00:00
jbj 30b9428ce0 - make peace with gcc-3.1, remove compiler cruft.
CVS patchset: 5313
CVS date: 2002/02/10 19:00:16
2002-02-10 19:00:16 +00:00
jbj 14bdb24e99 1) added sprintf method to headers
2) added setVerbosity()

CVS patchset: 5298
CVS date: 2002/02/04 18:07:52
2002-02-04 18:07:52 +00:00
jbj 0776a0c425 - autodetect python 1.5/2.2.
CVS patchset: 5242
CVS date: 2002/01/07 20:01:00
2002-01-07 20:01:00 +00:00
jbj e98018b4d8 - fix a couple dinky memory leaks.
- build with an internal zlib for now.

CVS patchset: 5207
CVS date: 2001/11/23 15:49:11
2001-11-23 15:49:11 +00:00
jbj ceed8357c7 - convert file md5sum's to binary on the fly, reducing memory footprint.
CVS patchset: 5192
CVS date: 2001/11/18 17:49:21
2001-11-18 17:49:21 +00:00
jbj 55ffccbdde - unify rpmFNSet into TFI_t.
- eliminate header reference in rpmtransAddPackage, use TFI_t data.

CVS patchset: 5176
CVS date: 2001/11/11 22:51:00
2001-11-11 22:51:00 +00:00
jbj 1eb0503123 Replace loadFi with fiNew, freeFi with fiFree.
CVS patchset: 5175
CVS date: 2001/11/11 20:45:20
2001-11-11 20:45:20 +00:00
jbj 431499aeca - strip header tags for erased as well as installed transactionElements.
CVS patchset: 5167
CVS date: 2001/11/10 01:39:50
2001-11-10 01:39:50 +00:00
jbj eb10f05b85 - rip out rpmDependencyConflict, replace with rpmProblem instead.
CVS patchset: 5162
CVS date: 2001/11/08 22:04:35
2001-11-08 22:04:35 +00:00
jbj ae2e9b1bad - linear search on added package provides is dumb.
- discarding entire signature header when using --addsign is dumb.
- typedef the fuile name/python object "key" throughout as fnpyKey.
- start ripping rpmDependencyConflict out of the API.

CVS patchset: 5160
CVS date: 2001/11/08 00:12:49
2001-11-08 00:12:49 +00:00
jbj e680cce3e8 - fix: harmless typo in db3 chroot hack.
- fix: big-endian's with sizeof(time_t) != sizeof(int_32) mtime broken.
- fix: add Korean message catalogs (#54473).
- add RPHNPLATFORM and PLATFORM tags.
- linear search on added package provides is dumb.
- discarding entire signature header when using --addsign is dumb.

CVS patchset: 5159
CVS date: 2001/11/06 22:46:26
2001-11-06 22:46:26 +00:00
jbj 37a303a3a7 - rpmal: availablePackage is totally opaque, alKey with index replaces.
CVS patchset: 5155
CVS date: 2001/11/04 22:00:11
2001-11-04 22:00:11 +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 cdeb78fb1a - wire transactions through rpmcli query/verify modes.
CVS patchset: 5132
CVS date: 2001/10/24 13:48:55
2001-10-24 13:48:55 +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 01baa77546 Orphans.
CVS patchset: 5129
CVS date: 2001/10/21 21:48:23
2001-10-21 21:48:23 +00:00
jbj ca1d809cb1 Rewire digests, step 2.
CVS patchset: 5122
CVS date: 2001/10/19 01:35:57
2001-10-19 01:35:57 +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 da9b21485c Sync with rpm-4_0 branch.
CVS patchset: 5048
CVS date: 2001/09/15 13:49:11
2001-09-15 13:49:11 +00:00
jbj 46713343fb - dependency whiteout for libgnomeprint -> gnome-print (ordering only).
- dependency whiteout for nautilus -> nautilus-mozilla (ordering only).

CVS patchset: 5035
CVS date: 2001/08/28 20:33:06
2001-08-28 20:33:06 +00:00
jbj 64a1d1afdc - fix: error message on failed package installs resurrected.
- python: memory leaks in headerLoad/headerunload bindings.
- python: retrofit sha1 digest using RPMTAG_SHA1RHN.
- python: change rhnUnload bindings.

CVS patchset: 5032
CVS date: 2001/08/27 18:39:17
2001-08-27 18:39:17 +00:00
jbj 3b6b341a44 - python: add exception to detect bad data in hdrUnload.
- change dir creation message from warning to debug for now.

CVS patchset: 5017
CVS date: 2001/08/16 18:49:07
2001-08-16 18:49:07 +00:00
jbj e42f1fd967 - always use dl size in regionSwab() return.
- ppc: revert ppcmac to ppc.
- ppc: autoconf test for va_copy.

CVS patchset: 5015
CVS date: 2001/08/15 14:03:03
2001-08-15 14:03:03 +00:00
jbj e699b8fab3 - portability: some compilers squawk at return ((void) foo()) (#50419).
- remove fdFileno() from librpmio, use inline version instead (#50420).
- fix: linux find-requires needs quotes around [:blank:].
- remove /var/lib/rpm/__db* cache files if %__dbi_cdb is not configured.
- python: add hiesenbug patch.

CVS patchset: 5005
CVS date: 2001/08/06 11:27:27
2001-08-06 11:27:27 +00:00
jbj 682c9534ad - fix: autoconf glob tests (#50845).
CVS patchset: 5003
CVS date: 2001/08/04 16:18:58
2001-08-04 16:18:58 +00:00
jbj 1a5a027bcc - add support for mips (#49283).
- add __as, _build_arch, and __cxx macros (#36662, #36663, #49280).
- detailed build package error messages.

CVS patchset: 4996
CVS date: 2001/07/31 18:13:22
2001-07-31 18:13:22 +00:00
jbj 7723beeaf4 - add sha1 test vectors, verify on ix86/alpha/sparc.
- add (but disable for now) rpm-perl subpackage from Perl-RPM.
- python: parameterize with PYVER to handle 1.5 and/or 2.1 builds.
- add build dependency on zlib-devel (#49575).

CVS patchset: 4969
CVS date: 2001/07/21 19:44:22
2001-07-21 19:44:22 +00:00
jbj 74ce2b5c67 Patch from <misa@redhat.com>.
CVS patchset: 4965
CVS date: 2001/07/20 17:09:08
2001-07-20 17:09:08 +00:00
jbj fe5362ef80 - python: "seal" immutable region for legacy headers in rhnUnload() .
- python: add poptmodule.so bindings.

CVS patchset: 4951
CVS date: 2001/07/17 20:01:46
2001-07-17 20:01:46 +00:00
jbj bad8c7a9b2 - fix: _smp_flags macro broken.
- python: bind rhnUnload differently.
- fix: rescusitate --querytags.
- fix: short aliases broken (#49213).

CVS patchset: 4949
CVS date: 2001/07/17 03:03:14
2001-07-17 03:03:14 +00:00
jbj f440f450d9 - python: rhnLoad/rhnUnload to check header digest.
CVS patchset: 4928
CVS date: 2001/07/08 21:30:35
2001-07-08 21:30:35 +00:00
jbj 34f1d51251 Orphans.
CVS patchset: 4925
CVS date: 2001/07/07 19:37:52
2001-07-07 19:37:52 +00:00
jbj 134a8a85c2 - popthelp.c: don't use stpcpy to avoid portability grief (#47500).
- permit alias/exec description/arg text to be set from popt config.
- use rpmqv.c, not rpm.c, as rpm's main() routine.

CVS patchset: 4923
CVS date: 2001/07/07 19:15:17
2001-07-07 19:15:17 +00:00
jbj 3e219ad91a - fix: sanity checks on #tags (<65K) and offset (<16Mb) in header.
- fix: add -r to useradd to prevent /etc/skel glop (#46215).
- fix: disambiguate typedef and struct name(s) for kpackage.

CVS patchset: 4908
CVS date: 2001/06/28 22:19:08
2001-06-28 22:19:08 +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 c0ef3c810f - linux.req needs exit 0
CVS patchset: 4868
CVS date: 2001/06/15 21:52:47
2001-06-15 21:52:47 +00:00
jbj 7233e3ad73 - remove rpmrc Provides: Yet Again, use virtual packages.
- dump cursor debugging wrappers.
- rpm --verify can disable rpmFileAttr checks.

CVS patchset: 4856
CVS date: 2001/06/12 17:06:47
2001-06-12 17:06:47 +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 03f5273901 - fix: QUERY_FOR_LIST file count clobbered.
- create top level rpmcli API, factor top level modes into popt tables.
- popt: add POPT_BIT_SET/POPT_BIT_CLR to API.
- autogen.sh checks for latest libtool-1.4 and automake-1.4-p2.
- rpm --verify reports failure(s) if corresponding tag is not in header.
- rpm --verify honors %config(missingok), add -v for legacy behavior.

CVS patchset: 4852
CVS date: 2001/06/08 20:45:59
2001-06-08 20:45:59 +00:00
jbj f0a67ca8b0 - permit duplicates for btree indices.
CVS patchset: 4843
CVS date: 2001/06/06 12:36:31
2001-06-06 12:36:31 +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 f8b347a38a lclint annotations.
CVS patchset: 4821
CVS date: 2001/05/31 19:02:55
2001-05-31 19:02:55 +00:00
jbj 61cd63ab8e - eliminate db-1.85 and db-2.x configuration.
- fix: popt arg sanity checks broken, optarg != optArg.
- fix: popt range checks on floats/doubles broken.
- popt: return POPT_ERROR_ERRNO on config open/read/close failure.

CVS patchset: 4815
CVS date: 2001/05/29 15:03:35
2001-05-29 15:03:35 +00:00
jbj 3c563d2118 - upgrade to db-3.3.4.
CVS patchset: 4787
CVS date: 2001/05/14 20:12:10
2001-05-14 20:12:10 +00:00