summaryrefslogtreecommitdiff
path: root/build.c
AgeCommit message (Collapse)AuthorFilesLines
2000-06-01Split popt glue into lib/popt{BT,QV}.c.jbj1-149/+0
Add dependencies to *.la. CVS patchset: 3787 CVS date: 2000/06/01 04:47:42
2000-05-26Remove build modes from rpm, use rpmb and/or popt glue instead.jbj1-14/+74
CVS patchset: 3754 CVS date: 2000/05/26 18:51:11
2000-03-30fix: move free after error message that needs data.jbj1-1/+2
CVS patchset: 3644 CVS date: 2000/03/30 19:21:09
2000-01-24Args reversed generating untar command.jbj1-2/+4
CVS patchset: 3535 CVS date: 2000/01/24 22:03:52
2000-01-17Typo.jbj1-1/+1
CVS patchset: 3521 CVS date: 2000/01/17 14:03:44
2000-01-15extract spec files from bzip'ped tarballs too on tar builds.jbj1-4/+7
CVS patchset: 3520 CVS date: 2000/01/15 14:17:07
1999-12-19Typo (t->num rather than tnum causes segfault while re-reading rpmrc on exit).jbj1-3/+3
CVS patchset: 3491 CVS date: 1999/12/19 18:59:46
1999-12-12reload macros from cmd line when re-reading config files.jbj1-2/+2
CVS patchset: 3479 CVS date: 1999/12/12 21:14:05
1999-11-24lib/macro.c: Canonicalize paths in rpmGetPath().jbj1-44/+53
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-18The death of lib/ftp.c, merged into lib/rpmio.c.jbj1-2/+1
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-10Swap 2nd and 3rd arg to Fread/Fwrite to preserve read/write type return.jbj1-2/+2
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-04Use Fopen almost everywhere.jbj1-1/+1
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-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-2/+2
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-30Make fdFileno() static, use Fileno()/Ferror() analogues throughout.jbj1-1/+2
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-27/+50
CVS patchset: 3404 CVS date: 1999/10/29 23:03:12
1999-10-29check for memory leaks (almost all leaks are plugged).jbj1-7/+6
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-3/+3
CVS patchset: 3394 CVS date: 1999/10/21 20:36:16
1999-09-30HPUX cc compiler fidgets.jbj1-19/+22
CVS patchset: 3355 CVS date: 1999/09/30 16:56:05
1999-09-30Access fd_fileno correctly.jbj1-1/+1
CVS patchset: 3354 CVS date: 1999/09/30 16:11:52
1999-09-21fix: command line install had header memory leak.jbj1-5/+4
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-07-22fix: sanity test on specfile fails when encountering i18n chars.jbj1-18/+44
CVS patchset: 3198 CVS date: 1999/07/22 19:38:25
1999-05-26add BuildConflicts: and BuildRequires: in spec file and src rpm.jbj1-1/+1
CVS patchset: 3079 CVS date: 1999/05/26 04:05:33
1999-04-30resurrect toplevel tar target.jbj1-2/+5
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-2/+2
CVS patchset: 3035 CVS date: 1999/04/28 14:12:55
1999-04-17check build prerequisites before building from specfile.jbj1-10/+66
CVS patchset: 3010 CVS date: 1999/04/17 14:23:42
1999-04-05permit 0x1b in specfile sanity check.jbj1-1/+1
CVS patchset: 2945 CVS date: 1999/04/05 15:23:37
1999-04-01add per-target macrofiles to search path.jbj1-7/+3
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-17Typos.jbj1-2/+5
CVS patchset: 2896 CVS date: 1999/03/17 20:01:09
1999-03-17fix: recursive strtok's is a no-no.jbj1-4/+5
CVS patchset: 2894 CVS date: 1999/03/17 18:11:01
1999-01-27Needed trailing / when expanding specdir.jbj1-1/+1
CVS patchset: 2766 CVS date: 1999/01/27 15:40:06
1999-01-13Use mktemp(3) for temp file names.jbj1-5/+6
CVS patchset: 2697 CVS date: 1999/01/13 19:28:12
1999-01-06propagate "const char *" into rpmlib prototypes.jbj1-21/+31
CVS patchset: 2663 CVS date: 1999/01/06 17:33:50
1999-01-05Expand path macros with rpmGetPath(path, ...).jbj1-9/+10
CVS patchset: 2652 CVS date: 1999/01/05 23:13:56
1998-12-01More build popts moved to build.cjbj1-15/+49
Fix access of freed memory. CVS patchset: 2571 CVS date: 1998/12/01 23:28:26
1998-12-01Start separating build options.jbj1-0/+47
I18N for popt tables. CVS patchset: 2568 CVS date: 1998/12/01 17:18:38
1998-11-16LCLINT pass 0.jbj1-2/+2
CVS patchset: 2540 CVS date: 1998/11/16 21:40:28
1998-11-08permit --rmsource --force even if sources/patches are missing.jbj1-8/+12
CVS patchset: 2532 CVS date: 1998/11/08 00:15:33
1998-11-07check arch only on RPMBUILD_{PREP,BUILD,INSTALL,PACKAGEBINARY}.jbj1-1/+1
CVS patchset: 2527 CVS date: 1998/11/07 22:05:28
1998-10-08Consolidate i18n baggage into AM_GNU_GETTEXT and system.h.jbj1-1/+0
CVS patchset: 2425 CVS date: 1998/10/08 14:59:17
1998-09-24skip arch checks if only packaging source rpm.jbj1-2/+6
CVS patchset: 2352 CVS date: 1998/09/24 20:36:54
1998-09-23arch/os tables were not being initialized for noarch builds.jbj1-0/+2
CVS patchset: 2335 CVS date: 1998/09/23 13:31:54
1998-09-05More RPMVAR_* conversion to macros.jbj1-1/+5
CVS patchset: 2281 CVS date: 1998/09/05 21:54:05
1998-09-05Start converting variables into macro expansions.jbj1-1/+1
RPMVAR_SOURCEDIR -> %{_sourcedir} RPMVAR_BUILDDIR -> %{_builddir} CVS patchset: 2279 CVS date: 1998/09/05 20:02:08
1998-09-05Rewrite strsep code using strtok for ANSI C portability.jbj1-2/+4
Remove RPMVAR_SETENV for now. CVS patchset: 2278 CVS date: 1998/09/05 18:20:52
1998-08-16sanity.jbj1-4/+4
CVS patchset: 2253 CVS date: 1998/08/16 14:26:04
1998-08-08writeRPM can now copy cpio archive from fd.jbj1-28/+34
iVS: ---------------------------------------------------------------------- CVS patchset: 2239 CVS date: 1998/08/08 22:27:08
1998-08-06Add support for --buildplatform, and support for the setenv: tag in rpmrc ↵adevries1-2/+31
files. Also fixed the %buildplatform macro a bit. Cross building appears to work! - CVS patchset: 2232 CVS date: 1998/08/06 19:27:54
1998-07-30Consolidated includes for librpmbuild API.jbj1-4/+2
CVS patchset: 2213 CVS date: 1998/07/30 22:09:42