Subject: CVS commit: pkgsrc/mk/bulk
To: None <pkgsrc-changes@NetBSD.org>
From: Roland Illig <rillig@netbsd.org>
List: pkgsrc-changes
Date: 08/01/2006 13:16:42
Module Name: pkgsrc
Committed By: rillig
Date: Tue Aug 1 13:16:42 UTC 2006
Modified Files:
pkgsrc/mk/bulk: upload
Log Message:
Rewrote upload to use the newly introduced sort-packages program.
While here, ...
- Added stricter checking by using "set -eu".
- The bulk build configuration file is properly included, and the
MAKECONF definition that it may contain is properly exported.
- All progress messages and error messages are prefixed by "upload>",
so that it is obvious where the messages come from.
- Since extracting the make(1) variables takes quite a long time, print
an informational message before doing that.
- Removed the use of the error-prone lintpkgsrc to detect whether a
package is restricted or vulnerable.
- If an error occurs, the upload program returns an exitcode of 1,
which is common among Unix utilities.
- Removed almost all pipe operators, since they tend to hide program
failures.
- All error messages are redirected to stderr instead of stdout.
To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 pkgsrc/mk/bulk/upload
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.