summaryrefslogtreecommitdiff
path: root/rpm.c
AgeCommit message (Collapse)AuthorFilesLines
1999-11-26Consistent usage for fileNames, baseNames, dirNames and dirIndexes throughout.jbj1-0/+3
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
1999-11-15rpm.c: Add --ftpdebug, --urldebug, --rpmiodebug (for my sanity).jbj1-2/+11
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
1999-11-14lib/rpmio.c: Implement per-fd layers as a stack, add fdPush/fdPop.jbj1-0/+3
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.jbj1-1/+1
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-02Add ref/deref/new/fileno/open vectors to FDIO_t.jbj1-1/+1
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-31Spec: Add rootdir (as in chroot).jbj1-23/+50
parseSpec(): Pass rootdir argument. rpm.c: Rework bigMode enum to simplify per-mode option checks. build/build.c: Attempt a chroot before execl(). falloc.c: thinko: test for non-existent packages database was broke. makeTempFile(): Skip possible URL leader on tempfile name expansion. rpmio.c: Mkdir/Chdir/Rmdir/Rename/Chroot/Unlink syscall wrappers. rpmdb.c: Coalesce and simplify legacy openDatabase() wrappers. uninstall.c: Skip possible URL leader on chroot arg. CVS patchset: 3409 CVS date: 1999/10/31 21:38:21
1999-10-30Rename faFoo() routines, use FD_t I/O with fadio cookie throughout.jbj1-3/+10
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-33/+38
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-16/+18
CVS patchset: 3404 CVS date: 1999/10/29 23:03:12
1999-10-29check for memory leaks (almost all leaks are plugged).jbj1-0/+5
CVS patchset: 3403 CVS date: 1999/10/29 16:06:01
1999-10-27use compressed filenames on install side.jbj1-2/+2
start unifying FD types, CFD_t now gone. CVS patchset: 3402 CVS date: 1999/10/27 23:18:10
1999-10-21lclint annotations and compiler cruft.jbj1-4/+8
CVS patchset: 3394 CVS date: 1999/10/21 20:36:16
1999-09-29Check in time stamps.jbj1-3/+3
CVS patchset: 3342 CVS date: 1999/09/29 23:26:08
1999-09-26Retrofit glibc __progname.jbj1-8/+10
CVS patchset: 3330 CVS date: 1999/09/26 15:04:03
1999-09-21fix: removed files fingerprint memory leak.jbj1-9/+10
fix: resurrect allfiles flag from rpm-2.5.x. CVS patchset: 3312 CVS date: 1999/09/21 17:21:57
1999-09-21fix: command line install had header memory leak.jbj1-7/+8
check for NULL on all memory allocations. free rpmrc mallocs on exit. permit run time leak detection. CVS patchset: 3311 CVS date: 1999/09/21 03:22:53
1999-09-12glibc2: always enable dynamic mtrace if available.jbj1-0/+4
CVS patchset: 3279 CVS date: 1999/09/12 00:41:51
1999-09-10pgp and pgp5 have compatible RSA signature (#4780).jbj1-31/+12
CVS patchset: 3276 CVS date: 1999/09/10 23:48:56
1999-09-07add --freshen to usage message (#4823).jbj1-0/+1
CVS patchset: 3261 CVS date: 1999/09/07 14:50:32
1999-09-06fix: don't successfully match with strncasecmp("sparc", "sparc64", 5)jbj1-2/+2
CVS patchset: 3259 CVS date: 1999/09/06 20:59:39
1999-08-23Typo.jbj1-1/+1
CVS patchset: 3248 CVS date: 1999/08/23 23:51:34
1999-08-23fix: segfault with "--sign" w/o supplying files (#4651).jbj1-1/+4
CVS patchset: 3247 CVS date: 1999/08/23 23:10:35
1999-08-04Clarify licensing: "GNU General Public License" not s/General //.jbj1-2/+1
CVS patchset: 3214 CVS date: 1999/08/04 18:07:18
1999-07-27popt: heavy dose of const.jbj1-2/+2
CVS patchset: 3206 CVS date: 1999/07/27 22:05:43
1999-07-14move checksig/resign major modes into rpmlib.jbj1-3/+2
CVS patchset: 3157 CVS date: 1999/07/14 16:47:30
1999-07-14move install/erase major modes into rpmlib.jbj1-3/+3
CVS patchset: 3155 CVS date: 1999/07/14 15:43:30
1999-07-08add --eval to find result of macro expansion.jbj1-83/+12
CVS patchset: 3135 CVS date: 1999/07/08 19:59:55
1999-06-30Ugly hack to get query dependencies right.jbj1-1/+5
CVS patchset: 3118 CVS date: 1999/06/30 21:18:43
1999-06-17MiNT port (Guido Flohr <gufl0000@stud.uni-sb.de>).jbj1-0/+5
CVS patchset: 3096 CVS date: 1999/06/17 21:35:34
1999-06-16resurrect "rpm -Va --nofiles" (i.e. dependencies only) (#3111)jbj1-3/+3
CVS patchset: 3092 CVS date: 1999/06/16 21:39:57
1999-05-231) got --prefix working (again)ewt1-9/+1
2) rpmtransAddPackage() makes a copy of the relocation list CVS patchset: 3073 CVS date: 1999/05/23 18:34:30
1999-05-15fix: prevent return code wrap during packagage checking/resigning.jbj1-3/+12
CVS patchset: 3063 CVS date: 1999/05/15 14:46:29
1999-05-10colesce query and verify modes.jbj1-16/+17
CVS patchset: 3055 CVS date: 1999/05/10 23:41:04
1999-05-07Typo.jbj1-1/+1
CVS patchset: 3053 CVS date: 1999/05/07 19:40:51
1999-05-07fix: resurrect -Vp, -Vf and -Vg functionality.jbj1-54/+65
CVS patchset: 3052 CVS date: 1999/05/07 18:33:35
1999-05-06Add argument to specedit to choose between specs and powertools packages.jbj1-2/+2
CVS patchset: 3051 CVS date: 1999/05/06 23:21:08
1999-04-30resurrect toplevel tar target.jbj1-2/+7
spec file removal separate from source removal (Shing-Gene Yung). CVS patchset: 3042 CVS date: 1999/04/30 15:55:45
1999-04-28Update-po before new RU files.jbj1-1/+1
CVS patchset: 3035 CVS date: 1999/04/28 14:12:55
1999-04-17check build prerequisites before building from specfile.jbj1-7/+6
CVS patchset: 3010 CVS date: 1999/04/17 14:23:42
1999-04-09Don't mark empty strings as translatable.jbj1-2/+2
CVS patchset: 2976 CVS date: 1999/04/09 15:18:16
1999-04-061) fixed --prefixewt1-2/+5
2) got RPM_INSTALL_PREFIX env variables set properly CVS patchset: 2953 CVS date: 1999/04/06 19:08:27
1999-04-01add per-target macrofiles to search path.jbj1-7/+7
take globalMacroContext out of macro api. fix: flush all macros between builds. CVS patchset: 2936 CVS date: 1999/04/01 22:26:44
1999-03-28fix: avoid segfault using --prefix until ewt fixes.jbj1-3/+14
add --define "%foo %bar" option. dump macros to same fd as --showrc uses. add %GNUconfigure for full-blown package regeneration. fix: RPM_ARCH/RPM_OS had wrong values. fix: create ppc directories correctly. CVS patchset: 2922 CVS date: 1999/03/28 00:47:40
1999-03-27added help message for --ignoresizeewt1-0/+2
CVS patchset: 2919 CVS date: 1999/03/27 20:36:08
1999-03-26added ignoresizeewt1-3/+11
CVS patchset: 2916 CVS date: 1999/03/26 22:04:55
1999-03-22fix: don't add header if signature generation failed (Carlo Wood).jbj1-7/+10
CVS patchset: 2909 CVS date: 1999/03/22 17:31:53
1999-03-21pgp5 support (Carlo Wood <carlo@runaway.xs4all.nl>).jbj1-6/+28
CVS patchset: 2906 CVS date: 1999/03/21 18:43:22
1999-03-20eliminate old rpmrc configuration syntax.jbj1-9/+2
CVS patchset: 2905 CVS date: 1999/03/20 21:09:47
1999-03-16Fix newSpec in "rpm -q --specfile --specedit"jbj1-6/+3
CVS patchset: 2892 CVS date: 1999/03/16 20:04:26
1999-02-22permit substitution of I18N strings from PO meta-catalogues.jbj1-0/+2
CVS patchset: 2824 CVS date: 1999/02/22 17:44:57