Commit Graph

43 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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
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 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 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 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
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 45c996bc4d - fix: legacy requires './' payload prefix to be omitted for rpm itself.
- fix: remove verbose database +++/--- messages to conform to doco.

CVS patchset: 3938
CVS date: 2000/07/11 22:23:16
2000-07-11 22:23:16 +00:00
jbj 2dd80c4f8b require --rebuilddb to convert db1 -> db3, better messages.
CVS patchset: 3864
CVS date: 2000/06/18 22:38:37
2000-06-18 22:38:37 +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 7f1e954024 Casts for debugging messages.
CVS patchset: 3741
CVS date: 2000/05/18 14:06:48
2000-05-18 14:06:48 +00:00
jbj ac47974f08 fix stupid mistakes (alpha segfaults).
CVS patchset: 3726
CVS date: 2000/05/12 23:30:28
2000-05-12 23:30:28 +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 dce2eccbd5 Sanity.
CVS patchset: 3686
CVS date: 2000/04/19 16:59:02
2000-04-19 16:59:02 +00:00
jbj d91a22b165 fix: dbiCloseIndex not called (typo).
dump db1 and db2 for now.

CVS patchset: 3665
CVS date: 2000/04/08 21:36:02
2000-04-08 21:36: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 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
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
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 d932818c23 Patches from PLD.
CVS patchset: 3556
CVS date: 2000/02/13 19:24:19
2000-02-13 19:24:19 +00:00
jbj f7b80eb211 Commit broken perl binding changes.
CVS patchset: 3549
CVS date: 2000/02/10 22:13:48
2000-02-10 22:13:48 +00:00
gafton c789b85910 Finally fixed it up for the new version of perl.
CVS patchset: 3207
CVS date: 1999/07/28 00:56:34
1999-07-28 00:56:34 +00:00
gafton 12dacc46fb Hacks
CVS patchset: 3205
CVS date: 1999/07/26 23:39:34
1999-07-26 23:39:34 +00:00
gafton b499fad538 Updated
CVS patchset: 3181
CVS date: 1999/07/19 20:17:59
1999-07-19 20:17:59 +00:00
gafton 149db88d72 ignore perl
CVS patchset: 3175
CVS date: 1999/07/16 08:46:16
1999-07-16 08:46:16 +00:00
gafton 8e4d1531d6 New file
CVS patchset: 3174
CVS date: 1999/07/16 08:45:24
1999-07-16 08:45:24 +00:00
gafton 1d18d03f9d Added rpmdb traversal
CVS patchset: 3173
CVS date: 1999/07/16 08:44:54
1999-07-16 08:44:54 +00:00
gafton aa85d25a0e Added transactions skeleton
CVS patchset: 3163
CVS date: 1999/07/14 22:06:21
1999-07-14 22:06:21 +00:00
gafton ed0b4f5fc1 added comment
CVS patchset: 3162
CVS date: 1999/07/14 18:23:16
1999-07-14 18:23:16 +00:00
gafton 4352ef4a98 Updated
CVS patchset: 3160
CVS date: 1999/07/14 17:23:30
1999-07-14 17:23:30 +00:00
jbj 4adbd80d74 Orphans.
CVS patchset: 3159
CVS date: 1999/07/14 16:53:57
1999-07-14 16:53:57 +00:00
jbj a10abcc2bf Merge Christian's preliminary perl bindings.
CVS patchset: 3158
CVS date: 1999/07/14 16:52:52
1999-07-14 16:52:52 +00:00