Commit Graph

44 Commits

Author SHA1 Message Date
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 1ad22a0bc4 - all symbols but hdrVec are now forward references in linkage.
CVS patchset: 5128
CVS date: 2001/10/21 21:43:32
2001-10-21 21:43:32 +00:00
jbj b7c25b0bef - create RFC-2440 OpenPGP API in rpmio.
- display signature packets before exec'ing gpg/pgp when verifying.

CVS patchset: 5090
CVS date: 2001/09/29 17:44:45
2001-09-29 17:44:45 +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 2a420b223d - drop rpmio/base64.[ch] in favor of beecrypt versions.
CVS patchset: 5079
CVS date: 2001/09/25 14:03:27
2001-09-25 14:03:27 +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 eb8db3316d - finalize per-header methods, accessing headerFoo through vector.
CVS patchset: 4880
CVS date: 2001/06/19 16:59:23
2001-06-19 16:59:23 +00:00
jbj c6bd3de937 - preliminary abstraction to support per-header methods.
CVS patchset: 4878
CVS date: 2001/06/19 11:38:51
2001-06-19 11:38:51 +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 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 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 1975b49aa7 - python: strip header regions during unload.
- add -g to optflags in per-platform config.
- permit confgure/compile with db3-3.2.9.
- permit manifest files as args to query/verify modes.

CVS patchset: 4649
CVS date: 2001/03/22 23:39:01
2001-03-22 23:39:01 +00:00
jbj cc646a80a1 Merge scriptlet handling into psm.c, remove from API.
CVS patchset: 4587
CVS date: 2001/02/28 15:49:23
2001-02-28 15:49:23 +00:00
jbj 8f99e61fc7 Merge changes from rpm-4.0.2.
Add iterators and reverse flag so that erase transactions can run backwards.

CVS patchset: 4556
CVS date: 2001/02/17 17:53:21
2001-02-17 17:53:21 +00:00
jbj eccb6f66fc Reorganize sources before implementing --repackage.
CVS patchset: 4543
CVS date: 2001/02/10 16:47:40
2001-02-10 16:47:40 +00:00
jbj ccdf2e17d8 Make cpio mappings opaque.
CVS patchset: 4479
CVS date: 2001/01/21 23:48:09
2001-01-21 23:48:09 +00:00
jbj d07437babb - cpio mappings carry dirname/basename, not absolute path.
CVS patchset: 4474
CVS date: 2001/01/21 15:43:32
2001-01-21 15:43:32 +00:00
jbj 4f0179f7ee Unify rpmError() and rpmMessage() on top of rpmlog().
CVS patchset: 4148
CVS date: 2000/08/31 02:38:57
2000-08-31 02:38:57 +00:00
jbj 721e696edd Sync with rpm-3.0.5 chnages.
CVS patchset: 3958
CVS date: 2000/07/17 00:40:17
2000-07-17 00:40:17 +00:00
jbj 5b7d286d96 Remove oldrpmdb.c as well.
CVS patchset: 3955
CVS date: 2000/07/15 18:30:45
2000-07-15 18:30:45 +00:00
jbj 4fb053be51 Eliminate convertdb.c.
CVS patchset: 3954
CVS date: 2000/07/15 18:22:24
2000-07-15 18:22:24 +00:00
jbj c38a7cdcfb Move low level support routines to librpmio.
CVS patchset: 3822
CVS date: 2000/06/09 18:57:23
2000-06-09 18:57:23 +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
jbj dcbbd47217 Split popt glue into lib/popt{BT,QV}.c.
Add dependencies to *.la.

CVS patchset: 3787
CVS date: 2000/06/01 04:47:42
2000-06-01 04:47:42 +00:00
jbj d42614ac16 Sanity (make dist).
CVS patchset: 3755
CVS date: 2000/05/26 18:59:08
2000-05-26 18:59:08 +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 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 588daae4b4 Consolidate changes into rpmdb.c.
CVS patchset: 3683
CVS date: 2000/04/18 18:11:43
2000-04-18 18:11:43 +00:00
jbj 1f6614e61e The death of lib/ftp.c, merged into lib/rpmio.c.
Start composting the rpmio API.
Preliminary (not working) support for HTTP PUT.
build.c: Check fd for NULL and use Ferror() for Fopen return.
build/parseSpec.c: ditto
build/pack.c: Use fdGetFP() rather than fpio->ffileno().
build/parseSpec.c: ditto
build/pack.c: Use Stat/Mkdir wrappers.
build/pack.c: Do Fflush before fdDup so that writes can remain buffered.
lib/install.c: ditto
build/parsePrep.c: Skip over URL leadin when writing %prep scriptlet.
lib/misc.c: Rewrite to use simpler urlPath(). Restore checks on local fs.
lib/rpmchecksig.c: Open with "r+" rather than "w" to avoid truncation.
lib/url.c: Do lazy malloc of u->buf in rpmio.c checkResponse().
lib/rpmio.c: Make persist/contentLength per-fd rather than per-url.
lib/rpmio.c: Add wr_chunked method for HTTP PUT (still broken).
lib/rpmio.c: ftpAbort() should use timedRead.
lib/rpmio.c: Add Fflush().
lib/url.c: urlPath() should return something ("/") on url = NULL (paranoia).
lib/url.c: urlSplit() should return something ("/") on url w/o path.

CVS patchset: 3429
CVS date: 1999/11/18 18:07:46
1999-11-18 18:07:46 +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 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 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 40d76f715b move checksig/resign major modes into rpmlib.
CVS patchset: 3157
CVS date: 1999/07/14 16:47:30
1999-07-14 16:47:30 +00:00
jbj d795e1e296 move install/erase major modes into rpmlib.
CVS patchset: 3155
CVS date: 1999/07/14 15:43:30
1999-07-14 15:43:30 +00:00
jbj 082ee36e0a move url.c and ftp.c to rpmlib right next to query.
CVS patchset: 3117
CVS date: 1999/06/30 20:09:31
1999-06-30 20:09:31 +00:00
jbj 2b81e0423d Remove verify.c
CVS patchset: 3056
CVS date: 1999/05/11 16:13:28
1999-05-11 16:13:28 +00:00
jbj b72b138ea5 Update-po before new RU files.
CVS patchset: 3035
CVS date: 1999/04/28 14:12:55
1999-04-28 14:12:55 +00:00
jbj 398c9e0363 Change dependencies so that automake is not needed to build.
Update rpm POTFILES.
Popt too.

CVS patchset: 2741
CVS date: 1999/01/22 15:57:39
1999-01-22 15:57:39 +00:00
ewt 62efcbd3fc 1) split query option parsing into popt subtables
2) moved query code into rpmlib

CVS patchset: 2502
CVS date: 1998/10/27 05:41:02
1998-10-27 05:41:02 +00:00
jbj 4e498b0bcb permit rpm to be built in a sub-directory (--srcdir=DIR).
CVS patchset: 2440
CVS date: 1998/10/09 23:51:19
1998-10-09 23:51:19 +00:00
jbj 1516f1d56c configure using automake.
CVS patchset: 2418
CVS date: 1998/10/08 10:40:27
1998-10-08 10:40:27 +00:00