pullup 3232
[pkgsrcv2.git] / mk / bulk / environment.txt
1 # $NetBSD: environment.txt,v 1.4 2005/12/03 01:00:37 rillig Exp $
2 #
3
4 ===> Environment variables used by the bulk build scripts
5
6 This file lists all(?) the environment and pkgsrc variables that
7 directly influence the bulk build process, grouped by the script in
8 which they are used.
9
10 ===> mk/bulk/build
11
12         => Settable by the user
13
14         BULK_BUILD_CONF: Pathname
15                 The configuration file for the bulk build.
16         http_proxy: URL
17                 The HTTP proxy used for fetching distfiles.
18         ftp_proxy: URL
19                 The FTP proxy used for fetching distfiles.
20         USR_PKGSRC: Pathname
21                 The location of the pkgsrc root directory.
22
23         => User-defined in mk.conf
24
25         BULK_DBFILE
26         DEPENDSTREEFILE
27         DEPENDSFILE
28         SUPPORTSFILE
29         INDEXFILE
30         ORDERFILE
31         BROKENFILE
32         BROKENWRKLOG
33         FORCEBROKENFILE
34         BUILDLOG
35         STARTFILE
36
37         BULK_PREREQ
38
39         => Set by the script
40
41         BATCH=1
42                 Used by pkgsrc.
43         BMAKE={make,bmake}
44                 The make(1) program used for building the packages.
45         DEPENDS_TARGET=bulk-install
46                 Used by pkgsrc.
47
48 ### to be continued in line 191
49
50 ===> mk/bulk/pre-build
51
52         => User-definable
53
54         BULK_BUILD_CONF: Pathname
55         PRUNEDISTFILES: Boolean := no
56         PRUNEPACKAGES: Boolean := yes
57         PRUNELINKS: Boolean := yes
58         UPDATE_VULNERABILITY_LIST: Boolean := yes
59         USR_PKGSRC: Pathname
60
61         => User-defined in mk.conf
62
63         BROKENFILE
64         BROKENWRKLOG
65         BUILDLOG
66         LINTPKGSRC_DB
67         STARTFILE
68         LOCALBASE
69         X11BASE
70         DISTDIR
71         PKG_DBDIR
72         DEPOTBASE
73         PKG_TOOLS_BIN
74         PACKAGES
75
76         => Set by the script
77
78         BROKENF: Filename
79                 Filename where the build log is saved when the build fails.
80         BRKWRKLOG: Filename
81                 Filename where the work log is saved when the build fails.
82         BLDLOG: Filename
83                 Filename where ? is saved when the build fails.
84         LINTPKGSRC_DB: Filename
85                 Filename of the lintpkgsrc database.
86         STARTFILE: Filename
87                 Cookie file to determine whether the build has started.
88         LOCALBASE: Pathname
89                 Like in pkgsrc.
90         X11BASE: Pathname
91                 Like in pkgsrc.
92         DISTDIR: Pathname
93                 Like in pkgsrc.
94         PKG_DBDIR: Pathname
95                 Like in pkgsrc.
96         DEPOTBASE: Pathname
97                 Like in pkgsrc.
98         PKG_TOOLS_BIN: Pathname
99                 Like in pkgsrc.
100         PACKAGES: Pathname
101                 Like in pkgsrc.
102
103         => Files used by the script
104
105         mk/bulk/pre-build.local: Shellscript