1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
Commit Graph

410 Commits

Author SHA1 Message Date
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