Commit graph

25 commits

Author SHA1 Message Date
rillig
7fca192e2e Replaced all references to pkglint with lintpkgsrc, which has its own
package since a few days.
2008-01-04 15:49:07 +00:00
rillig
af7757c981 Shortened the code. 2007-01-08 21:36:07 +00:00
rillig
04f4fbc7c7 Allow "=" characters to appear in a line that comments out a package in a
category Makefile. Adjusted the other regular expressions to express more
clearly what is meant.
2006-01-15 23:33:23 +00:00
minskim
7eded7fe00 Fix a typo (show-depends-dir -> show-depends-dirs). 2005-12-31 02:06:10 +00:00
rillig
01ae880577 - Since printindex does not use the .pkglist cache anymore, this program
does not need to create it.
2005-11-28 01:22:53 +00:00
rillig
172d281652 Made printdepends very similar to printindex, as both iterate over all
pkgsrc packages, collecting different information.

- BMAKE is taken from the environment instead of querying `uname -s`.
- package-specific log files can be saved in a directory tree different
  from PKGSRCDIR.
- Added sanity checks for BMAKE, bulkfilesdir and brokenfile.
- The .pkglist cache is saved in ${BULKFILESDIR} instead of ${PKGSRCDIR}.
- Reformatted the diagnostics.
2005-11-16 22:18:03 +00:00
rillig
f11e7836ba Removed the code for printing progress information again, as printindex
is mostly used in batch mode. Impatient users should count the number of
lines in the output file if they can't wait.
2005-11-14 20:58:12 +00:00
rillig
61ecef8c03 As the printdepends program takes quite a long time, every 50 packages a
status line is printed on stderr to get an impression about how the
program gets along.
2005-11-05 10:14:43 +00:00
kristerw
1400eaeabd Do not add the things in pkgsrc/regress to the bulk build since they
are not meant to be built -- regress testing is done using the
pkgtools/pkg_regress tool.
2005-05-09 16:03:58 +00:00
jlam
0044ab65dc Teach the bulk build scripts about the new tools framework. 2005-05-03 16:34:02 +00:00
grant
b6f7f60e16 s/netbsd.org/NetBSD.org/ 2004-02-25 09:20:59 +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
grant
630c8ab0c6 use GREP and SED as set by defs.opsys.mk so this works on non-NetBSD. 2004-01-17 03:39:35 +00:00
sketch
122c819022 Replace hardcoded '/usr/pkgsrc' in comments. 2003-12-10 13:59:06 +00:00
jlam
b119dbc8ef Merge pkgsrc/mk from the buildlink2 branch back into the main trunk. 2002-08-22 08:21:26 +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
d2b3a2b5e3 add some more failure checks for robustness.
- if something fails while extracting the DEPENDS for a particular package,
  mark that package as broken and drop the DEPENDS info for it.  This allows
  the build to continue and properly marks the package as broken.

- if something fails while extracting the PKGNAME, also mark the pkg as broken.

- be more careful about seeing if directories exist before cd'ing to them.
  Lack of such a test has caused problems elsewhere, so hopefully this will
  make the system more robust.
2001-10-14 20:34:53 +00:00
hubertf
cbf5bdf8e2 Change my non-standard copyright header to a BSD-style one. 2001-10-12 19:28:02 +00:00
dmcmahill
6b21173ecb if a package subdirectory is listed in the category makefile, but doesn't
exist, then spit out a big warning to stderr (since we often capture stdout
for other purposes) and don't try and descend to that directory.
2001-07-13 15:14:57 +00:00
wiz
8fb0f10972 Handle new category-Makefile format 2001-02-17 16:45:10 +00:00
dmcmahill
a5051ede14 take advantage of new target in bsd.pkg.mk to simplify the script and be
sure to not miss libtool depends.
2001-02-01 08:28:07 +00:00
dmcmahill
6b1411fce4 add hostname and pid to the temp makefile name to avoid conflicts when
pkgsrc is shared via nfs where multiple machines may want to run the script
at the same time.  Also avoid conflicts if multiple copies are run on the
same machine at once.
2000-12-29 15:56:26 +00:00
hubertf
7563ff68a3 Unconditionally step back out of the dir that we went in before.
(How did this EVER work before?!?)
2000-11-18 07:30:25 +00:00
hubertf
38d2d6f6f6 Print pkgs with no dependencies as depending on themselves, as they
don't get built.
2000-09-21 16:53:14 +00:00
hubertf
0e7843f045 Bulk build framework 2000-09-15 22:05:46 +00:00