summaryrefslogtreecommitdiff
path: root/mk/bulk/build.conf-example
blob: fb0be9ca47828e2864079b20151ad8720cf166f2 (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
106
# $NetBSD: build.conf-example,v 1.38 2008/11/19 16:27:14 sketch Exp $
#
# This is an example configuration file for pkgsrc bulk builds.
# Actually it's a shell script that is sourced in by the pre-build,
# build and post-build programs.
#

#
# System information
#

# The OS release this bulk build is happening on.
osrev=`uname -r`

# Where our pkgsrc is located.
USR_PKGSRC="/usr/pkgsrc"

# An absolute pathname to your mk.conf file.
# The file must be outside ${PREFIX}, or it will be overwritten.
#MAKECONF="$HOME/etc/mk.conf"


#
# Getting distfiles
#

# Prune distfiles to remove those which are out of date.
# Can be set to 'yes' or 'no'.
PRUNEDISTFILES=no

# Proxies (optional):
#ftp_proxy=http://proxy.machi.ne:3128/
#http_proxy=http://proxy.machi.ne:3128/


#
# Building the packages
#

# List of package directories to build.
# Defaults to all packages if PKGLIST is empty or undefined.
#PKGLIST="www/mozilla meta-pkgs/kde3"

# Nice level for builds
NICE_LEVEL="nice -n 20"

# Whether to cache the lintpkgsrc database for PRUNE* or uploading.
# Can be set to 'yes' or 'no'.
LINTPKGSRC_CACHE=no

#
# Generating the report
#

# Where build will mail the report.
ADMIN="you@some.whe.re"

# Who the report is signed by.
ADMINSIG="-Your Name"

# The directory where the final reports are collected.
#REPORTS_DIR="$HOME/bulk-logs"
REPORTS_DIR="/home/ftp/pub/NetBSD/pkgstat"

# The URL where the final reports will be available.
REPORTS_URL="ftp://localhost/pub/NetBSD/pkgstat"

# The basename of the directory of the current bulk build. This
# directory will be created under ${REPORTS_DIR}. After uploading the
# report, it will also be available under ${REPORTS_URL}.
REPORT_BASEDIR=`date +%Y%m%d.%H%M`

# The basenames of the the two report files, which will both be created
# in ${REPORTS_DIR}/${REPORT_BASEDIR}.
REPORT_HTML_FILE="report.html"
REPORT_TXT_FILE="report.txt"

#
# Uploading binary packages
#

# Optional flags, however these variables must be left defined (even if empty) to
# satisfy 'set -eu' in bulk scripts.
AUDIT_PACKAGES_FLAGS=
DOWNLOAD_VULNERABILITY_LIST_FLAGS=

# Update vulnerability database before uploading.
# Can be set to 'yes' or 'no'.
UPDATE_VULNERABILITY_LIST=yes

# Prune binary packages to remove those which are out of date.
# Can be set to 'yes' or 'no'.
PRUNEPACKAGES=yes

# Whether or not to create checksum files.
MKSUMS=yes

# Whether or not to create the summary file.
MKSUMMARY=no

# If you want to PGP sign the checksum files, set and correct.
#SIGN_AS=username@NetBSD.org

# Destination for packages and rsync options.
RSYNC_DST=ftp.NetBSD.org:/pub/NetBSD/packages/pkgsrc-200xQy/NetBSD-a.b.c/i386
RSYNC_OPTS='-e ssh'