pkgsrc/devel/distcc/Makefile

30 lines
733 B
Makefile
Raw Normal View History

distcc-3.2 "Back in black" 2011-10-11 FEATURES: * IPv6 support * Optional support for GSS-API authentication * Added an environment variable DISTCC_SKIP_LOCAL_RETRY for skipping the local retry in case of a remote compilation failure * Some constants that were previously hard-coded in the sources are now configurable via environment variables: DISTCC_MAX_DISCREPANCY, DISTCC_IO_TIMEOUT BUG FIXES: * Fixed the following 20 issues <http://code.google.com/p/distcc/issues/list>: 30: 3.0 on OSX: ValueError: Expected absolute path, but got '(framework'. 33: distcc --scan-includes dumps core 34: Zeroconf fails if avahi supports IPv6 35: Include server internal error: '<class 'sre_constants.error'>: ('bogus escape (end of line)',)' 36: distcc-mon-gnome displays multiple rows for same host/slot 39: build with gcc 4.1 snprintf.h error "expected declaration specifiers" 42: distcc --show-hosts fails when using Avahi with IPv6 support and +zeroconf for distcc. 43: Remove duplicate hosts from zeroconf list 44: Failed tests on make check (gentoo gcc-4.3.3) 46: Add TAGS target to Makefile.in 49: make check fails on PreprocessAsm_Case 57: Fix warnings 58: PUMP mode can`t PARSE the HOSTS 60: CPlusPlus test case fails with GCC 4.4.1 61: Gdb tests fail in pumped mode on Ubuntu 9.10 amd64 66: pump mode fails to compile certain KDE-4 packages, finds/looks for incorrect headers 70: variable overlapping causing errors.. 75: include_server documentation, distcc_fallback flag incorrect 81: distcc 3.1 will not compile correctly with current version of gcc
2014-04-25 18:13:31 +02:00
# $NetBSD: Makefile,v 1.36 2014/04/25 16:13:31 adam Exp $
distcc-3.2 "Back in black" 2011-10-11 FEATURES: * IPv6 support * Optional support for GSS-API authentication * Added an environment variable DISTCC_SKIP_LOCAL_RETRY for skipping the local retry in case of a remote compilation failure * Some constants that were previously hard-coded in the sources are now configurable via environment variables: DISTCC_MAX_DISCREPANCY, DISTCC_IO_TIMEOUT BUG FIXES: * Fixed the following 20 issues <http://code.google.com/p/distcc/issues/list>: 30: 3.0 on OSX: ValueError: Expected absolute path, but got '(framework'. 33: distcc --scan-includes dumps core 34: Zeroconf fails if avahi supports IPv6 35: Include server internal error: '<class 'sre_constants.error'>: ('bogus escape (end of line)',)' 36: distcc-mon-gnome displays multiple rows for same host/slot 39: build with gcc 4.1 snprintf.h error "expected declaration specifiers" 42: distcc --show-hosts fails when using Avahi with IPv6 support and +zeroconf for distcc. 43: Remove duplicate hosts from zeroconf list 44: Failed tests on make check (gentoo gcc-4.3.3) 46: Add TAGS target to Makefile.in 49: make check fails on PreprocessAsm_Case 57: Fix warnings 58: PUMP mode can`t PARSE the HOSTS 60: CPlusPlus test case fails with GCC 4.4.1 61: Gdb tests fail in pumped mode on Ubuntu 9.10 amd64 66: pump mode fails to compile certain KDE-4 packages, finds/looks for incorrect headers 70: variable overlapping causing errors.. 75: include_server documentation, distcc_fallback flag incorrect 81: distcc 3.1 will not compile correctly with current version of gcc
2014-04-25 18:13:31 +02:00
PKGNAME= ${DISTNAME:S/rc1//}
Changes 3.1: * New options: --scan-includes, --disable-Werror * Document all of the exit codes in the man page. * Handle "-Wp,-MMD,...". * Report a better error message if a host specification contains ",cpp" but not ",lzo". * Fix a bug where the "m4" directory wasn't included in the source distribution tarball, which caused it to stop working if you ran autogen.sh. * Fixed a bug where the pump script was hard-coding /etc/distcc/hosts rather than using the prefix specified to configure. * Fixed build errors on Gentoo Linux and some other systems. Changes 3.0: * New "--without-avahi" option to configure. * Fixed a problem where pump mode was falling back to local compilation when compiling with -I options that refer to a subdirectory of one of the default system include directories (Nils Klarlund, Fergus Henderson). * Allow distcc to distribute commands that use "-MF<filename>" rather than "-MF <filename>", and likewise for "-MT<target>". * Fixed a build problem on ARM and Solaris systems. * Fixed a build problem on some Linux systems. * Fixed failure of "make install" on Cygwin. * Fallback to local compilation for "-march=native" or "mtune=native" * Fix for deadlock in pump mode. * New protocol, version 3, allowing for preprocessing on distcc servers ("pump" mode). * New component: an include server for incremental static analysis of include dependencies. This software is written in Python 2.4. * Support for getting hosts via avahi. * gcc debug option -d must be run locally because it produces secondary files. * Improved checking for errors on socket connection.
2009-01-17 14:27:48 +01:00
COMMENT= Tool for distributed C/C++ compiling
.include "Makefile.common"
Update to 2.11.2. While here, make this package honour PKG_SYSCONFDIR. Changes since 2.11: distcc-2.11.2 "Muscovado" 2003-10-23 BUG FIXES: * Correct the handling of --without-gnome. Reported by Dimitri Papadopoulos. * Fatal signal handlers for client and daemon should reset the signal vector before doing anything else, to protect against an (unlikely) spin if the signal is re-sent. * Corrections to .desktop file from Dag Wieers. INTERNAL: * Remove dependency on libglade for GTK+ and GNOME monitor programs. PORTABILITY: * IRIX portability fixes from Dimitri Papadopoulos. * Use AC_TYPE_SIGNAL to generate correct signal handler return types. (It can be either int or void.) DOCUMENTATION: * Various manual updates. * Update to xinetd example from Dag Wieers. distcc-2.11.1 "Burnt sugar" 2003-10-08 FEATURES: * The graphical monitor can now be configured with either --with-gnome or --with-gtk. In the second case, the GNOME libraries are not used. In both cases the resulting program is called distccmon-gnome and the functional differences are fairly small. BUG FIXES: * An error message is emitted and compilation fails if distcc cannot use the specified TMPDIR. This can happen if distccd is started by root with a TMPDIR only accessible to root. Reported by Brett Dikeman. * GNOME data files are now only installed when the application is configured with --with-gnome or --with-gtk. Files are installed into a distcc/ subdirectory of the configured data directory. (By default this is /usr/local/share/distcc/). Reported by Erik Jan Tromp and Noe`l Ko"the. * Fix bug in sending compressed files where errors were ignored. * C++ compilation using -frepo must be local. Reported by Andrew Slater. PORTABILITY: * Don't use stdint.h, which is not available on FreeBSD 4-STABLE, IRIX or Solaris. Reported by Frerich Raabe. DOCUMENTATION: * Corrections to distcc manpage reported by Lionel Sausin. * Documentation of how to write monitor programs, from Frerich Raabe. INTERNAL: * Fix state.h for use with C++. Patch from Frerich Raabe.
2003-12-13 00:10:57 +01:00
PKG_SYSCONFSUBDIR= distcc
Update devel/distcc to 2.14. Changes: distcc-2.14 "Lake Albina" 2004-05-02 FEATURES: * The host file is looked up in $DISTCC_DIR/hosts, not hardcoded to ~/.distcc/hosts. The default for $DISTCC_DIR is still ~/.distcc. Suggested by Sebastien Perochon. * Source file name is included in success/failure messages, e.g. distcc[6655] ERROR: compile ./cases/bad.c on cardhu failed * distcc can now be built with a build directory separate from the source directory. Patch from Dennis Henriksen. DOCUMENTATION: * Add documentation of DISTCC_DIR, and other fixes. Patch from Thomas Schwinge. * Slightly improved distcc --help. BUG FIXES: * Decompression buffer can dynamically resize to allow for very gassy files. From a patch by Joe Buehler. PORTABILITY: * Add sample scripts for Red Hat / Fedora, by Colin Walters. * mmap is always disabled on HP-UX, because the inconsistent page case is a bit dangerous for the way distcc uses mmap. Suggested by Joe Buehler. distcc-2.13 "Carnal Bunt" 2004-03-02 SECURITY: * Enforce IPv4 access control lists when the daemon is listening on an IPv6 port. This only applies when the server was compiled using --enable-rfc2553 and run with --allow. FEATURES: * Hash comments are allowed in host list files. INTERNAL: * Use TCP_DEFER_ACCEPT on Linux to avoid some wasted context switching when a new connection comes in to the server. BUG FIXES: * Some fixes for connections over SSH when built using --enable-rfc2553. Reported by Jeff Rizzo. * Handle arguments like "-xcpp" and "-Wa,-xarch=v8". Suggested by Ben Scarlet. * Fix resource exhaustion when DISTCC_SAVE_TEMPS is set. Reported by Mark DeGeorge. * Fix problems in running IPv6-enabled builds on kernels without IPv6 support. Reported by Lisa Seelye. DOCUMENTATION: * More instructions for distributors/packagers. PORTABILITY: * Many portability patches from Albert Chin. These patches were tested on: AIX 4.3.2, 5.1; HP-UX 10.20, 11.00, 11i; IRIX 6.5; Redhat Linux 7.1, 9; Solaris 2.5.1, 2.6, 7, 8, 9; Tru64 UNIX 4.0D, 5.1. * Possibly fix mmap problem on HP-UX with compressed transfers. Reported by Joe Buehler. TESTING: * Add test for compilation with compression. * Testsuite portability patch from Albert Chin. The tests pass on: HP-UX 10.20, 11.00, 11i; IRIX 6.5; Redhat Linux7.1, 9; Solaris 7, 8, 9; Tru64 UNIX 4.0d, 5.1. pkgsrc changes: o Add a rc.d script to start distccd, by default this runs as user "nobody". o Use subst.mk instead of patching multiple files.
2004-05-02 21:11:38 +02:00
RCD_SCRIPTS= distccd
2006-02-17 08:30:13 +01:00
.include "../../mk/bsd.prefs.mk"
DISTCC_USER?= distcc
DISTCC_GROUP?= distcc
PKG_GROUPS= ${DISTCC_GROUP}
Changes 3.1: * New options: --scan-includes, --disable-Werror * Document all of the exit codes in the man page. * Handle "-Wp,-MMD,...". * Report a better error message if a host specification contains ",cpp" but not ",lzo". * Fix a bug where the "m4" directory wasn't included in the source distribution tarball, which caused it to stop working if you ran autogen.sh. * Fixed a bug where the pump script was hard-coding /etc/distcc/hosts rather than using the prefix specified to configure. * Fixed build errors on Gentoo Linux and some other systems. Changes 3.0: * New "--without-avahi" option to configure. * Fixed a problem where pump mode was falling back to local compilation when compiling with -I options that refer to a subdirectory of one of the default system include directories (Nils Klarlund, Fergus Henderson). * Allow distcc to distribute commands that use "-MF<filename>" rather than "-MF <filename>", and likewise for "-MT<target>". * Fixed a build problem on ARM and Solaris systems. * Fixed a build problem on some Linux systems. * Fixed failure of "make install" on Cygwin. * Fallback to local compilation for "-march=native" or "mtune=native" * Fix for deadlock in pump mode. * New protocol, version 3, allowing for preprocessing on distcc servers ("pump" mode). * New component: an include server for incremental static analysis of include dependencies. This software is written in Python 2.4. * Support for getting hosts via avahi. * gcc debug option -d must be run locally because it produces secondary files. * Improved checking for errors on socket connection.
2009-01-17 14:27:48 +01:00
PKG_USERS= ${DISTCC_USER}:${DISTCC_GROUP}
PKG_GROUPS_VARS+= DISTCC_GROUP
PKG_USERS_VARS+= DISTCC_USER
DISTCC_PIDDIR?= ${VARBASE}/run/distccd
Changes 3.1: * New options: --scan-includes, --disable-Werror * Document all of the exit codes in the man page. * Handle "-Wp,-MMD,...". * Report a better error message if a host specification contains ",cpp" but not ",lzo". * Fix a bug where the "m4" directory wasn't included in the source distribution tarball, which caused it to stop working if you ran autogen.sh. * Fixed a bug where the pump script was hard-coding /etc/distcc/hosts rather than using the prefix specified to configure. * Fixed build errors on Gentoo Linux and some other systems. Changes 3.0: * New "--without-avahi" option to configure. * Fixed a problem where pump mode was falling back to local compilation when compiling with -I options that refer to a subdirectory of one of the default system include directories (Nils Klarlund, Fergus Henderson). * Allow distcc to distribute commands that use "-MF<filename>" rather than "-MF <filename>", and likewise for "-MT<target>". * Fixed a build problem on ARM and Solaris systems. * Fixed a build problem on some Linux systems. * Fixed failure of "make install" on Cygwin. * Fallback to local compilation for "-march=native" or "mtune=native" * Fix for deadlock in pump mode. * New protocol, version 3, allowing for preprocessing on distcc servers ("pump" mode). * New component: an include server for incremental static analysis of include dependencies. This software is written in Python 2.4. * Support for getting hosts via avahi. * gcc debug option -d must be run locally because it produces secondary files. * Improved checking for errors on socket connection.
2009-01-17 14:27:48 +01:00
OWN_DIRS_PERMS= ${DISTCC_PIDDIR} ${DISTCC_USER} ${DISTCC_GROUP} 0750
Changes 3.1: * New options: --scan-includes, --disable-Werror * Document all of the exit codes in the man page. * Handle "-Wp,-MMD,...". * Report a better error message if a host specification contains ",cpp" but not ",lzo". * Fix a bug where the "m4" directory wasn't included in the source distribution tarball, which caused it to stop working if you ran autogen.sh. * Fixed a bug where the pump script was hard-coding /etc/distcc/hosts rather than using the prefix specified to configure. * Fixed build errors on Gentoo Linux and some other systems. Changes 3.0: * New "--without-avahi" option to configure. * Fixed a problem where pump mode was falling back to local compilation when compiling with -I options that refer to a subdirectory of one of the default system include directories (Nils Klarlund, Fergus Henderson). * Allow distcc to distribute commands that use "-MF<filename>" rather than "-MF <filename>", and likewise for "-MT<target>". * Fixed a build problem on ARM and Solaris systems. * Fixed a build problem on some Linux systems. * Fixed failure of "make install" on Cygwin. * Fallback to local compilation for "-march=native" or "mtune=native" * Fix for deadlock in pump mode. * New protocol, version 3, allowing for preprocessing on distcc servers ("pump" mode). * New component: an include server for incremental static analysis of include dependencies. This software is written in Python 2.4. * Support for getting hosts via avahi. * gcc debug option -d must be run locally because it produces secondary files. * Improved checking for errors on socket connection.
2009-01-17 14:27:48 +01:00
FILES_SUBST+= DISTCC_PIDDIR=${DISTCC_PIDDIR}
FILES_SUBST+= DISTCC_USER=${DISTCC_USER}
FILES_SUBST+= DISTCC_GROUP=${DISTCC_GROUP}
Changes 3.1: * New options: --scan-includes, --disable-Werror * Document all of the exit codes in the man page. * Handle "-Wp,-MMD,...". * Report a better error message if a host specification contains ",cpp" but not ",lzo". * Fix a bug where the "m4" directory wasn't included in the source distribution tarball, which caused it to stop working if you ran autogen.sh. * Fixed a bug where the pump script was hard-coding /etc/distcc/hosts rather than using the prefix specified to configure. * Fixed build errors on Gentoo Linux and some other systems. Changes 3.0: * New "--without-avahi" option to configure. * Fixed a problem where pump mode was falling back to local compilation when compiling with -I options that refer to a subdirectory of one of the default system include directories (Nils Klarlund, Fergus Henderson). * Allow distcc to distribute commands that use "-MF<filename>" rather than "-MF <filename>", and likewise for "-MT<target>". * Fixed a build problem on ARM and Solaris systems. * Fixed a build problem on some Linux systems. * Fixed failure of "make install" on Cygwin. * Fallback to local compilation for "-march=native" or "mtune=native" * Fix for deadlock in pump mode. * New protocol, version 3, allowing for preprocessing on distcc servers ("pump" mode). * New component: an include server for incremental static analysis of include dependencies. This software is written in Python 2.4. * Support for getting hosts via avahi. * gcc debug option -d must be run locally because it produces secondary files. * Improved checking for errors on socket connection.
2009-01-17 14:27:48 +01:00
INSTALLATION_DIRS+= share/distcc
Update to 2.11.2. While here, make this package honour PKG_SYSCONFDIR. Changes since 2.11: distcc-2.11.2 "Muscovado" 2003-10-23 BUG FIXES: * Correct the handling of --without-gnome. Reported by Dimitri Papadopoulos. * Fatal signal handlers for client and daemon should reset the signal vector before doing anything else, to protect against an (unlikely) spin if the signal is re-sent. * Corrections to .desktop file from Dag Wieers. INTERNAL: * Remove dependency on libglade for GTK+ and GNOME monitor programs. PORTABILITY: * IRIX portability fixes from Dimitri Papadopoulos. * Use AC_TYPE_SIGNAL to generate correct signal handler return types. (It can be either int or void.) DOCUMENTATION: * Various manual updates. * Update to xinetd example from Dag Wieers. distcc-2.11.1 "Burnt sugar" 2003-10-08 FEATURES: * The graphical monitor can now be configured with either --with-gnome or --with-gtk. In the second case, the GNOME libraries are not used. In both cases the resulting program is called distccmon-gnome and the functional differences are fairly small. BUG FIXES: * An error message is emitted and compilation fails if distcc cannot use the specified TMPDIR. This can happen if distccd is started by root with a TMPDIR only accessible to root. Reported by Brett Dikeman. * GNOME data files are now only installed when the application is configured with --with-gnome or --with-gtk. Files are installed into a distcc/ subdirectory of the configured data directory. (By default this is /usr/local/share/distcc/). Reported by Erik Jan Tromp and Noe`l Ko"the. * Fix bug in sending compressed files where errors were ignored. * C++ compilation using -frepo must be local. Reported by Andrew Slater. PORTABILITY: * Don't use stdint.h, which is not available on FreeBSD 4-STABLE, IRIX or Solaris. Reported by Frerich Raabe. DOCUMENTATION: * Corrections to distcc manpage reported by Lionel Sausin. * Documentation of how to write monitor programs, from Frerich Raabe. INTERNAL: * Fix state.h for use with C++. Patch from Frerich Raabe.
2003-12-13 00:10:57 +01:00
.include "../../mk/bsd.pkg.mk"