pkgsrc/mk/bulk/build.conf-example
dmcmahill 7bb464e019 teach the upload script about OSVERSION_SPECIFIC packages so one can put
them in the right place.  For example, a collection of binary packages can
now put uploaded with most going to the major.minor directory and the
OSVERSION_SPECIFIC ones going to the major.minor.patch directory.

still todo:  the destination settings should probably be moved out of
build.conf so the same build.conf can be used by multiple machines of
different MACHINE_ARCH's at the same time.  Perhaps these should be
a command line option to 'upload' instead.
2001-07-08 14:36:56 +00:00

57 lines
1.7 KiB
Text

# build.conf
# $NetBSD: build.conf-example,v 1.10 2001/07/08 14:36:56 dmcmahill Exp $
#
# config file in /bin/sh syntax for {,pre,post}-build
#
# Some paths for output files and paths to log files
FTPx=`date +%Y%m%d.%H%M`
FTPURL="pub/NetBSD/pkgstat/${FTPx}" # relative to ~ftp !
FTP="/home/ftp/${FTPURL}" # absolute base path
FTPHOST="ftp://ftp.machi.ne" # host for broken.html
# Where build will mail the report
ADMIN="you@some.whe.re"
# Who the report is signed by
ADMINSIG="-Your Name"
# The OS release this bulk build is happening on
osrev=`uname -r`
# The machine architecture this is happening on
arch=`uname -m`
# Where our pkgsrc is located
USR_PKGSRC="/usr/pkgsrc"
# As which user to run "cvs updates". Leave empty for no update.
CVS_USER="yourlogin"
# prune distfiles to remove those which are out of date
# can be set to 'yes' or 'no'.
PRUNEDISTFILES=yes
# Proxies (optional):
#ftp_proxy=http://proxy.machi.ne:3128/
#http_proxy=http://proxy.machi.ne:3128/
# Uploading binary packages:
# destination for packages with the OSVERSION_SPECIFIC flag set. Needs major.minor.patch
# version.
RSYNC_DST_SPECIFIC=$CVS_USR@ftp.netbsd.org:/pub/NetBSD/packages/x.y.z/arch
# destination for packages without the OSVERSION_SPECIFIC flag set. Needs major.minor
# version.
RSYNC_DST_OTHER=$CVS_USR@ftp.netbsd.org:/pub/NetBSD/packages/x.y/arch
RSYNC_OPTS='-e ssh'
###########################################################################
### No changes should be needed below this line !!!
###########################################################################
# Name of the (generated) HTML file which lists all broken pkgs
REPORT="$FTP/broken.html"