jbj
d89ce5854d
- disambiguate added/installed dependency failures ( #50388 ).
...
CVS patchset: 5532
CVS date: 2002/06/28 21:54:24
2002-06-28 21:54:24 +00:00
jbj
13d177beb2
Add boundswrite annotations everywhere.
...
CVS patchset: 5522
CVS date: 2002/06/23 19:47:08
2002-06-23 19:47:08 +00:00
jbj
93e968c515
Orphan.
...
CVS patchset: 5482
CVS date: 2002/06/12 14:54:06
2002-06-12 14:54:06 +00:00
jbj
23bbe266cc
Add bindings for rpmte and FD_t.
...
CVS patchset: 5451
CVS date: 2002/05/27 21:40:08
2002-05-27 21:40:08 +00:00
jbj
2126e4ad09
- Grand Renaming of rpm data types.
...
CVS patchset: 5439
CVS date: 2002/05/19 18:42:25
2002-05-19 18:42:25 +00:00
jbj
076a6e29c5
- opaque (well mostly) rpmTransactionSet using methods.
...
CVS patchset: 5437
CVS date: 2002/05/16 16:55:21
2002-05-16 16:55:21 +00:00
jbj
e3c57cf71e
- merge conflicts into problems, handle as transaction set variable.
...
CVS patchset: 5402
CVS date: 2002/04/13 18:52:18
2002-04-13 18:52:18 +00:00
jbj
2404e8d918
- rescusitate --rebuild.
...
CVS patchset: 5389
CVS date: 2002/04/11 16:55:19
2002-04-11 16:55:19 +00:00
jbj
bd2f1e9543
Fix: source package already part of the transaction.
...
CVS patchset: 5388
CVS date: 2002/04/10 22:10:13
2002-04-10 22:10:13 +00:00
jbj
c74fa24965
- missing key(s) on keyring when verifying a signature is now an error.
...
- remove dependency whiteout.
- splint fiddles.
CVS patchset: 5255
CVS date: 2002/01/18 22:51:30
2002-01-18 22:51:30 +00:00
jbj
1eb0503123
Replace loadFi with fiNew, freeFi with fiFree.
...
CVS patchset: 5175
CVS date: 2001/11/11 20:45:20
2001-11-11 20:45:20 +00:00
jbj
eb10f05b85
- rip out rpmDependencyConflict, replace with rpmProblem instead.
...
CVS patchset: 5162
CVS date: 2001/11/08 22:04:35
2001-11-08 22:04:35 +00:00
jbj
966fabbc44
- memory indices for dependency check are typedef'd and abstract'd.
...
- no-brainer refcounts for fi object, debug the mess.
- dump the header early in transaction, recreate fi before installing.
CVS patchset: 5137
CVS date: 2001/10/28 22:17:47
2001-10-28 22:17:47 +00:00
jbj
c1d367a094
- transaction sets cerated in cli main.
...
- no-brainer refcounts for ts object.
CVS patchset: 5136
CVS date: 2001/10/27 22:31:10
2001-10-27 22:31:10 +00:00
jbj
7402ce1546
- legacy signatures always checked where possible on package read.
...
- wire transactions through rpmcli build modes.
- lazy rpmdb open/close through transaction methods (mostly anyways).
- no-brainer refcounts for rpmdb object.
- check added header against transaction set, replace if newer.
CVS patchset: 5135
CVS date: 2001/10/27 20:09:20
2001-10-27 20:09:20 +00:00
jbj
72f92dd744
- wire transactions through rpmcli signature modes.
...
CVS patchset: 5131
CVS date: 2001/10/23 20:52:51
2001-10-23 20:52:51 +00:00
jbj
3b820b2d53
- generate an rpm header on the fly for imported pubkeys.
...
CVS patchset: 5130
CVS date: 2001/10/23 16:48:20
2001-10-23 16:48:20 +00:00
jbj
d57a29baac
Converging on lclint-3.0.17 strict level.
...
CVS patchset: 5118
CVS date: 2001/10/17 16:43:36
2001-10-17 16:43:36 +00:00
jbj
72471f2e54
Explicit branchstate annotations.
...
CVS patchset: 5113
CVS date: 2001/10/15 17:53:34
2001-10-15 17:53:34 +00:00
jbj
d8dc44f363
lclint fiddles to annotate globals.
...
CVS patchset: 5106
CVS date: 2001/10/15 03:22:10
2001-10-15 03:22:10 +00:00
jbj
4b67d7621c
More lclint annotations.
...
CVS patchset: 5105
CVS date: 2001/10/13 22:01:38
2001-10-13 22:01:38 +00:00
jbj
9df3fc957f
- expose rpmShowProgress() and rpmVerifyDigest() in rpmcli.h.
...
- portability: avoid st_mtime, gendiff uses basename, etc (#47497 ).
- glibc-2.0.x has not __va_copy().
- popthelp.c: static copy of stpcpy/stpncpy for the deprived (#47500 ).
CVS patchset: 4921
CVS date: 2001/07/06 20:37:42
2001-07-06 20:37:42 +00:00
jbj
7233e3ad73
- remove rpmrc Provides: Yet Again, use virtual packages.
...
- dump cursor debugging wrappers.
- rpm --verify can disable rpmFileAttr checks.
CVS patchset: 4856
CVS date: 2001/06/12 17:06:47
2001-06-12 17:06: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
4ae69250a2
- fix typos in linux.{req,prov}.
...
CVS patchset: 4834
CVS date: 2001/06/05 19:26:22
2001-06-05 19:26:22 +00:00
jbj
f5ebe3fb42
- return multiple suggested packages (Pawel Kolodziej <pawelk@pld.org.pl>).
...
- fix: return suggested packages when using Depends cache.
CVS patchset: 4823
CVS date: 2001/05/31 22:31:14
2001-05-31 22:31:14 +00:00
jbj
c3835f5ca0
- fix: specfile queries with BuildArch: ( #27589 ).
...
CVS patchset: 4746
CVS date: 2001/05/06 19:17:14
2001-05-06 19:17:14 +00:00
jbj
d78e027808
- still more boring lclint annotations and fiddles.
...
CVS patchset: 4738
CVS date: 2001/05/03 21:00:18
2001-05-03 21:00:18 +00:00
jbj
fc920e3ac3
Update to doxygen-1.2.6 configuration.
...
Add manual files to Doxfile.in.
lclint annotations.
CVS patchset: 4624
CVS date: 2001/03/14 23:09:09
2001-03-14 23:09:09 +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
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
c74cc1df1c
- fix: extra newline in many error messages ( #23947 ).
...
- fix: rpm -Va with db1 needs per-iterator, not per-index, offset.
- add install/remove transaction id tags.
CVS patchset: 4441
CVS date: 2001/01/15 23:09:42
2001-01-15 23:09:42 +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
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
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
f2efc7263e
- unify rpmError and rpmMessge interfaces through rpmlog.
...
- collect and display rpm build error messages at end of build.
CVS patchset: 4149
CVS date: 2000/09/01 21:15:40
2000-09-01 21:15:40 +00:00
jbj
d83648fc60
Rip out rpmrc configuration.
...
CVS patchset: 4134
CVS date: 2000/08/27 19:43:51
2000-08-27 19:43:51 +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
5807d4262e
Remove build modes from rpm, use rpmb and/or popt glue instead.
...
CVS patchset: 3754
CVS date: 2000/05/26 18:51:11
2000-05-26 18:51:11 +00:00
jbj
f4606533e4
fix: move free after error message that needs data.
...
CVS patchset: 3644
CVS date: 2000/03/30 19:21:09
2000-03-30 19:21:09 +00:00
jbj
4e095c79a7
Args reversed generating untar command.
...
CVS patchset: 3535
CVS date: 2000/01/24 22:03:52
2000-01-24 22:03:52 +00:00
jbj
ddaf379281
Typo.
...
CVS patchset: 3521
CVS date: 2000/01/17 14:03:44
2000-01-17 14:03:44 +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
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
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
4221ce1aa1
lib/macro.c: Canonicalize paths in rpmGetPath().
...
build.c: ditto.
build/build.c: ditto.
build/files.c: ditto.
build/parsePreamble.c: ditto.
build/parseSpec.c: ditto.
build/myftw.c: Use Opendir/Readdir/Closedir wrappers.
lib/cpio.c: Use Readlink/Stat/Lstat wrappers while building archive.
lib/rpmio.c: functional ftpLstat, ftpStat and ftpReadlink.
CVS patchset: 3432
CVS date: 1999/11/24 00:03:54
1999-11-24 00:03:54 +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
e0b1d0be36
Swap 2nd and 3rd arg to Fread/Fwrite to preserve read/write type return.
...
Use Fstrerror to retrieve fd->syserrno.
Make ftpFileDoneNeeded per-fd rather than per-url.
Make data fd unique rather than per-url.
Use appropriate protocol commands for ufdio writing.
CVS patchset: 3421
CVS date: 1999/11/10 22:09:49
1999-11-10 22:09:49 +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