non port: Tools/portbuild/scripts/buildscript |
Number of commits found: 30 |
Sunday, 24 Apr 2011
|
16:37 flz
Remove portbuild scripts from pcvs, as they now live in svn/projects.
|
Wednesday, 30 Jun 2010
|
14:51 linimon
Push PACKAGE_BUILDING and MALLOC_OPTIONS up a level.
Feature safe: yes
|
Friday, 25 Jun 2010
|
23:03 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.
While here, carefully document the origin of the values of the
environment variables that are passed in.
Feature safe: yes
|
Tuesday, 22 Jun 2010
|
02:51 linimon
Catch up with master copy on pointyhat.
Note: all 3 of these files will be changing radically in the near future.
This is the last checkin from the "classic" codebase installation.
Feature safe: yes
|
Monday, 31 May 2010
|
19:29 linimon
Add a comment.
|
Friday, 18 Dec 2009
|
14:25 pav
- Remove use of X11BASE from pointyhat scripts
|
Thursday, 21 May 2009
|
16:17 pav
- Update to reflect a reality on pointyhat
|
Wednesday, 11 Jun 2008
|
13:22 kris
* Catch up to X11R6 removal
* Keep RESTRICTED distfiles in a separate DISTDIR so we can easily
avoid accidentally publishing them to the FTP site (idea from des@)
|
Thursday, 29 May 2008
|
01:46 linimon
Add a note that processonelog and processlogs2 are finicky about the
header format of the log files.
|
Thursday, 13 Mar 2008
|
09:54 pav
- Add the port's Makefile ident string to the build log headers
PR: 113234
Submitted by: Andrej Zverev <andrey.zverev@electro-com.ru>
- Sync with actual script on pointyhat (whitespace, mostly)
|
Sunday, 29 Jul 2007
|
19:35 kris
* Remove vestiges of procfs mounting/umounting from here; we have to
do it in portbuild from outside the jail thesedays
* Ignore /var/db/fontconfig which does not get restored to pristine state
* Save copies of master.passwd and groups and check them after the build
for changes, to look for user/group additions that may not be correctly
registered in UIDs/GIDs. Future work will hopefully automatically
check against those files and make unregistered IDs a fatal condition
* Correct logic mistake that was keeping distfiles for collection when
the checksum mismatched
|
Sunday, 18 Feb 2007
|
09:03 kris
Also filter out gconf leftover files from /usr/local as well as /usr/X11R6.
Set DISPLAY to the IP address instead of using the :<...> implied form.
This is required for jails.
|
Thursday, 14 Sep 2006
|
05:19 kris
* Silence gconf spam from the mtree checks (for now)
* Don't try and mount/umount procfs, it won't work when we build inside a
jail.
* Report the uname -mr of the build environment, to ease confusion of
people reading the error logs by mail.
|
Monday, 3 Apr 2006
|
04:40 kris
jdk is buildable on amd64, so we need to also mount linprocfs there.
|
Monday, 13 Mar 2006
|
03:04 kris
Add some more directories temporarily until these ports can be made to
clean themselves up properly.
Approved by: portmgr (implicit)
|
Wednesday, 15 Feb 2006
|
07:39 kris
* Don't try to pkg_delete packages that are not installed (the usual
cause is because it was specified in the list twice)
* Don't panic when the list of packages to delete becomes empty
* When unexpected filesystem changes are detected, bail immediately
instead of proceeding and hiding the error in the middle of
the log
|
Monday, 13 Feb 2006
|
20:47 kris
* Switch back to using pkg_delete -f; we are not yet ready to deal
with all the errors from broken pkg_delete scripts
* As threatened in previous commit, move the pristine mtree spec
generation to phase 1, and avoid having to delete and re-add the
FETCH_DEPENDS. We still have to keep them installed until after
'make extract' though
|
Saturday, 11 Feb 2006
|
09:38 kris
Checkpoint a major round of changes:
* Only keep distfiles if the port passes 'make fetch', so we don't
accidentally keep files with invalid checksums
* Use cleanup() instead of directly exiting in some error conditions
* When cleanup() is called indicating an unexpected error (possibly
leaving the filesystem in an inconsistent state), mark the chroot
as dirty so it will not be reused by another build
* Remove packages in dependency order instead of with pkg_delete -f in
possibly incorrect order. This paves the way for focusing on errors
generated by pkg_delete (e.g. @dirrm that should be @dirrmtry) in the
future. [1]
* Detect when packages were left behind because they were still in use
by other packages, indicating an incorrect or incomplete port
dependency list
* Partial support for ccache builds (not yet complete)
* Support non-standard LOCALBASE/X11BASE settings
* Delete FETCH_DEPENDS after the 'make fetch' stage. We have to add
them again before 'make extract' since, due to a lack of a 'fetch
cookie', 'make extract' actually *always* runs 'make fetch' again,
even when distfiles have already been fetched. We need to delete
them in order to:
* Record an mtree spec of the 'pristine' filesystem state, for later
comparison.
# XXX Perhaps this can be done in stage 1 before the
# 'make fetch', removing the need to delete-and-readd.
* Also record an mtree spec of the filesystem state prior to the
build phase. Compare this to the state of the filesystem
immediately before running the install phase, to detect files
that were inappropriately installed during the build phase.
Doing so is a fatal error.
* Prior to installing, try to run a 'regression-test' port makefile
target, if it exists. This allows ports to hook their internal
regression suites into the package build. This needs further
infrastructure support, e.g. a default NOP target in bsd.port.mk.
For now this is run with 'make -k', so regression failures will
not yet actually cause package build failures.
* Separate the 'make install' from 'make package' phases rather than
let the latter implicitly do the install.
* After the newly packaged port has been deleted, compare the state
of the filesystem to the state before 'make install'.
* After removing BUILD and RUN dependencies, compare the filesystem
state to the pristine state before the start of the build. This
also detects package dependencies that did not clean themselves up
properly when deinstalling. It also detects dependencies that were
'missing' from the port INDEX: these were not pkg_added into place,
so the package build had to compile them from scratch (a big waste
of time and effort), so this is now also a fatal error.
PR: ports/85746 (inspired by) [1]
Submitted by: Boris B. Samorodov <bsam@ipt.ru> [1]
|
Sunday, 22 Jan 2006
|
04:54 kris
Use LOCALBASE and X11BASE from buildenv
|
Tuesday, 11 Oct 2005
|
03:40 kris
* Unmount linprocfs around pkg_adding dependencies, to try and work
around silly failures in some ports when it is present
* Add a footer to completed builds that is recognised by pdispatch to
retry truncated builds
* If ALWAYS_KEEP_DISTFILES is not present in the environment or port
makefile, then clean up DISTDIR after the build finishes, to prevent
collection of distfiles for this port.
* Finish flipping the switch on -noplistcheck - this is activated by
passing in the NOPLISTCHECK environment variable instead of
using PLISTCHECK in the opposite case
|
Saturday, 2 Apr 2005
|
20:17 kris
Update the list of files and directories to filter from the plist checking.
|
Saturday, 12 Feb 2005
|
03:34 kris
Update the plist checking to look for a subset of files and weed out some
false positives.
|
Tuesday, 28 Dec 2004
|
05:43 kris
Fix the Xvfb code to run Xvfb before the build phase if detected
(i.e. if the package lists a dependency on the relevant package in the
PACKAGE_BUILDING case). This allows packages that require an
available DISPLAY to again build (with some forthcoming fixes to
existing ports).
Improve the reporting of detected filesystem anomalies (extra files
left behind after deinstallation, changes to and removal of
pre-existing files)
|
Thursday, 25 Nov 2004
|
00:02 kris
* Recursively list all files detected as having been left behind after
the port deinstall; mtree does not recurse into subdirectories it does
not know about
* Break out the 'files incorrectly removed' and 'files incorrectly changed'
into their own sections
|
Wednesday, 14 Jul 2004
|
10:19 kris
* Add a cleanup() function and use it so that we archive the ${WRKDIR}
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
|
Monday, 8 Mar 2004
|
01:23 kris
* 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
|
Saturday, 22 Feb 2003
|
22:21 kris
Simplify the collection of load statistics for the cluster. Loads
are now collected by polling a small server on the client (using netcat)
instead of having the client scp the load files to the master every 10
seconds (!!!)
|
Friday, 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:39 kris
Use pkg_add instead of pkg_add -f
|
Sunday, 15 Sep 2002
|
21:57 kris
Add PKG_PATH so packages can be found automatically (not sure what caused
this to break). Support both .tgz and .tbz packages.
|
Number of commits found: 30 |