Commit Graph

830 Commits

Author SHA1 Message Date
jbj 7a57c1de12 Typo.
CVS patchset: 2414
CVS date: 1998/10/07 13:48:53
1998-10-07 13:48:53 +00:00
jbj 7ad030f18f non-linux arch/os identification (Eugene Kanter).
CVS patchset: 2410
CVS date: 1998/10/06 19:18:47
1998-10-06 19:18:47 +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 bd3f2ce413 First injection.
CVS patchset: 2325
CVS date: 1998/09/18 19:10:12
1998-09-18 19:10:12 +00:00
jbj b4f7b7d126 eliminate infinite loop with missing tmpdir (Trent Jarvi).
CVS patchset: 2310
CVS date: 1998/09/14 18:55:18
1998-09-14 18:55:18 +00:00
jbj 3d2769f74d fix database rebuilds with triggers (Steve Sanberg).
CVS patchset: 2290
CVS date: 1998/09/11 07:57:41
1998-09-11 07:57:41 +00:00
jbj dd573c5a8a diagnostic message if unreadable/short source or patch file.
CVS patchset: 2287
CVS date: 1998/09/10 16:25:15
1998-09-10 16:25:15 +00:00
jbj 0a4e182e40 Integrate shell and macro enviroments for scripts.
CVS patchset: 2282
CVS date: 1998/09/05 23:13:35
1998-09-05 23:13:35 +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 dd8f00921a Rewrite strsep code using strtok for ANSI C portability.
Remove RPMVAR_SETENV for now.

CVS patchset: 2278
CVS date: 1998/09/05 18:20:52
1998-09-05 18:20:52 +00:00
jbj 8fa9463826 Sync with 5.2 branch.
CVS patchset: 2275
CVS date: 1998/09/04 16:17:46
1998-09-04 16:17:46 +00:00
jbj 7c055ccee6 Typo.
CVS patchset: 2263
CVS date: 1998/08/20 19:12:30
1998-08-20 19:12:30 +00:00
jbj 0a38e41556 Add RPMTAG_EPOCH and RPMTAG_CAPABILITY init to 0.
CVS patchset: 2262
CVS date: 1998/08/20 16:34:58
1998-08-20 16:34:58 +00:00
ewt fddd1e7215 added epoch handling
CVS patchset: 2261
CVS date: 1998/08/19 02:30:02
1998-08-19 02:30:02 +00:00
jbj 8e9041037f sanity.
CVS patchset: 2253
CVS date: 1998/08/16 14:26:04
1998-08-16 14:26:04 +00:00
ewt 2ae7a2d53c added :hex format
CVS patchset: 2250
CVS date: 1998/08/16 13:43:10
1998-08-16 13:43:10 +00:00
jbj 85d8c81723 Fix infinite recursion on non-ERANGE return from getcwd() during install.
CVS patchset: 2245
CVS date: 1998/08/15 14:04:57
1998-08-15 14:04:57 +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 145d77b79d initMacros must be called someplace to enable full reursion.
Suggestions for further arch/os decimation.

CVS patchset: 2238
CVS date: 1998/08/07 18:35:05
1998-08-07 18:35:05 +00:00
adevries dda966d543 Added support for --buildplatform, setenv: tag in rpmrc, fixed
%buildplatform, fixed it so that the default buildarch is the
canonacalized architecture, not the native.  Cross building appears to
work!

CVS patchset: 2233
CVS date: 1998/08/06 19:35:07
1998-08-06 19:35:07 +00:00
ewt e1753d36d0 fixed another typo
CVS patchset: 2228
CVS date: 1998/08/03 15:05:27
1998-08-03 15:05:27 +00:00
ewt 9ad6207b3d fixed spelling of expected
CVS patchset: 2224
CVS date: 1998/08/03 14:59:00
1998-08-03 14:59:00 +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 12c5bea4d8 Special case of "/" in %files was broken.
Don't freeMacros in freeSpec -- macros have been globalized.
Remove extra debugging '_' prefix.

CVS patchset: 2220
CVS date: 1998/08/02 13:48:37
1998-08-02 13:48:37 +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 c88091c8e0 Typo.
CVS patchset: 2216
CVS date: 1998/07/31 20:17:06
1998-07-31 20:17: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 fc09e52f54 First attempt at librpmbuild API.
CVS patchset: 2214
CVS date: 1998/07/30 22:42:18
1998-07-30 22:42:18 +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
adevries 49059ccc58 Woops!
fixed it so on free(), it doesn't segfault.
-

CVS patchset: 2199
CVS date: 1998/07/29 00:57:09
1998-07-29 00:57:09 +00:00
adevries 8438ce1cd7 Modified rpmrc.c to allow include: lines in rpmrc files. Also, added functionality to be able to do rpmrc variable-based includes, such as:
include: /usr/lib/rpm/build/%buildplatform.conf
Added three new RPMVAR types, RPMVAR_OS, RPMVAR_ARCH and RPMVAR_BUILDPLATFORM .
-

CVS patchset: 2198
CVS date: 1998/07/29 00:39:18
1998-07-29 00:39:18 +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 c617a31606 Generalize cpio I/O to eliminate pipe to exec'd gzip on install.
CVS patchset: 2182
CVS date: 1998/07/25 15:33:15
1998-07-25 15:33:15 +00:00
jbj 9acba0bddd Add multiple include avoidance and c++ prototype wrapping throughout *.h.
Delete trailing white space in *.h.

CVS patchset: 2181
CVS date: 1998/07/25 15:10:58
1998-07-25 15:10:58 +00:00
ewt 51ec6e32a0 Provides: parsing in rpmrc wasn't done properly
CVS patchset: 2160
CVS date: 1998/06/30 18:52:54
1998-06-30 18:52:54 +00:00
ewt bfc226e9ad added an error message when rmdir() fails
CVS patchset: 2159
CVS date: 1998/06/30 18:52:29
1998-06-30 18:52:29 +00:00
ewt 5de4d92922 added --notriggers
CVS patchset: 2158
CVS date: 1998/06/30 18:51:44
1998-06-30 18:51:44 +00:00
ewt e74380923f 1) added NOTRIGGERS support
2) trigger versions include the trigger name for some reason; ignore the
   name portion if it's there

CVS patchset: 2157
CVS date: 1998/06/30 18:51:25
1998-06-30 18:51:25 +00:00
ewt 119bcbf204 fssizes weren't behaving for pacakges w/o file list
CVS patchset: 2150
CVS date: 1998/06/14 16:04:00
1998-06-14 16:04:00 +00:00
ewt 10cc4878e9 --justdb should tag files as normal
CVS patchset: 2147
CVS date: 1998/06/11 20:02:29
1998-06-11 20:02:29 +00:00
marc 1499694167 - added --last alias
- fix :depflags query format

CVS patchset: 2144
CVS date: 1998/06/04 17:03:29
1998-06-04 17:03:29 +00:00
marc a8975d188e - fixed ugly i18n header bug
- deal with lang paths sanely when entries are missing languages

CVS patchset: 2142
CVS date: 1998/06/02 21:34:51
1998-06-02 21:34:51 +00:00
ewt 1789870b35 - set file states to missing for --justdb packages
- handle missing file states properly in -e code
- install time wasn missing for --justdb packages

CVS patchset: 2135
CVS date: 1998/05/26 13:45:16
1998-05-26 13:45:16 +00:00
ewt 07ec9c5bc2 prefer db_185.h to db.h
CVS patchset: 2131
CVS date: 1998/05/26 13:22:39
1998-05-26 13:22:39 +00:00
marc c39795e7df Added headerGzRead() and headerGzWrite()
CVS patchset: 2127
CVS date: 1998/05/25 03:18:54
1998-05-25 03:18:54 +00:00
ewt e5dd155e6d added loads of .cvsignore files
CVS patchset: 2123
CVS date: 1998/05/21 18:12:48
1998-05-21 18:12:48 +00:00
marc 7e3b1b2197 - make %doc script obey --test
- hopefully fix temp file creation problems

CVS patchset: 2120
CVS date: 1998/05/21 03:21:13
1998-05-21 03:21:13 +00:00
ewt d2fc8072f9 don't pay attention to reqflags unless a reqversion is present <sigh>
CVS patchset: 2115
CVS date: 1998/05/10 18:37:35
1998-05-10 18:37:35 +00:00
ewt 16e9eae0e1 shared files weren't handled properly in netsharedpaths
CVS patchset: 2111
CVS date: 1998/05/06 21:46:03
1998-05-06 21:46:03 +00:00
ewt fb90f503dd fixed misc memory leaks
CVS patchset: 2108
CVS date: 1998/05/05 23:12:17
1998-05-05 23:12:17 +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
ewt 2afff79ebc didn't handle packages w/ empty filelists
CVS patchset: 2103
CVS date: 1998/05/01 19:33:36
1998-05-01 19:33:36 +00:00
marc bef12c4a53 - headerGetEntry() should return count of 1 when returning
strings plucked from i18n strings

CVS patchset: 2102
CVS date: 1998/05/01 17:10:25
1998-05-01 17:10:25 +00:00
ewt 9e5c81ab8b dump postun triggers properly
CVS patchset: 2099
CVS date: 1998/04/30 20:34:08
1998-04-30 20:34:08 +00:00
ewt 134a297b4e need to init freePrefixes
CVS patchset: 2095
CVS date: 1998/04/20 14:44:07
1998-04-20 14:44:07 +00:00
marc 09ddb1a9f0 Added AutoReq: and AutoProv:
CVS patchset: 2093
CVS date: 1998/04/17 04:25:27
1998-04-17 04:25:27 +00:00
ewt 272e203dab return as soon as a dep loop is found
CVS patchset: 2091
CVS date: 1998/04/16 16:23:19
1998-04-16 16:23:19 +00:00
ewt ac79b84d1a 1) don't malloc() 0
2) fixed some memory leaks

CVS patchset: 2086
CVS date: 1998/04/11 16:05:42
1998-04-11 16:05:42 +00:00
marc 484c325f03 Jeff Johnson's memleak patches
CVS patchset: 2085
CVS date: 1998/04/09 20:20:17
1998-04-09 20:20:17 +00:00
ewt 7964e84a24 left extraneous line in after patch
CVS patchset: 2075
CVS date: 1998/04/09 02:36:10
1998-04-09 02:36:10 +00:00
ewt 3c53731ab2 fixed bad variable name
CVS patchset: 2072
CVS date: 1998/04/05 20:57:13
1998-04-05 20:57:13 +00:00
ewt 37e6bc1769 implemented %triggerpostun
CVS patchset: 2071
CVS date: 1998/04/05 17:22:28
1998-04-05 17:22:28 +00:00
ewt ef2758d5f0 applied from from Till which fixes a fssizes problem
CVS patchset: 2060
CVS date: 1998/04/02 17:48:34
1998-04-02 17:48:34 +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
ewt e562ddba41 *** empty log message ***
CVS patchset: 2056
CVS date: 1998/03/27 17:42:28
1998-03-27 17:42:28 +00:00
ewt 52724fe1ed fixed minor typos
CVS patchset: 2055
CVS date: 1998/03/27 17:41:19
1998-03-27 17:41:19 +00:00
ewt c287c48d36 an extraneous memcpy() was floating around in headerAppendEntry(), which
caused some reading from unallocated stack regions

CVS patchset: 2053
CVS date: 1998/03/27 17:25:55
1998-03-27 17:25:55 +00:00
ewt 0d65586404 strntoul() was returning a pointer into alloca()'s memory
CVS patchset: 2051
CVS date: 1998/03/27 17:23:20
1998-03-27 17:23:20 +00:00
ewt 7b8522b57e added trigger support
CVS patchset: 2049
CVS date: 1998/03/27 16:46:39
1998-03-27 16:46:39 +00:00
ewt ab9e98d3e3 didn't work when open() returned stdin
CVS patchset: 2046
CVS date: 1998/03/23 20:42:40
1998-03-23 20:42:40 +00:00
ewt fb1398490e check LINGUAS when installing i18n files
CVS patchset: 2043
CVS date: 1998/03/23 16:34:38
1998-03-23 16:34:38 +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
sopwith 85e4e95c7c Make header.h & dbindex.h C++-safe as well
CVS patchset: 2040
CVS date: 1998/03/20 05:15:08
1998-03-20 05:15:08 +00:00
marc 073cb4fdcc Added some C++ cruft to rpmlib.h
CVS patchset: 2039
CVS date: 1998/03/20 04:48:27
1998-03-20 04:48:27 +00:00
marc 6ea468663f Added langpatt:
CVS patchset: 2038
CVS date: 1998/03/20 04:34:09
1998-03-20 04:34:09 +00:00
ewt 4786aaf066 1) header file cleanups
2) use new dependency scheme
3) changed " #if" to "# if"

CVS patchset: 2024
CVS date: 1998/03/04 16:52:59
1998-03-04 16:52:59 +00:00
ewt 25231c4272 got rid of "#endif foo.h" type things (which aren't ansi)
CVS patchset: 2019
CVS date: 1998/03/04 16:49:55
1998-03-04 16:49:55 +00:00
ewt 1de8a71f5e be more paranoid abou temporary files
CVS patchset: 2016
CVS date: 1998/03/03 21:45:38
1998-03-03 21:45:38 +00:00
ewt 425d259fda added byHeader to dependency conflict reporting
CVS patchset: 2011
CVS date: 1998/02/24 19:43:14
1998-02-24 19:43:14 +00:00
ewt 0994d93e13 added missing space
CVS patchset: 2008
CVS date: 1998/02/18 18:43:11
1998-02-18 18:43:11 +00:00
ewt 7388abf88b 1) added changes which let RPM build in a directory other then its source
directory
2) moved popt to autoconf

CVS patchset: 2005
CVS date: 1998/02/11 08:59:34
1998-02-11 08:59:34 +00:00
ewt 99813b2c61 fixed INSTPREFIX virtual tags
CVS patchset: 2002
CVS date: 1998/02/08 17:30:58
1998-02-08 17:30:58 +00:00
ewt 9a3dc5a07b error codes can't be negative for errno flag to work
CVS patchset: 2001
CVS date: 1998/02/08 17:30:39
1998-02-08 17:30:39 +00:00
ewt c277b410dc rpmInstallPackage() doesn't take netsharedpath as an argument
CVS patchset: 1999
CVS date: 1998/02/08 17:29:37
1998-02-08 17:29:37 +00:00
ewt 33b012193b 1) fixed memory leak w/ netsharedpaths
2) generates INSTPREFIXES tag for relocated packages

CVS patchset: 1998
CVS date: 1998/02/08 17:29:17
1998-02-08 17:29:17 +00:00
ewt 1917c5b67d 1) fixed RPM_INSTALL_PREFIXn env variables
2) checks netsharedpath before removing files

CVS patchset: 1997
CVS date: 1998/02/08 17:28:16
1998-02-08 17:28:16 +00:00
ewt 14e30a7cb0 added a comment to keep things clear
CVS patchset: 1994
CVS date: 1998/02/08 07:07:02
1998-02-08 07:07:02 +00:00
ewt 5e5fb32e49 1) fixed memory leak
2) fixed memory allocation problem

CVS patchset: 1993
CVS date: 1998/02/08 07:06:31
1998-02-08 07:06:31 +00:00
ewt bca8e57f2f added suppor fo INSTPREFIX virtual tag (for backwards compatibility)
CVS patchset: 1992
CVS date: 1998/02/08 07:06:07
1998-02-08 07:06:07 +00:00
ewt ab907f8aac fixed various bugs in relocation code
CVS patchset: 1984
CVS date: 1998/02/03 15:21:47
1998-02-03 15:21:47 +00:00
marc 4f3c571a16 Added sanity check on Prefixes:
Added some support for bzip2.  Still needs configure and lib-rpmrc.in stuff.

CVS patchset: 1983
CVS date: 1998/02/03 15:11:23
1998-02-03 15:11:23 +00:00
ewt 6681ac1cee fixed problems in file relocation
CVS patchset: 1980
CVS date: 1998/01/29 19:39:12
1998-01-29 19:39:12 +00:00
ewt 2c223345d8 implemented most of generic package relocation
CVS patchset: 1979
CVS date: 1998/01/28 16:49:43
1998-01-28 16:49:43 +00:00
marc 2ae55b71cb New rpmrc entry BuildShell can used to set the shell used for build scripts.
Default is /bin/sh.

CVS patchset: 1977
CVS date: 1998/01/25 17:03:30
1998-01-25 17:03:30 +00:00
ewt 01c24328af accept NULL as a valid prefix in rpmdbOpen()
CVS patchset: 1974
CVS date: 1998/01/20 02:41:18
1998-01-20 02:41:18 +00:00
ewt f36e7608ea changes to differentiate mipsel from mipseb
CVS patchset: 1973
CVS date: 1998/01/15 19:52:42
1998-01-15 19:52:42 +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
ewt ec07f9df95 fixed memory leak -- findMatches() wasn't freeing headers
CVS patchset: 1953
CVS date: 1998/01/12 16:58:31
1998-01-12 16:58:31 +00:00
ewt 32c00a2278 added include of "intl.h"
CVS patchset: 1952
CVS date: 1998/01/12 16:58:16
1998-01-12 16:58:16 +00:00