| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
- don't reset size of corresponding patchfile to zero if no differencies were
found between original and modified file.
|
|
|
|
| |
Submitted by: ben
|
|
|
|
| |
are correct and reports any problems.
|
|
|
|
|
|
|
|
| |
file. For example I'm usually keeping all working directories in /tmp using
WRKDIRPREFIX, while for the quick access to a port's files creating a symlink
to this directory in skeleton's dir (i.e. ports/foo/bar/src -->
/tmp/usr/ports/foo/bar/work/bar-0.0) and with this patch the tool correctly
works when I'm specifying `src/foo.c' as an argument.
|
|
|
|
|
| |
variables passed to the ports system. For example, use 'wheel' instead
of 'root' for root.
|
|
|
|
| |
search for logs in toplevel directory. A couple of cosmetic changes.
|
|
|
|
|
|
|
| |
Add mkppackage, which will create a "fake"-style package, but not
really. It doesn't try fake PREFIX and such to the build (it's not
really possible anyway yet), but it uses pkg_create's '-s' option to
pretend the package generated was installed in ${PREFIX}.
|
| |
|
| |
|
|
|
|
| |
generated.
|
|
|
|
| |
Submitted by: "Alexey V. Neyman" <alex.neyman@auriga.ru>
|
|
|
|
| |
Submitted by: ben
|
|
|
|
|
| |
- We don't really want to catch SIGCHLD;
- actually enable new `-f' option.
|
|
|
|
|
|
| |
- catch up possible signals to remove temporary files.
Submitted by: dirk, sobomax
|
|
|
|
|
|
|
|
|
|
|
| |
a work/ dir in the repository placed there by addport without permission.
Also restore the rcsids from the predecessors of this script by removing
their $'s.
If I had more time, I'd just revamp parts of this script.
Submitted by: greid
Apologies to: greid && cvs@
|
|
|
|
| |
not just 'man'. This makes the 'manage_*' from Zope work.
|
|
|
|
| |
properly fixing the username in the *OWN variables passed to make(1).
|
|
|
|
|
|
| |
tool has something in common with update-patches shell script, but has more
features and is more intelligent. See README.patchtool or source code for
details.
|
|
|
|
| |
Prompted by: Vadim Ostranitsyn <vadim@alpha.tsu.ru>
|
|
|
|
| |
mtree files.
|
| |
|
|
|
|
|
|
| |
categories which were failing to be mapped from directory to port name
because 'make index' can't know to run 'make describe' in directories
it doesn't know exist.
|
|
|
|
| |
necessary per-branch options.
|
|
|
|
|
|
|
| |
the system temp dir as given by paths.h (paths.ph) in this order.
Approved by: nbm
Perl-fu by: des, Tony Finch <dot@dotat.at>
|
|
|
|
|
|
|
|
|
| |
(2) (portbuild) Change no-output timeout from 1800 to 3600. Some ports
seem to actually take more than 30 minutes inside a command.
(3) (portbuild) Add -p flag to tar when extracting bindist.
(4) (makeindex) Remove the -j flag to make index, the argument was 1 anyway.
|
|
|
|
|
|
|
| |
now autogenerate MASTER_SITES if we're given an URL. Also check the
PKGMAINTAINER environment variable.
Submitted by: Tomasz Luchowski <zuntum@eik.pl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(1) The script now assumes make(1) knows how to handle long dependency
chains properly. quickports is a list of ports that take a
long time to build by thesmelves (not ports that have long
dependency chains). The script adds several extra dependency
levels to the generate Makefile for those ports to make their
dependency chains longer.
(2) Use -R flag to cvs. Comment out the cvsup part.
(3) Preserve error messages for ports that didn't build the first
time around but did build on the retry.
(4) Record the package's timestamps in the log directory by doing
an "ls -asFlrt" in the packages/All directory.
(5) Add a little sleep after two background jobs so outputs won't
be garbled.
|
|
|
|
|
|
|
| |
weird cases. AAARGGH!!!
Discovered by: will, sobomax, alex
Fix by: Dima Dorfman <dima@unixfreak.org>
|
|
|
|
|
|
|
|
|
| |
guess WRKSRC or PATCHDIR. Don't munge "." characters in filenames.
This requires support in bsd.port.mk, a patch for which is in PR
24292.
Submitted by: Christian Weisgerber <naddy@mips.inka.de>
|
|
|
|
|
|
| |
join() in the autofill algorithm doesn't need a space.
Bugged by: alex
|
|
|
|
|
|
| |
which holds final veto power over what @dirrm lines go into the plist.
This is a bit less evil than all the regexps previously used to manually
remove those directories.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mkpbuild just builds a port with WRKDIRPREFIX and PREFIX set to a
directory in /tmp, and with the owner and group variables set to the
user. A placeholder - in future, it'll have build error/log parsing.
mkpinstall's claim to fame is to do the same, except with "make install"
instead of "make build", and it then parses the mtree file, and compares
that and the current directory tree and the files, and auto-generates a
plist.
They're not pretty, but they finish the mkptools set basic
functionality: automatic skeleton generation with mkpskel, on-extraction
requirements guessing, and plist generation.
Future direction might be parsing build and install failures, checking
for '/usr/local' abuse, more requirements guessing, and stuff like that.
|
|
|
|
|
|
|
|
|
|
|
| |
to the extra testing's make procs. Fix _stupid_ mistake where -n option
had no effect on hindering ``cvs add'' and CVSROOT/modules updating.
Cosmetics; remove extra space in generated commit log message and fix the
usage section's style in regards to options that take arguments. Add
missing -g option's mention.
Submitted by: assar (DISTDIR, CVSROOT/modules updating routine bugs)
|
|
|
|
|
|
|
|
| |
than CVSROOT (now ADDPCVSROOT) to avoid conflicts for people who normally
set CVSROOT to something besides freefall (like myself). Second, allow
autofill to work for non-PR additions by checking for a -l argument of -1.
Third, remove the bogus $portname check in autofill that screws up if you
are adding something with a PKGNAMEPREFIX (i.e. p5-).
|
|
|
|
|
|
|
|
|
|
|
|
| |
let portlint fill out your commit log message. It takes data from your
port's Makefile and pkg-comment to generate this, then displays the
resulting file and gives a chance to fix any problems.
Also, change -c option to move the file to the temp directory. Since -c
and -l option conflict, -l will take precedence. Move -c option down to
where directories are parsed.
Reviewed by: Jeremy Shaffner <jeremy@external.org>
|
|
|
|
|
|
|
| |
new port. Slight hack used to obtain absolute path for the file. I'll
probably change that to make it copy the file to the tmpdir instead. For
now, this provides a stepping stone to use to begin automating commit log
messages - with, of course, a chance to edit the file again.
|
|
|
|
|
|
|
|
| |
is going to commit a large number of ports and doesn't want to bloat
the repo any more than necessary. Later on I'll add support to
modulesupdate to do multiple modules at the same time. I should check that
script in CVS, but nobody's repocopied non-ports-specific tools to src yet
to my knowledge so I can't do that.
|
|
|
|
|
| |
Add definition of scratchdir=/x/tmp for scratch directory to use
when temporarily creating load files.
|
|
|
|
| |
specifics are in mkbindist.conf under ${portbuilddir}/${branch}.
|
|
|
|
|
|
|
| |
cvs ops. Many committers found it difficult to debug while using addport
with the -n argument. I'm inclined to agree with the sentiment.
Submitted by: sada, deischen, others
|
|
|
|
| |
day. Remove lock file if package build aborts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ftp site (specified in portbuild.conf). (It used to be implied by
-norestr.)
(2) Remove x11-toolkits/Motif-dummy from list of dummy ports, since
open-motif is now the default. Also gone is the MOTIF_OPEN
variable.
(3) Run the tar -czf of the ports tree and generation of CHECKSUM.MD5
in the background.
(4) Print the amount of time it took for the entire process, as well
as phase 1 and phase 2 of the compilations. (It is done by date
-r, so it will only work modulo 24 hours. Hopefully the build
will never go over 24 hours again.)
(5) Make symlink of the form [ae].${branch}.YYYYMMDD ->
[ae].${branch}.YYYYMMDDHH so we can have the simple "date" form as
well as the new "date+hour" directories for logs.
(6) Remove temporary make status files from /tmp that are over 60
minutes since the last modification. It was filling up the root
filesystem.
(7) Print out an "ls -lrt" of packages/All into logs/ls-lrt. This is
going to be used to evaluate make's job dispatch policies.
|
| |
|
| |
|
|
|
|
|
|
| |
patches in a port.
Obtained from: OpenBSD
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Re-add functionality removed in revision 1.11, but only as an option.
This time, it checks out its own copy of ports/Mk and points PORTSDIR
at the correct location. To use this, use the -a option. It will not
work if it can't find portlint in your path.
2) Add option -f to disable fetching the distfile.
3) Add option -m to disable checking out a copy of Mk for 1). For those
that have a current Mk in PORTSDIR and don't want to check out a fresh
copy for whatever reason.
4) Support CVSROOT environment variable.
5) Note environment variables recognized by addport.
6) Fix breakage trying to use -d with multiple directories (not tested).
7) Actually use $interactive variable.
8) Update usage().
9) Note original RCSID for my shell script; take over as MAINTAINER.
Tested by: gshapiro (this revision was used in adding sendmail)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mkptools are broken up into simple scripts:
mkpskel takes a distribution file as an argument and generates a
skeleton; it guesses the extract method, the package name, and so forth,
and generates populated Makefile and distinfo and empty pkg-descr,
pkg-comment, and pkg-plist.
mkpextr goes through the extract phase, and generates what it believes
are the necessary variables necessary to build the port. It guesses the
work source directory, what the Makefile is called, whether it has
configure, whether to use libtool, and other bits such as wildly
guessing kde, qt, gtk, gnome, and ssl requirements. Run it in a port
directory, and it generates Makefile.extr.
mkpmerge merges the results from mkpskel and mkpextr (and will later
merge the results from the other phases) into Makefile.
mkpclean cleans up any extra files that may be hanging about.
|
|
|
|
|
|
|
|
| |
automatic checking on their ports to be added, I'm removing it and its
overriding -v option. Let the improper port additions continue, and screw
anyone who doesn't care about the repo.
Propelled by: obrien, msmith
|
| |
|
|
|
|
|
|
| |
code actually detects both new and old errors.)
Expand the USE_XLIB case to include Xosdefs.h.
|
|
|
|
|
|
|
|
| |
mtree outputs.
Also change the title of the file from "List of extra files and
directories" to "List of files and directories that do not match their
mtree description", which is more accurate.
|
|
|
|
| |
in there (d'oh!).
|
| |
|
|
|
|
| |
in the chroot dirs (which is a hacked version) anyway.
|
|
|
|
| |
Submitted by: trevor
|
|
|
|
| |
Submitted by: knu
|
|
|
|
| |
really a make package timeout without output).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
/var/portbuild is the new designated home of the portbuild setup, and
is expected to be a symlink to wherever you choose to put the stuff.
Also, change reportload to use /var/portbuild to store temporary files.
Seems there are some bugs in the null mount code that make the files
inaccessible if you are using an NFS root.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
around now.
Make a symlink "Makefile" so I don't have to "make -f ../../Makefile"
when I'm restarting an aborted build.
Print out pnohang messages along with ptimeout messages.
Count the number of jobs at the beginning of the second phase too.
Check integrity of packages at end with gzip -t. Remove the ones that
don't pass the test.
Don't try to compare list of packages if there is no prior list to
compare with.
If the -norestr flag is given, copy the packages to the ftp site.
|