Commit Graph

327 Commits

Author SHA1 Message Date
Will Andrews
c65c37a41b Attempt to defuse problems from developers who don't have the correct
ssh setup in order for addport to do CVSROOT/modules correctly.
2003-01-30 17:28:34 +00:00
Kris Kennaway
04a23345d0 If the port directory contains a file called .keep, then tar up the
${WRKDIR} after the port build completes and copy it to
${arch}/${branch}/wrkdirs/${pkgname}.tbz.
2003-01-24 11:01:37 +00:00
Kris Kennaway
b60d2dcc1e These scripts have been replaced by .c versions that do not require perl. 2003-01-24 05:05:38 +00:00
Kris Kennaway
dda0014b14 - Use ${arch} and rename html files accordingly
- Call processfail to produce 'new port failures' page
- Comment out the 'comparelogs' calls for now until I make them aware
  of architectures that don't have 4.x support
2003-01-24 05:04:16 +00:00
Kris Kennaway
934f3cece0 First cut at a script to process the logfile maintained by 'buildsuccess'
and 'buildfailure' and produce a HTML output listing ports with the date
they became broken.  The output can surely be made more useful (e.g. it
always links to the ${branch}-latest logs, which may not exist when the
build-in-progress has not yet attempted the build of that port).
2003-01-24 05:03:08 +00:00
Kris Kennaway
df64a01f68 These scripts are run when a build completes (successfully or not). They
keep track of the number of times a port has failed to build, resetting
the counter when it builds successfully.  There are still some bugs to be
worked out, but this will be used as the basis for maintainer notification
of port failures.
2003-01-24 05:01:24 +00:00
Kris Kennaway
220758235c Simple script to check the number of packages built on the various
architectures, for a given branch.
2003-01-24 04:59:03 +00:00
Kris Kennaway
a4ad73ca23 Script to automate the process of cvs updating the build tree, performing
the buildworld, installworld and 'make distribute' necessary for preparing
a bindist.
2003-01-24 04:57:21 +00:00
Kris Kennaway
6d119d605f - Use ${arch} 2003-01-24 04:55:31 +00:00
Kris Kennaway
6ab268ded7 Determine client architecture using /etc/arch 2003-01-24 04:55:15 +00:00
Kris Kennaway
069c3c3e0f - Use ${arch}
- Support builds as non-privileged user
2003-01-24 04:54:45 +00:00
Kris Kennaway
55e6f3bab5 Check status of multiple architecture client machines 2003-01-24 04:54:01 +00:00
Kris Kennaway
b715744cfd - Use ${arch}
- Increase timeout to 2 hours (needs to be arch-specific)
- Mount nfs filesystems with nfsv3,intr (the latter so that clients do
  not hang if bento panics)
- Run pnohang.${arch} on clients instead of pnohang
- Support builds as non-privileged user
2003-01-24 04:52:29 +00:00
Kris Kennaway
b26c9f68bd - Use ${arch}
- Increase timeout to 8 hours (this needs to be made per-arch so it
  doesn't overly pessimize fast client machines)
- Support building as a non-privileged user
2003-01-24 04:49:09 +00:00
Kris Kennaway
225546e3a1 - Use ${arch}
- Mount on ${master} instead of localhost
2003-01-24 04:47:17 +00:00
Kris Kennaway
d80ddb3e6d - Use ${arch} and ${INDEXFILE} 2003-01-24 04:46:41 +00:00
Kris Kennaway
43c5148669 Add the ${arch} argument 2003-01-24 04:46:02 +00:00
Kris Kennaway
e3ceee4e57 - Use the ${arch} subdirectory and pass ${arch} around to other scripts
- Use $INDEXFILE
- Use makeparallel script instead of 'make parallel'
- Support building packages as a non-privileged user (needs root access
  to client machines)
2003-01-24 04:45:18 +00:00
Kris Kennaway
90bdd0d643 Add makeparallel script, an improved version of the 'parallel' target
in ports/Makefile.  It uses the buildenv framework to obtain the correct
PKGSUFFIX and INDEXFILE variables.
2003-01-24 04:43:42 +00:00
Kris Kennaway
13c6a42331 Use pkg_add instead of pkg_add -f 2003-01-24 04:39:02 +00:00
Kris Kennaway
47e798381c Sync with bento:
- Switch to using ${arch}/${branch} subdirectory instead of ${branch}
- export INDEXFILE, MACHINE_ARCH and ARCH variables
- Add (commented out) FETCH_BEFORE_ARGS setting
- Add MASTER_SITE_OVERRIDE to fetch from ftp://bento
- Zap some mouldy old unused variables
2003-01-24 04:37:29 +00:00
Kris Kennaway
4fbc0185e0 Remove these scripts, which are no longer useful. 2003-01-24 04:32:33 +00:00
Mario Sergio Fujikawa Ferreira
11b467a83a Add both hungarian and portuguese l10n prefixes to syncronize with
portlint port

Approved by:	maintainer
2003-01-23 07:05:24 +00:00
Murray Stokely
6040f01eef Update this script to deal with .tbz packages. 2003-01-20 06:27:56 +00:00
Peter Pentchev
77ec5aff0a Add two utilties for listing and stashing away package files obtained
from recursive dependency builds a la:

  make DEPENDS_TARGET='install package clean' all install package clean

The pkg-list script obtains a list of the packages in the dependency
directories; the pkg-stash script moves them away to a predefined
directory, adding a timestamp to the package file name.  This is
convenient for keeping ready-built packages for system rescue
activities.
2003-01-08 15:40:08 +00:00
Alan Eldridge
ee95760eb8 unbroke addport by petef 2002-11-19 14:30:54 +00:00
Kris Kennaway
520ab052d8 Convert this to buildenv to make it actually work properly. 2002-11-18 10:12:47 +00:00
Pete Fritchman
b0ca12cd09 Use 'cvs ci -F ...' instead of setting the log file with EDITOR="cp ...".
This fixes addport for me on -stable (cvs was erroring out), and also
fixes addport when you have the EDITOR environment variable set.

Approved by:	will
2002-11-13 15:00:00 +00:00
Kris Kennaway
115bbb55f9 Fix the html output of this script. There was neither a closing
body tag nor a closing html tag.  In general, browsers work without
these, but Konqueror in particular was displaying some artifacts.

Also make sure empty cells have an nbsp directive; eliminate a bogus
case for Aff.; and change Date build to Build date.

Submitted by:	Mark Linimon <linimon@lonesome.com>
PR:		www/45021
2002-11-10 08:55:33 +00:00
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
Will Andrews
e9a43d0120 I never thought I'd change this code, but a change was required to make
sure cvs -R is enforced for freefall !=n cvs.  And it's a Bad Thing(TM)
that a piece of code addport depended on wasn't in the CVS tree anyway.
2002-10-14 08:47:42 +00:00
Will Andrews
59a2c2fb8b Modifications to support ncvs.freebsd.org != freefall.freebsd.org. This
actually simplifies some of the code and makes other parts more complicated.

Tested by:	www/mod_filter && (after bugfixes) sysutils/sjog
Noticed by:	ijliao (by way of peter)
2002-10-14 08:45:57 +00:00
Will Andrews
1bd9bb95e8 Add 650MB for the 4th CD since it's all just packages. 2002-10-08 04:23:59 +00:00
Murray Stokely
048d0b8a8e Increase the available space for packages on disc #1 of the package
split.

Approved by:	portmgr (will), re
2002-10-08 04:08:39 +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