Tracking Binary Ports/Pkgs Tree

Reed A. Cartwright cartwright at
Sun Nov 30 19:30:31 UTC 2014

After poking around a bit, I put together this one liner to syncronize
my ports to the latest package revision:

svn up -r `fetch -qo -  | jq -r
'.builds[.builds.latest].svn_url | split("@")[1]'`

It uses jq to parser the .data.json file and determine the latest revision.

On Sun, Nov 30, 2014 at 4:50 AM, Tijl Coosemans <tijl at> wrote:
> On Sat, 29 Nov 2014 21:58:17 -0700 "Reed A. Cartwright" <cartwright at> wrote:
>> I have been using poudriere for a while to build packages locally.  I
>> recently reduced the package server to just the ports that I need to
>> have custom options.  I want to rely on the freebsd pkgs as much as I
>> can.
>> However, this has proven difficult because my ports directory is often
>> ahead of the one that corresponded to the latest set of binary
>> packages.  I read where packages are build off of a snapshot of the
>> ports tree on every wednesday.
>> Is this snapshot saved anywhere?  If so, I would like to be able to
>> sync my local ports directory against it.  If not, I would like to
>> request such ability.
> Package build information is available on
> and and each package set lists the
> port revision that was used.  For instance on
> it says svn://
> Then you can update your ports tree to that revision with:
> svn up -r 373435

Reed A. Cartwright, PhD
Barrett Honors Faculty
Assistant Professor of Genomics, Evolution, and Bioinformatics
School of Life Sciences
Center for Evolutionary Medicine and Informatics
The Biodesign Institute
Arizona State University
Address: The Biodesign Institute, PO Box 875301, Tempe, AZ 85287-5301 USA
Packages: The Biodesign Institute, 1001 S. McAllister Ave, Tempe, AZ
85287-5301 USA
Office: Biodesign A-224A, 1-480-965-9949

More information about the freebsd-ports mailing list