Commit graph

34 commits

Author SHA1 Message Date
rillig
50b7e85526 Made all sentences in the comments start with an upper-case letter and end
with a period.
2006-01-22 21:36:28 +00:00
rillig
1278e33918 - Added a new top level file that saves the REPORT_BASEDIR from the first
call to the mk/bulk/build script. This is to allow restarting the bulk
  build without getting confused by the various timestamps that occur
  during a bulk build. It also fixes some problems where the text/plain
  report had ended up in a directory different from the other files.

- Changed the default filename for the text/plain report from
  "pkgsrc-results-${BUILDDATE}.txt" to simply "report.txt", as the
  ${BUILDDATE} variable didn't give a hint to when the bulk build had been
  started, which is often more important than when the bulk build stopped.

- Changed the way to specify the directory and the URL where the bulk build
  reports are made available. See

      http://mail-index.netbsd.org/tech-pkg/2005/12/05/0002.html

  for details. Specifying the directories using the FTPHOST and FTPURL
  variables will be possible for some months, after which it support for
  it will be dropped.
2006-01-21 11:29:31 +00:00
rillig
4f04fb18f4 Removed CVS_USER, as announced on pkgsrc-bulk.
See <http://mail-index.netbsd.org/pkgsrc-bulk/2005/11/24/0003.html>.
2005-12-03 01:00:37 +00:00
rillig
9484e788d6 Added a new section called "Generating the report". Moved the FTP*
variables into that section, since they have nothing to do with
uploading the binary packages.
2005-11-18 12:11:51 +00:00
rillig
2f5783121f - Replaced spaces with tabs in the "build --help" message.
- Added file post-build-conf, which provides functions to print and
  export the config variables from build.conf.
- All config variables are shown at the start of a bulk build.
- Added a configuration variable MAKECONF with the obvious meaning.
2005-11-05 23:22:05 +00:00
rillig
e3fc3f4f0e The configuration variables had no apparent order. Now they are sorted
chronologically. First come the common definitions, then updating pkgsrc,
fetching distfiles, building packages and finally uploading them.
2005-11-05 20:54:38 +00:00
wiz
f358bade15 Change default to 2005Q1. 2005-03-22 16:42:52 +00:00
hubertf
d77f01809b Document doing a pkgsrc-current build 2005-02-26 17:17:16 +00:00
jschauma
0c0134061b Per default, only create md5 and sha1 checksums.
(These are available on all platforms via digest(1).)
Set commands for other checksums on a per OPSYS basis.

Set MKSUSM=yes back as the default.
2005-01-24 15:00:48 +00:00
tv
51a7a67d08 Not all OS's have all the checksum tools available to make MKSUMS=yes work.
Default it to "no" instead.
2005-01-24 13:21:13 +00:00
jschauma
d004e03093 Add MKSUMS and SIGN_AS (the former defaulting to yes, the latter commented
out).
2005-01-24 13:08:19 +00:00
tv
5b254ab9a7 * Add USE_BULK_TIMESTAMPS (default "yes") to control whether dependency
binpkg timestamps, and ${PKGDIR} file timestamps, will be used to
  determine if a rebuild is necessary.  If changed to "no", then rebuilds
  will only happen when PKGNAME actually changes.

* Add LINTPKGSRC_DB (and companion USE_LINTPKGSRC_CACHE, default "no") to
  make pre-build generate a reusable database with "lintpkgsrc -E"; helps
  with nfs-mounted pkgsrc.  A future change will allow use of this in the
  upload script.

* Add entry for PRUNEPACKAGES in build.conf-example (this was missing).
2005-01-19 20:58:00 +00:00
sketch
58a29490d5 Properly quote the NICE_LEVEL variable to prevent errors. 2004-08-12 22:18:07 +00:00
agc
047727a341 Abstract out the "nice -n 20" clause, so that it can be set to something
else if desired.

Print out dates in the form: yyyy/mm/dd
2004-07-22 14:26:42 +00:00
hubertf
5420388150 Deprecate RSYNC_DST_SPECIFIC and RSYNC_DST_OTHER and replace them
by RSYNC_DST. Warn if any of them is not set properly, and in
general adjust to the new layout on the FTP server.
2004-04-19 18:39:09 +00:00
jschauma
2cca9690d9 Commentary cleanup:
- If it's a full sentence, start capitalize first letter and end with a
  period.
- Break comments at ~80 chars so it fits into a terminal.[*]

(* This should be done for the code as well, but then it'll need testing.
   I'll do this at another point in time.)
2004-04-09 18:43:14 +00:00
hubertf
51c65d9891 Enforce vulnerability list being installed & correct & upto-date
before trying to upload anything.
2004-03-16 13:55:51 +00:00
grant
b6f7f60e16 s/netbsd.org/NetBSD.org/ 2004-02-25 09:20:59 +00:00
grant
4ddc97c628 fix typo in comment 2004-01-31 03:37:24 +00:00
grant
aa090d4366 allow the user to set the packages to build in build.conf (PKGLIST).
cache the list in printdepends so that printindex doesn't need to
run the same command(s) again at the start of a bulk build.
2004-01-30 10:54:36 +00:00
cjep
895c1a56cf Use CVS_USER for RSYNC options. 2003-03-09 15:46:00 +00:00
jlam
b119dbc8ef Merge pkgsrc/mk from the buildlink2 branch back into the main trunk. 2002-08-22 08:21:26 +00:00
hubertf
7508b153db Add CVS_FLAGS that will be passed to 'cvs update' before builds.
Allows specifying a branch ("-rnetbsd-1-6") or the trunk ("-A") easily
from the build.conf file.
2002-08-20 02:17:56 +00:00
agc
9a4f22c0ba Make these scripts useful on platforms other than NetBSD by using a BMAKE
environment variable, which contains the name of the make(1) program to
invoke - suggestion by Julien Letessier some time ago, the confusion mine,
since I thought he was referring to something else completely.

Don't rely on there being a POSIX tr(1) in the path by default - test
explicitly for both "yes" and "YES".

Set the default for PRUNEDISTFILES to "no", since we can't assume that
the user wants us to delete something which he may have been keeping
around, and there are other ways of accomplishing this aim (lintpkgsrc
-o, for example).

Clean up some superfluous white space at the end of lines.
2002-08-07 10:56:11 +00:00
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
hubertf
81cdec4cf4 Add a script that I use to upload binary pkgs to the FTP server 2001-06-23 23:27:18 +00:00
dmcmahill
c341f514d3 -add support for a BULK_PREREQ make variable. BULK_PREREQ contains a list
of packages which must stay installed during the build, but are not pulled
 in by the DEPENDS for each package.  Currently, BULK_PREREQ will always include
 pkgtools/digest.  At this time, the primary use will be to add
 BULK_PREREQ+=pkgtools/xpkgwedge
 in /etc/mk.conf to do an xpkgwedge'd bulk build.  It is up to the user to make
 sure that the list of packages in BULK_PREREQ is a flattened list (ie all the
 DEPENDS are listed too).  Again, at this time, xpkgwedge is really the only
 package that should be added to the list.

-add an ADMINSIG build.conf variable.  This is the signature at the end of the
 email report.  Maybe now I'll quit forwarding reports signed as "-Hubert".

-while here, eliminate grep|awk lines and `grep >/dev/null` replacing them
 with pure awk and grep -q.
2001-03-19 11:25:39 +00:00
dmcmahill
da395b7a6b further cleanup of handling the .broken.files and .make.files
- set BROKENF and BLDLOG in the 'build' script and pass those variables
  down to {pre,post}-build in the environment to make sure we only set them
  in one place.  The values are determined by a
      make show-var VARNAME=BROKENFILE
  This causes the default (set in bsd.bulk-pkg.mk) or the user overridden
  value from /etc/mk.conf or the environment to be correctly determined.  This
  is more robust that relying on a build.conf setting which may or may not be
  correctly set.

- have pre-build only clean up BROKENF and BLDLOG files instead of
  .broken* and .make*
  This avoids conflicts when pkgsrc is shared among different machines.
2000-12-30 14:53:28 +00:00
dmcmahill
9b36db2791 - get the BROKENFILE setting from make show-var VARNAME=BROKENFILE rather than
hard coding it.

- explicitly only add $BROKENFILE's to the output rather than .broken.*  This makes
  things work correctly when /usr/pkgsrc is shared among several machines which might
  use .broken.`hostname` for its broken file logs.
2000-12-26 16:45:57 +00:00
dmcmahill
1c4434b644 make the pruning of distfiles be controlled by a build.conf setting.
this way if you have 2 different pkgsrc trees sharing a distfiles directory
you don't nuke distfiles which may still be needed.
2000-12-22 01:35:33 +00:00
hubertf
dcbd4c55c4 Ur CVS_USER is empty, no CVS update will happen. Document! 2000-11-17 16:59:01 +00:00
hubertf
0e02ae3631 rcs id police 2000-09-15 22:27:16 +00:00
hubertf
325db75d6d Allow setting ftp_proxy and http_proxy in build.conf or $environment 2000-09-15 22:25:57 +00:00
hubertf
0e7843f045 Bulk build framework 2000-09-15 22:05:46 +00:00