Commit graph

323 commits

Author SHA1 Message Date
grant
91a2d8e88e fix some non-portable statements, allowing this to work properly
on Solaris.
2005-07-28 00:37:43 +00:00
ben
af63d72ec7 Fix the following error:
Can't use an undefined value as an ARRAY reference at mk/bulk/post-build line 470.

In the case that no packages were broken, getBroken returns a hash
without the key "topten".  When Perl tries to use that undefined value
as an array reference, it croaks.
2005-07-17 13:38:01 +00:00
rillig
2649c7e107 Removed superfluous "--" arguments from the command line, as the
argument following the "--" is guaranteed not to start with a dash.
Fixes pkg/30362.
2005-07-13 22:07:46 +00:00
rillig
cd217d9e1f Fixed the quoting. The shell is hard-coded to /bin/sh instead of relying
on which(1). Correctly pass all arguments (even the first one) to the
build script. See PR 30362 for details.
2005-06-27 18:37:22 +00:00
rillig
63d76b7f93 Fixed the quoting. The shell is hard-coded to /bin/sh instead of relying
on which(1). Correctly pass all arguments (even the first one) to the
build script. This fixes PR 30362.
2005-06-27 16:04:08 +00:00
sketch
4228902141 Use ${PERL5} instead of `perl' and relying on $PATH order. 2005-06-24 13:37:51 +00:00
dillo
334a53f8dc lang/perl58 has been renamed to lang/perl5 (hi johnny!) 2005-06-24 08:29:59 +00:00
jlam
c2fb31ba79 Drop the perl-5.6.x package from pkgsrc. Remove lang/perl58 and update
lang/perl5 to perl-5.8.6nb4.  Modify packages that referred to
lang/perl58 to point to lang/perl5 instead.
2005-06-24 06:43:43 +00:00
sketch
e2eb7e8270 mk.conf needs to be backed up as part of the bootstrap files. 2005-06-10 13:09:07 +00:00
rillig
e3aa46eedc Added a leading underscore to the names of the *_COOKIE variables, as they
are not part of the public interface.
2005-06-04 20:56:47 +00:00
dillo
00369f3c0a list all the extracted variables, not just some of them 2005-05-19 22:58:21 +00:00
kristerw
9fbb603b11 Use MACHINE_ARCH instead of arch to be consistent with things like the
subject line in the bulk mail.  This also prevents the quoting problem
on Darwin, where arch contains a space.
2005-05-19 20:56:36 +00:00
kristerw
ec780b54f1 Convert the last remaining usage of GTAR to use PAX instead. 2005-05-19 19:50:25 +00:00
jlam
a743d24806 Use PAX instead of GTAR since pax is provided on all systems while gtar
isn't.
2005-05-19 19:24:59 +00:00
jlam
87110dbd7b PERL5_PKGSRCDIR is no more. Explicitly use "lang/perl58" for the
location of the perl package to install for bulk builds.
2005-05-19 15:18:13 +00:00
sketch
7cdf1cbaf4 Reinstall BULK_PREREQ before running the post-build script as there may be
dependancies required for that script, an smtpd for example, as well.
2005-05-18 20:12:49 +00:00
jschauma
a3fb779cec When generating the report, add a list of top ten offenders at the top.
This makes it easy for people to track down which packages should receive
immediate attention.
2005-05-16 19:11:19 +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
wiz
e86bd09e3c Changes to the upload script:
vulnerable packages are uploaded directly into the vulnerable subdir.

While here:
quote variables
better handling of the temporary directory
remove some backwards compatibility code that's been here long enough
opsys-specific package handling was doing the same as non-opsys
specific, so fold them together.

Written together with dillo.
2005-05-08 13:29:09 +00:00
wiz
af43f6cfdc Refer doc/pkgsrc.txt instead of Packages.txt. 2005-05-07 22:16:38 +00:00
rillig
1c499d648b Properly quote the &, <, and > characters when generating BROKENWORKLOG.
Approved by wiz.
2005-05-06 00:52:30 +00:00
jlam
0044ab65dc Teach the bulk build scripts about the new tools framework. 2005-05-03 16:34:02 +00:00
jschauma
b4cb11f8f8 s/upto date/up-to-date/ 2005-04-30 21:35:06 +00:00
dmcmahill
51352eff3c by default don't try to include src and xsrc in the list of things to
mount in the sandbox.  Then in the individual OS section, turn it back
on if needed.  Right now, just turn on NetBSD.  At some point we should
probably fill out the other supported OS's or figure out a way to pull
in the information from the makefiles which already define much of whats
needed.
2005-04-21 21:44:56 +00:00
agc
c42f7878b8 Be more informative when cleaning packages and pre-requisites, and clean
up the English in two informational messages. No functional changes.
2005-04-11 11:18:01 +00:00
jschauma
3751e8f33e uncomment the checksums for IRIX
(the commented version was committed by mistake)
2005-04-10 21:44:04 +00:00
reed
9fbd7c3f0c The last revision to this file added a check for removing packages.
If they existed, it cd to that package database directory.

This broke the code later which assumed to be running from
the pkgsrc directory.

So cd to the USR_PKGSRC after this.
2005-03-31 23:36:15 +00:00
hubertf
cb95f0b61b If SIGN_AS is not set, remind the user to please sign the checksum
files manually.

Suggested and OK'd by jschauma@
2005-03-30 22:36:18 +00:00
hubertf
18989c5968 libkver please 2005-03-30 22:32:27 +00:00
hubertf
1910d8dbb2 Before calculating checksums, print a line that says what's happening.
With a slow NFS server (as mine), this can take a lot of time.
2005-03-30 22:26:37 +00:00
kristerw
7555b9f1e3 Remove the packages added when pruning files etc. before starting
the real bulk build.  This ensures that the bulk build is started
in a consistent state, regardless of how the pre-build things are
configured.
2005-03-30 20:21:07 +00:00
hubertf
bbe230ce97 Run download-vulnerability-list before bulk-builds if
UPDATE_VULNERABILITY_LIST is set to 'yes' in pkgsrc/mk/bulk/build.conf.
2005-03-29 00:55:50 +00:00
tv
0facf8765f With the SORT=gsort hack for Interix, all hell breaks loose on pkg_add
because pkginstall encodes it into its scripts.  sigh.

Hack around this.  For bulk builds on Interix only, use gsort for "tflat";
use the system-supplied sort for the rest of the build.
2005-03-28 15:04:07 +00:00
tv
432b696c8e Correctly pass ${SORT} to tflat. Interix needs something other than the
OS-supplied one (currently, it will use gsort from coreutils).
2005-03-24 16:47:34 +00:00
wiz
f358bade15 Change default to 2005Q1. 2005-03-22 16:42:52 +00:00
dmcmahill
a6bbcb2584 fix broken sed regexp which sometimes causes a failed pkg fail in marking others as broken 2005-03-17 22:49:15 +00:00
dmcmahill
ef23058a67 Avoid feeding very long lines to grep/egrep. The grep/egrep implementation
on some systems, e.g. solaris, will simply drop long lines.  These longs
lines are found in the flattened up and down dependency lists in the bulk
cache files.  Instead, use sed to deal with this.

Fixes problems noted in Solaris bulk builds.  Patch tested on NetBSD-2.0
and Solaris-2.9
2005-03-12 13:27:03 +00:00
hubertf
d77f01809b Document doing a pkgsrc-current build 2005-02-26 17:17:16 +00:00
grant
3f3afebafb on Linux, we need more than just /proc in the sandbox. :) 2005-02-10 03:20:00 +00:00
sketch
b6aec517bc Pass the correct programs to the mkdatabase script. 2005-01-27 17:55:42 +00:00
grant
857b601b7b only try to run the build if "cd /usr/pkgsrc" is successful. 2005-01-25 08:47:55 +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
jschauma
bb18a86029 Add bits to allow bulk-builders to generate checksums for the binary
packages they upload (by setting the optional variable MKSUMS=yes) and,
also optionally, PGP signing them (by setting SIGN_AS=username@NetBSD.org,
for example).
2005-01-24 03:41:34 +00:00
tv
23c895bb83 The pipe triggers a subshell even though () is not used. So use "exit" and
|| on the outside of the command to determine whether the packages found
in the loop are up to date.
2005-01-21 13:24:13 +00:00
tv
737cb046a6 Fix missing {} around variable name, noted by wiz.
Change one instance of $(...) to `...` per policy.
2005-01-21 13:11:46 +00:00
tv
913dfa54a2 Add LINTPKGSRC_CACHE support to reuse .lintpkgsrc.db created by pre-build.
"cd" to $USR_PKGSRC automagically so this can be called from any dir.
2005-01-20 02:02:50 +00:00
tv
76a832fa68 Fix error in previous; add explicit version check first, then the optionally
excluded timestamp check.
2005-01-19 22:12:27 +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