notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
non port: Tools/portbuild/scripts/cleanup-chroots

Number of commits found: 12

Sunday, 24 Apr 2011
16:37 flz search for other commits by this committer
Remove portbuild scripts from pcvs, as they now live in svn/projects.
Original commit
Friday, 25 Jun 2010
22:49 linimon search for other commits by this committer
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.

This first set of files only gets the *.conf files and some cleanup.

Feature safe:   yes
Original commit
Monday, 16 Nov 2009
00:16 linimon search for other commits by this committer
Harden these a bit: make them identify on which host they were running;
skip unncessary steps.
Original commit
Saturday, 26 Jul 2008
14:12 kris search for other commits by this committer
* Cleanup
* Catch up to build ID directory changes
* Remove need for /etc/arch file
Original commit
Friday, 11 Apr 2008
11:32 pav search for other commits by this committer
Include per-machine configuration and respect use_zfs flag
Original commit
Sunday, 29 Jul 2007
20:27 kris search for other commits by this committer
Support builds using zfs and tmpfs backing store

zfs:

* Enabled by use_zfs=1 in portbuild.conf

* Populate build chroots by cloning a zfs snapshot instead of maintaining
  many duplicate copies.  In principle this is very efficient since
  everything is copy-on-write and zfs snapshot creation is almost
  instantaneous.  There might be additional overheads from building on zfs
  though.  Currently the snapshot base is hard-wired to y/${branch}@base
  but should be parametrized.  This also must be populated beforehand, e.g.
  during machine startup

* Clean build chroots by just destroying the snapshot.

tmpfs:

* Enabled by use_tmpfs=1 and tmpfs_size in portbuild.conf

* The previous md strategy of mounting in used/, populating and then
  remounting (to avoid possible races from multiple builds claiming the
  same chroot) doesn't work here because tmpfs instances are destroyed at
  umount.  I am not entirely sure the simpler approach is free from races.
Original commit
Sunday, 18 Feb 2007
08:53 kris search for other commits by this committer
Increase cleanup timeout to 5 days from 48 hours, the openoffice builds
now regularly take longer than this :(
Original commit
Sunday, 22 Jan 2006
04:55 kris search for other commits by this committer
Also clean up linprocfs mounts
Original commit
Tuesday, 11 Oct 2005
03:53 kris search for other commits by this committer
Add support for use_md_swap
Original commit
Saturday, 12 Feb 2005
03:38 kris search for other commits by this committer
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.
Original commit
Wednesday, 14 Jul 2004
10:42 kris search for other commits by this committer
Bump up the cleanup timeout to directories that have been in use for
>48 hours, to cope with monster ports like openoffice and atlas.
Original commit
Monday, 8 Mar 2004
01:56 kris search for other commits by this committer
To be run on the client, this script looks for chroot directories that have not
been
used in 20 minutes, as well as directories listed as 'in use' that have not been
touched
in 24 hours (corresponding to port builds that have timed out or shut down
uncleanly)
and prunes them to reclaim space.  This is intended to be run as a cron job.
Original commit

Number of commits found: 12