jbj
783219a832
fix: prevent segfault if malicious server sends 1 GB of data through ftpNLST.
...
fix: rpmal could segfault under obscure conditions.
Use array, not individual structures, for rpmsw{Enter,Exit} timestamps.
CVS patchset: 6735
CVS date: 2003/04/08 21:42:55
2003-04-08 21:42:55 +00:00
jbj
1f366d6a00
Splint fiddles.
...
CVS patchset: 6728
CVS date: 2003/04/02 19:24:41
2003-04-02 19:24:41 +00:00
jbj
77b724ec99
Create rpmsq, combining rpmdb/psm signal handlers.
...
CVS patchset: 6694
CVS date: 2003/03/16 22:36:52
2003-03-16 22:36:52 +00:00
jbj
97bed5159e
Unchain iterator on NULL return.
...
Don't segfault on --fileclass.
CVS patchset: 6685
CVS date: 2003/03/14 18:11:09
2003-03-14 18:11:09 +00:00
jbj
bcf3c3dde4
Close and free iterators/cursors on signal exit path.
...
CVS patchset: 6681
CVS date: 2003/03/13 12:04:35
2003-03-13 12:04:35 +00:00
jbj
3dade9b6af
- file: fix ogg/vorbis file classification problems.
...
- skip fingerprints in /usr/share/doc and /usr/src/debug.
- add file(1) as /usr/lib/rpm/rpmfile.
- enable transaction coloring for s390x/ppc64.
CVS patchset: 6039
CVS date: 2003/02/14 23:03:35
2003-02-14 23:03:35 +00:00
jbj
8b68faf981
- fix: trap SIGPIPE, close database(s).
...
- configurable default query output format.
CVS patchset: 6034
CVS date: 2003/01/31 22:55:28
2003-01-31 22:55:28 +00:00
jbj
2ca7f5f3b7
fix: restore upgrade functionality with colors.
...
CVS patchset: 5991
CVS date: 2003/01/01 16:54:04
2003-01-01 16:54:04 +00:00
jbj
0ef682d77e
- lclint clean.
...
CVS patchset: 5715
CVS date: 2002/09/17 15:21:03
2002-09-17 15:21:03 +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
9e06e3b8ca
- fix: region trailer offset sanity check wrong ( #71996 ).
...
CVS patchset: 5654
CVS date: 2002/08/22 00:37:21
2002-08-22 00:37:21 +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
46d1fa7527
- fix: add epoch to "already installed" check.
...
CVS patchset: 5650
CVS date: 2002/08/20 14:56:37
2002-08-20 14:56:37 +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
9114d6ffea
- fix: rebuilddb stat'ed target, not source, for rename sanity, take 2.
...
CVS patchset: 5627
CVS date: 2002/08/14 14:48:04
2002-08-14 14:48:04 +00:00
jbj
48a2529ce4
- fix: rebuilddb stat'ed target, not source, for rename sanity.
...
- create /var/lib/rpm if non-existent in, say, a chroot.
- erased packages are now repackaged into /var/spool/repackage.
CVS patchset: 5625
CVS date: 2002/08/13 20:40:32
2002-08-13 20:40:32 +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
6106bdb359
lclint fiddles.
...
CVS patchset: 5615
CVS date: 2002/08/08 16:06:13
2002-08-08 16:06:13 +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
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
d8eaee30df
- preserve rpmdb file attributes across --rebuilddb ( #70367 ).
...
CVS patchset: 5590
CVS date: 2002/08/01 21:20:26
2002-08-01 21:20:26 +00:00
jbj
33e9f2c0d2
- prevent stale locks in __db files by closing databases on signals.
...
CVS patchset: 5583
CVS date: 2002/07/30 21:37:10
2002-07-30 21:37:10 +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
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
6af194ed8e
- add methods to make signature handling opaque wrto rpmts.
...
CVS patchset: 5566
CVS date: 2002/07/21 22:06:19
2002-07-21 22:06:19 +00:00
jbj
293a81e259
- version added to *.la dependency libraries ( #69063 ).
...
- expose digests in rpmio API, but hide internal beecrypt API (#68999 ).
CVS patchset: 5561
CVS date: 2002/07/20 21:07:31
2002-07-20 21:07:31 +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
1bf723fca4
- update for sv.po.
...
CVS patchset: 5545
CVS date: 2002/07/11 21:47:51
2002-07-11 21:47:51 +00:00
jbj
1bbc4b2c37
- fix: repair 2ndary match criteria with rpmdb iterators.
...
CVS patchset: 5544
CVS date: 2002/07/11 16:44:55
2002-07-11 16:44:55 +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
6dca216517
- fix: forgot lazy open of database on --freshen path ( #67907 ).
...
- proof-of-concept rpmcache functionality.
CVS patchset: 5539
CVS date: 2002/07/04 21:08:05
2002-07-04 21:08:05 +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
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
20901c1a62
- beecrypt: merge changes from beecrypt-2.3.0.
...
- beecrypt: merge doxygen markup with rpmapi doco.
- beecrypt: revert cpu/arch compile option mixup (#66752 ).
CVS patchset: 5495
CVS date: 2002/06/15 19:43:41
2002-06-15 19:43:41 +00:00
jbj
93ae345321
- fix: separate existence and number checks for problems found.
...
CVS patchset: 5481
CVS date: 2002/06/12 14:52:59
2002-06-12 14:52:59 +00:00
jbj
4008c689df
Enable CDB access as default.
...
Remove unused int from dbiIndexSet.
CVS patchset: 5443
CVS date: 2002/05/21 16:33:33
2002-05-21 16:33:33 +00:00
jbj
0b61bf1475
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
2002-05-21 00:00:39 +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
e6ba507f77
- 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
2002-05-06 19:48:14 +00:00
jbj
287934f4aa
Add mi_key and mi_data to db match iterator.
...
CVS patchset: 5422
CVS date: 2002/05/05 21:49:45
2002-05-05 21:49:45 +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
40aceb784a
Pass dbiGet() flags from application.
...
CVS patchset: 5420
CVS date: 2002/05/04 16:41:01
2002-05-04 16:41:01 +00:00
jbj
d30a242160
Eliminate another layer of db abstraction, continue eradicating db1.
...
CVS patchset: 5419
CVS date: 2002/05/04 12:55:03
2002-05-04 12:55:03 +00:00
jbj
3abd712fc3
Wire key DBT through the API.
...
CVS patchset: 5418
CVS date: 2002/05/04 00:02:37
2002-05-04 00:02:37 +00:00
jbj
48cd520355
- use DBT_DB_MALLOC to eliminate re-malloc'ing header blobs.
...
CVS patchset: 5417
CVS date: 2002/05/03 23:26:25
2002-05-03 23:26:25 +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
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