Commit Graph

49 Commits

Author SHA1 Message Date
jbj 95f01d39a5 Splint clean.
CVS patchset: 6729
CVS date: 2003/04/02 21:16:26
2003-04-02 21:16:26 +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 be48ddd9e2 - fix: typo in assertion.
CVS patchset: 5988
CVS date: 2002/12/30 14:50:33
2002-12-30 14:50:33 +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 c67befa283 splint fiddles.
CVS patchset: 5984
CVS date: 2002/12/29 19:44:18
2002-12-29 19:44:18 +00:00
jbj e4cac6608a - don't segfault with packages produced by rpm-2.93 (#80618).
CVS patchset: 5982
CVS date: 2002/12/29 18:19:19
2002-12-29 18:19:19 +00:00
jbj d7a0ee2ca8 splint fiddles.
CVS patchset: 5980
CVS date: 2002/12/28 23:17:06
2002-12-28 23:17:06 +00:00
jbj e3c423226e Sanity.
CVS patchset: 5960
CVS date: 2002/12/23 20:58:36
2002-12-23 20:58:36 +00:00
jbj bb2c78fdba Splint fiddles.
CVS patchset: 5920
CVS date: 2002/12/07 21:27:09
2002-12-07 21:27:09 +00:00
jbj 704ad49b02 Handle (N,EVR,Flags) Provide:/Require: triple.
CVS patchset: 5918
CVS date: 2002/12/07 05:48:45
2002-12-07 05:48:45 +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 00375ca2bf Remove dbi_tear_down, now that rpmdb's are closed on signals.
lclint fiddles.

CVS patchset: 5596
CVS date: 2002/08/03 22:31:39
2002-08-03 22:31:39 +00:00
jbj c8502fbab5 - update trpm.
- factor all mode-specific options into mode-specific tables.
- treat an unspecified epoch as Epoch: 0 everywhere.

CVS patchset: 5578
CVS date: 2002/07/29 23:06:06
2002-07-29 23:06:06 +00:00
jbj bfb8488c10 - popt: parse file into string of options (#56860).
CVS patchset: 5560
CVS date: 2002/07/20 19:02:40
2002-07-20 19:02:40 +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 d89ce5854d - disambiguate added/installed dependency failures (#50388).
CVS patchset: 5532
CVS date: 2002/06/28 21:54:24
2002-06-28 21:54:24 +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 49658e0fff Annotate incondefs in source code.
CVS patchset: 5509
CVS date: 2002/06/19 18:52:46
2002-06-19 18:52:46 +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 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 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 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 976cf8dec7 Pass ts and args to rpmInstall() and rpmErase().
CVS patchset: 5355
CVS date: 2002/03/13 15:06:07
2002-03-13 15:06:07 +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 b1c03797eb - split file info tag sets into rpmfi.c.
- create toy TFI_t iterators.

CVS patchset: 5179
CVS date: 2001/11/13 19:04:33
2001-11-13 19:04:33 +00:00
jbj 49f98b8dae transaction.c: lclint cleanups.
CVS patchset: 5178
CVS date: 2001/11/12 22:54:39
2001-11-12 22:54:39 +00:00
jbj 21a35690b3 - commit to using rpmDepSet and TFI_t, not header.
- lclint rpmio fiddles.

CVS patchset: 5177
CVS date: 2001/11/12 20:51:05
2001-11-12 20:51:05 +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 b97f1cf32b - common structure elements for unification of TFI_t and rpmFNSet.
CVS patchset: 5173
CVS date: 2001/11/11 12:47:08
2001-11-11 12:47:08 +00:00
jbj 8d08d4a43b Rip headers out of addedPackages.
CVS patchset: 5170
CVS date: 2001/11/11 01:46:43
2001-11-11 01:46:43 +00:00
jbj 0abf36fd4d Rip alGetHeader() out of depends.c.
CVS patchset: 5169
CVS date: 2001/11/11 00:11:33
2001-11-11 00:11:33 +00:00
jbj a086ad7dd1 Start removing alGetHeader.
CVS patchset: 5168
CVS date: 2001/11/10 19:24:19
2001-11-10 19:24:19 +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 eb1789dad7 - no-brainer refcounts for rpmDepSet and rpmFNSet objects.
CVS patchset: 5166
CVS date: 2001/11/09 23:13:50
2001-11-09 23:13:50 +00:00
jbj 978a87ed82 Start deconstructing TFI_t in favor of a per-transactionElement rpmFNSet.
CVS patchset: 5164
CVS date: 2001/11/09 19:22:29
2001-11-09 19:22:29 +00:00
jbj ac15c68ca5 - no-brainer refcounts for rpmProblemSet object.
CVS patchset: 5163
CVS date: 2001/11/09 17:22:08
2001-11-09 17:22:08 +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 0467af9ab5 Remove dead code.
CVS patchset: 5161
CVS date: 2001/11/08 16:28:35
2001-11-08 16:28: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 0724785fb3 Start merging file info into dependency set.
CVS patchset: 5157
CVS date: 2001/11/05 14:09:22
2001-11-05 14:09:22 +00:00
jbj a5a5eed7c4 Start deconstructing availablePackage list.
CVS patchset: 5156
CVS date: 2001/11/05 03:44:05
2001-11-05 03:44:05 +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 4c422570c0 - rpmds: move trigger dependencies into a rpmDepSet as well.
CVS patchset: 5154
CVS date: 2001/11/04 17:00:00
2001-11-04 17:00:00 +00:00
jbj bab3637c98 - rpmds: create dsProblem(), dsiGetDNEVR() retrieved DNEVR, not N.
- depends.h: hack around teIterator() et al from include for now.

CVS patchset: 5153
CVS date: 2001/11/04 15:43:26
2001-11-04 15:43:26 +00:00
jbj 358848088d - depends.c: rpmDepSet is (almost) opaque, move to rpmds.[ch].
CVS patchset: 5152
CVS date: 2001/11/03 02:34:15
2001-11-03 02:34:15 +00:00