Hi *,

Attached is a port of distcc, loosely base on FreeBSD's port of distcc.

Information for distcc-2.18.3p0

Comment:
distributed compilation of C and C++ code acrosss machines on a network

Required by:
distcc-gtk2-2.18.3p0

Description:
distcc is a program to distribute compilation of C(++) code across
several machines on a network. distcc should always generate the same
results as a local compile, is simple to install and use, and is often
significantly faster than a local compile.

Unlike other distributed build systems, distcc does not require all
machines to share a filesystem, have synchronized clocks, or to have the
same libraries or header files installed. Machines can be running
different operating systems, as long as they have compatible binary
formats or cross-compilers.

distcc sends the complete preprocessed source code across the network
for each job, so all it requires of the volunteer machines is that they
be running the distccd daemon, and that they have an appropriate
compiler installed.

Maintainer: [EMAIL PROTECTED]

WWW: http://distcc.samba.org/


I tested on i386-current. Works nicely. The -gtk2 subpackage, provides a
graphical monitor. For using distcc with the ports infrastructure, some
additional tweaks are necessary. I used the following in my /etc/mk.conf:

DISTCC_HOSTS?=
.if !empty(DISTCC_HOSTS)
PORTPATH=${LOCALBASE}/libexec/distcc:${WRKDIR}/bin:/usr/bin:/bin:/usr/sbin:/sbin:${DEPBASE}/bin:${LOCALBASE}/bin:${X11BASE}/bin
MAKE_ENV+=DISTCC_HOSTS=${DISTCC_HOSTS:Q}
MAKE_ENV+=DISTCC_DIR=${TMPDIR}
.endif

(the above should probably be added to bsd.port.mk resp. )

Also, for allowing network connections to distccd servers,
systrace.filters needs the relevant rules added:

        native-connect: sockaddr sub ":3632" then permit
        native-bind: sockaddr match "inet-*:3632" then permit

Thanks
 -Fritz

Attachment: distcc.tgz
Description: application/compressed

Reply via email to