rsync and the ports tree

Christer Solskogen christer.solskogen at gmail.com
Wed Oct 26 10:54:24 UTC 2011


On Wed, Oct 26, 2011 at 12:39 PM, Peter Kryszkiewicz
<tundra2bear at gmail.com> wrote:
> I have several machines installed in my temporary location and only my
> laptop gets the internet through wireless. So far I've been building ports
> on the other machines by rsync'ing the distfiles from the laptop as I need
> them (all machines have the same FreeBSD 8.2 installed).
>
> The problem comes after I did a 'portupgrade -a' on the laptop. To ensure
> the other ports trees are in sync, can I rsync the /usr/ports directory to
> the other machines? Since some of them are different architectures (amd64
> multicore for instance) I ran into situations where the distfiles are
> different (for gcc for example).
>

The distfiles are not different between architectures. Rsyncing
/usr/ports works fine. But if you will bump into problems if you also
sync /usr/ports/packages and you have different archs (i386 vs amd64
for instance).

-- 
chs,


More information about the freebsd-questions mailing list