Commit Graph

47 Commits

Author SHA1 Message Date
jbj 3363604c70 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
1999-11-04 21:26:08 +00:00
jbj b57249fd5e Spec: Add rootdir (as in chroot).
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-31 21:38:21 +00:00
jbj 7b4cf4bf19 fix: resurrect multiple target platform builds.
CVS patchset: 3404
CVS date: 1999/10/29 23:03:12
1999-10-29 23:03:12 +00:00
jbj 0d0b405c20 use compressed filenames on install side.
start unifying FD types, CFD_t now gone.

CVS patchset: 3402
CVS date: 1999/10/27 23:18:10
1999-10-27 23:18:10 +00:00
jbj 20d78e939a fix: command line install had header memory leak.
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-21 03:22:53 +00:00
jbj 6281ee4de1 Use sizeof("...")-1 throughout.
CVS patchset: 3268
CVS date: 1999/09/07 22:49:45
1999-09-07 22:49:45 +00:00
jbj d753cdadf7 fix: don't successfully match with strncasecmp("sparc", "sparc64", 5)
CVS patchset: 3259
CVS date: 1999/09/06 20:59:39
1999-09-06 20:59:39 +00:00
jbj cdd837431a fix: segfault on --rebuild (#4185).
CVS patchset: 3203
CVS date: 1999/07/26 21:51:03
1999-07-26 21:51:03 +00:00
jbj 1132ce76b9 Save and restore 1st char of next line in multiline expansion correctly.
CVS patchset: 3191
CVS date: 1999/07/20 20:48:29
1999-07-20 20:48:29 +00:00
jbj 816ca6b54c debug multiline macro expansion.
CVS patchset: 3182
CVS date: 1999/07/19 21:25:53
1999-07-19 21:25:53 +00:00
jbj c4e615007f permit multiline macro expansions.
CVS patchset: 3180
CVS date: 1999/07/19 18:39:48
1999-07-19 18:39:48 +00:00
jbj 902cdf4c1b fix: %if parsing skipped 3 chars too many.
CVS patchset: 3177
CVS date: 1999/07/19 13:22:21
1999-07-19 13:22:21 +00:00
jbj b63a3e97df build root from cmd line did not set macro %buildroot.
CVS patchset: 3090
CVS date: 1999/06/15 14:46:31
1999-06-15 14:46:31 +00:00
jbj 3dc8ed83ab another strtok bites the dust.
CVS patchset: 3061
CVS date: 1999/05/14 18:48:12
1999-05-14 18:48:12 +00:00
jbj 6266b08a66 add per-target macrofiles to search path.
take globalMacroContext out of macro api.
fix: flush all macros between builds.

CVS patchset: 2936
CVS date: 1999/04/01 22:26:44
1999-04-01 22:26:44 +00:00
jbj bc76393a17 eliminate old rpmrc configuration syntax.
CVS patchset: 2905
CVS date: 1999/03/20 21:09:47
1999-03-20 21:09:47 +00:00
jbj ca9dc63de9 Fix newSpec in "rpm -q --specfile --specedit"
CVS patchset: 2892
CVS date: 1999/03/16 20:04:26
1999-03-16 20:04:26 +00:00
jbj aaaf86cfe1 fix: rpm -q --specfile --specedit now works even with BuildArch:.
CVS patchset: 2887
CVS date: 1999/03/12 18:20:06
1999-03-12 18:20:06 +00:00
jbj 6b9fe27f52 permit substitution of I18N strings from PO meta-catalogues.
CVS patchset: 2824
CVS date: 1999/02/22 17:44:57
1999-02-22 17:44:57 +00:00
jbj bd626d134d propagate "const char *" into rpmlib prototypes.
CVS patchset: 2663
CVS date: 1999/01/06 17:33:50
1999-01-06 17:33:50 +00:00
jbj 2b44c3a5c3 permit "rpm -q --specfile ... file.spec" queries.
CVS patchset: 2547
CVS date: 1998/11/20 00:29:46
1998-11-20 00:29:46 +00:00
jbj 28c4ae83a3 LCLINT pass 0.
CVS patchset: 2540
CVS date: 1998/11/16 21:40:28
1998-11-16 21:40:28 +00:00
jbj 3b5593c7e0 strncasecmp on spec file separators (KDE has %Description).
CVS patchset: 2537
CVS date: 1998/11/15 17:00:24
1998-11-15 17:00:24 +00:00
jbj 2d83820336 permit --rmsource --force even if sources/patches are missing.
CVS patchset: 2532
CVS date: 1998/11/08 00:15:33
1998-11-08 00:15:33 +00:00
jbj 1607fbe7a3 Consolidate i18n baggage into AM_GNU_GETTEXT and system.h.
CVS patchset: 2425
CVS date: 1998/10/08 14:59:17
1998-10-08 14:59:17 +00:00
jbj 44184baceb arch/os (and platform) should be case insensitive everywhere forever.
CVS patchset: 2417
CVS date: 1998/10/07 17:06:10
1998-10-07 17:06:10 +00:00
jbj ffb5ed842f Move forceIncludeFile to eliminate warning.
CVS patchset: 2412
CVS date: 1998/10/06 23:16:29
1998-10-06 23:16:29 +00:00
jbj 081efe9cfa Initialize fileStack.
CVS patchset: 2411
CVS date: 1998/10/06 23:11:54
1998-10-06 23:11:54 +00:00
jbj fecf31143c add generalized expression handler (Tom Dyas<tdyas@remus.rutgers.edu>)
CVS patchset: 2403
CVS date: 1998/10/06 17:34:58
1998-10-06 17:34:58 +00:00
jbj fd068345e6 add Slovak translation (Stanislav Meduna <stano@trillian.eunet.sk>)
gettextify rpmMessage/rpmError/fprintf messages.

CVS patchset: 2368
CVS date: 1998/09/27 22:03:52
1998-09-27 22:03:52 +00:00
jbj 54b2849f61 skip arch checks if only packaging source rpm.
CVS patchset: 2352
CVS date: 1998/09/24 20:36:54
1998-09-24 20:36:54 +00:00
jbj 5973a1a52d More RPMVAR_* conversion to macros.
CVS patchset: 2281
CVS date: 1998/09/05 21:54:05
1998-09-05 21:54:05 +00:00
jbj e8b7b65b28 Start converting variables into macro expansions.
RPMVAR_SOURCEDIR -> %{_sourcedir}
   RPMVAR_BUILDDIR -> %{_builddir}

CVS patchset: 2279
CVS date: 1998/09/05 20:02:08
1998-09-05 20:02:08 +00:00
jbj f612cb1bf3 Sync with 2.5.2 branch patches.
cpio_gzip: dup the fd before doing gzdopen (Thanks Erik!)
 add --noLang to skip non-default languages.

CVS patchset: 2243
CVS date: 1998/08/11 18:24:48
1998-08-11 18:24:48 +00:00
jbj f33efd0cc4 String substitution macro file.
CVS patchset: 2223
CVS date: 1998/08/02 15:14:38
1998-08-02 15:14:38 +00:00
jbj c8271be9c7 Preliminary macro invironment as side effect of rpmrc parse.
CVS patchset: 2219
CVS date: 1998/08/01 18:48:06
1998-08-01 18:48:06 +00:00
jbj f005d723a5 Macro handling in rpmlib -- rework include: tag with macro expansion.
CVS patchset: 2215
CVS date: 1998/07/31 20:11:49
1998-07-31 20:11:49 +00:00
jbj 5142bf78e6 Consolidated includes for librpmbuild API.
CVS patchset: 2213
CVS date: 1998/07/30 22:09:42
1998-07-30 22:09:42 +00:00
jbj e4151252f8 Aggregate system includes into system.h.
Rearrange functions to minimize exported routines in librpmbuild API.
VS: ----------------------------------------------------------------------

CVS patchset: 2183
CVS date: 1998/07/25 21:00:26
1998-07-25 21:00:26 +00:00
jbj 209af5b9eb Add {init,add,expand}Macro args everywhere (new macro.c compatibility).
Create /usr/lib/rpm directory and move rpmrc et al there.

CVS patchset: 2168
CVS date: 1998/07/08 17:30:37
1998-07-08 17:30:37 +00:00
marc 0c09312815 follow symlinks in source packages
copy CHANGELOG* and URL stuff to all subpackages

CVS patchset: 2140
CVS date: 1998/06/02 19:30:23
1998-06-02 19:30:23 +00:00
marc c1b802dfda fail if sources are not regular files
CVS patchset: 2118
CVS date: 1998/05/18 15:16:16
1998-05-18 15:16:16 +00:00
marc 72dedbf1dd - save/restore existing arch when done with buildarch
CVS patchset: 2105
CVS date: 1998/05/01 21:10:51
1998-05-01 21:10:51 +00:00
marc e2167205cf Added %triggerpostun
deps for shared libs
only check first 128 chars for non-printables

CVS patchset: 2058
CVS date: 1998/04/01 16:02:05
1998-04-01 16:02:05 +00:00
marc 4c80f87f14 Added trigger support to build code
Got rid of myftw warning

CVS patchset: 2041
CVS date: 1998/03/20 22:38:00
1998-03-20 22:38:00 +00:00
ewt d29004dc69 1) include cleanups for portability
2) pulled popt structures and variables out of functions -- they need to
   be global due to stupid compilers
3) modified the Makefile to use relative dependencies, and make dependencies
   optional

CVS patchset: 2020
CVS date: 1998/03/04 16:51:06
1998-03-04 16:51:06 +00:00
ewt 757e50ffc8 merged in Marc's new build code
CVS patchset: 1956
CVS date: 1998/01/12 21:31:29
1998-01-12 21:31:29 +00:00