96820105fc
3.3 - Charlie the unicorn * Use masquerade as compiler white-list. * New --allow-private (the default) which allows non-global * IP and IPv6 addresses. * Cross-compilation support. * Fix parsing of IPv6 addresses. * Python 3, not python 2. * Can build without python (and without pump mode or tests). For those upgrading: you must run update-distcc-symlinks on every server machine, and add manually (see MASQUERADING of distcc(1)) those compilers it does not detect.
29 lines
725 B
Makefile
29 lines
725 B
Makefile
# $NetBSD: Makefile,v 1.37 2018/07/11 07:30:40 adam Exp $
|
|
|
|
PKGNAME= ${DISTNAME}
|
|
COMMENT= Tool for distributed C/C++ compiling
|
|
|
|
.include "Makefile.common"
|
|
|
|
PKG_SYSCONFSUBDIR= distcc
|
|
RCD_SCRIPTS= distccd
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
DISTCC_USER?= distcc
|
|
DISTCC_GROUP?= distcc
|
|
PKG_GROUPS= ${DISTCC_GROUP}
|
|
PKG_USERS= ${DISTCC_USER}:${DISTCC_GROUP}
|
|
PKG_GROUPS_VARS+= DISTCC_GROUP
|
|
PKG_USERS_VARS+= DISTCC_USER
|
|
|
|
DISTCC_PIDDIR?= ${VARBASE}/run/distccd
|
|
OWN_DIRS_PERMS= ${DISTCC_PIDDIR} ${DISTCC_USER} ${DISTCC_GROUP} 0750
|
|
|
|
FILES_SUBST+= DISTCC_PIDDIR=${DISTCC_PIDDIR}
|
|
FILES_SUBST+= DISTCC_USER=${DISTCC_USER}
|
|
FILES_SUBST+= DISTCC_GROUP=${DISTCC_GROUP}
|
|
|
|
INSTALLATION_DIRS+= share/distcc
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|