jbj [Wed, 5 Jan 2000 19:48:31 +0000 (19:48 +0000)]
Sanity (make dist).
CVS patchset: 3510
CVS date: 2000/01/05 19:48:31
jbj [Wed, 5 Jan 2000 19:46:45 +0000 (19:46 +0000)]
resurrect failed glob error message during build
CVS patchset: 3509
CVS date: 2000/01/05 19:46:45
jbj [Tue, 4 Jan 2000 13:12:07 +0000 (13:12 +0000)]
Correct open flags for signing packages.
Sanity (make dist).
CVS patchset: 3508
CVS date: 2000/01/04 13:12:07
jbj [Mon, 3 Jan 2000 19:40:13 +0000 (19:40 +0000)]
Orphan.
CVS patchset: 3507
CVS date: 2000/01/03 19:40:13
jbj [Mon, 3 Jan 2000 19:39:22 +0000 (19:39 +0000)]
Sanity (make dist).
CVS patchset: 3506
CVS date: 2000/01/03 19:39:22
jbj [Mon, 3 Jan 2000 19:37:56 +0000 (19:37 +0000)]
fix: manageFile needs to and with O_WRONLY(=1), not O_RDONLY(=0).
CVS patchset: 3505
CVS date: 2000/01/03 19:37:56
jbj [Mon, 3 Jan 2000 18:35:40 +0000 (18:35 +0000)]
Sanity (make dist).
CVS patchset: 3504
CVS date: 2000/01/03 18:35:40
jbj [Mon, 3 Jan 2000 18:32:49 +0000 (18:32 +0000)]
fix: fp.subDir was incorrectly set to NULL in sparse chroot's.
CVS patchset: 3503
CVS date: 2000/01/03 18:32:49
jbj [Thu, 30 Dec 1999 19:17:03 +0000 (19:17 +0000)]
Sanity (make dist).
CVS patchset: 3502
CVS date: 1999/12/30 19:17:03
jbj [Thu, 30 Dec 1999 18:29:50 +0000 (18:29 +0000)]
Orphan.
CVS patchset: 3501
CVS date: 1999/12/30 18:29:50
jbj [Thu, 30 Dec 1999 18:26:13 +0000 (18:26 +0000)]
add ja translation and man pages (Kanda Mitsuru kanda@nn.iij4u.or.jp).
CVS patchset: 3500
CVS date: 1999/12/30 18:26:13
jbj [Thu, 30 Dec 1999 17:08:38 +0000 (17:08 +0000)]
Sanity (make dist).
CVS patchset: 3499
CVS date: 1999/12/30 17:08:38
jbj [Thu, 30 Dec 1999 17:06:53 +0000 (17:06 +0000)]
Force python arrays for DIRNAMES/BASENAMES/DIRINDEXES.
CVS patchset: 3498
CVS date: 1999/12/30 17:06:53
jbj [Fri, 24 Dec 1999 14:54:34 +0000 (14:54 +0000)]
split python bindings into a separate sub-package of rpm.
CVS patchset: 3497
CVS date: 1999/12/24 14:54:34
jbj [Wed, 22 Dec 1999 21:31:39 +0000 (21:31 +0000)]
Sanity (make dist).
CVS patchset: 3496
CVS date: 1999/12/22 21:31:39
jbj [Wed, 22 Dec 1999 21:30:28 +0000 (21:30 +0000)]
duplicate popt routine so that librpm.so needs not libpopt.so.
CVS patchset: 3495
CVS date: 1999/12/22 21:30:28
jbj [Tue, 21 Dec 1999 17:16:08 +0000 (17:16 +0000)]
Sanity (make dist).
CVS patchset: 3494
CVS date: 1999/12/21 17:16:08
jbj [Tue, 21 Dec 1999 17:11:43 +0000 (17:11 +0000)]
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
jbj [Sun, 19 Dec 1999 19:55:14 +0000 (19:55 +0000)]
Initialize values behind pointers before calling rpmGet{Arch,Os}Info.
Sanity (make dist).
CVS patchset: 3492
CVS date: 1999/12/19 19:55:14
jbj [Sun, 19 Dec 1999 18:59:46 +0000 (18:59 +0000)]
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
jbj [Sat, 18 Dec 1999 19:38:18 +0000 (19:38 +0000)]
fix: turn off stdio buffering if not opened O_RDONLY for now.
CVS patchset: 3490
CVS date: 1999/12/18 19:38:18
jbj [Sat, 18 Dec 1999 15:20:29 +0000 (15:20 +0000)]
Spelling correction.
CVS patchset: 3489
CVS date: 1999/12/18 15:20:29
jbj [Thu, 16 Dec 1999 21:58:19 +0000 (21:58 +0000)]
diddle some names to keep my C++ brethern happy (i.e. kpackage port).
CVS patchset: 3488
CVS date: 1999/12/16 21:58:19
jbj [Thu, 16 Dec 1999 19:38:28 +0000 (19:38 +0000)]
fix: missing strdup when overriding buildroot from command line
argument (#1026,#5006).
CVS patchset: 3487
CVS date: 1999/12/16 19:38:28
jbj [Wed, 15 Dec 1999 21:51:07 +0000 (21:51 +0000)]
expose enough of legacy fdio interface to compile gnorpm.
CVS patchset: 3486
CVS date: 1999/12/15 21:51:07
jbj [Wed, 15 Dec 1999 18:19:47 +0000 (18:19 +0000)]
Correct --tarball option (long name should have been --tarbuild).
CVS patchset: 3485
CVS date: 1999/12/15 18:19:47
jbj [Wed, 15 Dec 1999 17:10:31 +0000 (17:10 +0000)]
uninstall.c: rpmdbRemove used to have 2nd arg, tolerant = 0. This generates
an error message because of a db-1.85 hash access bug that cannot be
easily fixed. So, we turn off the error message.
CVS patchset: 3484
CVS date: 1999/12/15 17:10:31
jbj [Wed, 15 Dec 1999 15:52:47 +0000 (15:52 +0000)]
Sanity (make dist).
CVS patchset: 3483
CVS date: 1999/12/15 15:52:47
jbj [Wed, 15 Dec 1999 15:52:47 +0000 (15:52 +0000)]
Sanity (make dist).
CVS patchset: 3482
CVS date: 1999/12/15 15:52:47
jbj [Wed, 15 Dec 1999 15:51:30 +0000 (15:51 +0000)]
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
jbj [Mon, 13 Dec 1999 19:27:34 +0000 (19:27 +0000)]
NULL missing at end of packages-to-be-installed array.
CVS patchset: 3480
CVS date: 1999/12/13 19:27:34
jbj [Sun, 12 Dec 1999 21:14:05 +0000 (21:14 +0000)]
reload macros from cmd line when re-reading config files.
CVS patchset: 3479
CVS date: 1999/12/12 21:14:05
jbj [Sun, 12 Dec 1999 17:46:22 +0000 (17:46 +0000)]
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
jbj [Sun, 12 Dec 1999 01:46:13 +0000 (01:46 +0000)]
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
jbj [Sat, 11 Dec 1999 17:55:20 +0000 (17:55 +0000)]
Sanity (make dist).
CVS patchset: 3476
CVS date: 1999/12/11 17:55:20
jbj [Sat, 11 Dec 1999 17:55:20 +0000 (17:55 +0000)]
Sanity (make dist).
CVS patchset: 3475
CVS date: 1999/12/11 17:55:20
jbj [Sat, 11 Dec 1999 17:53:25 +0000 (17:53 +0000)]
partial implementation for ftp globbing.
CVS patchset: 3474
CVS date: 1999/12/11 17:53:25
ewt [Sat, 11 Dec 1999 17:47:55 +0000 (17:47 +0000)]
doLookup() wasn't stat'ing / properly
CVS patchset: 3473
CVS date: 1999/12/11 17:47:55
jbj [Fri, 10 Dec 1999 21:29:23 +0000 (21:29 +0000)]
Sanity (make dist).
CVS patchset: 3472
CVS date: 1999/12/10 21:29:23
jbj [Fri, 10 Dec 1999 21:29:23 +0000 (21:29 +0000)]
Sanity (make dist).
CVS patchset: 3471
CVS date: 1999/12/10 21:29:23
jbj [Fri, 10 Dec 1999 21:26:58 +0000 (21:26 +0000)]
add contentLength sanity check on rpmdb headerWrite.
CVS patchset: 3470
CVS date: 1999/12/10 21:26:58
jbj [Fri, 10 Dec 1999 18:13:23 +0000 (18:13 +0000)]
fix: don't look at password when searching urlCache.
CVS patchset: 3469
CVS date: 1999/12/10 18:13:23
jbj [Fri, 10 Dec 1999 15:44:12 +0000 (15:44 +0000)]
Sanity (make dist).
CVS patchset: 3468
CVS date: 1999/12/10 15:44:12
jbj [Fri, 10 Dec 1999 15:37:41 +0000 (15:37 +0000)]
Back out fix for dirIndexes memory leak.
CVS patchset: 3467
CVS date: 1999/12/10 15:37:41
jbj [Wed, 8 Dec 1999 19:04:50 +0000 (19:04 +0000)]
rename new FILENAMES tags to BASENAMES/DIRNAMES/DIRINDEXES.
CVS patchset: 3466
CVS date: 1999/12/08 19:04:50
jbj [Wed, 8 Dec 1999 16:34:04 +0000 (16:34 +0000)]
Sanity (make dist).
CVS patchset: 3465
CVS date: 1999/12/08 16:34:04
jbj [Wed, 8 Dec 1999 16:34:04 +0000 (16:34 +0000)]
Sanity (make dist).
CVS patchset: 3464
CVS date: 1999/12/08 16:34:04
jbj [Wed, 8 Dec 1999 16:32:25 +0000 (16:32 +0000)]
fix: new filelists require package index, not pointer.
CVS patchset: 3463
CVS date: 1999/12/08 16:32:25
jbj [Tue, 7 Dec 1999 21:14:51 +0000 (21:14 +0000)]
Makefile.am: Add RPM-GPG-KEY to the package.
Use fdLink/fdFree for fd/scriptFd references in transaction set/availableList.
fprint.h: Permit (and check for) subDir = NULL in fingerPrints.
More lclint annotations.
CVS patchset: 3462
CVS date: 1999/12/07 21:14:51
jbj [Tue, 7 Dec 1999 07:05:14 +0000 (07:05 +0000)]
Here is a patch for rpmdiff. It fixes a bug where I did not
understand the difference between:
'FILEUIDS', 'FILEGIDS',
and
'FILEGROUPNAME', 'FILEUSERNAME',
Ken
CVS patchset: 3461
CVS date: 1999/12/07 07:05:14
jbj [Mon, 6 Dec 1999 18:03:52 +0000 (18:03 +0000)]
fix: default for rd_timeoutsecs is 1 sec (avoid ufdio assertion).
CVS patchset: 3460
CVS date: 1999/12/06 18:03:52
jbj [Mon, 6 Dec 1999 17:53:13 +0000 (17:53 +0000)]
fix: Fopen should use 0666 as default (umask will be applied later).
CVS patchset: 3459
CVS date: 1999/12/06 17:53:13
jbj [Sun, 5 Dec 1999 21:23:55 +0000 (21:23 +0000)]
Sanity (make dist).
CVS patchset: 3458
CVS date: 1999/12/05 21:23:55
jbj [Sun, 5 Dec 1999 21:22:45 +0000 (21:22 +0000)]
expose enough of the legacy fdio interface to compile rpmfind/rpm2html.
CVS patchset: 3457
CVS date: 1999/12/05 21:22:45
jbj [Thu, 2 Dec 1999 21:58:04 +0000 (21:58 +0000)]
Handle both old and new style bash2 hacks for now.
CVS patchset: 3456
CVS date: 1999/12/02 21:58:04
jbj [Thu, 2 Dec 1999 20:38:44 +0000 (20:38 +0000)]
Sanity (make dist).
CVS patchset: 3455
CVS date: 1999/12/02 20:38:44
jbj [Thu, 2 Dec 1999 20:37:26 +0000 (20:37 +0000)]
Bump release.
CVS patchset: 3454
CVS date: 1999/12/02 20:37:26
jbj [Thu, 2 Dec 1999 18:30:31 +0000 (18:30 +0000)]
initial version of check-prereqs.
CVS patchset: 3453
CVS date: 1999/12/02 18:30:31
jbj [Thu, 2 Dec 1999 17:07:29 +0000 (17:07 +0000)]
fail to package if absolute symlink points within build root.
CVS patchset: 3452
CVS date: 1999/12/02 17:07:29
jbj [Thu, 2 Dec 1999 16:31:35 +0000 (16:31 +0000)]
permit --whatprovides to lookup file dependencies.
CVS patchset: 3451
CVS date: 1999/12/02 16:31:35
jbj [Wed, 1 Dec 1999 20:17:05 +0000 (20:17 +0000)]
Sanity (make dist).
CVS patchset: 3450
CVS date: 1999/12/01 20:17:05
jbj [Wed, 1 Dec 1999 20:00:39 +0000 (20:00 +0000)]
Solaris fiddles.
CVS patchset: 3449
CVS date: 1999/12/01 20:00:39
jbj [Wed, 1 Dec 1999 19:57:17 +0000 (19:57 +0000)]
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
jbj [Tue, 30 Nov 1999 18:41:12 +0000 (18:41 +0000)]
Sanity.
CVS patchset: 3447
CVS date: 1999/11/30 18:41:12
jbj [Tue, 30 Nov 1999 18:39:50 +0000 (18:39 +0000)]
python/* needs to include "system.h".
CVS patchset: 3446
CVS date: 1999/11/30 18:39:50
jbj [Tue, 30 Nov 1999 18:27:49 +0000 (18:27 +0000)]
lib/transaction.c: Fix (in the right place) the dil memory leak.
CVS patchset: 3445
CVS date: 1999/11/30 18:27:49
jbj [Tue, 30 Nov 1999 18:13:39 +0000 (18:13 +0000)]
Update-po.
CVS patchset: 3444
CVS date: 1999/11/30 18:13:39
jbj [Tue, 30 Nov 1999 18:07:08 +0000 (18:07 +0000)]
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
jbj [Tue, 30 Nov 1999 14:49:45 +0000 (14:49 +0000)]
lib/install.c: Check errno and mkdir specdir/sourcedir only for local fs.
lib/rpmio.c: Create ftpOpen/httpOpen from ufdOpen case's.
lib/rpmio.c: ftpStat et al uses ftpOpen and NLST w/o path.
lib/query.c: Don't Fclose(fd) if fd == NULL.
CVS patchset: 3442
CVS date: 1999/11/30 14:49:45
jbj [Mon, 29 Nov 1999 14:56:36 +0000 (14:56 +0000)]
Add timestamping to statistics.
Rudimentary display of statistics for GZDIO/BZDIO.
CVS patchset: 3441
CVS date: 1999/11/29 14:56:36
jbj [Sat, 27 Nov 1999 00:15:07 +0000 (00:15 +0000)]
lib/stubs.c: Add portability routines to rpmlib for portable shared rpmlib.
lib/rpmio.c: Internalize single use of inet_aton().
lib/rpmio.h: Include libio.h retrofit here rather than in system.h.
configure.in: Remove regex/glob tests.
CVS patchset: 3440
CVS date: 1999/11/27 00:15:07
jbj [Fri, 26 Nov 1999 22:31:19 +0000 (22:31 +0000)]
Minimal python compile.
CVS patchset: 3439
CVS date: 1999/11/26 22:31:19
jbj [Fri, 26 Nov 1999 22:02:37 +0000 (22:02 +0000)]
Package 3.0.4-0.1
CVS patchset: 3438
CVS date: 1999/11/26 22:02:37
jbj [Fri, 26 Nov 1999 22:00:02 +0000 (22:00 +0000)]
use directory tokens internally to reduce memory usage.
CVS patchset: 3437
CVS date: 1999/11/26 22:00:02
jbj [Fri, 26 Nov 1999 21:58:42 +0000 (21:58 +0000)]
Consistent usage for fileNames, baseNames, dirNames and dirIndexes throughout.
rpm.c: Add --nodirtokens and --dirtokens to control file list compression.
lib/misc.c: Default (conservative) valuse _noDirTokens is TRUE.
lib/misc.c: Add expandFileList analogue to compressFileList.
build/pack.c: Compress file list only if compression is requested.
lib/rpmdb.c: Expand file list before headerWrite if compression not requested.
CVS patchset: 3436
CVS date: 1999/11/26 21:58:42
jbj [Fri, 26 Nov 1999 16:19:30 +0000 (16:19 +0000)]
lib/macro.c: Create rpmCleanPath().
build/misc.c: Delete cleanFileName().
CVS patchset: 3435
CVS date: 1999/11/26 16:19:30
jbj [Wed, 24 Nov 1999 16:55:42 +0000 (16:55 +0000)]
Display message if GNU xgettext is not found.
CVS patchset: 3434
CVS date: 1999/11/24 16:55:42
jbj [Wed, 24 Nov 1999 16:16:17 +0000 (16:16 +0000)]
build/files.c: Remove dead code.
lib/cpio.c: Open file to be installed with "w" not "r+".
lib/fprint.c: Use variable length string keys for rpmdbFindByFile cache.
CVS patchset: 3433
CVS date: 1999/11/24 16:16:17
jbj [Wed, 24 Nov 1999 00:03:54 +0000 (00:03 +0000)]
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
jbj [Fri, 19 Nov 1999 19:47:43 +0000 (19:47 +0000)]
Add reminder to export shell variables.
CVS patchset: 3431
CVS date: 1999/11/19 19:47:43
jbj [Fri, 19 Nov 1999 18:19:41 +0000 (18:19 +0000)]
macros.in: Add buildsubdir and scriptlet template macros.
build/build.c: Rewrite to use scriptlet templates.
build/files.c: Rename variables to prepare for (possibly) URL's in %files.
build/myftw.c: Use Lstat.
build/parsePreamble.c: Permit URL's in BuildRoot tag if not from spec file.
build/parseSpec.c: ditto
build/parsePrep.c: Add buildsubdir macro.
lib/macro.c: Add url2path (nickname u2p) and verbose macro primitives.
lib/url.c: urlPath returns "" if url is NULL (rpmGenPath memory corruption).
CVS patchset: 3430
CVS date: 1999/11/19 18:19:41
jbj [Thu, 18 Nov 1999 18:07:46 +0000 (18:07 +0000)]
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
jbj [Thu, 18 Nov 1999 17:10:15 +0000 (17:10 +0000)]
From: Dick Porter <dick@acm.org> --
Here is a patch for popt to implement selective argument stripping from argv.
With this patch I can use popt in ORBit (the CORBA spec requires ORBs to
remove all ORB options from argv), which allows me to export a popt option
table to the rest of Gnome.
There is also a bug fix included where a string was realloc()d into a space
too small to hold the trailing NULL.
CVS patchset: 3428
CVS date: 1999/11/18 17:10:15
jbj [Thu, 18 Nov 1999 16:57:45 +0000 (16:57 +0000)]
fix: realloc didn't include space for trailing NUL.
CVS patchset: 3427
CVS date: 1999/11/18 16:57:45
jbj [Mon, 15 Nov 1999 23:57:18 +0000 (23:57 +0000)]
Make static fd in transaction callback persistent.
CVS patchset: 3426
CVS date: 1999/11/15 23:57:18
jbj [Mon, 15 Nov 1999 22:16:54 +0000 (22:16 +0000)]
rpm.c: Add --ftpdebug, --urldebug, --rpmiodebug (for my sanity).
build/pack.c: Remove unnecessary persist in package{Sources,Binaries}.
lib/rpmio.c: Expose fdGetFp() for use in url.c.
lib/rpmio.c: Debug refs with FILE/FTP/HTTP url's.
lib/url.c: Push fp in order to use Fclose() when cleaning up url cache.
CVS patchset: 3425
CVS date: 1999/11/15 22:16:54
jbj [Sun, 14 Nov 1999 19:15:18 +0000 (19:15 +0000)]
lib/rpmio.c: Implement per-fd layers as a stack, add fdPush/fdPop.
lib/rpmio.c: Add fd{Get,Set}{Io,Fp,Fdno} abstraction wrappers.
lib/rpmio.c: Start rationalizing debug output by using fdbg to display the
fd layer stack.
rpm.c: Add --nolibio to disable libio if desired.
rpm2cpio.c: Use Fdopen(..., gzdio) and ufdCopy().
build/build.c: Use Fdopen(..., fpio) rather than fdio.
build/files.c: Use Fdopen(..., fpio) rather than ufdio.
build/parseSpec.c: ditto.
lib/macro.c: ditto.
lib/rpmrc.c: ditto
lib/macro.c: Use Fopen(..., ufdio) in isCompressed() rather that fdOpen().
lib/misc.c: ditto.
lib/misc.c: Avoid fstat by using Stat.
build/pack.c: Add persist fdLink() and use fdFree() in package{Sources,Binaries}
build/pack.c: Try to remove the fdDup before cpioBuildArchive() call.
build/pack.c: Use rpmGenPath with %{_builddir}.
build/parsePreamble.c: Use fdSize rather than Stat to get icon file size.
lib/rpmrc.c: ditto
lib/ftp.c: start capturing ufdio layer syserrno/errcookie.
CVS patchset: 3424
CVS date: 1999/11/14 19:15:18
jbj [Fri, 12 Nov 1999 21:26:04 +0000 (21:26 +0000)]
add/update dependency scripts (Ken Estes).
CVS patchset: 3423
CVS date: 1999/11/12 21:26:04
jbj [Fri, 12 Nov 1999 17:20:49 +0000 (17:20 +0000)]
Use Fstrerror on ufdio throughut.
rpm.c: add --rmspec to usage output.
build/files.c: use ufdio to permit '%files -f <url>' (untested).
build/pack.c: use ufdio in readRPM(), writeRPM(), and addFileToTag().
build/parsePreamble.c: use ufdio in readIcon().
lib/ftp.c: httpOpen() now takes FD_t ctrl arg to uncouple from u->ctrl.
lib/install.c: usr rpmGenPath() to identify first found url in file path concat.
lib/install.c: permit url's in files[i].relativePath.
lib/macro.c: use ufdio, diddle macros for tmacro standalone build.
lib/macro.c: Create rpmGenPath().
lib/macro.c: diddle macro files path to permit url's.
lib/rpmchecksig.c: use Fopen on fdio.
lib/rpmio.c: replace copyData() with ufdCopy().
lib/rpmio.c: replace httpGetFile() with ufdGetFile().
lib/rpmio.c: add ufdWrite().
lib/rpmio.c: permit 2 simultaneous persistent malloc/open HTTP/1.1 connections.
lib/rpmio.c: Add Lstat(), Stat(), and Access().
lib/rpmio.c: assume paths in syscall stubs are loopback (WRONG).
lib/url.c: add urlPath().
CVS patchset: 3422
CVS date: 1999/11/12 17:20:49
jbj [Wed, 10 Nov 1999 22:09:49 +0000 (22:09 +0000)]
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
jbj [Tue, 9 Nov 1999 20:57:38 +0000 (20:57 +0000)]
fix: typo in error message (#6858).
tufdio.c: Create.
rpmurl.h: Add ctrl, data, buf, and bufAlloced to urlinfo. UFDSANE assertion.
rpmio.h: Add fdWritable(), fdReadable(), fdRdline(), exported (for now) to
ftp.c checkResponse().
ftp.c: checkResponse() rewritten to use above.
ftp.c: checkResponse() handles html in 501 response on closed http connection.
ftp.c: ftpCommand() rewritten to simplify (using stpcpy).
ftp.c: httpOpen() now reopens time-out persistent connection.
ftp.c: Get rid of O_NONBLOCK reads, not necessary AFAICT.
ftp.c: ftpFileDesc() uses u->data rather than passed in fd arg.
Use a consistent refcounting scheme to achieve persistent malloc and open ctrl.
query.c: get ready for Remglob().
rpmio.c: ftpCmd() functional (using tufdio).
CVS patchset: 3420
CVS date: 1999/11/09 20:57:38
jbj [Sat, 6 Nov 1999 20:44:11 +0000 (20:44 +0000)]
Sanity.
CVS patchset: 3419
CVS date: 1999/11/06 20:44:11
jbj [Fri, 5 Nov 1999 20:00:26 +0000 (20:00 +0000)]
rpmio.c: Add per FD_t syserrno, read timers and simple counting statistics.
rpmio.c: Honor contentLength to prevent R/W I/O dribbles.
ftp.c: Support for HTTP/1.1 with persistent connection.
ftp.c: Read (and set) Content-Length and HTTP minor version from reply.
CVS patchset: 3418
CVS date: 1999/11/05 20:00:26
jbj [Thu, 4 Nov 1999 21:26:08 +0000 (21:26 +0000)]
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
jbj [Wed, 3 Nov 1999 20:33:53 +0000 (20:33 +0000)]
First use of libio.
CVS patchset: 3416
CVS date: 1999/11/03 20:33:53
jbj [Tue, 2 Nov 1999 17:56:30 +0000 (17:56 +0000)]
Move most of the ftp and http interface to rpmio.c.
CVS patchset: 3415
CVS date: 1999/11/02 17:56:30
jbj [Tue, 2 Nov 1999 14:33:14 +0000 (14:33 +0000)]
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
jbj [Mon, 1 Nov 1999 23:23:09 +0000 (23:23 +0000)]
fix: expandNextArg() can't permit '\\' escapes.
CVS patchset: 3413
CVS date: 1999/11/01 23:23:09
jbj [Mon, 1 Nov 1999 19:03:31 +0000 (19:03 +0000)]
Typo.
CVS patchset: 3412
CVS date: 1999/11/01 19:03:31
jbj [Mon, 1 Nov 1999 19:02:46 +0000 (19:02 +0000)]
freshen.sh: detect when all packages are up to date (Ian Macdonald).
CVS patchset: 3411
CVS date: 1999/11/01 19:02:46