Commit Graph

1208 Commits

Author SHA1 Message Date
jbj 6ac07ef374 - simple automake wrapper for zlib.
CVS patchset: 5230
CVS date: 2001/12/27 21:04:37
2001-12-27 21:04:37 +00:00
jbj a3b362c466 - solaris: translate i86pc to i386 (#57182).
- fix: %GNUconfigure breaks with single quotes (#57264).
- fix: typo in find-requires.
- tru64 compiler message cleanup.
- add buildarch lines for hppa (#57728).

CVS patchset: 5228
CVS date: 2001/12/20 16:28:46
2001-12-20 16:28:46 +00:00
jbj 85f676ed66 - lclint-3.0.0.19 fiddles.
CVS patchset: 5217
CVS date: 2001/12/08 17:21:36
2001-12-08 17:21:36 +00:00
jbj 5a0508d51f - 3 madvise calls and a 16Mb mmapped buffer == ~5% install speedup. Wow.
- use db-4.0.14 final internally.

CVS patchset: 5215
CVS date: 2001/12/06 18:34:49
2001-12-06 18:34:49 +00:00
jbj 82a945940d - protect brp-compress against /bin/ls output ambiguity (#56656,#56336).
CVS patchset: 5208
CVS date: 2001/11/24 15:36:50
2001-11-24 15:36:50 +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 a224782884 - header handling moved to librpmdb to avoid linkage loops.
CVS patchset: 5193
CVS date: 2001/11/19 22:45:35
2001-11-19 22:45:35 +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 aaaf5f8e31 - use TR_REMOVED relations as well as TR_ADDED for ordering.
- drop requirement that removed packages immediately follow added.
- hybrid chainsaw/presentation ordering algorithm.

CVS patchset: 5190
CVS date: 2001/11/17 20:44:16
2001-11-17 20:44:16 +00:00
jbj 945d5a740c - methods to complete making transactionElement opaque.
CVS patchset: 5189
CVS date: 2001/11/17 08:02:17
2001-11-17 08:02:17 +00:00
jbj 7d44f13395 - use array of pointers rather than contiguous array for ts->order.
CVS patchset: 5186
CVS date: 2001/11/16 22:42:19
2001-11-16 22:42:19 +00:00
jbj 2bc3326438 - annotations to make a transactionElement opaque.
CVS patchset: 5184
CVS date: 2001/11/16 19:26:33
2001-11-16 19:26:33 +00:00
jbj 7f1fd8aabc - transaction.c: use wrappers/iterators to access TFI_t.
CVS patchset: 5182
CVS date: 2001/11/16 00:26:30
2001-11-16 00:26:30 +00:00
jbj 846ed75f9b - tweak overlapped file fingerprint retrieval for speed.
CVS patchset: 5181
CVS date: 2001/11/15 18:22:33
2001-11-15 18:22:33 +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 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 ac9f0fea03 - factor per-transactionElement data out of TFI_t through pointer ref.
CVS patchset: 5174
CVS date: 2001/11/11 16:17:57
2001-11-11 16:17:57 +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 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 56a319f1aa - header tag sets are per-transactionElement, not per-availablePackage.
CVS patchset: 5165
CVS date: 2001/11/09 20:41:18
2001-11-09 20:41:18 +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 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 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
jbj 95555cf3d4 - rpmRangesOverlap renamed to dsCompare, add dsNotify method as well.
CVS patchset: 5151
CVS date: 2001/11/02 23:17:54
2001-11-02 23:17:54 +00:00
jbj b9520f3a94 - create toy rpmDepSet iterators.
CVS patchset: 5150
CVS date: 2001/11/02 21:01:25
2001-11-02 21:01:25 +00:00
jbj 973638fdc2 - create rpmDepSet constructors/destructors.
CVS patchset: 5149
CVS date: 2001/11/02 05:36:48
2001-11-02 05:36:48 +00:00
jbj 86fee19060 - invent some toy transactionElement iterators.
CVS patchset: 5148
CVS date: 2001/11/02 03:13:35
2001-11-02 03:13:35 +00:00
jbj b0e16172c3 - depends.c: availablePackage is (almost) opaque.
CVS patchset: 5147
CVS date: 2001/11/01 23:18:15
2001-11-01 23:18:15 +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 9ea554f799 - transaction.c: cleanly uncouple availablePackage from TFI_t.
CVS patchset: 5142
CVS date: 2001/10/30 18:00:21
2001-10-30 18:00:21 +00:00
jbj bdae587b2e - add some dinky availablePackage methods.
CVS patchset: 5141
CVS date: 2001/10/29 23:39:51
2001-10-29 23:39:51 +00:00
jbj e62f50c8a5 - start hiding availablePackage data/methods in rpmal.c/rpmal.h.
CVS patchset: 5140
CVS date: 2001/10/29 20:12:35
2001-10-29 20:12:35 +00:00
jbj 966fabbc44 - memory indices for dependency check are typedef'd and abstract'd.
- no-brainer refcounts for fi object, debug the mess.
- dump the header early in transaction, recreate fi before installing.

CVS patchset: 5137
CVS date: 2001/10/28 22:17:47
2001-10-28 22:17:47 +00:00
jbj c1d367a094 - transaction sets cerated in cli main.
- no-brainer refcounts for ts object.

CVS patchset: 5136
CVS date: 2001/10/27 22:31:10
2001-10-27 22:31: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 72f92dd744 - wire transactions through rpmcli signature modes.
CVS patchset: 5131
CVS date: 2001/10/23 20:52:51
2001-10-23 20:52:51 +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 1ad22a0bc4 - all symbols but hdrVec are now forward references in linkage.
CVS patchset: 5128
CVS date: 2001/10/21 21:43:32
2001-10-21 21:43:32 +00:00
jbj d5dd3dfbc6 - stupid macros to configure public key file paths.
CVS patchset: 5127
CVS date: 2001/10/20 22:31:09
2001-10-20 22:31:09 +00:00
jbj 00a348f332 - add :base64 and :armor format extensions, dump binary tags in hex.
- proof-of-concept pubkey retrieval from RPM-{PGP,GPG}-KEY.

CVS patchset: 5126
CVS date: 2001/10/20 20:28:56
2001-10-20 20:28:56 +00:00
jbj e2dfa4f2d4 - beecrypt is at least as good as pgp/gpg on verify, pull the plug.
CVS patchset: 5124
CVS date: 2001/10/19 19:51:18
2001-10-19 19:51:18 +00:00
jbj cafccc0058 - use only header methods, routines are now static.
CVS patchset: 5115
CVS date: 2001/10/15 21:07:08
2001-10-15 21:07:08 +00:00
jbj 3f462f318f - upgrade to db-4.0.7.
CVS patchset: 5112
CVS date: 2001/10/15 04:22:09
2001-10-15 04:22:09 +00:00
jbj 525f4cb8b1 - ratchet up to lclint "strict" level.
CVS patchset: 5104
CVS date: 2001/10/13 19:35:58
2001-10-13 19:35:58 +00:00
jbj 2d312d19c1 - proof-of-concept PGP/RSA verification for legacy signatures.
CVS patchset: 5103
CVS date: 2001/10/11 21:31:56
2001-10-11 21:31:56 +00:00
jbj 61b8964fb9 - upgrade to beecrypt-2.2.0pre.
CVS patchset: 5102
CVS date: 2001/10/08 16:12:33
2001-10-08 16:12:33 +00:00
jbj 71dff1a731 - proof-of-concept GPG/DSA verification for legacy signatures.
CVS patchset: 5097
CVS date: 2001/10/05 20:39:50
2001-10-05 20:39:50 +00:00
jbj b7c25b0bef - create RFC-2440 OpenPGP API in rpmio.
- display signature packets before exec'ing gpg/pgp when verifying.

CVS patchset: 5090
CVS date: 2001/09/29 17:44:45
2001-09-29 17:44:45 +00:00
jbj 90fb17b356 - bind beecrypt md5/sha1 underneath rpmio.
CVS patchset: 5083
CVS date: 2001/09/26 14:45:50
2001-09-26 14:45:50 +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 2a420b223d - drop rpmio/base64.[ch] in favor of beecrypt versions.
CVS patchset: 5079
CVS date: 2001/09/25 14:03:27
2001-09-25 14:03:27 +00:00
jbj 85d220be23 - Start rpm-4.1.
- Loosely wire beecrypt library into rpm.

CVS patchset: 5078
CVS date: 2001/09/25 03:03:23
2001-09-25 03:03:23 +00:00
jbj 1eef0782f6 - lclint-3.0.0.15 fiddles.
CVS patchset: 5067
CVS date: 2001/09/21 15:07:11
2001-09-21 15:07:11 +00:00
jbj 38edc49452 - close/discard Depends index after rpmdepCheck() use.
CVS patchset: 5049
CVS date: 2001/09/15 21:21:31
2001-09-15 21:21:31 +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 2b23209fce - fix: Provides: /path did not work with added packages (#52183).
- fix: progress bar scaling did not include source rpm count.

CVS patchset: 5038
CVS date: 2001/08/31 14:02:13
2001-08-31 14:02:13 +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 5994a308bc - within a region, entries sort by address; added drips sort by tag.
CVS patchset: 5028
CVS date: 2001/08/25 01:54:58
2001-08-25 01:54:58 +00:00
jbj a0ebbe5925 - headers without RPMTAG_NAME are skipped when retrieved.
CVS patchset: 5025
CVS date: 2001/08/24 17:55:08
2001-08-24 17:55:08 +00:00
jbj 507f3400be - verify perms (but not mode) on %ghost files.
CVS patchset: 5019
CVS date: 2001/08/17 19:38:06
2001-08-17 19:38:06 +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 a36acaf3b8 - fix: segfault on headerFree given malicious data.
- fix: don't verify hash page nelem.
- better error messages for verification failures.
- include directory /usr/lib/rpm in rpm package.

CVS patchset: 5013
CVS date: 2001/08/13 16:39:14
2001-08-13 16:39:14 +00:00
jbj 8f2315934d - add -D_REENTRANT (note rpmlib is still not thread safe).
CVS patchset: 5009
CVS date: 2001/08/09 02:53:26
2001-08-09 02:53:26 +00:00
jbj 46cc804f36 - add legacy (compile only) wrappers for fdFileno et al.
CVS patchset: 5007
CVS date: 2001/08/08 18:13:06
2001-08-08 18:13:06 +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 46d2e8bbd8 - fix: i18n tags not terminated correctly with NUL (#50304).
- add explicit casts to work around a s390 compiler problem.

CVS patchset: 4998
CVS date: 2001/08/03 05:04:13
2001-08-03 05:04:13 +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 c6fba63aca - fix: --noscripts is another multimode option.
- add tmpdir to configure db3 tmpdir into chroot tree.
- permit lazy db opens within chroot.
- fix: diddle dbenv path to accomodate backing store reopen in chroot.

CVS patchset: 4990
CVS date: 2001/07/28 00:33:07
2001-07-28 00:33:07 +00:00
jbj 03e498c64e - fix: don't segfault when presented with rpm-2.4.10 packaging (#49688).
CVS patchset: 4987
CVS date: 2001/07/24 20:39:19
2001-07-24 20:39:19 +00:00
jbj 085e3275d2 - rename pmac to ppcmac.
- ia64: revert -O0 compilation.
- upgrade to db-3.3.11 final.

CVS patchset: 4984
CVS date: 2001/07/24 02:52:52
2001-07-24 02:52:52 +00:00
jbj 2aec992c9d - add pmac/ppciseries/ppcpseries varieties to ppc arch family.
- include tdigest.c tkey.c and trpmio.c to "make dist".
- re-enable dependency resolution source from package NVR.

CVS patchset: 4973
CVS date: 2001/07/23 16:02:27
2001-07-23 16:02:27 +00:00
jbj a66e1f6a92 - enable rpm-perl subpackage.
CVS patchset: 4971
CVS date: 2001/07/22 12:38:28
2001-07-22 12:38:28 +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 46ded46118 - fix: yet another segfault from bad metadata prevented.
CVS patchset: 4962
CVS date: 2001/07/20 16:41:09
2001-07-20 16:41:09 +00:00
jbj 3a2ddf1551 - fix: 4 memory leaks eliminated.
CVS patchset: 4960
CVS date: 2001/07/19 21:14:05
2001-07-19 21:14:05 +00:00
jbj 7bfb0979b6 - resurrect --specedit for i18n.
CVS patchset: 4957
CVS date: 2001/07/18 23:03:27
2001-07-18 23:03:27 +00:00
jbj 2225886928 - fix: %dev(...) needs to map rdev and mtime from metadata.
CVS patchset: 4953
CVS date: 2001/07/18 10:49:09
2001-07-18 10:49:09 +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 ecfb46adaa - fix: don't total hard linked file size multiple times (#46286).
- add %dev(type,major,minor) directive to permit non-root dev build.

CVS patchset: 4944
CVS date: 2001/07/16 14:48:07
2001-07-16 14:48:07 +00:00
jbj 77d49ea5a2 - isolate cdb access configuration (experimental, use at your own risk).
- fix: hard fail on locked dbopen if CDB locking not in use.
- fix: dbconfig with mp_mmapsize=16Mb/mp_size=1Mb for
  "everything ENOSPC" failure check.

CVS patchset: 4942
CVS date: 2001/07/14 20:09:56
2001-07-14 20:09:56 +00:00
jbj cfa46ad5cb - fix: scope multi-mode options like --nodeps correctly (#48825).
CVS patchset: 4940
CVS date: 2001/07/13 13:44:26
2001-07-13 13:44:26 +00:00
jbj 81de17180f - fix: adjust arg count for --POPTdesc/--POPTargs deletion.
- add linux per-platform macro %_smp_mflags <sopwith@redhat.com>.
- document more popt aliases for --help usage.
- remove --tarbuild from man page(s), use -t[abpcils] instead (#48666).

CVS patchset: 4936
CVS date: 2001/07/11 14:23:01
2001-07-11 14:23:01 +00:00
jbj be9867aa18 - python bindings should not segfault when fed bad data.
CVS patchset: 4934
CVS date: 2001/07/11 02:16:16
2001-07-11 02:16:16 +00:00
jbj 3bbe7a7fc4 - unlink all __db.nnn files before 1st db open.
CVS patchset: 4932
CVS date: 2001/07/11 00:07:46
2001-07-11 00:07:46 +00:00
jbj e15b4593eb - package version now configureable, default v3.
- rename rpm libraries to have version with libtool -release.
- fix: -i CLI context broken Yet Again.

CVS patchset: 4930
CVS date: 2001/07/10 17:59:11
2001-07-10 17:59:11 +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 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 9df3fc957f - expose rpmShowProgress() and rpmVerifyDigest() in rpmcli.h.
- portability: avoid st_mtime, gendiff uses basename, etc (#47497).
- glibc-2.0.x has not __va_copy().
- popthelp.c: static copy of stpcpy/stpncpy for the deprived (#47500).

CVS patchset: 4921
CVS date: 2001/07/06 20:37:42
2001-07-06 20:37:42 +00:00
jbj 20c2a42d4f - fix: redundant entries in file manifests handled correctly (#46914).
- map uid/gid from metadata into payload headers.

CVS patchset: 4915
CVS date: 2001/07/03 19:26:58
2001-07-03 19:26:58 +00:00
jbj c33e408649 - update intl dirs to gettext-0.10.38.
- fix: sanity check for header size added in headerCopyLoad() (#46469).

CVS patchset: 4913
CVS date: 2001/06/30 18:32:28
2001-06-30 18:32:28 +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 3bb77854aa - fix: permit partially enumerated hardlink file sets during build.
- fix: resurrect rpm signature modes.

CVS patchset: 4902
CVS date: 2001/06/25 17:49:42
2001-06-25 17:49:42 +00:00
jbj f40a045acb - add %{_gnu} macro to append "-gnu" to %{_target_platform} to
support --target/--host flavored %configure. Legacy behavior
  available by undefining %{_gnu}.

CVS patchset: 4899
CVS date: 2001/06/21 03:51:34
2001-06-21 03:51:34 +00:00
jbj 60977b6c27 - fix: rpm -qlv link count for directories dinna include '..'.
- fix: rpm -qlv size for directories should be zero.
- add --noghost to filter non-payload files from rpm -qlv output.

CVS patchset: 4897
CVS date: 2001/06/20 21:20:16
2001-06-20 21:20:16 +00:00
jbj 512b5ce682 - fix: partial sets of hardlinked files permitted in payload (yes, changed).
- work around a (possible) compiler problem on ia64.

CVS patchset: 4893
CVS date: 2001/06/20 16:42:19
2001-06-20 16:42:19 +00:00
jbj 5f2d9ab25b - fix: partial sets of hardlinked files forbidden in payload.
- fix: mark rpmdb files with %config to prevent erasure on downgrade.

CVS patchset: 4891
CVS date: 2001/06/20 06:29:20
2001-06-20 06:29:20 +00:00
jbj 8cd30c7190 - make package ordering loop messages debug, not warning.
CVS patchset: 4883
CVS date: 2001/06/19 20:03:13
2001-06-19 20:03:13 +00:00
jbj eb8db3316d - finalize per-header methods, accessing headerFoo through vector.
CVS patchset: 4880
CVS date: 2001/06/19 16:59:23
2001-06-19 16:59:23 +00:00
jbj c6bd3de937 - preliminary abstraction to support per-header methods.
CVS patchset: 4878
CVS date: 2001/06/19 11:38:51
2001-06-19 11:38:51 +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 c32276cdf5 - popt: add POPT_CONTEXT_ARG_OPTS for all opts to return 1 (#30912).
- fix: fsm reads/writes now return error on partial I/O.
- fix: Ferror returned spurious error for gzdio/bzdio.

CVS patchset: 4874
CVS date: 2001/06/17 15:19:26
2001-06-17 15:19:26 +00:00
jbj 6f3943da6c - popt: add POPT_ARGFLAG_SHOW_DEFAULT to display initial values (#32558).
CVS patchset: 4872
CVS date: 2001/06/17 00:36:01
2001-06-17 00:36:01 +00:00
jbj 6afa016e86 - ia64/sparc: <arch>.{req,prov} identical to linux.{req,prov}.
- add "rpmlib(ScriptletInterpreterArgs)" to track
	%post -p "/sbin/ldconfig -n /usr/lib"
  incompatibilities.

CVS patchset: 4866
CVS date: 2001/06/15 18:53:06
2001-06-15 18:53:06 +00:00
jbj 58b120d878 - alpha: don't add "()(64bit)" dependency markers.
CVS patchset: 4863
CVS date: 2001/06/15 16:01:10
2001-06-15 16:01:10 +00:00
jbj f0d2abd2bc - fix: db1 end-of-file not detected in legacy compatible way.
- fix: remove (harmless) chown error message from %post.
- add --target/--host to %configure, add example cross-build/config.site
  scripts to /usr/lib/rpm <arjanv@redhat.com> (#44581).
- rpmdb iterator selectors permit default/strcmp/regex/glob matching.
- rpmdb iterator selectors permit negative matches.

CVS patchset: 4861
CVS date: 2001/06/15 04:56:33
2001-06-15 04:56:33 +00:00
jbj 22b9de5f33 - add rpmdbSetIteratorRE() for regex matching in database iterators.
- permit rpm -qa to take RE args applied to name tag.
- permit dbiFindMatches() to use version/release patterns.
- eliminate all uses of rpmdbSetIterator{Version,Release}.

CVS patchset: 4859
CVS date: 2001/06/13 20:57:06
2001-06-13 20:57:06 +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 7bf9296288 - default to dbenv with mpool, --rebuilddb with nofsync is much faster.
CVS patchset: 4849
CVS date: 2001/06/06 19:57:12
2001-06-06 19:57:12 +00:00
jbj 16d8c9e229 - document build modes in rpmbuild.8, rpmbuild is born.
CVS patchset: 4846
CVS date: 2001/06/06 16:18:03
2001-06-06 16:18:03 +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 c635bbf0ae fix: increment pointer in funky header ext while loop.
CVS patchset: 4841
CVS date: 2001/06/05 22:01:13
2001-06-05 22:01:13 +00:00
jbj 9e1929c9bb - fix: lclint fiddles broke uCache initialization (#43139).
CVS patchset: 4829
CVS date: 2001/06/01 22:00:07
2001-06-01 22:00:07 +00:00
jbj 25f341822c - merge sparc64/ia64 fiddles back into linux.{req,prov}.
- automagically generate perl module dependencies always.

CVS patchset: 4825
CVS date: 2001/06/01 19:27:33
2001-06-01 19:27:33 +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 cc54f00167 - fix: for busted db1, attempt chain reconnection to following record.
CVS patchset: 4819
CVS date: 2001/05/30 22:42:43
2001-05-30 22:42:43 +00:00
jbj 2a4452a1f9 - fix: popt exec doesn't add '--', --target et al no longer need '='.
- fix: popt consume-next-arg "!#:+" w/o side effect (#41956).

CVS patchset: 4817
CVS date: 2001/05/29 20:01:28
2001-05-29 20:01:28 +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 e6c22123bc - perform db->verify when closing db files.
CVS patchset: 4813
CVS date: 2001/05/25 19:51:53
2001-05-25 19:51:53 +00:00
jbj 23783af227 - remove all header region assertion failures, return NULL instead.
CVS patchset: 4809
CVS date: 2001/05/23 16:38:52
2001-05-23 16:38:52 +00:00
jbj 71f818828e - headerFree() returns NULL, _free is C++ safe.
CVS patchset: 4807
CVS date: 2001/05/23 14:25:19
2001-05-23 14:25:19 +00:00
jbj aed337b31d - fix: skip %ghost files when building packages (#38218).
CVS patchset: 4801
CVS date: 2001/05/21 16:00:45
2001-05-21 16:00:45 +00:00
jbj 8cc9d509e4 - fix: i18n strings need 1 on sucess return code (#41313).
CVS patchset: 4799
CVS date: 2001/05/20 18:33:23
2001-05-20 18:33:23 +00:00
jbj cec2fe637a - fix: filter duplicate package removals (#35828).
- add armv3l arch.

CVS patchset: 4795
CVS date: 2001/05/16 19:19:15
2001-05-16 19:19:15 +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
jbj 87c15895a0 - add cron/logrotate scripts to save installed package filenames.
CVS patchset: 4777
CVS date: 2001/05/13 17:55:58
2001-05-13 17:55:58 +00:00
jbj 27009dd00b - harden rpmdb iterators from damaged header instance segfaults.
CVS patchset: 4774
CVS date: 2001/05/11 23:25:46
2001-05-11 23:25:46 +00:00
jbj c7ee573367 - rpm database has rpm.rpm g+w permissions to share db3 mutexes.
- expose more db3 macro configuration tokens.
- move fprint.[ch] and hash.[ch] to rpmdb directory.
- detect and fiddle incompatible mixtures of db3 env/open flags.
- add DBI_WRITECURSOR to map to db3 flags with CDB database model.
- add rpmdbSetIteratorRewrite to warn of pending lazy (re-)writes.

CVS patchset: 4765
CVS date: 2001/05/11 04:01:04
2001-05-11 04:01:04 +00:00
jbj d026618b6b - rpm executables now setuid rpm to share write locks.
- expose more db3 macro configuration tokens.

CVS patchset: 4756
CVS date: 2001/05/09 22:58:56
2001-05-09 22:58:56 +00:00
jbj 9c636fed5b - create rpmdb.la so that linkage against rpm's db-3.2.9 is possible.
CVS patchset: 4752
CVS date: 2001/05/08 00:03:14
2001-05-08 00:03:14 +00:00
jbj d9e5d40dd5 - use internal db-3.2.9 sources to build by default.
- don't build db1 by default.

CVS patchset: 4750
CVS date: 2001/05/07 19:21:16
2001-05-07 19:21:16 +00:00
jbj cb55d5c6cd - fix: debugging message displays header keys (#38454).
CVS patchset: 4747
CVS date: 2001/05/07 01:54:56
2001-05-07 01:54:56 +00:00
jbj c3835f5ca0 - fix: specfile queries with BuildArch: (#27589).
CVS patchset: 4746
CVS date: 2001/05/06 19:17:14
2001-05-06 19:17:14 +00:00
jbj d78e027808 - still more boring lclint annotations and fiddles.
CVS patchset: 4738
CVS date: 2001/05/03 21:00:18
2001-05-03 21:00:18 +00:00
jbj 0ecdbba935 - yet more boring lclint annotations and fiddles.
CVS patchset: 4732
CVS date: 2001/04/30 22:32:22
2001-04-30 22:32:22 +00:00
jbj 81ac89f4e6 - more boring lclint annotations and fiddles.
CVS patchset: 4725
CVS date: 2001/04/29 22:43:01
2001-04-29 22:43:01 +00:00
jbj c83cfd5ed5 - transaction iterator(s) need to run in reverse order on pure erasures.
- erasures not yet strict, warn & chug on unlink(2)/rmdir(2) failure.

CVS patchset: 4723
CVS date: 2001/04/29 16:08:55
2001-04-29 16:08:55 +00:00
jbj a9a1fd866c - fix: ineeded count wrong for overlapped, created files.
CVS patchset: 4709
CVS date: 2001/04/26 20:39:52
2001-04-26 20:39:52 +00:00
jbj bab8d207ce - fix: readlink return value clobbered by header write.
CVS patchset: 4707
CVS date: 2001/04/25 15:07:53
2001-04-25 15:07:53 +00:00
jbj a71985e5be - regenerate rpm.8 man page from docbook glop (in max-rpm).
- lib/depends.c: diddle debugging messages.

CVS patchset: 4703
CVS date: 2001/04/23 20:56:59
2001-04-23 20:56:59 +00:00
jbj 1aaf1b9b5d - cpanflute perl dependency needs explicit epoch (#37034).
CVS patchset: 4702
CVS date: 2001/04/22 08:58:22
2001-04-22 08:58:22 +00:00
jbj 389d253e62 Sync with rpm-4_0 branch.
CVS patchset: 4700
CVS date: 2001/04/21 06:02:09
2001-04-21 06:02:09 +00:00
jbj 8b20f15fbf - portability: vsnprintf/snprintf wrappers for those without (#34657).
CVS patchset: 4686
CVS date: 2001/04/17 19:29:12
2001-04-17 19:29:12 +00:00
jbj 63db127701 - fix: Fwrite's are optimized out by aggressive compiler(irix) (#34711).
CVS patchset: 4684
CVS date: 2001/04/17 18:30:23
2001-04-17 18:30:23 +00:00
jbj c360a8907b - fix: s390 (and ppc?) could return CPIOERR_BAD_HEADER (#28645).
CVS patchset: 4682
CVS date: 2001/04/17 18:23:58
2001-04-17 18:23:58 +00:00
jbj 999f9b1654 - fix: %_netsharedpath needs to look at basenames (#26561).
- fix: --excludepath was broken (#24434).

CVS patchset: 4669
CVS date: 2001/04/03 20:41:09
2001-04-03 20:41:09 +00:00
jbj 9e6924a604 - fix: --relocate missing trailing slash (#28874,#25876).
- fix: --excludedoc shouldn't create empty doc dir (#14531).

CVS patchset: 4663
CVS date: 2001/04/03 13:41:56
2001-04-03 13:41:56 +00:00
jbj 9f7e40a27c - fix: AIX has sizeof(uint_16) != sizeof(mode_t) verify cast needed.
CVS patchset: 4657
CVS date: 2001/03/28 16:00:11
2001-03-28 16:00:11 +00:00
jbj 879d15a954 - fix: i18n tags in rpm-2.5.x had wrong offset/length (#33478).
CVS patchset: 4655
CVS date: 2001/03/28 14:59:23
2001-03-28 14:59:23 +00:00
jbj 075607676d - fix: parameterized macro segfault (Jakub Bogusz <qboosh@pld.org.pl>).
fix: off by 1 with rpmGlob when presented with multiple non-globbed items.
fix: rpmReadPackageManifest actually works now.

CVS patchset: 4653
CVS date: 2001/03/23 20:27:48
2001-03-23 20:27:48 +00:00
jbj 1975b49aa7 - python: strip header regions during unload.
- add -g to optflags in per-platform config.
- permit confgure/compile with db3-3.2.9.
- permit manifest files as args to query/verify modes.

CVS patchset: 4649
CVS date: 2001/03/22 23:39:01
2001-03-22 23:39:01 +00:00
jbj 54704b3b83 - add --with/--without popt glue for conditional builds(Tomasz Kloczko).
CVS patchset: 4639
CVS date: 2001/03/16 20:23:49
2001-03-16 20:23:49 +00:00
jbj 84705dbb76 - add %exclude support (i.e. "everything but") to %files.
(Michael (Micksa) Slade" <micksa@knobbits.org>)

CVS patchset: 4637
CVS date: 2001/03/16 16:33:25
2001-03-16 16:33:25 +00:00
jbj b787b64393 - add cpuid asm voodoo to detect athlon processors.
CVS patchset: 4634
CVS date: 2001/03/15 18:55:06
2001-03-15 18:55:06 +00:00
jbj 99b6c6fa03 Bump version to 4.1.
Invert logic for db1, don't build by default.

CVS patchset: 4629
CVS date: 2001/03/15 17:54:55
2001-03-15 17:54:55 +00:00
jbj db68dedc82 - update per-interpreter dependency scripts, add sql/tcl (#20295).
- fix: rpmvercmp("1.a", "1.") returned -1, not +1 (#21392).

CVS patchset: 4627
CVS date: 2001/03/15 14:44:08
2001-03-15 14:44:08 +00:00
jbj 3039fe0cca Orphan.
CVS patchset: 4499
CVS date: 2001/01/25 20:26:47
2001-01-25 20:26:47 +00:00
jbj dd94329f0c - remove support for v1 src rpm's.
- reposition callbacks with ts/fi in cpio payload layer.

CVS patchset: 4498
CVS date: 2001/01/25 20:26:35
2001-01-25 20:26:35 +00:00
jbj 15439b46c0 Make cpio maps totally opaque.
CVS patchset: 4487
CVS date: 2001/01/22 19:11:19
2001-01-22 19:11:19 +00:00
jbj d07437babb - cpio mappings carry dirname/basename, not absolute path.
CVS patchset: 4474
CVS date: 2001/01/21 15:43:32
2001-01-21 15:43:32 +00:00
jbj 1f44236f64 - fix: insure that %lang scopes over hard links correctly.
- fix: rpmCleanPath was nibbling at .. in macrofiles incorrectly.

CVS patchset: 4464
CVS date: 2001/01/19 01:38:55
2001-01-19 01:38:55 +00:00
jbj bfa1698ec3 - 1st crack at Mandrake specific per-platform macros.
CVS patchset: 4459
CVS date: 2001/01/17 16:00:36
2001-01-17 16:00:36 +00:00
jbj 0eb282dc4e - tsort prefers presentation order.
CVS patchset: 4456
CVS date: 2001/01/16 17:33:59
2001-01-16 17:33:59 +00:00
jbj c74cc1df1c - fix: extra newline in many error messages (#23947).
- fix: rpm -Va with db1 needs per-iterator, not per-index, offset.
- add install/remove transaction id tags.

CVS patchset: 4441
CVS date: 2001/01/15 23:09:42
2001-01-15 23:09:42 +00:00
jbj 5b06c479a5 - hack: permit installer to determine package ordering using 1000003 tag.
CVS patchset: 4435
CVS date: 2001/01/12 21:47:49
2001-01-12 21:47:49 +00:00
jbj 2e13767946 doxygen annotations for build/*.
- fix: don't hang on build error.
- fix: remove "error: " prefix from signature verification message.

CVS patchset: 4426
CVS date: 2001/01/11 14:13:04
2001-01-11 14:13:04 +00:00
jbj 67aa235565 - fix: find-requires.perl needed update (#23450).
CVS patchset: 4424
CVS date: 2001/01/10 22:19:55
2001-01-10 22:19:55 +00:00
jbj dcbf7492f2 - successors from tsort are processed in presentation order.
CVS patchset: 4423
CVS date: 2001/01/10 20:42:32
2001-01-10 20:42:32 +00:00
jbj 903a070e8d - fix: digests on input FD_t dinna work.
- fix: remove rebuilddb debugging leakage.

CVS patchset: 4421
CVS date: 2001/01/09 21:46:11
2001-01-09 21:46:11 +00:00
jbj 424793073c - tsorted packages processed in successor count order.
- fix: resurrect --excludepath (#19666).

CVS patchset: 4418
CVS date: 2001/01/09 04:07:49
2001-01-09 04:07:49 +00:00
jbj 8f18329bf9 - fix: 3 packages from Red Hat 5.2 had bogus %verifyscript tag.
CVS patchset: 4413
CVS date: 2001/01/05 21:04:45
2001-01-05 21:04:45 +00:00
jbj 9bf42922eb - fix: pass scriptlet args, as in %post -p "/sbin/ldconfig -n /lib".
(Rodrigo Barbosa)

CVS patchset: 4411
CVS date: 2001/01/04 02:24:14
2001-01-04 02:24:14 +00:00
jbj 23fcf67cb5 - fix: avoid locale issues with strcasecmp/strncasecmp (#23199).
- remove almost all explicit uses of stderr in rpmlib using rpmError().

CVS patchset: 4406
CVS date: 2001/01/03 20:19:27
2001-01-03 20:19:27 +00:00
jbj fa3e119a83 - use popt autohelp for rpm helper binaries.
CVS patchset: 4396
CVS date: 2001/01/01 23:14:47
2001-01-01 23:14:47 +00:00
jbj 37a87e6f14 - (popt): add POPT_ARGFLAG_OPTIONAL for long options with optional arg.
- (popt): diddle auto-help to include type of arg expected.

CVS patchset: 4394
CVS date: 2000/12/31 20:30:37
2000-12-31 20:30:37 +00:00
jbj b9145eabe0 - (popt): fix float/double handling (#19701).
- (popt): non-linux needs <float.h> (#22732).

CVS patchset: 4390
CVS date: 2000/12/30 19:59:37
2000-12-30 19:59:37 +00:00
jbj e5899585ad - (non-linux): move stubs.c to rpmio (#21132).
- (python): bind initdb (#20988).

CVS patchset: 4389
CVS date: 2000/12/30 19:01:23
2000-12-30 19:01:23 +00:00
jbj 06e45e2923 - fix: avoid FAT and other brain-dead file systems that have not inodes.
- fix: hack around alpha mis-compilation signature problems.
- rpmmodule.c(handleDbResult): return empty list when nothing matches.

CVS patchset: 4385
CVS date: 2000/12/29 21:44:37
2000-12-29 21:44:37 +00:00
jbj f84fd1900d - use malloc'ed buffer for large queries.
CVS patchset: 4377
CVS date: 2000/12/27 21:19:53
2000-12-27 21:19:53 +00:00
jbj 190b5df369 - send query/verify output through rpmlog().
- resurrect rpmErrorSetCallback() and rpmErrorString().

CVS patchset: 4372
CVS date: 2000/12/26 13:10:18
2000-12-26 13:10:18 +00:00
jbj fdd2f17c56 - fix: removed headers from db need a headerCopy().
CVS patchset: 4368
CVS date: 2000/12/21 21:07:41
2000-12-21 21:07:41 +00:00
jbj c339c239b9 - immutable headers, once installed by rpm3, need to lose immutablity.
CVS patchset: 4365
CVS date: 2000/12/21 17:14:53
2000-12-21 17:14:53 +00:00
jbj b874299aab - whiteout mozilla loop for 7.1.
fix the auto %_tmppath creation.

CVS patchset: 4363
CVS date: 2000/12/20 21:08:18
2000-12-20 21:08:18 +00:00
jbj e6161a7cb3 Sync with rpm-4_0 branch.
CVS patchset: 4361
CVS date: 2000/12/19 23:22:00
2000-12-19 23:22:00 +00:00
jbj 22be517f73 - identify install scriptlet failures with the name of the scriptlet.
- handle install chroot's identically throughout the install process.
- add rpmlib(HeaderLoadSortsTags) for tracking header regions "just in case".
- create _tmppath on the fly if not present.

CVS patchset: 4355
CVS date: 2000/12/19 17:43:56
2000-12-19 17:43:56 +00:00
jbj f7c8cb8689 - gendiff: generate ChangeLog patches more intelligently (#22356).
CVS patchset: 4348
CVS date: 2000/12/16 19:00:30
2000-12-16 19:00:30 +00:00
jbj 92c9e1fc77 - fix: segfault on build path, ignore deleted drips.
- fix: synthesized callbacks for removed packages have not a pkgkey.

CVS patchset: 4346
CVS date: 2000/12/14 22:14:29
2000-12-14 22:14:29 +00:00
jbj 66671b9701 - fix: (transaction.c) assume file state normal if tag is missing.
- fix: failed signature read headerFree segfault.
- fix: revert ALPHA_LOSSAGE, breaks 6.2/i386.

CVS patchset: 4343
CVS date: 2000/12/13 22:00:33
2000-12-13 22:00:33 +00:00
jbj db32ab6bea Sync with rpm-4_0 branch.
CVS patchset: 4338
CVS date: 2000/12/12 20:03:45
2000-12-12 20:03:45 +00:00
jbj 2e9d261696 - use package version 3 if --nodirtokens is specified.
CVS patchset: 4317
CVS date: 2000/12/04 02:13:11
2000-12-04 02:13:11 +00:00
jbj 0d5ea21985 Sync with rpm-4_0 branch.
CVS patchset: 4315
CVS date: 2000/12/04 00:55:17
2000-12-04 00:55:17 +00:00
jbj 780c0c2987 - python: bind package removal (#21274).
CVS patchset: 4307
CVS date: 2000/12/03 17:47:49
2000-12-03 17:47:49 +00:00
jbj 2885f536b6 Bring header reggions mods back to top of stack.
CVS patchset: 4305
CVS date: 2000/12/02 21:53:44
2000-12-02 21:53:44 +00:00
jbj d7a40e754d - improved find-{requires,provides} for aix4/hpux/irix6/osf.
Tim Mooney<mooney@dogbert.cc.ndsu.NoDak.edu>

CVS patchset: 4300
CVS date: 2000/12/02 16:52:14
2000-12-02 16:52:14 +00:00
jbj 339e76efe0 - md5 sums are little endian (no swap) so big endian needs the swap.
CVS patchset: 4285
CVS date: 2000/11/16 22:55:10
2000-11-16 22:55:10 +00:00
jbj a17b1cd86c - hpux w/o -D_OPEN_SOURCE has not h_errno.
CVS patchset: 4271
CVS date: 2000/11/15 16:00:42
2000-11-15 16:00:42 +00:00
jbj 5a3203d485 - fix: segfault on exit of "rpm -qp --qf '%{#fsnames}' pkg" (#20595).
CVS patchset: 4268
CVS date: 2000/11/15 15:28:46
2000-11-15 15:28:46 +00:00
jbj 0f33f87d1c - fix: duplicate headerFree() on installBinaryPackage() error return.
CVS patchset: 4263
CVS date: 2000/11/12 19:33:07
2000-11-12 19:33:07 +00:00
jbj 44e5913dae - fine-grained Requires, remove install PreReq's from Requires db.
CVS patchset: 4258
CVS date: 2000/11/12 11:11:49
2000-11-12 11:11:49 +00:00
jbj 38b66577e6 - add region marker as RPM_BIN_TYPE in packages and database.
- fix: don't headerCopy() relocateable packages if not relocating.

CVS patchset: 4246
CVS date: 2000/11/08 17:07:01
2000-11-08 17:07:01 +00:00
jbj 387de4bd65 Orphan.
CVS patchset: 4245
CVS date: 2000/11/07 13:16:56
2000-11-07 13:16:56 +00:00
jbj 62c5a91930 - add support for unzip rodrigob@conectiva.com.br>
CVS patchset: 4243
CVS date: 2000/11/02 17:57:25
2000-11-02 17:57:25 +00:00
jbj 865ba80f1e - add rpmGetRpmlibProvides() to retrieve rpmlib(...) provides
"Pawel A. Gajda" <mis@k2.net.pl>.

CVS patchset: 4236
CVS date: 2000/10/31 16:53:14
2000-10-31 16:53:14 +00:00
jbj ce1e8d26ec - add support for SHA1 as well as MD5 message digests.
lclint annotations.

CVS patchset: 4234
CVS date: 2000/10/31 16:18:34
2000-10-31 16:18:34 +00:00
jbj 95acf8ebaf - better item/task progress bars <rodrigob@conectiva.com.br>.
CVS patchset: 4232
CVS date: 2000/10/28 18:45:58
2000-10-28 18:45:58 +00:00
jbj e407eeefe7 - add brp-strip-shared script <rodrigob@conectiva.com.br>.
CVS patchset: 4231
CVS date: 2000/10/28 17:30:58
2000-10-28 17:30:58 +00:00
jbj 3ad99fcba5 - add cscope/ctags (Rodrigo Barbosa<rodrigob@conectiva.com.br>).
- remove getMacroBody() from rpmio API.
- hide libio lossage in prototype, not API.
lclint annotations.

CVS patchset: 4230
CVS date: 2000/10/28 17:16:25
2000-10-28 17:16:25 +00:00
jbj b8f90f10cb - fix: runTriggers was not adding countCorrection.
CVS patchset: 4229
CVS date: 2000/10/27 21:45:14
2000-10-27 21:45:14 +00:00
jbj 3e1e23bf06 - verify MD5 sums of payload files when unpacking archive.
CVS patchset: 4225
CVS date: 2000/10/24 13:46:51
2000-10-24 13:46:51 +00:00
jbj 03efb685f1 - pass rpmTransactionSet, not elements, to installBinaryPackage et al.
CVS patchset: 4221
CVS date: 2000/10/20 22:04:27
2000-10-20 22:04:27 +00:00
jbj 8699b8a123 - detect rdonly linux file systems.
- check available inodes as well as blocks on mounted file systems.

CVS patchset: 4220
CVS date: 2000/10/20 16:47:00
2000-10-20 16:47:00 +00:00
jbj 68ff87361d doxygen annotations.
- fix: more (possible) xstrdup side effects.

CVS patchset: 4186
CVS date: 2000/09/29 19:50:29
2000-09-29 19:50:29 +00:00
jbj 88579dc7a7 - handle possible db3 dependency on -lpthread more gracefully.
CVS patchset: 4181
CVS date: 2000/09/28 22:58:40
2000-09-28 22:58:40 +00:00
jbj 39b81b5174 - order packages using tsort, clipping PreReq:'s in dependency loops.
CVS patchset: 4177
CVS date: 2000/09/26 18:04:12
2000-09-26 18:04:12 +00:00
jbj 4920a3b122 - don't trim leading ./ in rpmCleanPath() (#14961).
CVS patchset: 4169
CVS date: 2000/09/16 14:05:26
2000-09-16 14:05:26 +00:00
jbj 2108d886ba Revert rpmrc excision for now.
rpmio: add rpmlog.c/rpmlog.h.

CVS patchset: 4163
CVS date: 2000/09/14 11:42:48
2000-09-14 11:42:48 +00:00
jbj 581d3c0324 - fix: honor --test when doing --freshen.
CVS patchset: 4158
CVS date: 2000/09/13 17:26:54
2000-09-13 17:26:54 +00:00
jbj 5d6496b627 - popt: support for float/double args.
CVS patchset: 4155
CVS date: 2000/09/11 17:09:32
2000-09-11 17:09:32 +00:00
jbj f2efc7263e - unify rpmError and rpmMessge interfaces through rpmlog.
- collect and display rpm build error messages at end of build.

CVS patchset: 4149
CVS date: 2000/09/01 21:15:40
2000-09-01 21:15:40 +00:00
jbj c7b24dad58 - translate rpm.8 man page (Peter Ivanyi <ivanyi@internet.sk>).
Doxygen annotations.

CVS patchset: 4146
CVS date: 2000/08/29 22:04:33
2000-08-29 22:04:33 +00:00
jbj c0424122dd - rip out rpm{get,put}text, use getpo.sh and specspo instead.
CVS patchset: 4139
CVS date: 2000/08/28 01:50:45
2000-08-28 01:50:45 +00:00
jbj af938797ac - consistent return for all signature verification.
- use enum for signature header tags.

CVS patchset: 4137
CVS date: 2000/08/27 21:35:14
2000-08-27 21:35:14 +00:00
jbj d0581d13d4 - add callbacks on package erasure.
- fix: preserve cpio errno when using Fclose with libio.
- fix: initialize sigs everywhere in python header object.

CVS patchset: 4097
CVS date: 2000/08/20 21:39:13
2000-08-20 21:39:13 +00:00
jbj ca3e81798f Identify signature bindings in version 3.0.6.
CVS patchset: 4089
CVS date: 2000/08/19 13:41:42
2000-08-19 13:41:42 +00:00
jbj d0e98332d4 - python bindings to query and verify signatures.
CVS patchset: 4085
CVS date: 2000/08/19 13:10:34
2000-08-19 13:10:34 +00:00
jbj 1e087bdb41 - fix: rebuild db1 -> db3 ate 1st header (#16263).
CVS patchset: 4072
CVS date: 2000/08/16 13:37:08
2000-08-16 13:37:08 +00:00
jbj 4851add979 Update versions, rpm -> 4.1, popt -> 1.7.
CVS patchset: 4063
CVS date: 2000/08/14 19:26:47
2000-08-14 19:26:47 +00:00
jbj 92d83fc935 - disable rpmlib(VersionedDependencies) by defining _noVersionedDependencies.
- typo in configure.in (#16096).

CVS patchset: 4060
CVS date: 2000/08/14 13:25:09
2000-08-14 13:25:09 +00:00
jbj c283e789b7 - fix: segfault when globbing on "" (#15593).
CVS patchset: 4036
CVS date: 2000/08/07 19:38:19
2000-08-07 19:38:19 +00:00
jbj 517da861a9 - fix: -Va broken, make db cursors per-iterator, not per-dbi.
CVS patchset: 4013
CVS date: 2000/08/04 19:48:28
2000-08-04 19:48:28 +00:00
jbj 11fa17601b - fix: segfault on erase if filestates is missing in header (#14679).
CVS patchset: 3994
CVS date: 2000/07/31 21:27:20
2000-07-31 21:27:20 +00:00
jbj 79f6c8be87 - fix: uniqify dependency problems when printing (#14034).
- popt: add ability to perform callbacks for every, not just first, match.

CVS patchset: 3993
CVS date: 2000/07/31 15:04:20
2000-07-31 15:04:20 +00:00
jbj 61cabed3ed - link rpm2cpio dynamically since cpio is linked dynamically.
CVS patchset: 3991
CVS date: 2000/07/29 17:30:18
2000-07-29 17:30:18 +00:00
jbj 972f0d3103 - bail on firstkey/nextkey, there's a better way.
CVS patchset: 3990
CVS date: 2000/07/29 13:16:45
2000-07-29 13:16:45 +00:00
jbj 41667f92cf - resurrect firstkey/nextkey python bindings.
CVS patchset: 3988
CVS date: 2000/07/28 17:58:58
2000-07-28 17:58:58 +00:00