| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
directories likely to contain changed files).
|
|
|
|
|
| |
was not atomic and could have ended up with two port builds trying to use
the same chroot. Report the claimed directory back to the caller.
|
|
|
|
| |
>48 hours, to cope with monster ports like openoffice and atlas.
|
|
|
|
|
|
|
| |
because this file is a chronological history of port builds that have
failed, the files listed may not be present in the current set of
error logs, and we currently have no easy way to find the most recent
failure log to use instead.
|
|
|
|
|
|
|
|
| |
i386-5-latest that are linked to from the index.html are symlinks to
dated directories (e.5.`date`), so the URLs in the error reports will
expire with the start of the next build when the symlink is repointed.
This change makes the URLs in the error reports use the realpath of
the target file, so they do not expire.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Clients no longer have ssh access to the master, so we need to
push/pull everything on the client from here. This means we need to
know where the build took place so we can go in and get the files
after it finishes. Introduce the claim-chroot script which
atomically claims a free chroot directory on the host and returns
the name. This directory is later populated by the portbuild script
if it does not already contain an extracted bindist.
* Use the per-node portbuild.$(hostname) config file to decide where
in the filesystem to claim the chroot on the build host.
* If a port failed unexpectedly (i.e. is not marked BROKEN), or if
something strange happened when trying to pull in build results from
a client, then send me email (XXX should be configurable).
* Clean up after the build finishes and we have everything we need, by
dispatching the clean-chroot script on the client.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if requested (".keep" file in the port directory), no matter where
we fail.
* Add package dependencies before the corresponding build stage
(e.g. FETCH_DEPENDS before 'make fetch'), and remove them again
afterwards. This allows us to catch ports that list their
dependencies too early/late.
* No need to check for set[ug]id files here, the security-check target
in bsd.port.mk does it for us.
* Exclude some more directories and files from showing up in the mtree
before/after comparison, to trim down the false-positive in the
pkg-plist check.
* Other minor changes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
it's done properly^Wbetter in makeparallel
* Script accepts new arguments:
-nodoccvs: skip cvs update of the doc tree
-trybroken: try to build BROKEN ports (off by default because the
i386 cluster is fast enough now that when doing incremental builds we
were spending most of the time rebuilding things we know are probably
going to fail anyway. Conversely, the other clusters are slow enough
that we also usually don't want to waste time on BROKEN ports).
-incremental: compare the interesting fields of the new INDEX with
the previous one, remove packages and log files for the old ports that
have changed, and rebuild the rest. This substantially cuts down on
build times since we don't rebuild ports that we know have not
changed. XXX checkpoint of work-in-progress, not yet working as
committed.
* When setting up the nodes, read in per-node config files
("portbuild.$(hostname)") before dispatching the setupnode script on
each node. For disconnected nodes (which don't mount the master via
NFS), we also rsync the interesting files required by the builds
(ports/src/doc trees, bindist tarballs, scripts) into place on the
client. They will be mounted locally via nullfs in the build chroots.
* Break out the restricted.sh generation into a makerestr script so it
can be called manually as needed.
* Remove the -nocvsup argument which has been unused for a long time.
* For now, don't prune the list of failed ports with prunefail,
since when -trybroken is not specified, every BROKEN port ends up in
the duds file (so the build is skipped), and as a result we would
prune almost everything from the list of failed ports. XXX
prunefailure should be run conditionally on -trybroken, or I should
find a way to prune in both cases.
* Don't run index in the background, it was thrashing against makeduds
and not saving any time by doing it concurrently.
* Build with 'make quickports all' to kick off the quickports builds
earlier.
* Delete restricted and/or cdrom distfiles *after* post-processing the
distfiles, otherwise the script doesn't remove any of them since
they're not in the expected place.
* Miscellaneous other minor changes and cleanups
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tells us whether the node has NFS access to the master.
* Also copy the bindist-$(hostname).tar file to allow local
customization of the build chroots (e.g. resolv.conf and make.conf
files for disconnected systems)
* For disconnected hosts, we don't copy the bindist files from the
master, but just set up the local directories and let the server rsync
them into place later. Also set up dangling symlinks to the bindist
files in the build area, which will be filled in by the server too (in
the NFS case it makes sense to cache the bindist files locally to
avoid extra NFS traffic, but here we know the file is local so a
symlink is fine)
* Remove an apparently spurious 'killall fetch' that snuck in for what
were probably transient reasons.
* Forcibly clean up old chroot directories since we are preparing to
start another build and don't want old (possibly orphaned) builds to
skew the job scheduling or use up resources.
|
| |
|
|
|
|
| |
XXX Should not be a hard-coded address
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
host), specified by disconnected=1 in portbuild.$(hostname) file.
These do not mount via NFS, so we need to maintain a local copy of
things needed by the build (like the ports/src/doc trees) on the build
host, which are mounted into the chroot by read-only nullfs. These
local files are maintained in the dopackages script via rsync.
* Download packages via http instead of NFS. Allow fetching via a
local http proxy (http_proxy variable in per-node
portbuild.$(hostname) file). Caching package dependencies saves about
85% of package fetches and similar reduction in package fetch traffic
by byte count.
* Support a per-node tarball (bindist-$(hostname).tar) to customize
the build chroots. This is used for things like local resolv.conf and
make.conf files on disconnected nodes.
* Make sure we don't use a chroot until it is finished extracting.
* Don't set '.' in PATH; this is bad practise, and fortunately nothing
seems to rely on it.
* Only try to build broken packages if requested
* Try harder to unmount leftover linprocfs mounts in the chroot, by copying
in the 5.x mount binary and supporting libraries from the host system.
The 5.x mount is able to unmount by FSID in situations where the 4.x umount
becomes confused.
* Don't clean up when we are signalled, that is done by the build
master from outside.
* Suppress some code relating to jail builds, which are not yet ready
for use.
* Don't push results of the build back to the master; the master now
pulls them from the client when the build completes. Clients no
longer need ssh access into the master; this is good for security as
well as significantly reducing the load on the master since it is not
thrashed by dozens of sshd processes.
|
|
|
|
|
| |
we're installing (into a temporary staging area) on a non-sparc64
machine that does not have 64-bit time_t.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
advantage is that here we know the value of PKGSUFFIX (.tgz/.tbz) for
the build via buildenv.
* Add a list of 'quickports', which are ports with long dependency chains
that we should kick off straight away to try and avoid bottlenecks later
on when most of the cluster idles waiting for one or two ports to build.
Ideally we'd build dependencies of these ports exclusively first and only
build other ports when we run out (i.e. a build slot becomes free), but I
couldn't work out how to do this. As a compromise, we now do
'make -k -j<#> quickports all' which doesn't give quite as high a
priority to the quickports (i.e. we also build other ports from the
beginning while there are quickport dependencies still to build), but is
better than nothing.
* Pass in the FETCH/EXTRACT/PATCH/BUILD/RUN_DEPENDS separately via env
variables when dispatching a job. This allows us to add and remove
the dependencies at the corresponding build stage to catch ports
with dependencies listed too early/late.
|
| |
|
|
|
|
|
| |
overlapping I/O. Something similar to how parallel index builds are now
done will need to be done here too.
|
|
|
|
|
|
|
| |
sure we don't try and schedule jobs on it even if all other machines are
busy
* Remove sleep in outer loop, this isn't needed or worthwhile now that there
are so many machines being monitored
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for INDEX builds [1]
* Remove the parallel target from Makefile; this is heavily tied to
the package build cluster and can be better done in the makeparallel
script (commit to follow) [2]
* Extend the format of INDEX to separately list the
EXTRACT/PATCH/FETCH_DEPENDS instead of lumping them all in together
with BUILD_DEPENDS. The three new fields are appended to the end of
the record in that order. [2]
* Change BROKEN to IGNORE in BROKEN_WITH_MYSQL failure code [3]
* Support non-default PREFIX for perl 5.00503 [5]
* Use pkg_info -I instead of ls when searching for conflicts [6]
* Allow local customization of the port subdirectories by including
${.CURDIR}/Makefile.local in bsd.subdir.mk if it exists [7]
* Fix 'make search' when ${PORTSDIR} is a symlink to a directory name
containing extended regexp metacharacters [8]
Submitted by: linimon [1] [3], kris [2], lth [4], sem [5], eik [5] [6],
Roman Neuhauser <neuhauser@chello.cz> [7]
PR: 68299 [1], 67705 [3], 67264 [4], 59696 [5], 66568 [6],
68072 [7]
|
|
|
|
|
|
| |
with 5.X or 4.X package sets (i.e., INDEX vs INDEX-5 and tgz vs tbz)
OKed by: marcus
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
build locking, log files, and cleans things up if a build fails.
This script is the primary starting point for a package build. Symlinks
should be created in the form of dopackages.${branch} -> dopackages.wrapper
where ${branch} is currently one of 4, 4-exp, or 5. This script takes the
place of the unofficial (i.e. uncommitted) dopackages.steveX scripts.
Ok'd by: kris
Tested by: 4.10-RELEASE package build
|
| |
|
|
|
|
| |
Noticed by: mat
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- CC committers and maintainer [1]
- include affected ports in the subject line [2]
- do a CVS log of the version checked out [3]
Suggsted by: Ade Lovett <ade@FreeBSD.org> [1]
Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> [2]
Pav Lucistnik <pav@FreeBSD.org> [3]
|
|
|
|
| |
Approved by: sobomax
|
|
|
|
|
|
| |
- add an option to watch for maintainer changes
- change watch regex to match PKGORIGIN, not PKGNAME
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
- eliminated shell usage [1]
Submitted by: mat [1]
|
| |
|
|
|
|
| |
chkversion: support for CVS blame with env CVSBLAME=yes
|
|
|
|
| |
env 'EXCLUDE=local devel/local' /usr/ports/Tools/scripts/chkmodules.pl
|
| |
|
|
|
|
| |
based on a shell script by Clement Laforet.
|
|
|
|
|
|
| |
- callable without arguments:
/usr/ports/Tools/scripts/MOVEDlint.awk
- do CVS annotate when called with env CVS=yes
|
|
|
|
|
| |
Usage:
[env PORTSDIR=/usr/ports] awk -f MOVEDlint.awk /usr/ports/MOVED
|
|
|
|
|
|
|
| |
is upper case (ie : don't end up with pEAR)
Approved by: will
Asked by: thierry
|
|
|
|
| |
variables.
|
|
|
|
| |
Suggested by: erwin
|
|
|
|
|
|
| |
<category>/Makefile, and ended up at the begining
Approved by: will
|
|
|
|
|
|
|
|
| |
PKGORIGIN. Useful especially after repocopies.
env PORTSDIR=/usr/ports sh /usr/ports/Tools/scripts/chkorigin.sh
Approved by: marcus (portmgr)
|
|
|
|
| |
out of inodes.
|
| |
|
| |
|
| |
|
|
|
|
| |
client machines.
|
|
|
|
|
| |
(e.g. packages from a previous build run, packages that incorrectly modify
their PORTNAME at install-time, etc.) as well as dangling symlinks.
|
|
|
|
|
| |
are found to be bad. Not currently in use, since we do not experience
package corruption and this takes quite a while to run.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
so it can be easily done manually
|
|
|
|
| |
works as intended.
|
|
|
|
| |
identified and those machines removed (restricted to Miatas running 5.2)
|
|
|
|
| |
files into the chroot to support host ps and killall binaries.
|
| |
|
|
|
|
| |
IGNORE/FORBIDDEN/etc (using duds.full).
|
|
|
|
| |
but everything that depends on them.
|
|
|
|
| |
This should probably be made a per-machine variable.
|
|
|
|
|
| |
detect they are being built on bento
* Update the list of "extra files" to filter to reduce some false positives
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
| |
thus fixing the extra-@dirrm-problem once the base mtree files
document the extra symlinks that are part of the local/etc. trees.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
- Add 'ports/' PR category to commit log
Approved by: will
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
tree, and run "make describe" and portlint respectively. They can be useful
as automated linting tools.
PR: 59226
Submitted by: linimon
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
* Be smarter about adding directories to ldconfig
* Add code to test package integrity [1]
Submitted by: kris [1]
|
|
|
|
| |
now gone.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* Update failure file format with both original and latest failure date
|
|
|
|
|
| |
* Enhance HTML output to include both original and latest failure date, and
number of times the build has failed.
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Approved by: will
|
| |
|
| |
|
| |
|
|
|
|
|
| |
some ldconfig -m's into one command, and run buildscript niced in the
chroot build case, not just the (currently unused) jailed case.
|
|
|
|
| |
ports that are buildable conditionally on this variable.
|
| |
|
|
|
|
|
|
| |
from it.
Submitted by: ru
|
|
|
|
|
|
| |
use modulesupdate.
Approved by: will
|
|
|
|
|
|
| |
the listed MASTER_SITES instead of ftp-master. Pass the FETCH_ORIGINAL
environment variable to pdispatch and as a command-line switch to
portbuild.
|
|
|
|
|
| |
Switch back to chroot builds until I can debug the remaining problems with
jail builds.
|
| |
|
|
|
|
|
|
|
|
| |
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/.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Submitted by: ru
|
| |
|
|
|
|
|
|
| |
(doesn't use WRKDIRPREFIX).
Submitted by: ru
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Reviewed by: green
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
CVSROOT that's readonly.
|
|
|
|
| |
pcvs.freebsd.org:/home/pcvs
|
|
|
|
| |
mapping directories to package names.
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
just report it via an inetd service.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
| |
build world and populate the chroot. Otherwise, if ${ftp}=1 then
fetch it from the ftp site as before.
|
|
|
|
|
|
| |
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 (!!!)
|
| |
|
| |
|
|
|
|
| |
- ignore patchfiles ending with `,v' or '.orig'.
|
| |
|
| |
|
|
|
|
| |
Approved by: will
|
|
|
|
|
|
|
| |
failures listed as '???'.
Submitted by: Mark Linimon <linimon@lonesome.com>
PR: www/44919
|
|
|
|
| |
random build host.
|
|
|
|
| |
a world instead.
|
|
|
|
|
| |
- Don't try and use buildenv, it's useless
- Set TARGET_ARCH instead
|
|
|
|
| |
itself, instead of pointing to pkg-comment)
|
|
|
|
| |
ssh setup in order for addport to do CVSROOT/modules correctly.
|
|
|
|
|
| |
${WRKDIR} after the port build completes and copy it to
${arch}/${branch}/wrkdirs/${pkgname}.tbz.
|
| |
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
architectures, for a given branch.
|
|
|
|
|
| |
the buildworld, installworld and 'make distribute' necessary for preparing
a bindist.
|
| |
|
| |
|
|
|
|
| |
- Support builds as non-privileged user
|
| |
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
- Mount on ${master} instead of localhost
|
| |
|
| |
|
|
|
|
|
|
|
| |
- Use $INDEXFILE
- Use makeparallel script instead of 'make parallel'
- Support building packages as a non-privileged user (needs root access
to client machines)
|
|
|
|
|
| |
in ports/Makefile. It uses the buildenv framework to obtain the correct
PKGSUFFIX and INDEXFILE variables.
|
| |
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
| |
portlint port
Approved by: maintainer
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
perl). Thanks to all those who submitted versions of these.
Submitted by: marcus (based on)
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
bindist now that it is no longer required.
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
| |
split.
Approved by: portmgr (will), re
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
this to break). Support both .tgz and .tbz packages.
|
| |
|
|
|
|
| |
* Add PKGSUFFIX and PKGZIPCMD variables
|
|
|
|
| |
* Fetch perl package on -current
|
|
|
|
|
| |
* Hack to use perl package on -current (needs to be done better somehow)
* Use buildenv
|
|
|
|
|
| |
Submitted by: Martin Heinen <martin@sumuk.de>
PR: ports/33196 (based on)
|
| |
|
|
|
|
| |
Approved by: will
|
|
|
|
|
| |
for 5.x package builds since the pnohang script is written in perl,
which was removed from the base OS.
|
|
|
|
|
| |
Correct some build environment variables
Exit with code 255 if the port build failed uncleanly
|
| |
|
|
|
|
|
|
|
| |
http://people.freebsd.org/~trevor/ports/update-patches-1.411.diff
for the accompanying patch to bsd.port.mk.
PR: 24292
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
generate the correct environment in which to do them.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- Always update UNAME_TARGET with each build
- Populate mtree hierarchies better
|
| |
|
| |
|
|
|
|
|
| |
- buildenv() takes extra argument of the portbuild directory
- Add a todo comment
|
| |
|
|
|
|
| |
- unbroke when either ${PORTSDIR} or ${DISTDIR} is symlink.
|
|
|
|
| |
Submitted by: Stijn Hoop <stijn@win.tue.nl>
|
|
|
|
|
|
|
|
| |
is it makes patch names longer, and many shells autoexpand it to "\:\:"
which makes them even longer.
* Note that this file uses ts=4.
Approved by: sobomax
|
| |
|
| |
|
|
|
|
| |
in their "as committed" layout.
|
|
|
|
| |
redundant.
|
|
|
|
|
| |
Add documentation worked on by Steve and myself for ports freeze and
package split procedure. Very minimal, very 4.5 specific, needs work.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some work/cleanup here would probably be desirable. I'm committing them
now to give others the ability to reproduce these package splits and help
with making these scripts better. The README should have some more
documentation in the future.
A better solution to the package set size problem would be to teach
sysinstall to ask for the CD on which a particular package is when it
needs to add it, but for now this will do.
Requested by: murray
Written by: steve
Discussed with: steve, kris (some time ago)
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
| |
the cluster machines preferentially fetch an existing file from ftp-master
|
| |
|
|
|
|
| |
typo s/UNAME_VERSION/UNAME_TARGET/
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
at the end of the plist.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
|
| |
from a file so it can be more easily changed (and is more obvious so it
doesn't get overlooked)
|
|
|
|
| |
support 2.2.x/3.x package builds any more.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
by removing assumptions about how and from where it is called.
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
| |
* Update OSVERSIONs
* Add -x to ssh arguments
* Use per-branch ports collection
|
|
|
|
|
| |
* Add some commented out stuff which tries to mount/unmount something. No
idea why, but it's commented out so it's harmless :)
|
|
|
|
|
|
| |
* Run mtree in the temporary directory to create the filesystem
hierarchy
* Use the correct kernel compile directory on both 5.x and earlier versions.
|
|
|
|
| |
* Don't run this script in a loop, run once only.
|
|
|
|
|
| |
* Update OSVERSIONs for the various branches; add 4-exp.
* Add SRCBASE environment variable and export it to the make job.
|
|
|
|
| |
* Don't create logs for 3.x, do them for 4-exp instead.
|
|
|
|
|
| |
* Require a branch argument
* Use tar --unlink when copying distfiles
|
|
|
|
|
|
|
|
|
|
|
| |
* Update the list of ports which takes a long time to build.
* Don't use a single ports collection for every port build, indirect through
${pb}/${branch}/ports so we can have different ports collections for
each branch. Add -noportscvs option to prevent cvs update of ports
collection.
* Remove 3.x as a valid branch, add 4-exp for the 4.x experimental builds
used for testing bsd.port.mk patches
* Update usage information
|
| |
|
|
|
|
| |
the setup instructions.
|
|
|
|
|
|
| |
decide machines which should be handed new jobs. Also, at some point someone
added a note about a possible bug in the reportload script which causes
this one to fall over.
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: eivind
|
|
|
|
| |
- kill unused variable.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
down to user support flaws in the FreeBSD ports system. The flaw in question
is related to the fact that dependencies are often "chained", which allows to
simplify maintenance of ports with large number of implied dependencies (a la
Evolution, Nautilus, you-name-it). Dependency chaining it's not a problem by
itself, but the fact that when building or installing a port the system doesn't
check chain integrity - it's only checks that dependencies explicitly
specified in port's Makefile are satisfied, which opens wide window for
various hard-trackable problems when one or more links in the middle of the
chain missed.
The idea behind the tool is quite simple - it should be executed right after
main dependency checking procedure, two times for each build - check build-time
chain before building the port (pre-pre-extract) and check run-time chain
before installing the port (pre-pre-install). When executed, the tool checks
integrity of the specified chain (build-time, run-time or both) and reports all
errors, both fatal (dependency isn't installed) and non-fatal (dependency is
installed, but different version).
I've wrote this tool mostly to simplify maintenance of the GNOME ports, but
it doesn't contain anything GNOME-specific, so that it could be used in the
other parts of tree as well.
As an example I've added GNOME_VALIDATE_DEPS_CHAIN knob into bsd.gnome.mk (off
by default), which enables automatic chain validation for all ports that
USE_GNOMELIBS. This is a bit hackish, because I've used pre-extract and
pre-install targets - what we probably need is a generic way to plug various
custom tasks specified in bsd.xxx.mk (where xxx is kde, gnome, python, etc.)
into various parts of the build process (something like {pre,post}-pre-foo,
{pre,post}-post-foo springs into my mind).
The code is quite raw, so that I would appreciate any bug reports, patches,
suggestions, constructive critiquie and so on.
|