Commit Graph

295 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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 01baa77546 Orphans.
CVS patchset: 5129
CVS date: 2001/10/21 21:48:23
2001-10-21 21:48:23 +00:00
jbj ca1d809cb1 Rewire digests, step 2.
CVS patchset: 5122
CVS date: 2001/10/19 01:35:57
2001-10-19 01:35:57 +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 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 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 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 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 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 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 74ce2b5c67 Patch from <misa@redhat.com>.
CVS patchset: 4965
CVS date: 2001/07/20 17:09:08
2001-07-20 17:09:08 +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 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 34f1d51251 Orphans.
CVS patchset: 4925
CVS date: 2001/07/07 19:37:52
2001-07-07 19:37:52 +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 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 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 c0ef3c810f - linux.req needs exit 0
CVS patchset: 4868
CVS date: 2001/06/15 21:52:47
2001-06-15 21:52:47 +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 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 4ae69250a2 - fix typos in linux.{req,prov}.
CVS patchset: 4834
CVS date: 2001/06/05 19:26:22
2001-06-05 19:26:22 +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 f8b347a38a lclint annotations.
CVS patchset: 4821
CVS date: 2001/05/31 19:02:55
2001-05-31 19:02:55 +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 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 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 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 f75a3f71ab Doxygen annotations for config files.
Doxygen annotations for rpmdep section.
Add manifests for install modes.

CVS patchset: 4675
CVS date: 2001/04/10 12:36:45
2001-04-10 12:36:45 +00:00
jbj 7ed904da03 Strip header regions during unload.
CVS patchset: 4643
CVS date: 2001/03/20 15:00:07
2001-03-20 15:00:07 +00:00
jbj 63890e6a4a Doco updates.
CVS patchset: 4641
CVS date: 2001/03/17 19:55:09
2001-03-17 19:55:09 +00:00
jbj 74f16c53a3 Handle non-string tag indices correctly.
Sync with rpm-4.0.2.

CVS patchset: 4583
CVS date: 2001/02/27 21:30:27
2001-02-27 21:30:27 +00:00
jbj e89f3d1791 Add missing tokens.
CVS patchset: 4555
CVS date: 2001/02/17 16:05:13
2001-02-17 16:05:13 +00:00
jbj 85a84a6826 Add rpmRC return code type for the usual 0/1/2 codes.
Add RPMRC_BADSIZE to deal with packages changing size after repackaging.

CVS patchset: 4550
CVS date: 2001/02/12 19:02:15
2001-02-12 19:02:15 +00:00
jbj d991f23281 fix: make a copy of retrieved header before loading.
handle out-of-sync hardlinks as sub-state, don't save the file name.
fix: on build, was broke, add --fsmdebug as well.

CVS patchset: 4537
CVS date: 2001/02/09 20:58:37
2001-02-09 20:58:37 +00:00
jbj 31a589ae49 doxygen annotations for python bindings.
CVS patchset: 4433
CVS date: 2001/01/12 18:22:27
2001-01-12 18:22:27 +00:00
msw 862f4b1af9 register more enums
CVS patchset: 4422
CVS date: 2001/01/09 23:13:04
2001-01-09 23:13:04 +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 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
gafton aff441656c fix handleDbResult so that it will return an empty list when nothing matches instead of delivering an exception
CVS patchset: 4382
CVS date: 2000/12/29 19:25:38
2000-12-29 19:25:38 +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 c7248553be - fix: headerLoad segfault in python bindings.
CVS patchset: 4339
CVS date: 2000/12/12 21:05:49
2000-12-12 21:05:49 +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 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 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 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 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
msw f463e1253d merge
CVS patchset: 4118
CVS date: 2000/08/24 06:21:08
2000-08-24 06:21:08 +00:00
msw 8433a7c142 fixed
CVS patchset: 4115
CVS date: 2000/08/24 06:16:44
2000-08-24 06:16:44 +00:00
msw cd05426202 added a hack to get the header that was passed to the transaction callback marshaller but not passed as arguments to the python callback
CVS patchset: 4112
CVS date: 2000/08/23 22:53:05
2000-08-23 22:53:05 +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 ea1956063d Remove fprintf.
CVS patchset: 4086
CVS date: 2000/08/19 13:37:41
2000-08-19 13:37:41 +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 6040ca6f53 - re-resurrect firstkey/nextkey python bindings for up2date compatibility.
CVS patchset: 3992
CVS date: 2000/07/29 20:31:56
2000-07-29 20:31:56 +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
msw 71e3aaa18c properly reference the db
CVS patchset: 3989
CVS date: 2000/07/28 23:07:50
2000-07-28 23:07:50 +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
msw fc8db65c94 don't blow our foot off by calling rpmReadConfigFiles on the find upgrade packages case
CVS patchset: 3975
CVS date: 2000/07/24 19:09:53
2000-07-24 19:09:53 +00:00
jbj 77ea46f6a0 - rip out pre-transaction syscalls, more design is needed.
- display rpmlib provides when invoked with --showrc.
- remove (dead) dependency checks on implicitly provided package names.
- remove (dead) rpmdb API code in python bindings.
- remove (legacy) support for version 1 packaging.
- remove (legacy) support for converting gdbm databases.

CVS patchset: 3950
CVS date: 2000/07/15 14:53:54
2000-07-15 14:53:54 +00:00
jbj 2380ca4893 fix: source rpm's need to do compressFilelist to get filenames.
fix: python should use RPMTAG_OBSOLETESNAME, not RPMTAG_OBSOLETES.

CVS patchset: 3934
CVS date: 2000/07/11 03:46:56
2000-07-11 03:46:56 +00:00
jbj e04385f3d9 - put version on rpmpopt filename to avoid legacy filename collision.
CVS patchset: 3897
CVS date: 2000/06/22 13:39:44
2000-06-22 13:39:44 +00:00
jbj d793b76868 Include libpopt as well.
CVS patchset: 3865
CVS date: 2000/06/18 23:26:50
2000-06-18 23:26:50 +00:00
msw e8ea93373b link against rpmio, disable Fopen
CVS patchset: 3842
CVS date: 2000/06/13 20:15:35
2000-06-13 20:15:35 +00:00
jbj 2063e9bd53 Add dbcursor to dbi interface.
CVS patchset: 3830
CVS date: 2000/06/12 22:07:13
2000-06-12 22:07:13 +00:00
jbj bed61632d7 Fix db return code handling, majorly horked.
Autoconf detection of db-3.1.
Move --all to query/verify popt table.

CVS patchset: 3829
CVS date: 2000/06/11 19:15:27
2000-06-11 19:15:27 +00:00
jbj 6665bbbfc2 - create rpmio directory for librpmio.
CVS patchset: 3820
CVS date: 2000/06/07 23:25:41
2000-06-07 23:25:41 +00:00
msw 3eeb37f5f6 fixup headers when loading them
CVS patchset: 3737
CVS date: 2000/05/17 05:35:18
2000-05-17 05:35:18 +00:00
msw 191af9ebb5 don't call these header munges on null headers
CVS patchset: 3718
CVS date: 2000/05/02 18:56:17
2000-05-02 18:56:17 +00:00
msw a2891ff2c6 compress filelist, fixup provides
CVS patchset: 3717
CVS date: 2000/05/02 18:07:59
2000-05-02 18:07:59 +00:00
jbj 113948c75c Sanity and API clean up. (make dist)
CVS patchset: 3705
CVS date: 2000/04/27 01:11:48
2000-04-27 01:11:48 +00:00
jbj 24a64f2739 - API: replace rpmdbUpdateRecord with rpmdbRemove/rpmdbAdd.
- API: replace rpmdbFindByLabel with RPMDBI_LABEL iteration.
- API: replace rpmdbGetRecord with iterators.
- API: replace findMatches with iterators.

CVS patchset: 3704
CVS date: 2000/04/27 00:10:28
2000-04-27 00:10:28 +00:00
msw 76e42fa65b a little more work on the rpm module
CVS patchset: 3696
CVS date: 2000/04/25 15:26:18
2000-04-25 15:26:18 +00:00
msw 2126a23ce9 match iterator support
CVS patchset: 3688
CVS date: 2000/04/20 00:21:31
2000-04-20 00:21:31 +00:00
jbj f75d794af4 Change iterator interface to use RPMTAG_FOO rather than RPMDBI_FOO.
CVS patchset: 3687
CVS date: 2000/04/19 22:15:02
2000-04-19 22:15:02 +00:00
jbj dce2eccbd5 Sanity.
CVS patchset: 3686
CVS date: 2000/04/19 16:59:02
2000-04-19 16:59:02 +00:00
jbj bb472e02e1 Convert to rpm-3.1 API.
CVS patchset: 3672
CVS date: 2000/04/12 18:21:40
2000-04-12 18:21:40 +00:00
jbj d01b883255 Get the database permissions right.
CVS patchset: 3650
CVS date: 2000/03/31 17:23:13
2000-03-31 17:23:13 +00:00
jbj 0833c5686a As erik mentioned, here is a patch. It makes it so packages don't get searched
to find directories which were improperly assigned in broken spec file file
+lists,
causing, for example, KDE to be installed on an upgrade from 6.1 to 6.2 when
KDE was not previously installed...

CVS patchset: 3649
CVS date: 2000/03/31 17:16:36
2000-03-31 17:16:36 +00:00
jbj 22a911a3b3 Add --preferdb for now to permit testing db0/db1/db2.
CVS patchset: 3641
CVS date: 2000/03/26 22:45:02
2000-03-26 22:45:02 +00:00
jbj cab176172b - API: change dbi to pass by reference, not value.
- cram all of db1, db_185, and db2 interfaces into rpmlib.

CVS patchset: 3636
CVS date: 2000/03/23 15:49:50
2000-03-23 15:49:50 +00:00
jbj e806f1865e Add note that -L paths may have to be used.
CVS patchset: 3627
CVS date: 2000/03/14 15:24:25
2000-03-14 15:24:25 +00:00
jbj e93943f1e0 - portability: skip bzip2 if not available.
- portability: skip gzseek if not available (zlib-1.0.4).
- portability: skip personality if not available (linux).
- portability: always include arpa/inet.h (HP-UX).
- portability: don't use id -u (Brandon Allbery).
- portability: don't chown/chgrp -h w/o lchown.
- portability: splats in rpm.spec to find /usr/{share,local}/locale/*

CVS patchset: 3610
CVS date: 2000/03/09 18:13:02
2000-03-09 18:13:02 +00:00
jbj acdafeca5c portability: zlib-1.0.4 has not gzseek
portability: Red Hat 4.x has not personality

CVS patchset: 3609
CVS date: 2000/03/07 15:37:17
2000-03-07 15:37:17 +00:00
msw 39d03aa29e i18nation
CVS patchset: 3598
CVS date: 2000/02/28 20:00:31
2000-02-28 20:00:31 +00:00
jbj a217056e70 Permit building w/o libbz2.a.
In popt, check for building within the rpm tree before requiring GNU gettext.

CVS patchset: 3595
CVS date: 2000/02/27 23:40:36
2000-02-27 23:40:36 +00:00
jbj 9e75d5397f - sparc-sun-solaris2.6 portability check.
CVS patchset: 3589
CVS date: 2000/02/25 16:49:05
2000-02-25 16:49:05 +00:00
msw eebe8047cc add a method to fill the filelist fully
CVS patchset: 3553
CVS date: 2000/02/11 21:06:10
2000-02-11 21:06:10 +00:00
msw d54a9c2793 add compress/uncompress filelist
CVS patchset: 3552
CVS date: 2000/02/11 20:29:22
2000-02-11 20:29:22 +00:00
msw 967484b1df nuke const warning
CVS patchset: 3547
CVS date: 2000/02/08 20:18:38
2000-02-08 20:18:38 +00:00
msw 2be6cc688d handle header format extensions
CVS patchset: 3546
CVS date: 2000/02/08 20:01:30
2000-02-08 20:01:30 +00:00
msw def2638570 merge from anaconda
CVS patchset: 3541
CVS date: 2000/01/31 21:55:23
2000-01-31 21:55:23 +00:00
ewt 128700d1d6 updated upgrade code to handle new format file lists
CVS patchset: 3540
CVS date: 2000/01/31 16:42:12
2000-01-31 16:42:12 +00:00
jbj 9e9b42aa07 Pass size(...)-1 to avoid buffer overflow on links that are 1024b long.
CVS patchset: 3531
CVS date: 2000/01/24 14:34:14
2000-01-24 14:34:14 +00:00
jbj 00304183a4 Doxygen fiddles.
CVS patchset: 3528
CVS date: 2000/01/19 22:51:39
2000-01-19 22:51:39 +00:00
jbj a718761d7e Force python arrays for DIRNAMES/BASENAMES/DIRINDEXES.
CVS patchset: 3498
CVS date: 1999/12/30 17:06:53
1999-12-30 17:06:53 +00:00
jbj 920f41920e python/* needs to include "system.h".
CVS patchset: 3446
CVS date: 1999/11/30 18:39:50
1999-11-30 18:39:50 +00:00
jbj 4d26dfa475 Minimal python compile.
CVS patchset: 3439
CVS date: 1999/11/26 22:31:19
1999-11-26 22:31:19 +00:00
jbj 3363604c70 Use Fopen almost everywhere.
Rip out --enable-bzip2-payload, we'll use Fopen w macros instead.
Work out ref counting for ftpControl so that control channel is persistent.
build/build.c: Use fpio to write build stage script.
parseSpec.c: Rework include stack to use FD_t, not FILE *.
tread.c: Delete, use ufdio->read instead.
rpmio.c: Filter out fdio fd == NULL assertion failures.
rpmrc.c: Don't fail if HOME is not environment.
rpmrc.c: Rework ufdio FTP rcfile I/O to be more similar to stdio.

CVS patchset: 3417
CVS date: 1999/11/04 21:26:08
1999-11-04 21:26:08 +00:00
jbj 7fc3a97733 Add ref/deref/new/fileno/open vectors to FDIO_t.
Hide fdOpen/ufdOpen, use {fdio,ufdio}->open throughout.
url.c: Create ref counted abstract urlinfo type with debugging.
url.c: Rename functions to urlNew/urlFree/urlFreeCache for consistency.
rpmio.c: Create ref counted abstract FD_t type with debugging.
rpmio.c: Create private struct _FD_s type.
cpio.c: Create fd[GS]etCpioPos to preserve FD_t abstraction.

CVS patchset: 3414
CVS date: 1999/11/02 14:33:14
1999-11-02 14:33:14 +00:00
jbj 0d0b405c20 use compressed filenames on install side.
start unifying FD types, CFD_t now gone.

CVS patchset: 3402
CVS date: 1999/10/27 23:18:10
1999-10-27 23:18:10 +00:00
jbj 1baa4101d6 Don't build rpmgettext/rpmputtext if USE_NLS=no.
CVS patchset: 3353
CVS date: 1999/09/30 16:03:43
1999-09-30 16:03:43 +00:00
jbj 307e51db29 Ignore generated files.
CVS patchset: 3349
CVS date: 1999/09/30 00:00:10
1999-09-30 00:00:10 +00:00
jbj a20c89d42b Check in time stamps again.
CVS patchset: 3343
CVS date: 1999/09/29 23:29:57
1999-09-29 23:29:57 +00:00
jbj 32942a7b6b Check in time stamps.
CVS patchset: 3342
CVS date: 1999/09/29 23:26:08
1999-09-29 23:26:08 +00:00
jbj a38a3b7f35 Sanity.
CVS patchset: 3334
CVS date: 1999/09/26 23:16:14
1999-09-26 23:16:14 +00:00
jbj bc0955ad3c Solaris compilation.
CVS patchset: 3332
CVS date: 1999/09/26 17:28:00
1999-09-26 17:28:00 +00:00
jbj c63192d864 Release candidate.
CVS patchset: 3327
CVS date: 1999/09/24 23:36:52
1999-09-24 23:36:52 +00:00
jbj e0e0a755b9 When comparing EVR with missing epoch, package with epoch is considered newer.
Free providesEVR from added package index.
python: shared module linked correctly.

CVS patchset: 3305
CVS date: 1999/09/19 15:27:37
1999-09-19 15:27:37 +00:00
jbj 315eb02ffa Update from anaconda.
CVS patchset: 3285
CVS date: 1999/09/17 20:11:44
1999-09-17 20:11:44 +00:00
jbj 89a17f4cfa Link with librpm and libbz2.
CVS patchset: 3284
CVS date: 1999/09/17 18:33:21
1999-09-17 18:33:21 +00:00
jbj 834db501ab Update from anaconda.
CVS patchset: 3267
CVS date: 1999/09/07 22:48:55
1999-09-07 22:48:55 +00:00
jbj 582808bce3 link libbz2.a statically to avoid rpm->bzip2 dependence for now.
CVS patchset: 3264
CVS date: 1999/09/07 19:47:53
1999-09-07 19:47:53 +00:00
jbj 881c8fbba2 Orphans.
CVS patchset: 3252
CVS date: 1999/08/24 22:08:52
1999-08-24 22:08:52 +00:00
jbj 5b7d1f7876 update python bindings from anaconda.
CVS patchset: 3251
CVS date: 1999/08/24 21:10:30
1999-08-24 21:10:30 +00:00
jbj 46572592b4 add pl translation and man pages (Tomasz K?oczko et al).
CVS patchset: 3183
CVS date: 1999/07/19 22:13:12
1999-07-19 22:13:12 +00:00
jbj d9f36428bc Typo.
CVS patchset: 3169
CVS date: 1999/07/15 21:48:28
1999-07-15 21:48:28 +00:00
jbj d73d7c130c Carry Makefile.in for now.
CVS patchset: 3166
CVS date: 1999/07/15 21:09:52
1999-07-15 21:09:52 +00:00
jbj c3f62fe632 Automake to create python bindings.
CVS patchset: 3164
CVS date: 1999/07/15 20:15:23
1999-07-15 20:15:23 +00:00
jbj 99c487c9ef Copy from anaconda/rpmmodules.
CVS patchset: 3161
CVS date: 1999/07/14 18:15:09
1999-07-14 18:15:09 +00:00
jbj 7dbc73fec6 Merge rpm-4.0.4 changes.
CVS patchset: 1256
CVS date: 1997/01/01 01:30:08
1997-01-01 01:30:08 +00:00