Commit Graph

709 Commits

Author SHA1 Message Date
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
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 3a7e311add fix: cpio.c: pre-, not post-, decrement the link count.
(from Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>)

CVS patchset: 3679
CVS date: 2000/04/15 20:21:15
2000-04-15 20:21:15 +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 f3571adf59 API: pass *SearchIndex() length of key (0 will use strlen(key)).
API: remove rpmdb{First,Next}RecNum routines.
db3.c: remove cursor DB_RMW implementation, something else is needed.
rpmdb.c: first crack at rpmdb match iterator.
query.c: ditto.
rebuilddb.c: ditto.
dumpdb.c: ditto.

CVS patchset: 3668
CVS date: 2000/04/12 13:42:57
2000-04-12 13:42:57 +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 eb75d9280b use "rpmdb db" consistently throughout, add doxygen tags.
db3.c: save join keys in endian neutral binary format.
rpmdb.c: create rpmdbCountPackages().
install.c: use rpmdbCountPackages().
uninstall.c: Ditto.

CVS patchset: 3662
CVS date: 2000/04/07 16:09:25
2000-04-07 16:09:25 +00:00
jbj d2d06f6b3e solaris2.6: avoid bsearch with empty dir list (Ric Klaren - klaren@cs.utwente.nl)
CVS patchset: 3661
CVS date: 2000/04/07 13:10:37
2000-04-07 13:10:37 +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 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 353a2811a4 add db3 to the pile, isolate all with incremental link and vectors.
CVS patchset: 3643
CVS date: 2000/03/27 15:55:07
2000-03-27 15:55:07 +00:00
jbj ea8051c29a convert db1 -> db2 on-disk format using --rebuilddb.
CVS patchset: 3637
CVS date: 2000/03/23 20:58:01
2000-03-23 20:58:01 +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 80d940387d configure noarch compatibility in rpmrc for ia64.
CVS patchset: 3633
CVS date: 2000/03/17 21:04:50
2000-03-17 21:04:50 +00:00
jbj e745a2dd07 configure.in fiddles for BSD systems (Patrick Schoo).
CVS patchset: 3631
CVS date: 2000/03/16 14:27:04
2000-03-16 14:27:04 +00:00
jbj cf68a32ca6 - fix: noLibio = 0 on Red Hat 4.x and 5.x.
- fix: typo in autodeps/linux.req.

CVS patchset: 3630
CVS date: 2000/03/15 19:50:57
2000-03-15 19:50:57 +00:00
jbj 3e7f416a74 use DIRNAMES/BASENAMES/DIRINDICES not FILENAMES in packages and db.
CVS patchset: 3626
CVS date: 2000/03/13 15:17:12
2000-03-13 15:17:12 +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 bed2a465fe fix: use glibc 2.1 glob/fnmatch everywhere.
CVS patchset: 3621
CVS date: 2000/03/11 20:14:07
2000-03-11 20:14:07 +00:00
jbj 3af1f7d94e fix: better filter in linux.req to avoid ARM specific objdump output.
CVS patchset: 3614
CVS date: 2000/03/10 16:53:08
2000-03-10 16:53:08 +00:00
jbj de046f7907 Orphan.
CVS patchset: 3611
CVS date: 2000/03/09 18:13:19
2000-03-09 18:13:19 +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 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
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 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 1484d82ecd fix: filter excluded paths before adding install prefixes (#8709).
CVS patchset: 3575
CVS date: 2000/02/22 12:05:13
2000-02-22 12:05:13 +00:00
jbj 0cb75458e0 permit cli setting of build root policies.
CVS patchset: 3574
CVS date: 2000/02/22 03:11:30
2000-02-22 03:11:30 +00:00
jbj c39e2a9ea0 macro expansion (and absolute path) in %files -f arg (#9508,#9091).
CVS patchset: 3573
CVS date: 2000/02/22 03:09:53
2000-02-22 03:09:53 +00:00
jbj 76b9a27eec updated sv.po from <goeran@uddeborg.pp.se>.
CVS patchset: 3572
CVS date: 2000/02/22 01:09:16
2000-02-22 01:09:16 +00:00
jbj bbcdd26569 add sl.po from Primoz Peterlin <peterlin@biofiz.mf.uni-lj.si>.
CVS patchset: 3569
CVS date: 2000/02/17 21:00:06
2000-02-17 21:00:06 +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 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 f6e3e14f10 {Free,Open}BSD find-{provides,requires} (suzukis@file.phys.tohoku.ac.jp).
CVS patchset: 3544
CVS date: 2000/02/06 19:07:13
2000-02-06 19:07:13 +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 103b41c1d1 fix: on --erase, segfault caused by "" prefix.
CVS patchset: 3532
CVS date: 2000/01/24 16:11:16
2000-01-24 16:11:16 +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 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 96c29a1ac7 extract spec files from bzip'ped tarballs too on tar builds.
CVS patchset: 3520
CVS date: 2000/01/15 14:17:07
2000-01-15 14:17:07 +00:00
jbj 0d185e8fb5 fix: resurrect relative path's in fprint lookup queries.
CVS patchset: 3518
CVS date: 2000/01/12 21:48:58
2000-01-12 21:48:58 +00:00
jbj ea3ab95e17 default value for %_install_langs is all.
CVS patchset: 3517
CVS date: 2000/01/11 19:12:34
2000-01-11 19:12:34 +00:00
jbj 483793a877 configurable compression type/level for package payloads.
CVS patchset: 3516
CVS date: 2000/01/11 16:13:16
2000-01-11 16:13:16 +00:00
jbj 9f35fb4373 configurable PATH for install %pre/%post et al scriptlets.
use only %_install_langs, not LINGUAS/LANG when deciding to install.

CVS patchset: 3514
CVS date: 2000/01/11 15:22:35
2000-01-11 15:22:35 +00:00
jbj 8685f7a0de updated sv.po (goeran@uddeborg.pp.se) (#8349).
CVS patchset: 3513
CVS date: 2000/01/11 13:06:12
2000-01-11 13:06:12 +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