summaryrefslogtreecommitdiff
path: root/build/files.c
AgeCommit message (Collapse)AuthorFilesLines
2000-07-11- remove build mode help from rpm.c, use rpmb instead.jbj1-1/+6
- support for rpmlib(...) internal feature dependencies. CVS patchset: 3933 CVS date: 2000/07/11 02:12:49
2000-07-09- prefix payload paths with "./", otherwise "/" can't be represented.jbj1-5/+11
- fix: compressFilelist broke when fed '/'. - fix: typo in --last popt alias (#12690). - fix: clean file paths before performing -qf (#12493). CVS patchset: 3930 CVS date: 2000/07/09 23:10:25
2000-07-05- change optflags for i386.jbj1-13/+92
- multilib patch, take 1. CVS patchset: 3920 CVS date: 2000/07/05 20:39:15
2000-06-20- add RPMTAG_OPTFLAGS, configured optflags when package was built.jbj1-0/+1
- add RPMTAG_DISTURL for rpmfind-like tools (content unknown yet). - teach brp-compress about /usr/info and /usr/share/info as well. - update macros.in from rpm-4.0 (w/o dbi configuration). CVS patchset: 3878 CVS date: 2000/06/20 21:45:50
2000-06-20- API: uncouple fadio from rest of rpmio.jbj1-1/+1
- API: externalize legacy fdOpen interface for rpmfind et al. CVS patchset: 3873 CVS date: 2000/06/20 15:54:48
2000-06-09Move low level support routines to librpmio.jbj1-1/+1
CVS patchset: 3822 CVS date: 2000/06/09 18:57:23
2000-02-22macro expansion (and absolute path) in %files -f arg (#9508,#9091).jbj1-15/+9
CVS patchset: 3573 CVS date: 2000/02/22 03:09:53
2000-02-15new rpm-build package to isolate rpm dependencies on perl/bash2.jbj1-2/+6
always remove duplicate identical package entries on --rebuilddb. CVS patchset: 3558 CVS date: 2000/02/15 16:40:28
2000-02-11Report actual file name that failed to open.jbj1-1/+1
CVS patchset: 3554 CVS date: 2000/02/11 23:16:47
2000-01-24Documentation sugar.jbj1-0/+11
CVS patchset: 3533 CVS date: 2000/01/24 20:02:32
2000-01-05resurrect failed glob error message during buildjbj1-1/+4
CVS patchset: 3509 CVS date: 2000/01/05 19:46:45
1999-12-21lib/rpmio.c: Start weeding the debug messages.jbj1-25/+16
lib/rpmio.c: Functional HTTP PUT. CVS patchset: 3493 CVS date: 1999/12/21 17:11:43
1999-12-12reload macros from cmd line when re-reading config files.jbj1-55/+2
CVS patchset: 3479 CVS date: 1999/12/12 21:14:05
1999-12-12lib/rpminstall.c: Perform glob on remote ftp install args.jbj1-6/+1
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
1999-12-12perform glob on remote ftp queries.jbj1-1/+14
fix: ftpAbort must close the data channel to read abort status. CVS patchset: 3477 CVS date: 1999/12/12 01:46:13
1999-12-11partial implementation for ftp globbing.jbj1-32/+0
CVS patchset: 3474 CVS date: 1999/12/11 17:53:25
1999-12-02fail to package if absolute symlink points within build root.jbj1-2/+14
CVS patchset: 3452 CVS date: 1999/12/02 17:07:29
1999-12-01Add underscore in front of (possibly) non-supported FDIO_t vectors.jbj1-1/+1
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-26Consistent usage for fileNames, baseNames, dirNames and dirIndexes throughout.jbj1-1/+1
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-24build/files.c: Remove dead code.jbj1-55/+1
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
1999-11-24lib/macro.c: Canonicalize paths in rpmGetPath().jbj1-55/+146
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-13/+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-1/+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.jbj1-7/+8
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-0/+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-10-31Spec: Add rootdir (as in chroot).jbj1-4/+4
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-29fix: resurrect multiple target platform builds.jbj1-5/+21
CVS patchset: 3404 CVS date: 1999/10/29 23:03:12
1999-10-29check for memory leaks (almost all leaks are plugged).jbj1-19/+24
CVS patchset: 3403 CVS date: 1999/10/29 16:06:01
1999-10-06write out compressed file lists *only* -- this is for sanity, we'll writeewt1-3/+5
out both sets for compatibility once the rest of the stuff starts to work CVS patchset: 3371 CVS date: 1999/10/06 15:51:38
1999-10-04lclint annotations from build.jbj1-3/+4
CVS patchset: 3366 CVS date: 1999/10/04 19:40:03
1999-10-04fix: non-GNU globs burp on repeated '/' in patterns.jbj1-86/+127
CVS patchset: 3365 CVS date: 1999/10/04 17:29:58
1999-10-04Display errno on getOutputFrom() fork/exec failures.jbj1-2/+4
CVS patchset: 3364 CVS date: 1999/10/04 15:15:46
1999-09-30More HPUX cc fiddles.jbj1-5/+7
CVS patchset: 3356 CVS date: 1999/09/30 17:45:42
1999-09-21fix: command line install had header memory leak.jbj1-27/+27
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-07Use sizeof("...")-1 throughout.jbj1-3/+3
CVS patchset: 3268 CVS date: 1999/09/07 22:49:45
1999-09-06fix: don't successfully match with strncasecmp("sparc", "sparc64", 5)jbj1-6/+3
CVS patchset: 3259 CVS date: 1999/09/06 20:59:39
1999-07-23add post install configurable dependency checking.jbj1-80/+94
CVS patchset: 3202 CVS date: 1999/07/23 19:19:15
1999-07-22add _mandir/_infodir macro expansions to docdirs (Tomasz Kloczko).jbj1-0/+2
CVS patchset: 3201 CVS date: 1999/07/22 23:05:43
1999-07-22print all dependencies for each package at end of build.jbj1-41/+104
CVS patchset: 3199 CVS date: 1999/07/22 22:38:44
1999-07-0312 more dead strtoks.jbj1-136/+148
CVS patchset: 3124 CVS date: 1999/07/03 22:58:08
1999-06-17don't spin while waiting for delayed requires/provides input (#3289).jbj1-13/+41
common parse for all dependency token syntax. CVS patchset: 3094 CVS date: 1999/06/17 15:44:47
1999-06-02fix: bigendian's with longlong file sizes (e.g. IRIX) dinna work.jbj1-0/+7
CVS patchset: 3080 CVS date: 1999/06/02 14:45:46
1999-05-17Debug multiple %langs's per item.jbj1-7/+12
CVS patchset: 3069 CVS date: 1999/05/17 19:32:15
1999-05-17permit %lang(xx,yy,zz) constructs -- 2 more dead strtoks.jbj1-55/+63
CVS patchset: 3068 CVS date: 1999/05/17 18:44:14
1999-05-17Force FILELANGS tag even if not specified.jbj1-1/+2
CVS patchset: 3067 CVS date: 1999/05/17 16:40:11
1999-05-17permit multiple %lang(xx) markers on elements in %files.jbj1-14/+57
CVS patchset: 3065 CVS date: 1999/05/17 16:27:38
1999-04-30fix: %doc wrongly inherits lang from last entry in %files.jbj1-6/+9
CVS patchset: 3041 CVS date: 1999/04/30 14:59:47
1999-04-21fix: noarch header gets initialized differently.jbj1-1/+6
CVS patchset: 3025 CVS date: 1999/04/21 15:32:23
1999-04-17check build prerequisites before building from specfile.jbj1-9/+30
CVS patchset: 3010 CVS date: 1999/04/17 14:23:42
1999-04-14Make silly headerGetEntry consistent throughout.jbj1-3/+3
CVS patchset: 2995 CVS date: 1999/04/14 12:35:08