Commit graph

240 commits

Author SHA1 Message Date
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
grant
7430d655d9 on Solaris, mount /opt/SUNWspro in the sandbox if it exists. 2004-02-13 23:53:13 +00:00
grant
727d3d4ea3 print date and time in UTC. 2004-02-08 12:54:05 +00:00
grant
bb4eec4fb6 include the total number of binary pkgs created in the report. fix
some HTML nits.
2004-02-08 09:13:43 +00:00
grant
2b04192e07 extract OPSYS and OS_VERSION from pkgsrc and use them in the report
email subject.
2004-02-05 23:57:54 +00:00
grant
e3a6dc7dd8 show build start time in localtime, not seconds-since-epoch :) 2004-02-05 23:53:16 +00:00
sketch
8ebd17f97c Remove a local change which crept in with the last update. 2004-02-05 10:59:40 +00:00
grant
4ddc97c628 fix typo in comment 2004-01-31 03:37:24 +00:00
grant
68315859d7 improve report layout:
- move the build summary to the top and include build start/end
  times.
- break the report up into three sections for easier navigation:
  Broken, Broken dependencies, and Not packaged.
- HTML report now uses a subset of the www.NetBSD.org stylesheet.
- improve some of the text.
2004-01-31 03:30:49 +00:00
grant
226bb2c88f shut up a warning from gawk. 2004-01-30 11:10:47 +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
3b338ae7b6 print a useful error if the pkgsrc directory or src directory
doesn't exist.
2004-01-30 08:51:29 +00:00
grant
fb2aa67691 if an unknown option is given, don't treat it as a sandbox
directory, print the usage message instead.
2004-01-30 08:34:28 +00:00
agc
c156ab5d49 Replace all occurrences of the "MAIL" definition with MAIL_CMD, since
some shells can set MAIL to be the mailbox of the user, and
environment variables will override assignments in make when using
conditional assignments.
2004-01-27 16:11:47 +00:00
grant
d84262f580 add /usr/5bin for Solaris. 2004-01-26 22:32:30 +00:00
agc
1e90841f0d Add a new definition, _PRESERVE_WRKDIR, which defaults to "no". This
definition is not intended to be set by the user, and so has a leading
'_', and is undocumented.

If set to "yes", then a "make clean" of the package will not be done,
thereby preserving the working directory.  This is useful for
debugging problems in bulk builds.
2004-01-26 21:24:41 +00:00
heinz
4d478bb0cf Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248 2004-01-26 21:10:31 +00:00
grant
c7be5308d1 sandboxed builds also need /usr/dt and /usr/ucblib on Solaris. 2004-01-22 13:08:32 +00:00
grant
3764132f99 make date format string more portable. 2004-01-22 09:08:34 +00:00
grant
b61400f8a3 add archivers/pax, net/tnftp, security/kth-krb4 and textproc/nbsed to
the packages to skip on non-NetBSD because they blow away
bootstrap-pkgsrc installed files.

only create ${PKG_DBDIR} if it doesn't already exist.
2004-01-20 12:44:30 +00:00
grant
002e1324e0 make this work on Solaris by using perl's internal grep(). it is
faster, and (f)grep can't handle very long word lists.
2004-01-20 12:37:08 +00:00
grant
15a0f7f8f5 reverse some "if ! command;" statements so this works with Solaris'
/bin/sh, which doesn't deal with !

bulk builds now work out-of-the-box on Solaris. woo :-)
2004-01-20 09:41:52 +00:00
grant
39935c10c4 missed a uname -p 2004-01-20 07:39:24 +00:00
grant
87c28cdc91 get and use the value of ${MACHINE_ARCH} instead of uname -p to
correctly reflect the pkgsrc arch.

(uname -p returns "unknown" on (my) Linux, which is not very helpful..)
2004-01-20 07:01:18 +00:00
grant
c0baecbda3 tiny whitespace tweak 2004-01-20 05:56:34 +00:00
grant
94317ffdac on Linux, use --bind arg to mount(8) and call 'MAKEDEV generic' to
make the device files, as this is what Linux systems seem to use...
2004-01-20 01:01:56 +00:00