Commit Graph

186 Commits

Author SHA1 Message Date
Kris Kennaway
78395efc95 Catch up to lots of changes from bento/beta:
* Update list of quickports to include kde3

* Add ability to restart builds (-restart)

* Change default to build packages for non-cdrom use (associated option name
  inverted from -nocdrom to -cdrom)

* Cope with .tgz or .tbz packages

* Use buildenv framework

* Use cvs update -PdA instead of -Pd when updating ports/docs tree

* Always delete restricted packages after a build run, since they are
  published on the website.

* Minor cosmetic changes
2002-11-08 22:20:48 +00:00
Kris Kennaway
a3be6877e5 Revamp this script:
* generate an interim .logs file containing the data to be presented in
  the html files (also useful for other consumers, like fenner's
  per-maintainer error logs)

* Generate 5 different summaries of the error data, sorted by port name,
  maintainer, category, build error, builddate

* Improve the table html code so it renders faster

* Add a few new failure reasons

Submitted by:	edwin (based on)
PR:		ports/43927
2002-11-03 22:41:40 +00:00
Kris Kennaway
7c78297dc2 Add C versions of the pnohang and ptimeout scripts (previously written in
perl).  Thanks to all those who submitted versions of these.

Submitted by:	marcus (based on)
2002-11-03 04:49:39 +00:00
Kris Kennaway
da8d4e6bda Use the correct filename for the FreeBSD version string used by the
uname script.  Mount the docs from the correct location.  Remove the
hack to pkg_add perl into the chroot environment, now that the scripts
no longer rely on it.
2002-11-02 04:04:14 +00:00
Kris Kennaway
78774e2719 Read FTP url from ${ftpurl}. Remove hack to fetch perl package into the
bindist now that it is no longer required.
2002-11-02 04:01:54 +00:00
Kris Kennaway
52918465c1 Support either .tgz or .tbz packages 2002-11-02 04:00:18 +00:00
Kris Kennaway
a76f0d1da4 Add FTP_PASSIVE_MODE. Build tgz packages on 4 and 4-exp, and tbz on 5. 2002-11-02 03:59:45 +00:00
Kris Kennaway
ef6266db84 Correct a message 2002-09-15 22:05:54 +00:00
Kris Kennaway
ce8ff4da93 Conditionalize one more thing on i386 2002-09-15 22:04:05 +00:00
Kris Kennaway
a959b8bdac Optimize the html output by putting multiple missing files in the same
table row, instead of making a new row for every single file.  This
cuts down the generated page size drastically, improving rendering times.

Submitted by:	Edwin Groothuis <edwin@mavetju.org>
PR:		ports/40962
2002-09-15 22:02:20 +00:00
Kris Kennaway
2eda2e760e Add a bunch of new failure modes (mostly to do with ports failing on 5.0) 2002-09-15 21:58:46 +00:00
Kris Kennaway
538513b7da Use PKGSUFFIX from buildenv 2002-09-15 21:57:52 +00:00
Kris Kennaway
d50285d854 Add PKG_PATH so packages can be found automatically (not sure what caused
this to break).  Support both .tgz and .tbz packages.
2002-09-15 21:57:05 +00:00
Kris Kennaway
b2abae3101 .tbz packages are now standard 2002-09-15 21:56:08 +00:00
Kris Kennaway
328a27e8b5 * XFREE86_VERSION=4 is now standard
* Add PKGSUFFIX and PKGZIPCMD variables
2002-09-15 21:55:52 +00:00
Kris Kennaway
17048bd504 * Support multiple arches and conditionalize i386-only stuff
* Fetch perl package on -current
2002-09-15 21:55:08 +00:00
Kris Kennaway
ec25ae9a13 * Catch up to .tbz packages
* Hack to use perl package on -current (needs to be done better somehow)
* Use buildenv
2002-09-15 21:53:59 +00:00
Kris Kennaway
759c4f8b14 Allow packages to be installed in the build chroot; this is needed
for 5.x package builds since the pnohang script is written in perl,
which was removed from the base OS.
2002-06-06 20:58:52 +00:00
Kris Kennaway
79fb8478c2 Only run ldconfig -aout commands on i386
Correct some build environment variables
Exit with code 255 if the port build failed uncleanly
2002-06-06 20:55:57 +00:00
Kris Kennaway
abd2d0f62e - Catch up to buildenv changes.
- Always update UNAME_TARGET with each build
- Populate mtree hierarchies better
2002-05-13 03:43:07 +00:00
Kris Kennaway
7e69da3672 Comment out the kernel building and just link to kernel.GENERIC. 2002-05-13 03:40:20 +00:00
Kris Kennaway
2982df6210 Zap some unused code. Catch up to buildenv changes. 2002-05-13 03:30:21 +00:00
Kris Kennaway
68f5d86cb9 - Switch default to XFree86-4.x for all branches
- buildenv() takes extra argument of the portbuild directory
- Add a todo comment
2002-05-13 03:25:39 +00:00
Kris Kennaway
ba656274f6 * Clean up this script a bit
* Add a trap handler to try and clean up the build if it is interrupted
  by a signal (one problem with the previous version is that package builds
  whice are interrupted by ptimeout because they are stuck, leave their
  working files lying around in the chroot).
* Switch to NFS v3 mounts instead of v2
* Autogenerate the version string to report in uname within the chroot,
  based on the version string in the head of the CVS branch being built.
* Copy packages via cp from the NFS mount, not scp.
2002-03-25 00:24:03 +00:00
Kris Kennaway
1b934126ce * Clean up this script a bit
* Require an additional <tmpdir> argument so the client knows where its
  temp directory is.
* Mount the portbuild directory readonly via NFS, and copy files that
  way instead of via scp, which has too much overhead
2002-03-25 00:20:34 +00:00
Kris Kennaway
e1b376a273 Detect a couple more failure modes 2002-03-25 00:18:00 +00:00
Kris Kennaway
3f8e160d36 Add MASTER_SITE_OVERRIDE to the list of variables propagated, so that
the cluster machines preferentially fetch an existing file from ftp-master
2002-03-25 00:16:29 +00:00
Kris Kennaway
8668b4f30b Update OSVERSIONS. This needs to be switched to buildenv. 2002-03-16 05:51:02 +00:00
Kris Kennaway
ad945e95f4 Use buildenv for setting environment variables, and tidy up a bit. Fix
typo s/UNAME_VERSION/UNAME_TARGET/
2002-03-16 05:50:24 +00:00
Kris Kennaway
42b02fbb89 Pull environment variables from buildenv, and tidy up a bit. 2002-03-16 05:48:03 +00:00
Kris Kennaway
6d24580fc9 Collect some more environment variables here and tidy up a bit 2002-03-16 05:46:33 +00:00
Kris Kennaway
5826701f06 Clean up index generation:
* Don't assume the script will be called from the ports directory

* Use buildenv to set environment variables

* Set LOCALBASE and X11BASE to dummy variables to prevent the ports tree
  from picking up packages installed on the host system, and patch up
  the generated index at the end
2002-03-11 11:54:40 +00:00
Kris Kennaway
530ba84e62 Set all of the <bsd.port.mk> control variables to be used in port/package
operations in one central place, instead of doing them piecemeal all over
the place.  This also includes the ability to customize settings per
port branch (e.g. XFREE86_VERSION)

Also, instead of hardcoding values of OSVERSION and OSREL which are going
to get forgotten again, pull them out of the source tree in ${branch}/src
so they track the head of the branch.
2002-03-11 11:52:15 +00:00
Kris Kennaway
909460e7dd Zap support for 2.2 and 3.x 2002-03-11 03:56:20 +00:00
Kris Kennaway
0bfaa61d95 * Ports get built under ${scratchdir}, not under ${pb}..this was pretty
tangled up.
* Sort the environment variables so that all of the commented out ones
  are grouped together
* Reverse sense of NOPLISTCHECK -> PLISTCHECK, since it's not an option
  we want enabled by default (it causes too many build failures).  This
  was too easy to forget when building packages 'by hand' using the parallel
  makefile.
* Copy across UNAME_VERSION into the chroot area so that uname inside the
  chroot reports the desired version
2002-03-09 23:18:10 +00:00
Kris Kennaway
2f9e4ad54b * Use portbuild.conf for config information.
* Shorten timeout period from 12 hours to 4 hours to avoid delaying the builds
  unnecessarily.
* Reverse sense of NOPLISTCHECK -> PLISTCHECK, since it's not an option
  we want enabled by default (it causes too many build failures).  This
  was too easy to forget when building packages 'by hand' using the parallel
  makefile.
2002-03-09 23:14:41 +00:00
Kris Kennaway
1e74bafe56 Add -nocdrom option to usage 2002-03-09 23:12:33 +00:00
Kris Kennaway
2c2d88145a * Reverse sense of NOPLISTCHECK -> PLISTCHECK, since it's not an option
we want enabled by default (it causes too many build failures).  This
  was too easy to forget when building packages 'by hand' using the parallel
  makefile.
* Display correct pathnames in build progress messages
* Add a -nocdrom option to avoid the (time-consuming) clean-for-cdrom-list
  target
* Remove x11/XFree86 from dummyports since we don't want to use an old
  stale version of the package which never gets rebuilt
* Add comments noting that we should check for CVS conflicts in the cvs
  update scripts and exit gracefully.
2002-03-09 23:11:11 +00:00
Kris Kennaway
6601c13809 Reverse sense of NOPLISTCHECK -> PLISTCHECK, since it's not an option
we want enabled by default (it causes too many build failures).  This
was too easy to forget when building packages 'by hand' using the parallel
makefile.
2002-03-09 23:07:25 +00:00
Kris Kennaway
6a89c7bb38 Ports are built in ${scratchdir}, not ${pb} 2002-03-09 23:06:27 +00:00
Kris Kennaway
0875e2f60d * Document the purpose of this script
* Don't display errors if the bindist tarball is not yet on the client
* Copy over some more files required to set up the client
2002-03-09 23:05:48 +00:00
Kris Kennaway
976b001efd Add new version of uname for 5.x bindists 2002-03-09 23:04:20 +00:00
Kris Kennaway
7bdc623fd8 Add template file from bento 2002-03-09 23:04:04 +00:00
Kris Kennaway
9988eab1eb Don't hard-code a version string to report to the chroots, pick it up
from a file so it can be more easily changed (and is more obvious so it
doesn't get overlooked)
2002-03-09 22:51:20 +00:00
Kris Kennaway
7e42e1b8ed Garbage collect these old configuration directories, since we don't
support 2.2.x/3.x package builds any more.
2002-02-25 08:26:10 +00:00
Kris Kennaway
8ef0083a13 Clean up this script a bit:
* Don't require the script to be called from inside the branch directory;
  follow standard practise and pass the branch to build as an argument.
* Populate the chroot with the BSD.local.dist mtree file
* Add whitespace for readability, and sprinkle liberally with comments
* Comment on some inscrutable parts of the script which were presumably
  put there to work around a (perceived) problem, but which I can't
  understand.
2002-02-24 08:01:54 +00:00
Kris Kennaway
e7d0711182 Axe support for 2.2.x and 3.x branches, and make this script more robust
by removing assumptions about how and from where it is called.
2002-02-24 01:42:26 +00:00
Kris Kennaway
52e7663529 When the 'makeduds' script fails, show the contents of the duds file instead
of just proclaiming "error(s) occurred".  This should immediately identify
which port is causing the build to break (although it's a bit of a verbose
solution).
2002-02-24 00:44:15 +00:00
Kris Kennaway
31c7c10181 Catch up to changes on bento:
* Update OSVERSIONs
* Add -x to ssh arguments
* Use per-branch ports collection
2002-02-11 03:07:54 +00:00
Kris Kennaway
177f0f7012 Catch up to changes on bento:
* Add some commented out stuff which tries to mount/unmount something.  No
  idea why, but it's commented out so it's harmless :)
2002-02-11 03:06:03 +00:00