On 2017/02/01 11:19, Ronald Klop wrote:> Is it possible to update the /usr/ports tree to the same version as is
> used by the default pkg repositories?
> I use some ports which are not distributed as pkgs. When I 'portsnap
> auto' the ports tree gets new updates which are not in the pkgs yet and
> I don't want to rebuild those.
> I'm also able to fetch the ports tree by svn if that gives more
> possibilities than portsnap for this.
>
> So, is there a way to know from which svn revision the pkgs are build by
> the FreeBSD servers? Or something similar.
The precise revision number used for pkg builds isn't published, so no
it's not possible to synchronise exactly.
However, what you can do is download the appropriate quarterly branch of
the ports. At the moment that's something like:
svn co https://svn.freebsd.org/ports/branches/2017Q1 /usr/ports
This is the branch that the official packages are built from, and it
changes a lot more slowly than HEAD, so your chances of running into
version conflicts are much reduced.
You will have to remember to 'svn switch' to each new quarterly branch,
but that's only four times a year.
Cheers,
Matthew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 972 bytes
Desc: OpenPGP digital signature
URL:
<http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20170201/37a85b0a/attachment.sig>