Commit graph

265 commits

Author SHA1 Message Date
tv
1b0eb440fd nfs-pkgsrc friendliness change:
Add a knob to relocate all the global bulk state files in one setting.
BULKFILESDIR; defaults to PKGSRCDIR as before.
2005-01-11 18:44:10 +00:00
tv
71b0501db3 Some shells can cache * lookups, so do all the rm -f's of */*/<something>
on one line.  Add a message prior to doing the leftover log cleanup, as
it will take a while if pkgsrc is on nfs.
2005-01-11 18:33:16 +00:00
hubertf
d2b3d61718 rc is in /usr/pkgsrc/, even in sandboxes 2005-01-10 20:00:30 +00:00
hubertf
8f1c2afbd1 Upload pkgs built in sandbox
(wrapper to 'upload' script, similar to do-sandbox-build).
2005-01-10 18:52:25 +00:00
kristerw
fdb6419bd5 The documentation claims you can use -m as an alias for --mirror_only.
Make it so.
2004-12-11 02:49:57 +00:00
jlam
4952f1a79c Don't hard-code "lang/perl58". Instead, use the value of PERL5_PKGSRCDIR
which is computed based on whether perl or perl-thread should be the
default.
2004-11-23 19:44:02 +00:00
jlam
19c97f1019 Fix the find command used to print out all of the .broken* files. It now
prints out both the .broken.html and .broken.work.html files instead of
just the latter.
2004-11-23 19:31:46 +00:00
wiz
1d2852cb72 Change perlfiles var to look for files from perl*,
not only perl, so that perl-thread files are not marked as leftovers.
2004-11-22 12:53:56 +00:00
jlam
b2320b8957 Preserve the .work.log file from a broken build as .broken.work.html
in the package directory, and add a link to it from .broken.html at
the point where the build fails.  Also adjust the auxilliary scripts
to handle/cleanup .broken.work.html files.

This should enhance the ability of developers to debug broken builds
by providing important information about what is happening as a build
progresses and fails.
2004-11-16 18:34:12 +00:00
jlam
d13b06f317 Bulk builds should be defaulting to building perl58. 2004-11-12 15:39:22 +00:00
agc
a920ff2b3c Allow the xsrc directory to be specified on the command line, defaulting to
/usr/xsrc if not specified, and check for its existence.
2004-10-24 22:54:25 +00:00
jlam
17c3aafac1 * Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,
as it's only used internally by bsd.prefs.mk.

* Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR.
  Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile
  than the old method of stripping off the last two components of
  ${.CURDIR}.  PKGSRCDIR may now be used after bsd.prefs.mk is defined.

* Change all references to _PKGSRCDIR to PKGSRCDIR.
2004-10-07 02:01:37 +00:00
mason
d1a4ff1d2c Typo - "ressource". 2004-09-22 16:42:29 +00:00
cjep
8d4dc2e04d Make and mount the local patches directory when relevant. Fixes PR#26951
from Masanori Mikawa.
2004-09-16 09:55:42 +00:00
grant
b0bef53ef5 many kernel-grovelling tools in Linux need /proc mounted to do
anything useful.

make it so.
2004-09-02 07:04:54 +00:00
sketch
58a29490d5 Properly quote the NICE_LEVEL variable to prevent errors. 2004-08-12 22:18:07 +00:00
sketch
868a80d864 Unset CDPATH variable in the user environment which prints the cwd to stdout
when changing directory, breaking the resulting tsort from the printindex
script output.
2004-08-06 10:41:51 +00:00
grant
51bd835ca8 correctly use PKG_SUFX instead of ".tgz".
this fixes a problem where bulk builds with PKG_SUFX=.tbz would
needlessly, repeatedly rebuild dependency packages because
${PKGNAME}.tgz did not exist.
2004-07-25 08:40:46 +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
grant
fc250c5bd6 add anchors for jumping to the top and each section of the HTML report. 2004-07-15 11:57:26 +00:00
grant
562864ccd0 only include broken packages in the email output. 2004-07-15 11:39:11 +00:00
grant
7c66293290 fix typo 2004-07-10 14:37:36 +00:00
grant
06d1f588de add /var/sadm so that Solaris pkgchk(8) can read the package database,
xpm/builtin.mk uses this to determine whether Solaris has xpm.
2004-07-03 21:42:37 +00:00
grant
eca521ff8e the timezone file on Solaris is /etc/TIMEZONE. 2004-07-01 13:18:20 +00:00
dmcmahill
f2b6b7c157 make sure we get BMAKE set when calling printdepends and printindex 2004-06-25 13:45:00 +00:00
grant
492fa68c52 on Solaris, ensure /usr/tmp and /var/tmp are created in the sandbox,
as nroff(1) and others complain if these directories don't exist.
2004-06-06 01:33:17 +00:00
grant
455f44b853 remove "local" variable scope, it is not required and is NetBSD sh(1)
specific.
2004-06-06 01:30:31 +00:00
dmcmahill
5e1b3f9aca add missing -r option that the usage claimed existed. Noted by garbled@ 2004-04-29 02:23:26 +00:00
dmcmahill
0436456e1c add a -s | --specific-pkgs option which will set SPECIFIC_PKGS=1 for the
build.  Suggested by Christoph Badura.
2004-04-24 01:22:49 +00:00
seb
94bd18b74a Fix pasto. 2004-04-19 23:09:55 +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
hubertf
307e455bf2 Catch UPDATE_VULNERABILITY_LIST being unset, default to be conservative
and run it if it's not explicitly set to "no"
2004-04-12 13:01:52 +00:00
jschauma
f78237671a According to egrep(1):
Portability note: unlike GNU grep, traditional grep did not con-
  form to POSIX.2, because traditional grep lacked a -q option and
  its  -s option behaved like GNU grep's -q option.  Shell scripts
  intended to be portable to traditional grep should avoid both -q
  and -s and should redirect output to /dev/null instead.

And, guess what, that's exactly what we run into when we call IRIX'
egrep(1) with '-q' (which it doesn't know).  So let's follow this
suggestion and use neither '-q' nor '-s' and redirect output to
/dev/null instead.
2004-04-10 16:23:00 +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
jschauma
f060c78ebf On some systems, bootstrap also installs ${LOCALBASE}/bin/install-sh --
if that is removed, the bulk-build will fail immediately.  So tar it up,
too.  (Note that this will give a warning on systems that don't have it.)
2004-04-09 18:29:37 +00:00
dmcmahill
4886d69430 Add a --mirror_only option to the bulk build script. When combined with
setting SPECIFIC_PKGS=1, this is a convenient way to make sure you have
all required distfiles before starting a build.  In particular, you will
get all distfiles for all required dependencies of the explicitly listed
packages.  As part of this make the option processing part of this script
a bit more general purpose and add a -h|--help option.
2004-04-09 11:06:35 +00:00
dmcmahill
eb0a5dcca7 Add support in the bulk build code to properly deal with SPECIFIC_PKGS=1.
In particular, when SPECIFIC_PKGS is set in /etc/mk.conf, you can now do

  sh mk/bulk/build

and have the right thing happen.  Only those packages explicitly listed
and those which are depended upon are considered for the build.  Other
than the restricted list of packages, the bulk build works the same way
as a full bulk build.
2004-04-07 22:56:34 +00:00
agc
6e27f19f69 Rearrange the wording slightly in an informational message, to avoid
some email filters and false positives.
2004-03-28 20:35:29 +00:00
jlam
24fff0c6d9 Attribute "my thoughts" to the original author. 2004-03-26 08:22:55 +00:00
jschauma
e114a3e62b If BULK_BUILD_CONF points to an absolute path, don't try to use it
with a leading "./".
2004-03-22 21:54:48 +00:00
grant
511c9e8b95 don't assume there will always be broken packages. noted by wiz. 2004-03-18 14:27:20 +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
wiz
8f8df9c339 Remove some more of the "last touched by" code. 2004-03-13 11:55:40 +00:00
hubertf
399ce0a3ff Remove 'blame' column, OK'd by grant@. 2004-03-11 01:42:11 +00:00
grant
b6f7f60e16 s/netbsd.org/NetBSD.org/ 2004-02-25 09:20:59 +00:00
grant
3f7c436cf4 GNU tar on netbsd-1-6 doesn't grok "-T -" at the end, but pax-as-tar
does, so rearrange the arguments so that "-f -" is always at the end.
noted by krister@.

while I'm here, make sure we use the same tar(1) program pkgsrc does.
2004-02-25 09:05:40 +00:00
hubertf
4b44008c84 Add RCS ID 2004-02-16 20:25:35 +00:00
grant
b56215fa53 avoid another long command line calling tar(1). 2004-02-15 06:17:10 +00:00
grant
5fdae71af5 zoularis is deprecated, don't backup zoularis.mk. 2004-02-14 04:06:29 +00:00
grant
f426c40c92 when copying the broken files, use find(1) instead of a shell glob
to avoid a command line too long for sh(1) on some platforms.
2004-02-14 04:00:18 +00:00