Commit Graph

175 Commits

Author SHA1 Message Date
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 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
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 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
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
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 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 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 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
marc 26360c9654 Add intl.h
CVS patchset: 1950
CVS date: 1998/01/11 18:20:49
1998-01-11 18:20:49 +00:00
marc de01516d05 Obsolete root rpmrc var - use buildroot instead.
CVS patchset: 1949
CVS date: 1998/01/11 17:17:46
1998-01-11 17:17:46 +00:00
ewt af9aba223f added more i18n strings
CVS patchset: 1946
CVS date: 1998/01/09 19:10:54
1998-01-09 19:10:54 +00:00
ewt 40f08d3731 build time arch/os numbers weren't going through canon tables
CVS patchset: 1918
CVS date: 1998/01/07 15:26:43
1998-01-07 15:26:43 +00:00
ewt aa527b4520 added header for SunOS
CVS patchset: 1858
CVS date: 1997/10/15 15:46:09
1997-10-15 15:46:09 +00:00
ewt a74c005013 1) fixed some HP specific typos
2) uname() rseults get pushed through *_canon tables before being used

CVS patchset: 1819
CVS date: 1997/09/12 19:09:07
1997-09-12 19:09:07 +00:00
ewt bc8f275da3 fixed __hpux test
CVS patchset: 1811
CVS date: 1997/08/28 20:53:30
1997-08-28 20:53:30 +00:00
ewt 78618acbb3 hpux hacks
CVS patchset: 1807
CVS date: 1997/08/28 18:49:01
1997-08-28 18:49:01 +00:00
ewt fc32e706f3 1) added buildarch_compat tables
2) fixed malloc problem in rpmrc parsing

CVS patchset: 1795
CVS date: 1997/08/24 18:12:05
1997-08-24 18:12:05 +00:00
ewt 73fa07578a Added include of errno.h
CVS patchset: 1776
CVS date: 1997/07/28 21:16:55
1997-07-28 21:16:55 +00:00
ewt 94ff866183 added provides rpmrc tag
CVS patchset: 1760
CVS date: 1997/07/23 18:32:15
1997-07-23 18:32:15 +00:00
ewt 31897750f8 removed cpiobin from rpmrc
CVS patchset: 1759
CVS date: 1997/07/23 18:14:51
1997-07-23 18:14:51 +00:00
ewt 6c5567483b - compatible arch/os lists should be based on physical machine, not
translated machine
- added build arch/os lists to --showrc

CVS patchset: 1753
CVS date: 1997/07/23 13:09:33
1997-07-23 13:09:33 +00:00
ewt 79c05ecc3e Fixed architecture overrides
CVS patchset: 1752
CVS date: 1997/07/23 01:17:17
1997-07-23 01:17:17 +00:00
ewt 7b3f4e8601 rewrote rcfile parsing
CVS patchset: 1751
CVS date: 1997/07/23 01:06:03
1997-07-23 01:06:03 +00:00
ewt 77f29da77c oops
CVS patchset: 1720
CVS date: 1997/06/27 21:58:34
1997-06-27 21:58:34 +00:00
ewt 398062305f uname() IP* is truncated to just IP
CVS patchset: 1718
CVS date: 1997/06/27 21:47:43
1997-06-27 21:47:43 +00:00
ewt 08a988c752 taght it to figure out the arch of aix systems
CVS patchset: 1711
CVS date: 1997/06/25 16:09:38
1997-06-25 16:09:38 +00:00
ewt 4562a63499 correctly determines architecture for powerpc
CVS patchset: 1710
CVS date: 1997/06/25 16:04:50
1997-06-25 16:04:50 +00:00
ewt 9b92c41eac Added rpmfilename tag to to rpmrc and made use of it during package builds
CVS patchset: 1675
CVS date: 1997/06/01 22:59:24
1997-06-01 22:59:24 +00:00
ewt 49afbf25a1 Moved includes of miscfn.h to the top.
CVS patchset: 1648
CVS date: 1997/05/20 15:57:39
1997-05-20 15:57:39 +00:00
ewt 5c28a3c541 Made some missing rpmrc entries a fatal error
CVS patchset: 1622
CVS date: 1997/05/14 18:39:43
1997-05-14 18:39:43 +00:00
ewt 21ccd4d5db Needed to include miscfn.h
CVS patchset: 1593
CVS date: 1997/05/02 18:09:41
1997-05-02 18:09:41 +00:00
ewt 4fbd5adc44 Made code recognize gzipbin rpmrc entry.
CVS patchset: 1584
CVS date: 1997/05/01 21:07:46
1997-05-01 21:07:46 +00:00
ewt 479e552ef1 if a user specified rcfile doesn't exist, exit with an error
CVS patchset: 1437
CVS date: 1997/02/17 20:29:07
1997-02-17 20:29:07 +00:00
ewt 5142d09724 added RPMVAR_FIXPERMS
CVS patchset: 1296
CVS date: 1997/01/16 17:24:51
1997-01-16 17:24:51 +00:00
ewt 215e5c00f9 changed "struct option" to "struct rpmoption" to avoid conflicts with some
broken header files

CVS patchset: 1239
CVS date: 1996/12/12 16:37:22
1996-12-12 16:37:22 +00:00
root d382745d17 The Great Renaming
CVS patchset: 1171
CVS date: 1996/11/18 18:02:36
1996-11-18 18:02:36 +00:00
ewt 17b351fe0d added RPMVAR_DEFAULTDOCDIR
CVS patchset: 1143
CVS date: 1996/10/31 21:07:55
1996-10-31 21:07:55 +00:00
ewt 65194700ee 1) added RPMVAR_NETSHAREDPATH
2) don't exit w/ unknown options are in rpmrc files

CVS patchset: 1127
CVS date: 1996/10/21 02:18:54
1996-10-21 02:18:54 +00:00
ewt 394f7abfbc added FTPPROXY, FTPPORT
CVS patchset: 1109
CVS date: 1996/10/20 18:25:19
1996-10-20 18:25:19 +00:00
ewt dfeaca7b21 added RPMVAR_CPIOBIN
CVS patchset: 1082
CVS date: 1996/10/14 23:49:40
1996-10-14 23:49:40 +00:00
ewt eceef60532 don't include paths.h (which isn't used anyway)
CVS patchset: 1071
CVS date: 1996/09/29 02:28:42
1996-09-29 02:28:42 +00:00
ewt 10e0cf40aa only allow readConfigFiles() once
CVS patchset: 982
CVS date: 1996/08/22 20:25:46
1996-08-22 20:25:46 +00:00
ewt dce342d096 1) addded RPMVAR_TMPPATH
2) use LIBRPMRC_FILENAME for base rc file name

CVS patchset: 977
CVS date: 1996/08/20 16:28:51
1996-08-20 16:28:51 +00:00
marc 5af7615ceb do some checking on the timecheck value
CVS patchset: 915
CVS date: 1996/07/23 02:42:20
1996-07-23 02:42:20 +00:00
root 473a7d887e fixed bug where a long name was getting mapped to a long name
CVS patchset: 882
CVS date: 1996/07/17 21:33:01
1996-07-17 21:33:01 +00:00
ewt e1f76ba7a2 added ftpproxy
CVS patchset: 876
CVS date: 1996/07/17 20:01:29
1996-07-17 20:01:29 +00:00
ewt 5a03def294 1) returns score instead of distance into equivalences
CVS patchset: 850
CVS date: 1996/07/16 03:43:33
1996-07-16 03:43:33 +00:00
ewt 078fc06412 1) renamed showRc() to rpmShowRC()
2) added a true digraph for arch/os resolution at install time
3) updates rpmShowRC() to list arch and os equivalences

CVS patchset: 846
CVS date: 1996/07/16 03:36:23
1996-07-16 03:36:23 +00:00
marc b0d057d49b change all the "data" things to "canon" things (arch and os)
For a given arch_canon: A B C, add an A B C, and a B B C entry
(same for os)

CVS patchset: 842
CVS date: 1996/07/15 22:35:57
1996-07-15 22:35:57 +00:00
marc 1baa75ddb9 make rpmrc case insensitive
CVS patchset: 838
CVS date: 1996/07/15 18:34:47
1996-07-15 18:34:47 +00:00
marc e252e69b3e heavy hackage:
added:  getOsNum getArchNum getOsName getArchName
added: showRc()
remove from rpmrc: docdir, os, build_arch
add to rpmrc: packager
added os_data and arch_data to hold arch short_name and archnumber
  (same for os)
always parse /usr/lib/rpmrc
added buildarchtranslate, and buildostranslate to rpmrc
  to specify default build arch other than what uname() returns (and os)

CVS patchset: 836
CVS date: 1996/07/15 01:56:15
1996-07-15 01:56:15 +00:00
root 19dbeeece0 buildprefix -> buildroot
CVS patchset: 816
CVS date: 1996/07/14 16:06:35
1996-07-14 16:06:35 +00:00
root af8ec8c659 removed arch sensitive -- always on
CVS patchset: 814
CVS date: 1996/07/14 03:47:23
1996-07-14 03:47:23 +00:00
root b644f93374 remove require_group. It will always be ON now.
CVS patchset: 809
CVS date: 1996/07/14 03:37:18
1996-07-14 03:37:18 +00:00
ewt 2cf5f7b52f added dbpath
CVS patchset: 755
CVS date: 1996/07/10 02:32:45
1996-07-10 02:32:45 +00:00
root d671a6567a BUILDPREFIX stuff
CVS patchset: 752
CVS date: 1996/07/09 22:29:16
1996-07-09 22:29:16 +00:00
ewt 0ee6477a89 changed arch tag to build_arch
added arch_compat handling

CVS patchset: 725
CVS date: 1996/07/03 02:55:56
1996-07-03 02:55:56 +00:00
root f8933d7aa5 added stuff to parse config files arch specific and
non-arch specific
.,

CVS patchset: 710
CVS date: 1996/07/01 21:38:34
1996-07-01 21:38:34 +00:00
root 7d2880e5fb remove pub/sec ring stuff, set defaults properly
CVS patchset: 649
CVS date: 1996/06/19 14:30:19
1996-06-19 14:30:19 +00:00
root 6e459f8002 make arch_sensitive the default
CVS patchset: 598
CVS date: 1996/06/02 18:05:11
1996-06-02 18:05:11 +00:00
root 71f749f517 small oops
CVS patchset: 582
CVS date: 1996/05/22 17:42:35
1996-05-22 17:42:35 +00:00
ewt 67b9dec668 1) fixed bug in reading $HOME/.rpmrc
2) allows rpmrc file to be overridden

CVS patchset: 561
CVS date: 1996/05/07 03:22:31
1996-05-07 03:22:31 +00:00
ewt ebcd159917 added excludedocs line to /etc/rpmrc
CVS patchset: 509
CVS date: 1996/03/29 20:51:54
1996-03-29 20:51:54 +00:00
marc 6d602a76b2 added pgp signature stuff
CVS patchset: 311
CVS date: 1996/02/19 02:35:29
1996-02-19 02:35:29 +00:00
root b9c9a12286 changed wayward SPEC to SPECS
CVS patchset: 266
CVS date: 1996/02/14 17:55:38
1996-02-14 17:55:38 +00:00
ewt d952a38c43 Initial revision
CVS patchset: 255
CVS date: 1996/01/30 16:19:22
1996-01-30 16:19:22 +00:00