Commit Graph

175 Commits

Author SHA1 Message Date
jbj c5406814b8 - force FD_CLOEXEC on 1st 100 inherited fdno's.
CVS patchset: 7125
CVS date: 2004/02/23 00:43:45
2004-02-23 00:43:45 +00:00
jbj 6e15023bd1 - set "rpm_script_t" exec type for scriptlets iff /bin/sh, else default.
CVS patchset: 7123
CVS date: 2004/02/23 00:03:14
2004-02-23 00:03:14 +00:00
jbj e0dc1382c6 - establish rpm_script_t before scriptlet exec.
CVS patchset: 7098
CVS date: 2004/02/16 04:57:25
2004-02-16 04:57:25 +00:00
jbj 78a861c1ea - establish rpm_script_t before scriptlet exec, ignore errors for now.
CVS patchset: 7095
CVS date: 2004/02/16 03:07:48
2004-02-16 03:07:48 +00:00
jbj b106986999 - spelling corrections (#112728).
CVS patchset: 7047
CVS date: 2003/12/30 13:14:49
2003-12-30 13:14:49 +00:00
jbj 51ae7c0fb0 splint fiddles.
CVS patchset: 7030
CVS date: 2003/12/27 02:40:25
2003-12-27 02:40:25 +00:00
jbj 1aefecc638 Move #include "ugid.h" to fsm.c, nuke unused variable in psm.c.
CVS patchset: 7028
CVS date: 2003/12/27 01:54:01
2003-12-27 01:54:01 +00:00
jbj 59f6e1d78f - fix: wrong package count for trigger scriptlet 1st arg (#100509).
- fix: don't break header SHA1 if non-existent user/group (#97727).
- remove fuids/fgids from rpmfi, easier to lookup fuser/fgroup instead.
- merge sensible parts of openpkg rpm.patch.bugfix (#104780).

CVS patchset: 7024
CVS date: 2003/12/27 01:37:56
2003-12-27 01:37:56 +00:00
jbj 32c0cfd728 - fix: escape '+' in regex patterns through RPMMIRE_DEFAULT (#103851).
- RPMMIRE_DEFAULT is overkill, use RPMMIRE_STRCMP instead (#103851).

CVS patchset: 7011
CVS date: 2003/12/26 16:34:52
2003-12-26 16:34:52 +00:00
jbj 9c5529608e - don't use error string after gzclose (Dmitry V. Levin).
Spliddles for rpmio, drill h_errno all the way through.

CVS patchset: 6826
CVS date: 2003/05/08 20:39:29
2003-05-08 20:39:29 +00:00
jbj c243ab099b - resurrect manifests, RPMRC_NOTFOUND returned by readLead().
CVS patchset: 6752
CVS date: 2003/04/16 17:48:04
2003-04-16 17:48:04 +00:00
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 f60ec855de Calibrated stopwatch using rdtsc.
Probes for digest/signature and rpmdb.

CVS patchset: 6734
CVS date: 2003/04/07 12:05:35
2003-04-07 12:05:35 +00:00
jbj 0bb715a528 Accumulate compress/uncompress times.
CVS patchset: 6733
CVS date: 2003/04/04 22:15:58
2003-04-04 22:15:58 +00:00
jbj 5984579078 Use rpmswEnter/rpmswExit throughout.
CVS patchset: 6730
CVS date: 2003/04/02 23:26:06
2003-04-02 23:26:06 +00:00
jbj 95f01d39a5 Splint clean.
CVS patchset: 6729
CVS date: 2003/04/02 21:16:26
2003-04-02 21:16:26 +00:00
jbj d79b053df3 Repair rdtsc stopwatch, use gettimeofday(3) for now.
CVS patchset: 6716
CVS date: 2003/03/25 00:22:23
2003-03-25 00:22:23 +00:00
jbj 97ec1053c9 - unify signal handling in librpmio, use condvar to deliver signal.
CVS patchset: 6707
CVS date: 2003/03/19 16:05:49
2003-03-19 16:05:49 +00:00
jbj 6cb657b9d2 Sanity.
CVS patchset: 6705
CVS date: 2003/03/19 03:00:02
2003-03-19 03:00:02 +00:00
jbj 5fe1914a15 Proof of concept scriptlet queue, single or multi threaded.
CVS patchset: 6699
CVS date: 2003/03/18 02:41:33
2003-03-18 02:41:33 +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 0feab83bbe Sanity.
CVS patchset: 6692
CVS date: 2003/03/15 21:51:11
2003-03-15 21:51:11 +00:00
jbj d5be314063 Sanity.
CVS patchset: 6689
CVS date: 2003/03/14 23:37:25
2003-03-14 23:37:25 +00:00
jbj 51e7f7a5e9 - fix: memory leak (85522).
CVS patchset: 6656
CVS date: 2003/03/06 22:50:04
2003-03-06 22:50:04 +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 7e716b70fb splint fiddles.
CVS patchset: 6023
CVS date: 2003/01/23 20:23:24
2003-01-23 20:23:24 +00:00
jbj d6ea2fbf22 Splint fiddles.
CVS patchset: 6018
CVS date: 2003/01/20 23:52:04
2003-01-20 23:52:04 +00:00
jbj f49f99df00 - duplicate package checks with arch/os checks if colored.
- file conflict checks with colors.

CVS patchset: 6013
CVS date: 2003/01/17 17:43:04
2003-01-17 17:43:04 +00:00
jbj ed80614424 - fix: dependency helpers now rate limited at 10ms, not 1s.
- add per-arch canonical color, only x86_64 enabled for now.

CVS patchset: 5994
CVS date: 2003/01/01 20:33:21
2003-01-01 20:33:21 +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 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 1f6cdca2d5 - add --enable-posixmutexes when configuring on linux.
- add rpmdb_{deadlock,dump,load,svc,stat,verify} utilities.
- include srpm pkgid in binary headers (#71460).
- add %check scriptlet to run after %install (#64137).

CVS patchset: 5957
CVS date: 2002/12/21 20:37:37
2002-12-21 20:37:37 +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 c10d7179bb - popt aliases for -U et al to achieve dynamic link with nptl.
CVS patchset: 5946
CVS date: 2002/12/18 16:18:33
2002-12-18 16:18:33 +00:00
jbj c84e1589b0 - late rpmts reference causes premature free (#78862).
CVS patchset: 5912
CVS date: 2002/12/02 15:04:16
2002-12-02 15:04:16 +00:00
jbj 8e53ee685a - fix: bash must have functional libtermcap.so.2.
CVS patchset: 5850
CVS date: 2002/11/13 18:18:33
2002-11-13 18:18:33 +00:00
jbj 47b8b81468 splint fiddles.
CVS patchset: 5828
CVS date: 2002/11/05 23:08:19
2002-11-05 23:08:19 +00:00
jbj c840ecba35 Resurrect MULTILIB on the build side.
CVS patchset: 5767
CVS date: 2002/10/11 21:35:37
2002-10-11 21:35:37 +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 e7c99cdec3 Typos. pause with signals blocked ain't gonna work.
CVS patchset: 5757
CVS date: 2002/10/07 10:26:43
2002-10-07 10:26:43 +00:00
jbj 868c27220d lclint annotations.
CVS patchset: 5756
CVS date: 2002/10/07 09:05:06
2002-10-07 09:05:06 +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 0ef682d77e - lclint clean.
CVS patchset: 5715
CVS date: 2002/09/17 15:21:03
2002-09-17 15:21:03 +00:00
jbj 77ec71122f - fix: register SIGCHLD handler before forking (#73134).
CVS patchset: 5704
CVS date: 2002/09/04 18:08:12
2002-09-04 18:08:12 +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 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 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 6106bdb359 lclint fiddles.
CVS patchset: 5615
CVS date: 2002/08/08 16:06:13
2002-08-08 16:06:13 +00:00