non port: Tools/portbuild/scripts/portbuild |
SVNWeb
|
Number of commits found: 50 |
Sun, 24 Apr 2011
|
[ 16:37 flz ] (Only the first 10 of 72 ports in this commit are shown above. )
Remove portbuild scripts from pcvs, as they now live in svn/projects.
|
Sun, 23 Jan 2011
|
[ 02:39 linimon ]
Export BACKUP_FTP_SITE for the generalized make.conf files in
bindist-*.tar (so that they can be shared between pointyhat and
pointyhat-west without modification.)
Feature safe: yes
|
Thu, 16 Dec 2010
|
[ 07:32 linimon ]
Make sure that PKGSUFFIX and LOCALBASE are really defined. (Things work
_very_ badly if they aren't.)
Also, track the refactoring of buildenv so that the proper src tree
bits are picked up.
|
Wed, 1 Dec 2010
|
[ 02:30 linimon ]
Canonicalize the use of SRC_BASE to fix INDEX and duds builds on head
nodes that don't have /usr/src. On pointyhat, this "just happens to
work"; on a cleanly installed system like pointyhat-west, it didn't.
|
Wed, 30 Jun 2010
|
[ 14:48 linimon ]
Fix up usage of buildenv.client to deal with overenthusiastic
refactoring. Pick up new CLIENT_MALLOC_OPTIONS parameter. Clean
up comments.
Feature safe: yes
|
Fri, 25 Jun 2010
|
[ 23:30 linimon ]
Generalize the packge building scripts to be able to be run on more than
one 'head' node, rather than just pointyhat itself.
Constants are factored out into installation-specific files known as
portbuild/conf/server.conf and portbuild/conf/client.conf. There is
only one server.conf file. Individual <arch> directories may have
their own client.conf files, or may symlink to ../conf/client.conf.
*very* carefully note where the exported variables are consumed.
Several bugs are fixed and improvements are made:
- the file UNAME_VERSION appears unused, so it is removed. The
information is passed in overrides to uname(1).
- parameterize arch-specific setup code.
Feature safe: yes
|
Fri, 18 Dec 2009
|
[ 14:25 pav ]
- Remove use of X11BASE from pointyhat scripts
|
Sat, 26 Jul 2008
|
[ 14:02 kris ]
* Cleanup
* Catch up to build ID directory changes
* Record package build completion for reporting to ganglia
|
Sun, 29 Jul 2007
|
[ 19:56 kris ]
* Clean up hacks that had to copy in shared libraries from the host in
order to run certain host binaries that were kernel-dependent. We
now seem to be able to rely on the /rescue versions (and killall(1)
seems to be unused).
* Allow for ccache directories to be shared over NFS via the ccache_dir_nfs
portbuild.conf boolean
* Populate BSD.local.dist from ${PORTSDIR}/Templates and remove population
of BSD.x11-4.dist and support for XFree86 3.x
|
[ 19:27 pav ]
- Log the failure to copy dependant package from pointyhat
|
Sun, 18 Feb 2007
|
[ 09:05 kris ]
Increase resource limits to 400MB filesize and 2 hours CPU limit per
process. Thankyou openoffice!
Pass in the jail IP address in the JAIL_ADDR environment variable
|
Thu, 14 Sep 2006
|
[ 05:33 kris ]
* When calculating the IP address to use for the jail, don't use
127.0.0.0 or 127.0.0.1
* Don't use chroot to mount the linprocfs, or it won't be visible
within the jail.
|
Sun, 16 Apr 2006
|
[ 02:29 kris ]
Explicitly mount the NFS images ro, instead of relying on the server to
export it ro. This saves thrashing the server if we accidentally try to
rm -rf a NFS mount (e.g. because a chroot cleanup failed).
|
Mon, 3 Apr 2006
|
[ 04:43 kris ]
Mount linprocfs on amd64 for the convenience of jdk builds.
|
Wed, 15 Feb 2006
|
[ 07:45 kris ]
Trim some unused cruft
If the package copy fails, bail out immediately instead of later on when
we try to pkg_add it. Also trap signals and bail out.
Both conditions will cause a retry of the package build.
|
Sat, 11 Feb 2006
|
[ 10:01 kris ]
Support for building ports in a jail instead of a chroot. If use_jail=1
in portbuild.conf (or per-machine .conf), then construct a 127.0.0.0/8
IP address based on the build directory ID (i.e. unique for each
build instance). This is bound to the lo0 interface for the duration
of the 'phase 2' build.
We cannot build 'phase 1' in a jail since 'make fetch' doesn't always
work through a proxy (e.g. squid sometimes mangles files fetched through
FTP, I think by performing CR/LF translation in FTP ASCII mode).
Pass in the HTTP_PROXY variable to the jail, if set. This allows FTP/HTTP
access from within the jail if the proxy is suitably configured (some ports
legitimately need to fetch additional files during the build, e.g. if they
have a BUILD_DEPENDS=...:configure target that needs to fetch additional
distfiles). (Only the first 15 lines of the commit message are shown above )
|
Fri, 3 Feb 2006
|
[ 20:13 kris ]
Flip from noclean to clean
|
Fri, 27 Jan 2006
|
[ 22:42 kris ]
Correctly set SRCBASE; the version inherited from buildenv is wrong for
the client chroots.
|
Sun, 22 Jan 2006
|
[ 04:56 kris ]
Don't bother mounting doc tree, it's not needed by any ports
Use LOCALBASE/X11BASE values from buildenv
xorg uses the stock BSD.x11-4.dist now.
|
Sun, 15 Jan 2006
|
[ 04:17 kris ]
Back out last commit, it was the wrong file
|
[ 02:35 kris ]
Exit with the correct error code when a make target fails
PR: ports/64930
Submitted by: Damir Kiramov <damirycha@damirycha.net.ru>
|
Sun, 11 Dec 2005
|
[ 04:40 kris ]
Bump the file size limit to 300MB now that openoffice distfiles exceed
256MB. Clarify a comment.
|
Tue, 11 Oct 2005
|
[ 03:37 kris ]
* Finish flipping the switch on -noplistcheck - this is activated by
passing in the NOPLISTCHECK environment variable instead of
using PLISTCHECK in the opposite case
* Remove the unused -nodummy function
* Pass in ALWAYS_KEEP_DISTFILES when -distfiles is set
|
Mon, 11 Apr 2005
|
[ 22:08 kris ]
Use WRKDIRPREFIX instead of hardcoded value.
Clean up after we're done.
|
Sat, 2 Apr 2005
|
[ 20:21 kris ]
Also in previous revision:
Use the new xorg mtree file from the ports tree instead of the
BSD.x11-4.dist from the source tree, which is no longer appropriate.
|
[ 20:20 kris ]
Build packages with WRKDIRPREFIX=/work (which does not exist by
default) instead of /tmp, since some packages incorrectly search this
build path at runtime to try to load things.
Requested by: nectar
|
Sat, 12 Feb 2005
|
[ 03:41 kris ]
* Instead of using umount -f to unmount things, first use fstat to
look for processes holding open references within the FS and kill
them, then use regular umount. This is necessary now that devfs
cannot be force-unmounted, and has the benefit that processes can't
hang around holding references to files between port builds.
* Preliminary work to support using ccache to accelerate builds.
|
Sun, 9 Jan 2005
|
[ 10:21 krion ] (Only the first 10 of 28 ports in this commit are shown above. )
Remove traling spaces.
|
Thu, 6 Jan 2005
|
[ 23:10 kris ]
Unset the __MAKE_CONF variable after setting up buildenv, because we
want to use the default value in the build chroot.
Approved by: portmgr (self)
|
Tue, 28 Dec 2004
|
[ 04:30 kris ]
/rescue/mount_linprocfs isn't functional when called by
/rescue/mount -t linprocfs, so assume that the i386 build hosts have
statically-built copies of the necessary binaries in /sbin, until this is
fixed.
Create /usr/X11R6 inside the chroot so that mtree has something to do, since
this directory is otherwise orphaned.
|
Fri, 10 Dec 2004
|
[ 06:31 kris ]
Belatedly catch up to XFREE86_VERSION -> X_WINDOW_SYSTEM change; apply
the BSD.x11.dist if set to xfree86-3, otherwise use BSD.x11-4.dist.
|
Sun, 5 Dec 2004
|
[ 00:17 kris ]
Copy the statically-linked binaries from /rescue on the host, instead
of needing to also include the dynamic libraries that were confusing
some ports. We still need libc.so.[56] for killall to work, though :(
|
Fri, 27 Aug 2004
|
[ 18:28 marcus ]
Use a consistent PATH in both portbuild and dopackages.
|
Wed, 14 Jul 2004
|
[ 09:05 kris ]
* Initial support for disconnected nodes (not on same LAN as build
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 (Only the first 15 lines of the commit message are shown above )
|
Mon, 8 Mar 2004
|
[ 01:37 kris ]
Remove the integrity testing code now that the corruption bug has been
identified and those machines removed (restricted to Miatas running 5.2)
|
[ 01:36 kris ]
* 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.
|
Mon, 19 Jan 2004
|
[ 22:13 marcus ]
* 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]
|
Fri, 12 Sep 2003
|
[ 20:47 kris ]
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.
|
Sun, 18 May 2003
|
[ 00:04 kris ]
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.
|
Sat, 17 May 2003
|
[ 00:27 kris ]
Only transfer the build distfiles to bento if requested.
Switch back to chroot builds until I can debug the remaining problems with
jail builds.
|
Sat, 22 Feb 2003
|
[ 22:25 kris ]
* 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]
|
Fri, 24 Jan 2003
|
[ 11:01 kris ]
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.
|
[ 04:52 kris ]
- 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
|
Sat, 2 Nov 2002
|
[ 04:04 kris ]
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.
|
Sun, 15 Sep 2002
|
[ 21:53 kris ]
* Catch up to .tbz packages
* Hack to use perl package on -current (needs to be done better somehow)
* Use buildenv
|
Thu, 6 Jun 2002
|
[ 20:58 kris ]
Allow packages to be installed in the build chroot; this is needed
for 5.x package builds since the pnohang script is written in perl,
which was removed from the base OS.
|
[ 20:55 kris ]
Only run ldconfig -aout commands on i386
Correct some build environment variables
Exit with code 255 if the port build failed uncleanly
|
Mon, 13 May 2002
|
[ 03:43 kris ]
- Catch up to buildenv changes.
- Always update UNAME_TARGET with each build
- Populate mtree hierarchies better
|
Mon, 25 Mar 2002
|
[ 00:24 kris ]
* Clean up this script a bit
* 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.
|
Sat, 16 Mar 2002
|
[ 05:50 kris ]
Use buildenv for setting environment variables, and tidy up a bit. Fix
typo s/UNAME_VERSION/UNAME_TARGET/
|
Number of commits found: 50 |