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 photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

non port: Tools/portbuild/scripts/claim-chroot

Number of commits found: 15

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
Wednesday, 1 Dec 2010
02:27 linimon search for other commits by this committer
Although I was going to try to avoid it, it turns out that it is
impossble to have merely "server.conf" and "client.conf" control
everything on a head node.  Some pieces must be refactored into
"common.conf".
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
Thursday, 20 May 2010
03:58 linimon search for other commits by this committer
Improve error handling a bit.
Original commit
Saturday, 26 Jul 2008
14:11 kris search for other commits by this committer
* Cleanup
* Catch up to build ID directory changes
* Improved support for ZFS builds
* Improved robustness
* Report status verbosely to the caller; whether we succeeded in claiming
  a chroot, whether the caller needs to first set up the client, or
  whether a setup is in progress.
* If we discover that the client has not been set up either because it
  freshly booted and newfs'ed its filesystem, or because a particular
  build has not yet been encountered, atomically claim a cookie and
  report this to the caller to act on
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
Thursday, 14 Sep 2006
05:13 kris search for other commits by this committer
Silence the clean-chroot invocation
Original commit
Monday, 3 Apr 2006
04:40 kris search for other commits by this committer
The squid rc.d script no longer has the .sh suffix
Original commit
Monday, 13 Mar 2006
03:04 kris search for other commits by this committer
Mount the md image async here too

Approved by:    portmgr (implicit)
Original commit
Wednesday, 15 Feb 2006
07:42 kris search for other commits by this committer
Add some sanity checking of the build environment:

* Test whether squid is running.  If not, try to kick off
  the rc script in the background in case it can be restarted
  cleanly.

* Test for at least 100MB of free space on the scratch partition.

If either condition fails, set an exception flag and bail out.  This
will be reported back to the server via reportload.
Original commit
Friday, 3 Feb 2006
20:07 kris search for other commits by this committer
Also look for chroots that are marked 'dirty' (previous build left chroot
in unclean state) and run clean-chroot on them to remove them.
Original commit
Sunday, 11 Dec 2005
04:31 kris search for other commits by this committer
Mount the md image async since this gives much better performance
Original commit
Tuesday, 11 Oct 2005
03:52 kris search for other commits by this committer
Add support for use_md_swap.  When this variable is set in a
portbuild.conf, builds will each be done in a separate swap-backed md.
This dramatically improves build performance since

* Every transaction is not written to disk, so disk bandwidth is not
  a bottleneck

* Multiple builds do not contend with each other for the same set of
  filesystem locks and other per-device resources

The size of the md devices is controlled by the md_size variable.  '2g'
seems to be a good size.

Currently we mdconfig -u each device after each port build, since
otherwise dirty blocks accumulate and the md eventually uses a full
amount of backing store (2g in the above example).  This is a problem
if there is unsufficient swap backing to accomodate them all.

XXX This should be made configurable to avoid the performance penalty on
systems that do have enough swap backing
Original commit
Sunday, 24 Jul 2005
20:35 kris search for other commits by this committer
Correct typo
Original commit
Wednesday, 14 Jul 2004
10:44 kris search for other commits by this committer
Atomically claim an unused chroot directory.  The previous algorithm
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.
Original commit

Number of commits found: 15