Commit Graph

199 Commits

Author SHA1 Message Date
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 126654591c Gettextify output strftime(3) formats (#83611).
CVS patchset: 6731
CVS date: 2003/04/03 00:07:41
2003-04-03 00:07:41 +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 0b8c3f8319 Add benchmark stopwatch, change precision from milli- to micro-secs.
CVS patchset: 6715
CVS date: 2003/03/24 17:25:42
2003-03-24 17:25:42 +00:00
jbj 96cd0c2e28 Make sure that $(RPM_BUILD_ROOT}/usr/lib is 1st libarry searched.
Bump popt version.

CVS patchset: 6710
CVS date: 2003/03/20 23:42:05
2003-03-20 23:42:05 +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 ed1cc2fa03 Sanity.
CVS patchset: 6680
CVS date: 2003/03/12 21:57:50
2003-03-12 21:57:50 +00:00
jbj 521861e744 Don't put newlines in base64 tag, add rpmHeader tag.
CVS patchset: 6679
CVS date: 2003/03/12 13:31:13
2003-03-12 13:31:13 +00:00
jbj 06b2ab0587 - --queryformat '[%{*:xml}\n]' to dump header content in XML.
CVS patchset: 6677
CVS date: 2003/03/12 02:08:20
2003-03-12 02:08:20 +00:00
jbj fc24c6edb4 Use an iterator to hide pattern matching on tag/ext names.
CVS patchset: 6676
CVS date: 2003/03/11 00:51:26
2003-03-11 00:51:26 +00:00
jbj f920058468 - upgrade to zlib-1.2.beta7.
- pass structure pointer, not args, through headerSprintf call chain.
- add ":xml" header format modifier.

CVS patchset: 6675
CVS date: 2003/03/10 23:28:24
2003-03-10 23:28:24 +00:00
jbj b58ca441e6 Minimize ars passed throuch headerSprintf call chain.
CVS patchset: 6670
CVS date: 2003/03/10 14:39:07
2003-03-10 14:39:07 +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 e8cf6cbb05 Sanity.
CVS patchset: 6652
CVS date: 2003/03/05 00:13:11
2003-03-05 00:13:11 +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 3b6005fbd9 oops, get rid of debugging printf's.
destroy nptl functional test mutex/cond iff successful.
initialize getcwd buffer to zero to keep valgrind happy.

CVS patchset: 6035
CVS date: 2003/02/03 11:46:52
2003-02-03 11:46:52 +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 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 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 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 cb4b0b8ce1 - fix :armor query extension, tgpg mktmp handling (#80684).
- use rpmfiClass underneath --fileclass.

CVS patchset: 5985
CVS date: 2002/12/29 22:31:00
2002-12-29 22:31:00 +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 e65f6df216 - error if querying with iterator on different sized arrays.
CVS patchset: 5979
CVS date: 2002/12/28 19:31:21
2002-12-28 19:31:21 +00:00
jbj 5e61b7cae8 - ignore ENOENT return from db->close (#80514,#79314).
CVS patchset: 5977
CVS date: 2002/12/27 19:42:22
2002-12-27 19:42:22 +00:00
jbj 3300e2810e Initialize differently if using rpc access.
CVS patchset: 5972
CVS date: 2002/12/26 17:18:01
2002-12-26 17:18:01 +00:00
jbj fec28fa004 Keep message to 1 line.
CVS patchset: 5967
CVS date: 2002/12/24 07:38:02
2002-12-24 07:38:02 +00:00
jbj e2c12fef0a Check for unshared posix mutexes only on 1st open.
CVS patchset: 5966
CVS date: 2002/12/24 07:33:26
2002-12-24 07:33:26 +00:00
jbj e788b7c1f3 - fix: remove rpmfi scareMem so that headers can be reloaded on ia64.
- fix: set DB_PRIVATE, not DB_ENV_PRIVATE, if unshared posix mutexes.
- remove useless kernel/glibc dependencies (#79872).
- add matching "config(N) = EVR"  dependencies iff %%config is found.

CVS patchset: 5963
CVS date: 2002/12/24 07:21:04
2002-12-24 07:21:04 +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 b63b4a5d12 - simplify specfile query linkage loop.
- drill rpmts into parseSpec(), carrying Spec along.

CVS patchset: 5958
CVS date: 2002/12/22 02:11:05
2002-12-22 02:11:05 +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 ec1cec8763 - error on exclusive Packages fcntl lock if DB_ENV_PRIVATE is set.
CVS patchset: 5953
CVS date: 2002/12/20 18:25:59
2002-12-20 18:25:59 +00:00
jbj 1a49f5b1ac - test pthread_{mutex,cond}attr_setpshared(), add DB_ENV_PRIVATE if not.
CVS patchset: 5952
CVS date: 2002/12/20 16:09:15
2002-12-20 16:09:15 +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 96f4a259b5 - fix: make sure each library has DT_NEEDED for all unresolved syms.
CVS patchset: 5941
CVS date: 2002/12/14 21:39:19
2002-12-14 21:39:19 +00:00
jbj 80b23366e7 - use usrlib_LTLIBRARIES to install directly in /usr/lib64 instead.
CVS patchset: 5911
CVS date: 2002/12/01 21:34:06
2002-12-01 21:34:06 +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 760d3a0c8b More splint fiddles.
CVS patchset: 5908
CVS date: 2002/11/30 22:15:29
2002-11-30 22:15:29 +00:00
jbj 1c023424d7 Correct doxygen-1.2.18 warnings.
CVS patchset: 5875
CVS date: 2002/11/19 15:07:08
2002-11-19 15:07:08 +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 d65517beca - fix: /dev/initctl has not MD5 segfault (#76718).
CVS patchset: 5817
CVS date: 2002/10/25 14:46:49
2002-10-25 14:46:49 +00:00
jbj 4a77efce46 - add debug sub-package patch.
- re-add elfutils/libdwarf (for dwarf.h), eliminate tools/dwarf2.h.

CVS patchset: 5789
CVS date: 2002/10/18 18:45:47
2002-10-18 18:45:47 +00:00
jbj ada36102ab Replace libelf with elfutils.
CVS patchset: 5778
CVS date: 2002/10/15 18:44:16
2002-10-15 18:44:16 +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 40726dd94f Sync with rpm-4.1 parsing changes.
CVS patchset: 5711
CVS date: 2002/09/16 20:10:20
2002-09-16 20:10:20 +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 0c09564b83 - fix: parse header data more carefully.
CVS patchset: 5701
CVS date: 2002/09/04 01:52:26
2002-09-04 01:52:26 +00:00