summaryrefslogtreecommitdiff
path: root/mk/bulk/environment.txt
blob: de67e877ed8a526435dbbe94603df37f4bf37581 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# $NetBSD: environment.txt,v 1.5 2006/12/15 13:15:06 martti Exp $
#

===> Environment variables used by the bulk build scripts

This file lists all(?) the environment and pkgsrc variables that
directly influence the bulk build process, grouped by the script in
which they are used.

===> mk/bulk/build

	=> Settable by the user

	BULK_BUILD_CONF: Pathname
		The configuration file for the bulk build.
	http_proxy: URL
		The HTTP proxy used for fetching distfiles.
	ftp_proxy: URL
		The FTP proxy used for fetching distfiles.
	USR_PKGSRC: Pathname
		The location of the pkgsrc root directory.

	=> User-defined in mk.conf

	BULK_DBFILE
	DEPENDSTREEFILE
	DEPENDSFILE
	SUPPORTSFILE
	INDEXFILE
	ORDERFILE
	BROKENFILE
	BROKENWRKLOG
	FORCEBROKENFILE
	BUILDLOG
	STARTFILE

	BULK_PREREQ

	=> Set by the script

	BATCH=1
		Used by pkgsrc.
	BMAKE={make,bmake}
		The make(1) program used for building the packages.
	DEPENDS_TARGET=bulk-install
		Used by pkgsrc.

### to be continued in line 191

===> mk/bulk/pre-build

	=> User-definable

	BULK_BUILD_CONF: Pathname
	PRUNEDISTFILES: Boolean := no
	PRUNEPACKAGES: Boolean := yes
	PRUNELINKS: Boolean := yes
	UPDATE_VULNERABILITY_LIST: Boolean := yes
	USR_PKGSRC: Pathname

	=> User-defined in mk.conf

	BROKENFILE
	BROKENWRKLOG
	BUILDLOG
	LINTPKGSRC_DB
	STARTFILE
	LOCALBASE
	X11BASE
	DISTDIR
	PKG_DBDIR
	DEPOTBASE
	PKG_TOOLS_BIN
	PACKAGES

	=> Set by the script

	BROKENF: Filename
		Filename where the build log is saved when the build fails.
	BRKWRKLOG: Filename
		Filename where the work log is saved when the build fails.
	BLDLOG: Filename
		Filename where ? is saved when the build fails.
	LINTPKGSRC_DB: Filename
		Filename of the lintpkgsrc database.
	STARTFILE: Filename
		Cookie file to determine whether the build has started.
	LOCALBASE: Pathname
		Like in pkgsrc.
	X11BASE: Pathname
		Like in pkgsrc.
	DISTDIR: Pathname
		Like in pkgsrc.
	PKG_DBDIR: Pathname
		Like in pkgsrc.
	DEPOTBASE: Pathname
		Like in pkgsrc.
	PKG_TOOLS_BIN: Pathname
		Like in pkgsrc.
	PACKAGES: Pathname
		Like in pkgsrc.

	=> Files used by the script

	mk/bulk/pre-build.local: Shellscript