Commit graph

525 commits

Author SHA1 Message Date
Oliver Eikemeier
2550a13d0b - fix a bug handling the maintainer field when ALLPORTS is used
- add an option to watch for maintainer changes

- change watch regex to match PKGORIGIN, not PKGNAME
2004-05-21 16:23:10 +00:00
Oliver Eikemeier
8e5aea1bea Turn chkversion into an all-dancing, all-singing notification tool.
You can even get notified of version changes in your favourite
perl modules by setting
  WATCH_REGEX='p5-.*'

Plus, it has a nice configurable nagging option.
2004-05-19 14:30:25 +00:00
Oliver Eikemeier
f21b7ffdfa small optimazation: don't compare versions that are equal 2004-05-18 08:53:39 +00:00
Oliver Eikemeier
ed499309f3 check only ports connected to the build. 2004-05-17 17:09:01 +00:00
Oliver Eikemeier
3f5f7aca90 - integrated chkorigin
- eliminated shell usage [1]

Submitted by:	mat [1]
2004-05-17 00:04:56 +00:00
Oliver Eikemeier
6c992223ae FWIIW, spawn fewer processes. 2004-05-16 10:46:47 +00:00
Oliver Eikemeier
1af7a456da support for symlinked portsdir (but no other symlinks in the ports tree)
chkversion: support for CVS blame with env CVSBLAME=yes
2004-05-14 21:07:39 +00:00
Oliver Eikemeier
1e3bf4436f add support for ignoring local ports / categories:
env 'EXCLUDE=local devel/local' /usr/ports/Tools/scripts/chkmodules.pl
2004-05-14 18:03:55 +00:00
Oliver Eikemeier
2b9f8d3add added chkversion, a script that ensures that PORTVERSIONs don't go backwards 2004-05-14 12:35:20 +00:00
Oliver Eikemeier
165c67df46 add a perl script to check CVSROOT-ports/modules,
based on a shell script by Clement Laforet.
2004-05-14 01:58:16 +00:00
Oliver Eikemeier
fbb1a3869a - don't flag empty lines
- callable without arguments:
  /usr/ports/Tools/scripts/MOVEDlint.awk
- do CVS annotate when called with env CVS=yes
2004-05-08 11:52:36 +00:00
Oliver Eikemeier
3b5d63ae7b awk script to check MOVED for consistency
Usage:
  [env PORTSDIR=/usr/ports] awk -f MOVEDlint.awk /usr/ports/MOVED
2004-05-08 02:46:29 +00:00
Mathieu Arnold
6e5777c670 While generating commit message, don't lowercase the first letter if the second
is upper case (ie : don't end up with pEAR)

Approved by:	will
Asked by:	thierry
2004-04-04 21:10:38 +00:00
Kris Kennaway
b318dd2a1c Set INDEX_PRISTINE and INDEX_QUIET to catch up to new index build
variables.
2004-04-02 07:43:43 +00:00
Oliver Eikemeier
74123e9733 added an -q option to enable usage in crontab.
Suggested by:	erwin
2004-03-28 19:13:34 +00:00
Mathieu Arnold
ba74778208 Fix a bug arising when you added a port which should have been at the end of
<category>/Makefile, and ended up at the begining

Approved by:	will
2004-03-20 18:52:33 +00:00
Oliver Eikemeier
8d16127344 Add chkorigin.sh, a script that checks the ports tree for ports with a wrong
PKGORIGIN. Useful especially after repocopies.

  env PORTSDIR=/usr/ports sh /usr/ports/Tools/scripts/chkorigin.sh

Approved by:	marcus (portmgr)
2004-03-19 11:08:09 +00:00
Trevor Johnson
dfc4c0a7ce Fill /mnt/ before each port and clear it afterward, to avoid running
out of inodes.
2004-03-15 21:46:49 +00:00
Akinori MUSHA
3d30f7c9c7 This script had served its purpose. 2004-03-14 11:48:40 +00:00
Trevor Johnson
d042f83b86 Add note about FETCH_BEFORE_ARGS=-s. 2004-03-12 20:03:51 +00:00
Trevor Johnson
fc9fc69007 script for finding "size mismatch" and "size unknown" errors 2004-03-12 18:56:53 +00:00
Kris Kennaway
58ec73aeee Run a command on all client machines of a certain architecture, or all
client machines.
2004-03-08 02:07:03 +00:00
Kris Kennaway
19d7957096 Walk through a package set and prune files that are not listed in INDEX
(e.g. packages from a previous build run, packages that incorrectly modify
their PORTNAME at install-time, etc.) as well as dangling symlinks.
2004-03-08 02:02:57 +00:00
Kris Kennaway
f71e690779 Verify the archive integrity of a package set, and move aside any that
are found to be bad.  Not currently in use, since we do not experience
package corruption and this takes quite a while to run.
2004-03-08 02:01:24 +00:00
Kris Kennaway
f2138752d2 To be run on the client, this script looks for chroot directories that have not been
used in 20 minutes, as well as directories listed as 'in use' that have not been touched
in 24 hours (corresponding to port builds that have timed out or shut down uncleanly)
and prunes them to reclaim space.  This is intended to be run as a cron job.
2004-03-08 01:56:16 +00:00
Kris Kennaway
9ee56fac4b Break out a script from dopackages for building the restricted.sh file
so it can be easily done manually
2004-03-08 01:52:45 +00:00
Kris Kennaway
3bfeb225a1 Replace gnome with gnome2 in quickports. I'm still not sure this actually
works as intended.
2004-03-08 01:38:34 +00:00
Kris Kennaway
858af6c802 Remove the integrity testing code now that the corruption bug has been
identified and those machines removed (restricted to Miatas running 5.2)
2004-03-08 01:37:34 +00:00
Kris Kennaway
3d97e9437e * Fix 4.x builds with 5.x host systems by copying some additional needed
files into the chroot to support host ps and killall binaries.
2004-03-08 01:36:30 +00:00
Kris Kennaway
5231db7af0 Expand out some shell globbing syntax 2004-03-08 01:29:03 +00:00
Kris Kennaway
c6484234da Prune out packages that will not be built because a dependency is marked
IGNORE/FORBIDDEN/etc (using duds.full).
2004-03-08 01:28:28 +00:00
Kris Kennaway
4215cfc4c1 Create a duds.full file that lists not only files that are marked IGNORE
but everything that depends on them.
2004-03-08 01:27:35 +00:00
Kris Kennaway
88ecf0ff35 Increase timeout on slow build machines (alpha, sparc64) to 16 hours.
This should probably be made a per-machine variable.
2004-03-08 01:25:25 +00:00
Kris Kennaway
6ebc6a8ffb * Set the PACKAGE_BUILDING variable in the build environment so ports can
detect they are being built on bento
* Update the list of "extra files" to filter to reduce some false positives
2004-03-08 01:23:20 +00:00
Kris Kennaway
eab18f688c Set up the DISTDIR and PACKAGES variables for use by client scripts 2004-03-08 01:20:36 +00:00
Akinori MUSHA
ac6314f977 Add sunshar, a "secure unshar" for ports committers, which:
- Does not execute unknown commands nor call sh(1) at all.
  - Does not overwrite existing files by default.
  - Does not extract files into upper directories.
  - Does have a dry run (-n) flag to see what would have been extracted.
  - Does have a strip (-p N) flag to strip any number of levels from
    pathnames.

It (so far) only supports shell archives made with BSD shar.
2004-02-28 14:29:09 +00:00
Brian Feldman
d7e662de4c Update "plist" to understand the rest of the mtree(5) file format,
thus fixing the extra-@dirrm-problem once the base mtree files
document the extra symlinks that are part of the local/etc. trees.
2004-02-27 21:01:02 +00:00
Joe Marcus Clarke
cc72b419cc Fix up the ordering and remove some duplicates so the resulting summary is
more accurate:

* The tests for "Cannot stat", "can't cd", and "tar command failed" are moved
  to the bottom.  This will sacrifice a little bit of performance for a gain
  in accuracy
* The tests for "configuration errors" needed to be combined and tweaked to
  better identify errors that are architecture-specific (usuallly the
  "all pointers are ints" assumption)
* The detection of chown was buggy
* There were some duplicate test cases
* As an experiment, another test for dependency problems is added

PR:		61914
Submitted by:	linimon
2004-02-04 05:31:52 +00:00
Alex Dupre
0374da0b6e - Fix synopsis
- Add 'ports/' PR category to commit log

Approved by:	will
2004-01-23 07:28:54 +00:00
Joe Marcus Clarke
377ca431d9 Comment out the munmap reason since it is quite unlikely this will be
encountered again, nad having it in there slows performance.  However,
I'm leaving it in the file in case a bad bindist slips back in, and it
becomes convenient to uncomment this for purposes of seeing what build
failures are cluster-related.

Requested by:	kris
2004-01-21 16:11:18 +00:00
Joe Marcus Clarke
83c1f7ffe2 Add domakedescribe and doportlint, two scripts that iterate over the ports
tree, and run "make describe" and portlint respectively.  They can be useful
as automated linting tools.

PR:		59226
Submitted by:	linimon
2004-01-19 22:35:58 +00:00
Joe Marcus Clarke
5b279805c7 * Refactor processlogs so that new error types can be added easily to a new
processonelog script, that contains all the per-errorlog logic [1]
* Add new error checks, one for detecting CPU problems, and the other for
  checking for broken libgnugetopt support [2]
* Add a new "munmap" error type to check for broken bindists
* Add imake and pthread detection to processonelog [3]
* Add errortype column to the bento "New Build Failures" report [4]

PR:		50258 56859 [1]
		54406 [2]
		57067 [3]
		59272 [4]
Submitted by:	linimon [1] [2] [3] [4]
2004-01-19 22:30:53 +00:00
Joe Marcus Clarke
63f09d3369 Add security-check.awk, a more efficient implementation of the ports
system's security checking algorithm.  This will be used in the upcoming
changes to bsd.*.mk.

PR:		55331
Submitted by:	Eugene M. Kim <ab@astralblue.com>
2004-01-19 22:19:00 +00:00
Joe Marcus Clarke
24f64c924d * Add support for linprocfs (needed for JDK ports) [1]
* Be smarter about adding directories to ldconfig
* Add code to test package integrity [1]

Submitted by:	kris [1]
2004-01-19 22:13:17 +00:00
Joe Marcus Clarke
5b6ccde0d9 Use editors/openoffice-1.1 instead of editors/openoffice since the latter is
now gone.
2004-01-15 21:56:23 +00:00
Dmitry Sivachenko
cb132627e5 When suggesting to add new port's submitter to Contributors' List,
also print the exact location of the file to checkout.
This is for those who rarely adds new ports and do not remember the
location of Additional FreeBSD Contributors article.

Approved by:	will
2004-01-07 20:03:52 +00:00
Pete Fritchman
6160a79b6c Refactor how we format the autofill message. With the slightly questionable
Perl before, sometimes we would word wrap too soon.  Now we should never
generate a line more than 72 characters long (but as close to 72 characters
long as we can without breaking up a word).

Approved by:	will (maintainer)
2004-01-06 06:04:31 +00:00
David E. O'Brien
5dda2933f1 There is nothing "future" about 'addport'. 2004-01-02 23:27:29 +00:00
Dmitry Sivachenko
75122bde71 Use 'make master-sites-all' instead of 'make -V MASTER_SITES' to obtain the list
of master sites.
Before that %SUBDIR% was not expanded and the resulting URL was malformed.

L-o-o-o-ng maintainer timeout waiting for review of a slightly different
solution.
2003-12-17 10:28:32 +00:00
Dag-Erling Smørgrav
cc1020551b fetch(1)'s -b and -t options were deprecated years ago, so stop using them. 2003-11-12 15:09:12 +00:00
Kris Kennaway
a36c5cd9ad Condense the table a bit 2003-10-13 06:33:04 +00:00
Kris Kennaway
2f9f9b16c8 The newfailure file is no longer updated by builds 2003-10-13 02:59:19 +00:00
Kris Kennaway
0c4ee12a72 Script for migrating from old-style to new-style failure log file. 2003-10-13 02:58:38 +00:00
Kris Kennaway
cc8e11aa6b * newfailure is no longer updated, no need to prune it
* Update failure file format with both original and latest failure date
2003-10-13 02:56:21 +00:00
Kris Kennaway
f1200b6ecc * Generate newfailure file (sorted list by original failure date) from failure
* Enhance HTML output to include both original and latest failure date, and
  number of times the build has failed.
2003-10-13 02:54:56 +00:00
Kris Kennaway
6c56f2eb95 * Try to be more careful when writing the failure file in case the disk
is full
* The newfailure file is no longer maintained, but generated as-needed
  by the processfail script
* Update format of failure file (records both initial failure date and
  most recent failure date)
2003-10-13 02:52:58 +00:00
Kris Kennaway
e444895601 Add a script that prunes the contents of the failure and newfailure files
of stale entries (removed ports, ports listed in duds that were mistakenly
built, malformed entries) and refreshes the version of entries to the
latest in INDEX.  This must be run under lockf (see the comments in the
script) to avoid racing with portbuild which also tries to write to
these files.
2003-10-13 00:06:09 +00:00
Alexander Nedotsukov
23ee68125d Fix -l option comment removing obsolete pkg-comment reference.
Approved by: will
2003-09-29 02:39:50 +00:00
Kris Kennaway
b815980215 Teach this script about different architectures. 2003-09-12 20:50:44 +00:00
Kris Kennaway
6e13e8bdb5 Add amd64 to the list of architectures to poll. 2003-09-12 20:49:08 +00:00
Kris Kennaway
6ee0cd092e Add a couple of amd64 failure messages. 2003-09-12 20:48:28 +00:00
Kris Kennaway
7052589b03 Remove some ldconfig -R's that were apparently confusing things, coalesce
some ldconfig -m's into one command, and run buildscript niced in the
chroot build case, not just the (currently unused) jailed case.
2003-09-12 20:47:51 +00:00
Kris Kennaway
7bc2b19585 Set PACKAGE_BUILDING before making the duds file to prevent listing of
ports that are buildable conditionally on this variable.
2003-09-12 20:44:50 +00:00
Kris Kennaway
71769ad1c7 Export MASTER_SITE_OVERRIDE with DIST_SUBDIR correctly escaped 2003-09-12 20:43:09 +00:00
Kris Kennaway
d5a1ecd1eb Catch up to makefile changes: build in etc/ before trying to install
from it.

Submitted by:	ru
2003-09-12 20:42:14 +00:00
Mathieu Arnold
dd5899bd4d When using addport on freefall, there's no need to ssh freefall once more to
use modulesupdate.

Approved by:	will
2003-09-02 15:33:46 +00:00
Kris Kennaway
d6e37c8332 Add a -fetch-original switch to dopackages that fetches the distfiles from
the listed MASTER_SITES instead of ftp-master.  Pass the FETCH_ORIGINAL
environment variable to pdispatch and as a command-line switch to
portbuild.
2003-05-18 00:04:28 +00:00
Kris Kennaway
ce395d3474 Only transfer the build distfiles to bento if requested.
Switch back to chroot builds until I can debug the remaining problems with
jail builds.
2003-05-17 00:27:27 +00:00
Kris Kennaway
116e3b3e87 Pass down the request to keep distfiles if appropriate. 2003-05-17 00:25:59 +00:00
Kris Kennaway
a7924a9308 Add a -distfiles flag to specify that we should retain distfiles for later
processing (e.g. transfer to ftp site).  It was taking up too much disk
space to collect distfiles for 14 architecture/version combinations
(including the backup set from the previous run).

Put the cvsdone files in the arch/branch subdirectory, not arch/.
2003-05-17 00:25:14 +00:00
Kris Kennaway
10e3ce1cdc Switch to polling the clients with netcat to collect load stats, instead
of having the clients scp their loads to bento every 10 seconds.  Fix
some indentation and add some sleeps to make sure the startup script
doesn't run too early in the boot process.
2003-05-17 00:20:53 +00:00
Maxim Sobolev
1ddaf006e0 Previous delta was:
Submitted by:	ru
2003-04-18 13:52:50 +00:00
Maxim Sobolev
a346c15b29 Clean up empty dirs. 2003-04-18 13:51:49 +00:00
Maxim Sobolev
d684f40af6 Speed-up a bit when user keeps his working directories in the ports tree
(doesn't use WRKDIRPREFIX).

Submitted by:	ru
2003-04-08 13:36:45 +00:00
Kris Kennaway
393bb456a9 Update sed pattern used to process logs 2003-04-06 05:42:41 +00:00
Kris Kennaway
26bf92a496 Zap some old/non-useful code
Add some new command-line options:
  * -continue : restart the build without rebuilding ports that have
                already failed
  * -nofinish : don't run the post-processing steps when the build finishes
  * -finish : run the post-processing steps only
Reorder some code sections appropriately
2003-04-06 05:40:27 +00:00
Edwin Groothuis
452a17f4c0 This tool parses the output of kdump to generate a list of added
and removed files.

This can be used as the basis of a pkg-plist, or even just for
curiosity about what files something is touching.

Fairly raw at the moment, and doubtless inefficient, but it should
make a useful tool for port creators.

PR:		ports/47424
Submitter:	Daniel O'Connor <doconnor@gsoft.com.au>
2003-04-04 12:20:54 +00:00
Joe Marcus Clarke
bd948000d0 Sort the non-dirrm entries, and reverse sort the dirrm entries.
Reviewed by:	green
2003-03-28 05:08:03 +00:00
Kris Kennaway
e006d25643 - Define __MAKE_CONF to allow per-arch make.conf files in buildworld
- Set the UNAME_* variables to make use of the override support in uname(1)
  This allows us to get rid of the uname shell script in the build chroots
- Collect some variables that are probably old and mouldy, for later GCing
- If FETCH_ORIGINAL is set in the environment, don't fetch from ftp-master
2003-03-23 01:26:42 +00:00
Will Andrews
7ac6ca52e1 Make modulesupdate actually work in light of split. You can't use a
CVSROOT that's readonly.
2003-03-02 17:29:12 +00:00
Peter Wemm
796330dcfb Update for post-repo-split. s/ncvs/pcvs/ so that the default root is
pcvs.freebsd.org:/home/pcvs
2003-02-28 19:49:31 +00:00
Steve Price
c2e4cc1ce9 Do a better job of stating which port we had problems with while
mapping directories to package names.
2003-02-24 16:07:07 +00:00
Mario Sergio Fujikawa Ferreira
2dc2732c98 Another try at fixing the "adding to CVSROOT/modules from remote
hosts (non-freefall)" bug: add '-A' argument to ssh(1) command line
for accessing host cointaining modules file. This should fix the
bug for ssh-agent(1) users. Others can just switch to using
ssh-agent(1).

Approved by:	will (maintainer)
2003-02-23 20:06:06 +00:00
Kris Kennaway
c5150864d9 Instead of pushing the load data to the master with scp every 10 seconds,
just report it via an inetd service.
2003-02-22 22:26:23 +00:00
Kris Kennaway
e0d90467e6 * Allow port builds to be started with a certain niceness ('nice' parameter
in portbuild.conf). [1]

* Build stage 2 builds in a jail instead of a chroot.  This allows us to
  detect ports that attempt IP communication during the build, as well as
  allowing clean termination of the port build (packages built in a chroot
  can leave processes hanging around after the build finishes).  There
  are some caveats with this approach which will be worked around in a
  future commit.

Requested by:	peter [1]
2003-02-22 22:25:12 +00:00
Kris Kennaway
c5c0032536 If ${buildworld}=1 in mkbindist.conf, then use the makeworld script to
build world and populate the chroot.  Otherwise, if ${ftp}=1 then
fetch it from the ftp site as before.
2003-02-22 22:22:12 +00:00
Kris Kennaway
2629774416 Simplify the collection of load statistics for the cluster. Loads
are now collected by polling a small server on the client (using netcat)
instead of having the client scp the load files to the master every 10
seconds (!!!)
2003-02-22 22:21:00 +00:00
Kris Kennaway
6f6a583bc7 Store dates in +%s format 2003-02-22 22:19:03 +00:00
Akinori MUSHA
1520142bc7 Handle '#' and '$' in pkg-comment properly. 2003-02-21 13:12:02 +00:00
Maxim Sobolev
307e2a0837 - pkg-comment is no longer mandatory;
- ignore patchfiles ending with `,v' or '.orig'.
2003-02-21 00:48:19 +00:00
Akinori MUSHA
ce03f12ae5 Add de-pkg-comment. 2003-02-18 12:45:59 +00:00
Akinori MUSHA
a25c270b0e Add de-pkg-comment, a ruby script to convert pkg-comment to COMMENT. 2003-02-18 12:42:44 +00:00
Norikatsu Shigemura
b4b7d18cdf Change how to get CATEGORIES tag from new port for slave port.
Approved by:	will
2003-02-16 15:23:21 +00:00
Kris Kennaway
4e20fd729d Search for a lot of new failure strings to reduce the number of build
failures listed as '???'.

Submitted by:	Mark Linimon <linimon@lonesome.com>
PR:		www/44919
2003-02-14 09:28:42 +00:00
Kris Kennaway
182d4cc46d Work around broken rand() in -current by changing the way we pick a
random build host.
2003-02-14 09:26:20 +00:00
Kris Kennaway
efc1842637 - If ${ftp} = 0 in mkbindist.conf, then use the makeworld script to build
a world instead.
2003-02-14 09:25:47 +00:00
Kris Kennaway
afda0ec7a9 - Correct usage message
- Don't try and use buildenv, it's useless
- Set TARGET_ARCH instead
2003-02-14 09:24:36 +00:00
Kris Kennaway
5ead3c9bf0 Catch up to new semantics of COMMENT variable (contains comment string
itself, instead of pointing to pkg-comment)
2003-02-10 08:56:59 +00:00
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
Kris Kennaway
8ed01ab91c Check for duplicate entries in INDEX and warn about them.
Submitted by:	Martin Heinen <martin@sumuk.de>
PR:		ports/33196 (based on)
2002-08-31 05:46:25 +00:00
Maxim Sobolev
2151ac0d94 Correct usage example. 2002-07-16 08:13:54 +00:00