Commit Graph

322 Commits

Author SHA1 Message Date
jbj f584878269 installplatform: typo.
CVS patchset: 3716
CVS date: 2000/05/02 17:30:49
2000-05-02 17:30:49 +00:00
jbj c19f4c1c31 Add usedbenv (disabled) to use db3 as db1 was used.
Configure to accept any db api (but rebuild will switch to db3).
Rename *_major to *_api throughout.
Always open Depends with O_CREAT|O_RDWR.
db1.c: use good ol' requredby.rpm name, not requiredbyindex.rpm.
db1.c: hide pkgs FD_t in dbi_db, eliminate dbi_pkgs.
depends.c: Skip Depends caching on dbiPut failure (e.g. perms).
rpmdb.c: remove _useDbiMajor, pass dbapi on call.
rpmdb.c: repair rot in rpmdbRemoveDatabase()/rpmdbMoveDatabase().
rpmdb.c: disable ^C hack in signal block/unblock.

CVS patchset: 3712
CVS date: 2000/05/02 08:30:31
2000-05-02 08:30:31 +00:00
jbj 73f95c99ce Rename db0.c to db1.c, resurrect db2.c (from db3.c).
Add ia64 and sparc64 changes.
rpm.spec: add per-platform sub-directories.
Add rpmdbSync to API.
installplatform: pass LIB=lib64 on sparc64.
db3.c: Add nodbsync, lockdbfd, debug dbi configuration.
db3.c: don't check dbi_mode when deciding on DB_WRITECURSOR.

CVS patchset: 3711
CVS date: 2000/05/01 17:50:35
2000-05-01 17:50:35 +00:00
jbj 5197d92f13 Don't incrementally link pthreads, causes segfault on (at least) alpha.
db0.c: Simulate db->sync on falloc.
db0.c: Use RPMDBI_PACKAGES for rpmtag comparisons.
db0.c: Add debug for dbi open/close like db3.
db0.c: Remove dbi if temporary (i.e. Depends).
db3.c: Filter DB_INCOMPLETE from db->sync return, it's usually harmless.
depends.c: Free Depends iterator, pass keylen, and use cursors.
depends.c: Free iterator *after* loop, not at end of 1st pass.
rpmdb.c: Fine grained cursor locks to avoid "crossed cursors" deadlocks.
rpmdb.c: Lazy open/close during rpmdbAdd/rpmdbRemove/openDatabase.
rpmdb.c: Remove last remnants of dbix, do dynamic lookup instead.
rpmdb.c: Resurrect rpmdbUpdateRecord in iterator loop.
macros.in: Add Depends dbi to config.
macros.in: Configure "nommap:mp_size=2Mb:pagesize=16Kb".

CVS patchset: 3707
CVS date: 2000/04/28 15:14:47
2000-04-28 15:14:47 +00:00
jbj e1b556f8d0 - API: replace rpmdbUpdateRecord with rpmdbSetIteratorModified.
CVS patchset: 3706
CVS date: 2000/04/27 12:50:54
2000-04-27 12:50:54 +00:00
jbj 69b1adb5b0 Sanity (rebuild to check autoconf configuration in dist-7.0).
CVS patchset: 3699
CVS date: 2000/04/25 19:57:26
2000-04-25 19:57:26 +00:00
jbj b5cadb90d6 make db indices as lightweight as possible, with per-dbi config.
db1.c will never be needed, eliminate.
API: merge rebuilddb.c into rpmdb.c.

CVS patchset: 3694
CVS date: 2000/04/23 20:37:57
2000-04-23 20:37:57 +00:00
jbj 4da5ec0687 Sanity.
CVS patchset: 3692
CVS date: 2000/04/21 00:23:18
2000-04-21 00:23:18 +00:00
jbj eca43c56fb Sanity (build 0.8).
CVS patchset: 3690
CVS date: 2000/04/20 12:46:38
2000-04-20 12:46:38 +00:00
jbj a2665e12c6 Sanity (re-adding rpm-python).
CVS patchset: 3689
CVS date: 2000/04/20 11:54:03
2000-04-20 11:54:03 +00:00
jbj a6fc8ecb52 add explcit "Provides: name = [epoch:]version-release" to headers.
CVS patchset: 3678
CVS date: 2000/04/13 17:59:10
2000-04-13 17:59:10 +00:00
jbj 0c83ea489f Sanity (bump release).
CVS patchset: 3677
CVS date: 2000/04/13 16:00:34
2000-04-13 16:00:34 +00:00
jbj 3cbb3be045 - treat legacy falloc.c as "special" db[01] index for package headers.
CVS patchset: 3667
CVS date: 2000/04/11 16:15:54
2000-04-11 16:15:54 +00:00
jbj 9763902847 use hashed access for package headers.
CVS patchset: 3660
CVS date: 2000/04/06 15:20:29
2000-04-06 15:20:29 +00:00
jbj 18a1e73ac6 Sanity.
CVS patchset: 3659
CVS date: 2000/04/04 10:10:47
2000-04-04 10:10:47 +00:00
jbj 9965b2d482 Sanity.
CVS patchset: 3657
CVS date: 2000/04/03 14:36:39
2000-04-03 14:36:39 +00:00
jbj c87582cbf2 Bump popt sub-package version.
CVS patchset: 3651
CVS date: 2000/04/03 14:24:30
2000-04-03 14:24:30 +00:00
jbj 91a44edf36 - try for db3 DB_INIT_CDB model.
CVS patchset: 3648
CVS date: 2000/03/31 14:55:23
2000-03-31 14:55:23 +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 7ae0e5d605 Sanity.
CVS patchset: 3639
CVS date: 2000/03/24 17:20:17
2000-03-24 17:20:17 +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 853af666a2 Start rpm-3.1 development.
CVS patchset: 3625
CVS date: 2000/03/13 15:13:53
2000-03-13 15:13:53 +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 5c1b6d0ba6 simpler hpux.prov script (Tim Mooney).
CVS patchset: 3606
CVS date: 2000/03/02 20:21:10
2000-03-02 20:21:10 +00:00
jbj bda1f6866a Bump release (0.48).
CVS patchset: 3605
CVS date: 2000/03/01 17:28:32
2000-03-01 17:28:32 +00:00
jbj 81af2158e2 Add %changelog.
CVS patchset: 3603
CVS date: 2000/03/01 15:34:53
2000-03-01 15:34:53 +00:00
jbj 2b30bc3b2d Bump release.
CVS patchset: 3602
CVS date: 2000/03/01 15:28:30
2000-03-01 15:28:30 +00:00
jbj 584a526575 Add changelog.
CVS patchset: 3601
CVS date: 2000/03/01 00:22:47
2000-03-01 00:22:47 +00:00
jbj 8aceebd817 Portability fiddles.
Rebuild with latest rpmmodule.so code.

CVS patchset: 3600
CVS date: 2000/02/29 23:22:44
2000-02-29 23:22:44 +00:00
jbj 19e47314ea More typos.
CVS patchset: 3597
CVS date: 2000/02/28 00:08:24
2000-02-28 00:08:24 +00:00
jbj 8853928d69 Typos.
CVS patchset: 3596
CVS date: 2000/02/27 23:57:14
2000-02-27 23:57:14 +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 2fdcb4810f Typo.
CVS patchset: 3594
CVS date: 2000/02/27 22:45:47
2000-02-27 22:45:47 +00:00
jbj 945d2cd8af i18n install is in /usr/lib not /usr/share for solaris2.6.
CVS patchset: 3592
CVS date: 2000/02/27 20:17:21
2000-02-27 20:17:21 +00:00
jbj 601d666d48 - fix: filter excluded paths before adding install prefixes (#8709).
- add i18n lookaside to PO catalogue(s) for i18n strings.
- try for /etc/rpm/macros.specspo so that specspo autoconfigures rpm.
- per-platform configuration factored into /usr/lib/rpm subdir.

CVS patchset: 3588
CVS date: 2000/02/25 16:29:44
2000-02-25 16:29:44 +00:00
jbj 466f98a9fb Automake portability diddles.
CVS patchset: 3586
CVS date: 2000/02/24 22:28:31
2000-02-24 22:28:31 +00:00
jbj 1cd98cb04c Sanity (0.44 release).
CVS patchset: 3584
CVS date: 2000/02/23 22:43:27
2000-02-23 22:43:27 +00:00
jbj 6ad3b578cb Another attempt to get i18n lookaside functional.
CVS patchset: 3578
CVS date: 2000/02/22 21:19:33
2000-02-22 21:19:33 +00:00
jbj 685f9f501b Sanity (bump release).
CVS patchset: 3568
CVS date: 2000/02/17 16:34:25
2000-02-17 16:34:25 +00:00
jbj b89ccd9be6 Disable i18n lookaside for now.
CVS patchset: 3564
CVS date: 2000/02/16 19:10:42
2000-02-16 19:10:42 +00:00
jbj 8355c12f1f Improved cpanflute (Tim Powers).
CVS patchset: 3562
CVS date: 2000/02/16 00:36:55
2000-02-16 00:36:55 +00:00
jbj 9358ab55e9 add scripts for autogenerating CPAN dependencies.
CVS patchset: 3560
CVS date: 2000/02/15 22:17:43
2000-02-15 22:17:43 +00:00
jbj 0433f06173 Sanity (make release).
CVS patchset: 3559
CVS date: 2000/02/15 16:43:30
2000-02-15 16:43:30 +00:00
jbj 38e3c32e92 new rpm-build package to isolate rpm dependencies on perl/bash2.
always remove duplicate identical package entries on --rebuilddb.

CVS patchset: 3558
CVS date: 2000/02/15 16:40:28
2000-02-15 16:40:28 +00:00
jbj da3765de28 brp-compress deals with hard links correctly.
patch for ja.po.

CVS patchset: 3548
CVS date: 2000/02/10 00:27:21
2000-02-10 00:27:21 +00:00
jbj 855721fd09 Sanity (bump release).
CVS patchset: 3545
CVS date: 2000/02/07 19:28:44
2000-02-07 19:28:44 +00:00
jbj 47ed2d60ef Sanity (bump release).
CVS patchset: 3536
CVS date: 2000/01/24 22:08:58
2000-01-24 22:08:58 +00:00
jbj 3f679aa4d7 explicitly expand file lists in writeRPM for rpmputtext.
CVS patchset: 3534
CVS date: 2000/01/24 20:44:29
2000-01-24 20:44:29 +00:00
jbj 38b3bd8554 fix: on --rebuilddb, make sure new/old paths are not the same (#8752).
CVS patchset: 3530
CVS date: 2000/01/24 13:26:26
2000-01-24 13:26:26 +00:00
jbj 9db5309a45 updated perl scripts (Ken Estes).
CVS patchset: 3524
CVS date: 2000/01/17 18:58:36
2000-01-17 18:58:36 +00:00
jbj c3a725717a Updated msgid's.
CVS patchset: 3523
CVS date: 2000/01/17 18:32:44
2000-01-17 18:32:44 +00:00
jbj 9416c8bfd1 add %_rebuilddbpath macro to permit rebuilding db in new location.
CVS patchset: 3522
CVS date: 2000/01/17 18:12:32
2000-01-17 18:12:32 +00:00
jbj 091acab1c8 add manpage for gendiff (pbrown@redhat.com).
CVS patchset: 3512
CVS date: 2000/01/10 15:50:47
2000-01-10 15:50:47 +00:00
jbj 65e8fdb8f9 add several BuildRoot FTW policies.
CVS patchset: 3511
CVS date: 2000/01/07 17:32:27
2000-01-07 17:32:27 +00:00
jbj 98dd6f2c02 resurrect failed glob error message during build
CVS patchset: 3509
CVS date: 2000/01/05 19:46:45
2000-01-05 19:46:45 +00:00
jbj 8d76e5e019 Correct open flags for signing packages.
Sanity (make dist).

CVS patchset: 3508
CVS date: 2000/01/04 13:12:07
2000-01-04 13:12:07 +00:00
jbj dccf7cc466 fix: manageFile needs to and with O_WRONLY(=1), not O_RDONLY(=0).
CVS patchset: 3505
CVS date: 2000/01/03 19:37:56
2000-01-03 19:37:56 +00:00
jbj 24c9e3d63a Sanity (make dist).
CVS patchset: 3504
CVS date: 2000/01/03 18:35:40
2000-01-03 18:35:40 +00:00
jbj 171f602c27 add ja translation and man pages (Kanda Mitsuru kanda@nn.iij4u.or.jp).
CVS patchset: 3500
CVS date: 1999/12/30 18:26:13
1999-12-30 18:26:13 +00:00
jbj f7833b54ab Sanity (make dist).
CVS patchset: 3499
CVS date: 1999/12/30 17:08:38
1999-12-30 17:08:38 +00:00
jbj b325535ff1 split python bindings into a separate sub-package of rpm.
CVS patchset: 3497
CVS date: 1999/12/24 14:54:34
1999-12-24 14:54:34 +00:00
jbj f74f748dcf duplicate popt routine so that librpm.so needs not libpopt.so.
CVS patchset: 3495
CVS date: 1999/12/22 21:30:28
1999-12-22 21:30:28 +00:00
jbj 3b0700f77b lib/rpmio.c: Start weeding the debug messages.
lib/rpmio.c: Functional HTTP PUT.

CVS patchset: 3493
CVS date: 1999/12/21 17:11:43
1999-12-21 17:11:43 +00:00
jbj e6c1c88e7c Typo (t->num rather than tnum causes segfault while re-reading rpmrc on exit).
CVS patchset: 3491
CVS date: 1999/12/19 18:59:46
1999-12-19 18:59:46 +00:00
jbj 2a7a110805 fix: turn off stdio buffering if not opened O_RDONLY for now.
CVS patchset: 3490
CVS date: 1999/12/18 19:38:18
1999-12-18 19:38:18 +00:00
jbj eddf0228f5 diddle some names to keep my C++ brethern happy (i.e. kpackage port).
CVS patchset: 3488
CVS date: 1999/12/16 21:58:19
1999-12-16 21:58:19 +00:00
jbj 82a546f8f4 fix: missing strdup when overriding buildroot from command line
argument (#1026,#5006).

CVS patchset: 3487
CVS date: 1999/12/16 19:38:28
1999-12-16 19:38:28 +00:00
jbj 8885331b74 fix: compressFileList was over-generating dirNames.
fix: alAddPackage sorted dirNames too soon, destroying dirMapping.

CVS patchset: 3481
CVS date: 1999/12/15 15:51:30
1999-12-15 15:51:30 +00:00
jbj dab52919d1 NULL missing at end of packages-to-be-installed array.
CVS patchset: 3480
CVS date: 1999/12/13 19:27:34
1999-12-13 19:27:34 +00:00
jbj 8f481702d8 reload macros from cmd line when re-reading config files.
CVS patchset: 3479
CVS date: 1999/12/12 21:14:05
1999-12-12 21:14:05 +00:00
jbj 292b9f10be lib/rpminstall.c: Perform glob on remote ftp install args.
lib/misc.[ch]: Rename remoteGlob to rpmGlob. Preserve glob_error behavior.
build/files.c: Ditto.
lib/rpmio.c: Collapse ftpFileDesc() into ftpReq().
lib/rpmio.c: Eliminate all uses of u->path.
lib/url.c: Ditto.
lib/url.c: Tweak url cache code to reuse empty slots (never happens).

CVS patchset: 3478
CVS date: 1999/12/12 17:46:22
1999-12-12 17:46:22 +00:00
jbj b438e61808 perform glob on remote ftp queries.
fix: ftpAbort must close the data channel to read abort status.

CVS patchset: 3477
CVS date: 1999/12/12 01:46:13
1999-12-12 01:46:13 +00:00
jbj bd928fc23c partial implementation for ftp globbing.
CVS patchset: 3474
CVS date: 1999/12/11 17:53:25
1999-12-11 17:53:25 +00:00
jbj 52b5346ed8 Sanity (make dist).
CVS patchset: 3472
CVS date: 1999/12/10 21:29:23
1999-12-10 21:29:23 +00:00
jbj ff438dd50d Back out fix for dirIndexes memory leak.
CVS patchset: 3467
CVS date: 1999/12/10 15:37:41
1999-12-10 15:37:41 +00:00
jbj 132bdc063e Sanity (make dist).
CVS patchset: 3465
CVS date: 1999/12/08 16:34:04
1999-12-08 16:34:04 +00:00
jbj a923894df7 fix: Fopen should use 0666 as default (umask will be applied later).
CVS patchset: 3459
CVS date: 1999/12/06 17:53:13
1999-12-06 17:53:13 +00:00
jbj acd32889f4 expose enough of the legacy fdio interface to compile rpmfind/rpm2html.
CVS patchset: 3457
CVS date: 1999/12/05 21:22:45
1999-12-05 21:22:45 +00:00
jbj 4ee67ca11a Bump release.
CVS patchset: 3454
CVS date: 1999/12/02 20:37:26
1999-12-02 20:37:26 +00:00
jbj 8289346751 Add underscore in front of (possibly) non-supported FDIO_t vectors.
Make buildFileList() part of rpmlib API as rpmBuildFileList().
lib/rpmdb.c: Compare fingerprints from different caches by value.

CVS patchset: 3448
CVS date: 1999/12/01 19:57:17
1999-12-01 19:57:17 +00:00
jbj 06aedc29ca lib/depends.c: Fix minor memory leak.
lib/fprint.c: Pass both dirName/baseName to fpLookup() to avoid memory leaks.
lib/rpmdb.c: ditto, and use scaremem=1.
lib/transaction.c: Fix minor memory leak.

CVS patchset: 3443
CVS date: 1999/11/30 18:07:08
1999-11-30 18:07:08 +00:00
jbj 00ba060900 Start rpm-3.0.4.
CVS patchset: 3381
CVS date: 1999/10/11 16:37:55
1999-10-11 16:37:55 +00:00
jbj 55773323cc Rpm 3.0.3 release.
CVS patchset: 3369
CVS date: 1999/10/04 22:04:20
1999-10-04 22:04:20 +00:00
jbj be45257fd9 dumb cpp's want white space around lclint annotations (Tim Mooney).
aix: aix.req broken by cut-and-paste (Tim Mooney).

CVS patchset: 3367
CVS date: 1999/10/04 20:18:48
1999-10-04 20:18:48 +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 861a7532cd fix: rpm-2.5.1 had file list w/o leading / fix.
CVS patchset: 3328
CVS date: 1999/09/26 00:43:12
1999-09-26 00:43:12 +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 098c2a19df Improved warning message on legacy epoch-less compare.
CVS patchset: 3324
CVS date: 1999/09/24 16:02:14
1999-09-24 16:02:14 +00:00
jbj df6acadcf7 Add --redhatprovides and --redhatrequires to rpmpopt.
CVS patchset: 3317
CVS date: 1999/09/22 18:03:19
1999-09-22 18:03:19 +00:00
jbj 868920d4a7 Update from specspo.
CVS patchset: 3315
CVS date: 1999/09/22 13:43:45
1999-09-22 13:43:45 +00:00
jbj 391f138fc1 Bump release.
CVS patchset: 3314
CVS date: 1999/09/21 22:42:10
1999-09-21 22:42:10 +00:00
jbj e6318cc57f fix: removed files fingerprint memory leak.
fix: resurrect allfiles flag from rpm-2.5.x.

CVS patchset: 3312
CVS date: 1999/09/21 17:21:57
1999-09-21 17:21:57 +00:00
jbj 20d78e939a fix: command line install had header memory leak.
check for NULL on all memory allocations.
free rpmrc mallocs on exit.
permit run time leak detection.

CVS patchset: 3311
CVS date: 1999/09/21 03:22:53
1999-09-21 03:22:53 +00:00
jbj 6bdf51d7f3 Start experimental support for bzip2 payloads.
CVS patchset: 3309
CVS date: 1999/09/20 13:34:47
1999-09-20 13:34:47 +00:00
jbj 29c1a3598a do versioned provides/conflicts resolution correctly.
rpmpopt: display versioned provides/obsoletes.
revert to shared libbz2.so now that bzip2 is in base install.

CVS patchset: 3304
CVS date: 1999/09/19 00:29:44
1999-09-19 00:29:44 +00:00
jbj 0148d1e87d python: shared module needs -lrpm -lbz2.
CVS patchset: 3302
CVS date: 1999/09/17 22:59:31
1999-09-17 22:59:31 +00:00
jbj 6bdc80981e fix: with unspecified epochs, skip dependency epoch compare.
CVS patchset: 3283
CVS date: 1999/09/14 16:04:03
1999-09-14 16:04:03 +00:00
jbj 5776936ece fix: versioned provides devolved to existence test with conflicts.
CVS patchset: 3282
CVS date: 1999/09/14 05:41:13
1999-09-14 05:41:13 +00:00
jbj fa165f1417 Bump release.
CVS patchset: 3280
CVS date: 1999/09/12 00:47:09
1999-09-12 00:47:09 +00:00
jbj a7a728a11e Limit header max size to < 32 Mb (~16 times largest currently known).
CVS patchset: 3273
CVS date: 1999/09/09 15:16:01
1999-09-09 15:16:01 +00:00