summaryrefslogtreecommitdiff
path: root/rpmio
AgeCommit message (Collapse)AuthorFilesLines
2000-11-15- hpux w/o -D_OPEN_SOURCE has not h_errno.jbj1-1/+1
CVS patchset: 4271 CVS date: 2000/11/15 16:00:42
2000-11-07- load headers as single contiguous region.jbj1-5/+6
CVS patchset: 4244 CVS date: 2000/11/07 13:16:43
2000-11-02- add support for unzip rodrigob@conectiva.com.br>jbj2-15/+22
CVS patchset: 4243 CVS date: 2000/11/02 17:57:25
2000-10-31- add support for SHA1 as well as MD5 message digests.jbj15-484/+828
lclint annotations. CVS patchset: 4234 CVS date: 2000/10/31 16:18:34
2000-10-31Eliminate.jbj1-39/+50
CVS patchset: 4233 CVS date: 2000/10/31 16:10:49
2000-10-28- add cscope/ctags (Rodrigo Barbosa<rodrigob@conectiva.com.br>).jbj6-84/+43
- remove getMacroBody() from rpmio API. - hide libio lossage in prototype, not API. lclint annotations. CVS patchset: 4230 CVS date: 2000/10/28 17:16:25
2000-10-26Add base64 fiddles to get at signature contents to librpmio.a.jbj6-3/+893
parsePrep.c: fix typo's. CVS patchset: 4227 CVS date: 2000/10/26 15:32:03
2000-10-24- verify MD5 sums of payload files when unpacking archive.jbj4-1/+376
CVS patchset: 4225 CVS date: 2000/10/24 13:46:51
2000-09-29doxygen annotations.jbj4-29/+248
- fix: more (possible) xstrdup side effects. CVS patchset: 4186 CVS date: 2000/09/29 19:50:29
2000-09-26- fix: avoid calling getpass twice as side effect of xstrdup macro (#17672).jbj1-1/+3
CVS patchset: 4179 CVS date: 2000/09/26 22:28:09
2000-09-16- don't trim leading ./ in rpmCleanPath() (#14961).jbj1-3/+6
CVS patchset: 4169 CVS date: 2000/09/16 14:05:26
2000-09-14Revert rpmrc excision for now.jbj3-1/+380
rpmio: add rpmlog.c/rpmlog.h. CVS patchset: 4163 CVS date: 2000/09/14 11:42:48
2000-09-01- unify rpmError and rpmMessge interfaces through rpmlog.jbj3-12/+67
- collect and display rpm build error messages at end of build. CVS patchset: 4149 CVS date: 2000/09/01 21:15:40
2000-08-31Unify rpmError() and rpmMessage() on top of rpmlog().jbj5-295/+95
CVS patchset: 4148 CVS date: 2000/08/31 02:38:57
2000-08-30Doxygen annotations.jbj5-94/+157
CVS patchset: 4147 CVS date: 2000/08/30 17:47:53
2000-08-29- translate rpm.8 man page (Peter Ivanyi <ivanyi@internet.sk>).jbj2-6/+244
Doxygen annotations. CVS patchset: 4146 CVS date: 2000/08/29 22:04:33
2000-08-28Doxygen annotations.jbj1-10/+67
CVS patchset: 4138 CVS date: 2000/08/28 01:08:57
2000-08-27Doxygen annotations.jbj17-23/+145
CVS patchset: 4129 CVS date: 2000/08/27 18:34:02
2000-08-23lclint annotations.jbj2-1/+6
CVS patchset: 4109 CVS date: 2000/08/23 13:49:07
2000-07-07lclint fiddles.jbj4-30/+76
CVS patchset: 3921 CVS date: 2000/07/07 19:46:05
2000-06-21- fix: don't expand macros in false branch of %if (kasal@suse.cz).jbj1-88/+46
- fix: macro expansion problem and clean up (#11484) (kasal@suse.cz). CVS patchset: 3885 CVS date: 2000/06/21 23:28:50
2000-06-20- API: uncouple fadio from rest of rpmio.jbj7-35/+34
- API: externalize legacy fdOpen interface for rpmfind et al. CVS patchset: 3873 CVS date: 2000/06/20 15:54:48
2000-06-13More libtool fiddles.jbj1-5/+2
CVS patchset: 3837 CVS date: 2000/06/13 07:15:15
2000-06-12solaris2.5.1: libtool cannot LIBADD non-libtool libs.jbj1-1/+2
CVS patchset: 3834 CVS date: 2000/06/12 22:14:17
2000-06-09- make librpmio standalone.jbj10-1189/+1350
CVS patchset: 3824 CVS date: 2000/06/09 21:24:37
2000-06-09Remove dead code.jbj3-408/+23
CVS patchset: 3823 CVS date: 2000/06/09 19:33:52
2000-06-09Move low level support routines to librpmio.jbj9-8/+470
CVS patchset: 3822 CVS date: 2000/06/09 18:57:23
2000-06-07Sanity (make dist).jbj1-1/+1
CVS patchset: 3821 CVS date: 2000/06/07 23:55:10
2000-06-07- create rpmio directory for librpmio.jbj6-0/+4929
CVS patchset: 3820 CVS date: 2000/06/07 23:25:41
2000-04-25Sanity.jbj1-7/+8
CVS patchset: 3697 CVS date: 2000/04/25 19:41:37
2000-04-13Insure that EXIT_FAILURE is defined (irix6.5).jbj1-0/+4
CVS patchset: 3675 CVS date: 2000/04/13 10:41:31
2000-02-29Portability fiddles.jbj1-4/+11
Rebuild with latest rpmmodule.so code. CVS patchset: 3600 CVS date: 2000/02/29 23:22:44
2000-02-21Avoid segfault on malformed %{!?FOO:} expansion (#9581).jbj1-1/+1
CVS patchset: 3571 CVS date: 2000/02/21 10:32:01
2000-01-19Doxygen fiddles.jbj1-9/+11
CVS patchset: 3528 CVS date: 2000/01/19 22:51:39
2000-01-12fix: resurrect relative path's in fprint lookup queries.jbj2-2/+3
CVS patchset: 3518 CVS date: 2000/01/12 21:48:58
1999-12-12reload macros from cmd line when re-reading config files.jbj2-27/+54
CVS patchset: 3479 CVS date: 1999/12/12 21:14:05
1999-12-01Add underscore in front of (possibly) non-supported FDIO_t vectors.jbj1-1/+2
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
1999-11-26lib/macro.c: Create rpmCleanPath().jbj2-54/+68
build/misc.c: Delete cleanFileName(). CVS patchset: 3435 CVS date: 1999/11/26 16:19:30
1999-11-24lib/macro.c: Canonicalize paths in rpmGetPath().jbj1-25/+89
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-19macros.in: Add buildsubdir and scriptlet template macros.jbj1-2/+13
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
1999-11-14lib/rpmio.c: Implement per-fd layers as a stack, add fdPush/fdPop.jbj1-5/+1
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
1999-11-12Use Fstrerror on ufdio throughut.jbj2-23/+88
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
1999-11-10Swap 2nd and 3rd arg to Fread/Fwrite to preserve read/write type return.jbj1-1/+1
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-02Add ref/deref/new/fileno/open vectors to FDIO_t.jbj1-3/+5
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-10-30Rename faFoo() routines, use FD_t I/O with fadio cookie throughout.jbj1-1/+2
Try to be URL sensitive on filename arguments throughout. falloc.c: Eliminate faFile, use FD_t. falloc.c: preserve abstract FD_t by creating fadGet*()/fadSet*(). macro.c: rpmGetPath() expansions were clobbering URL's. rpmio.c: create Fcntl(), Pread(), Pwrite() from previous faFoo(). rpmio.c: attempt per FD_t debugging. rpm.c: permit --dbpath with --rebuild. CVS patchset: 3408 CVS date: 1999/10/30 21:26:45
1999-10-30Make fdFileno() static, use Fileno()/Ferror() analogues throughout.jbj1-2/+4
Make ufdClose() static, use Fclose() with ufdio cookie throughout. rpm.c: Clean urlinfoCache and rpmBuildArgs leaks. url.c: urlIsURL() should be here, not in rpmio.c. url.c: Preserve FD_t abstraction by creating ufdGetUrlinfo(). url.c: Create freeUrlinfoCache(). rpmio.c: Create ufdio cookie. CVS patchset: 3407 CVS date: 1999/10/30 16:43:29
1999-10-29fix: resurrect multiple target platform builds.jbj1-0/+7
CVS patchset: 3404 CVS date: 1999/10/29 23:03:12
1999-10-29check for memory leaks (almost all leaks are plugged).jbj1-1/+1
CVS patchset: 3403 CVS date: 1999/10/29 16:06:01
1999-10-27use compressed filenames on install side.jbj1-4/+6
start unifying FD types, CFD_t now gone. CVS patchset: 3402 CVS date: 1999/10/27 23:18:10
1999-10-20lclint annotations.jbj1-2/+2
CVS patchset: 3387 CVS date: 1999/10/20 21:40:10