Commit Graph

295 Commits

Author SHA1 Message Date
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