Commit Graph

164 Commits

Author SHA1 Message Date
marc 041f4d727f Don't try to cd into the build dir if there isn't onw.
CVS patchset: 1965
CVS date: 1998/01/14 22:02:01
1998-01-14 22:02:01 +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
marc 636fc4bec9 Handle patch > 2.1
CVS patchset: 1870
CVS date: 1997/10/23 15:10:03
1997-10-23 15:10:03 +00:00
marc 27f71aba7b Do a sanity check on BuildRoot
CVS patchset: 1856
CVS date: 1997/10/14 22:02:54
1997-10-14 22:02:54 +00:00
marc 398ca4e827 Terminate optionsTable
CVS patchset: 1845
CVS date: 1997/10/08 15:13:35
1997-10-08 15:13:35 +00:00
marc d518d25eb9 Sanity check
CVS patchset: 1835
CVS date: 1997/09/30 20:23:20
1997-09-30 20:23:20 +00:00
ewt d4e8084b2a replaced temporary file creation to be significantly safer
CVS patchset: 1809
CVS date: 1997/08/28 19:13:54
1997-08-28 19:13:54 +00:00
marc ccc21cb726 Modify to allow BuildArchitectures:
CVS patchset: 1773
CVS date: 1997/07/25 13:09:05
1997-07-25 13:09:05 +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 c81e8aefaa Must include <sys/tiome.h> before <sys/resource.h> for SunOS
CVS patchset: 1653
CVS date: 1997/05/20 17:43:34
1997-05-20 17:43:34 +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 aeb65017bb Added more includes of <sys/time.h> and <sys/resource.h> for AIX
CVS patchset: 1646
CVS date: 1997/05/20 15:42:27
1997-05-20 15:42:27 +00:00
ewt 1296efb89a Applied changes for AIX. This involved using <sys/select.h> if it's available.
CVS patchset: 1638
CVS date: 1997/05/16 15:32:57
1997-05-16 15:32:57 +00:00
ewt a5681a3d0c Minor cleanups.
CVS patchset: 1600
CVS date: 1997/05/07 14:56:06
1997-05-07 14:56:06 +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 25182162c5 The gzipbin transition added a %d where there should have been a %s.
CVS patchset: 1592
CVS date: 1997/05/02 18:04:15
1997-05-02 18:04:15 +00:00
ewt a4beb010aa Look for gzip in path and store binary to use in /usr/lib/rpmrc
CVS patchset: 1583
CVS date: 1997/05/01 19:08:15
1997-05-01 19:08:15 +00:00
root e532d1fc16 make %patch and %setup case sensitive
CVS patchset: 1544
CVS date: 1997/04/16 15:48:10
1997-04-16 15:48:10 +00:00
root 6c38cbd184 call finish_filelists where apprpriate
CVS patchset: 1534
CVS date: 1997/04/14 20:05:12
1997-04-14 20:05:12 +00:00
ewt ab1d659e51 rewrote %setup expanion to use popt and allow multiple -a, -b arguments
CVS patchset: 1499
CVS date: 1997/03/23 19:52:07
1997-03-23 19:52:07 +00:00
root 33a5f18db9 exec sh on the script, not the script directly
CVS patchset: 1486
CVS date: 1997/03/14 20:37:13
1997-03-14 20:37:13 +00:00
ewt ed2bd2bede use RPMVAR_FIXPERMS rather then static chmod args
CVS patchset: 1292
CVS date: 1997/01/16 17:23:29
1997-01-16 17:23:29 +00:00
ewt dec77c92e8 use _exit instead of exit in forks
CVS patchset: 1233
CVS date: 1996/12/12 03:35:01
1996-12-12 03:35:01 +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 b8a8ae8796 use RPMVAR_DEFAULTDOCDIR
CVS patchset: 1144
CVS date: 1996/10/31 21:08:05
1996-10-31 21:08:05 +00:00
ewt 9ff81b985e use separate chgrp/chown commands (slightly more portable, if a bit
slower)

CVS patchset: 1138
CVS date: 1996/10/31 19:53:35
1996-10-31 19:53:35 +00:00
root ae2878694c add %patch -E
CVS patchset: 1132
CVS date: 1996/10/30 02:30:01
1996-10-30 02:30:01 +00:00
ewt d9aea8c244 changed index() calls to strchr()
CVS patchset: 1056
CVS date: 1996/09/25 19:17:03
1996-09-25 19:17:03 +00:00
root c3b5842464 --test for building
CVS patchset: 1015
CVS date: 1996/09/02 01:58:13
1996-09-02 01:58:13 +00:00
ewt 4ed78096b7 uses RPMVAR_TMPPATH
CVS patchset: 976
CVS date: 1996/08/20 16:28:40
1996-08-20 16:28:40 +00:00
root 6cfcf86776 spelling
CVS patchset: 957
CVS date: 1996/08/18 21:42:58
1996-08-18 21:42:58 +00:00
root 613fbe8a10 allow -R to %patch
echo the patch number as it is patched

CVS patchset: 950
CVS date: 1996/08/14 16:50:37
1996-08-14 16:50:37 +00:00
marc 7e46ec48ec parse %prep even for list check
CVS patchset: 920
CVS date: 1996/07/23 03:33:20
1996-07-23 03:33:20 +00:00
marc ff49802b59 implement -bl
CVS patchset: 919
CVS date: 1996/07/23 03:30:44
1996-07-23 03:30:44 +00:00
marc 393cce24cd remove DOCDIR
/

CVS patchset: 827
CVS date: 1996/07/14 23:30:24
1996-07-14 23:30:24 +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 c6a464e9fb handle Build Prefix
CVS patchset: 750
CVS date: 1996/07/09 22:28:22
1996-07-09 22:28:22 +00:00
root 1e7ab3dd36 pass RPM_ARCH and RPM_OS to scripts
CVS patchset: 715
CVS date: 1996/07/01 21:47:55
1996-07-01 21:47:55 +00:00
root b0519bfdd2 move doRmSource() here
CVS patchset: 615
CVS date: 1996/06/07 18:27:56
1996-06-07 18:27:56 +00:00
root e8d9a79e9f make build_subdir visible
CVS patchset: 566
CVS date: 1996/05/07 18:48:53
1996-05-07 18:48:53 +00:00
root 94eddeb66a set umask on all script runs
CVS patchset: 532
CVS date: 1996/04/08 17:53:21
1996-04-08 17:53:21 +00:00
root d4a59f62c7 use /var/tmp
CVS patchset: 492
CVS date: 1996/03/29 01:26:20
1996-03-29 01:26:20 +00:00
root c3acfa7ab3 don't sweep in build_subdir is "."
CVS patchset: 386
CVS date: 1996/02/21 23:18:36
1996-02-21 23:18:36 +00:00
root bc9746b005 fix ROOT_DIR setting (for NULL)
CVS patchset: 377
CVS date: 1996/02/21 17:17:58
1996-02-21 17:17:58 +00:00
root e23939d837 add root dir to doc dir
CVS patchset: 374
CVS date: 1996/02/21 15:11:54
1996-02-21 15:11:54 +00:00
root 3e73095608 pass around the passPhrase
CVS patchset: 356
CVS date: 1996/02/20 16:00:04
1996-02-20 16:00:04 +00:00
root 3ca3620fe3 fix build shit
CVS patchset: 327
CVS date: 1996/02/19 22:18:30
1996-02-19 22:18:30 +00:00
marc e6389c6dd5 pass a name to openScript() for display purposes
put set -x after setting of all the variable names

CVS patchset: 308
CVS date: 1996/02/19 02:27:35
1996-02-19 02:27:35 +00:00
root 042dc300f0 remove a few stray statics
init build_subdir to .

CVS patchset: 281
CVS date: 1996/02/15 16:22:32
1996-02-15 16:22:32 +00:00
root 865692e3c2 fixed -c in %setup
CVS patchset: 271
CVS date: 1996/02/14 20:18:41
1996-02-14 20:18:41 +00:00
root 4e85ef055e added doRmSource()
CVS patchset: 267
CVS date: 1996/02/14 20:07:09
1996-02-14 20:07:09 +00:00
ewt e1c34e4c20 1) removed reference to var.h (which disappeared)
2) when source files aren't found, it prints the complete path it was
   looking for

CVS patchset: 248
CVS date: 1996/01/30 03:49:00
1996-01-30 03:49:00 +00:00
marc ec5a833d25 add static to doSweep()
CVS patchset: 238
CVS date: 1996/01/29 19:42:29
1996-01-29 19:42:29 +00:00
marc 6cd793c2c2 add RPMBUILD_CLEAN support
CVS patchset: 231
CVS date: 1996/01/29 19:14:54
1996-01-29 19:14:54 +00:00
marc 82a0ba550f added RPM_PACKAGE_NAME var to all scripts
do special %doc install after %install

CVS patchset: 227
CVS date: 1996/01/29 03:32:22
1996-01-29 03:32:22 +00:00
marc 053153a3a0 check for euid == 0 before doing chown -R on sources
add checkSources() to test access() on sources, patches, and icons
use markBuildTime()

CVS patchset: 157
CVS date: 1996/01/08 07:06:16
1996-01-08 07:06:16 +00:00
marc e48f336110 add %setup and %patch handling
add "really_exec" flag to execPart()

CVS patchset: 91
CVS date: 1995/12/27 16:54:54
1995-12-27 16:54:54 +00:00
marc 0f2ea3da00 move RPMBUILD_* to build.h
CVS patchset: 78
CVS date: 1995/12/20 23:34:12
1995-12-20 23:34:12 +00:00
marc 68b72b0468 added dispatch code
CVS patchset: 69
CVS date: 1995/12/19 21:08:18
1995-12-19 21:08:18 +00:00
marc d9a3f08d88 unified script writing routines
CVS patchset: 48
CVS date: 1995/12/18 14:53:14
1995-12-18 14:53:14 +00:00
marc f3d821cea4 routines for building packages from parsed spec structs
CVS patchset: 40
CVS date: 1995/12/14 15:56:10
1995-12-14 15:56:10 +00:00
root ee28a4d263 modified to test spec.c 1.4
CVS patchset: 17
CVS date: 1995/12/13 16:00:19
1995-12-13 16:00:19 +00:00
root 871c959220 started parsing
CVS patchset: 3
CVS date: 1995/12/11 22:52:59
1995-12-11 22:52:59 +00:00
root 7153c16096 Initial revision
CVS patchset: 1
CVS date: 1995/11/27 22:31:21
1995-11-27 22:31:21 +00:00