Commit graph

59 commits

Author SHA1 Message Date
adam
b4d2195a7b 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 16:13:31 +00:00
jperkin
45bc40abb4 Remove example rc.d scripts from PLISTs.
These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or
ignored otherwise.
2014-03-11 14:04:57 +00:00
jperkin
b091c2f172 Bump PKGREVISION of all packages which create users, to pick up change of
sysutils/user_* packages.
2013-07-12 10:44:52 +00:00
schmonz
481db56c8f Whoops, rerun "make mps" after adding patch comments. 2013-02-03 14:02:31 +00:00
schmonz
0445fbf4dd Use system vsnprintf() as intended (fixes build on OS X 10.6). 2013-02-03 13:56:16 +00:00
ryoon
040dba8686 Fix build on Solaris.
Solaris has no SOL_TCP, but TCP_CORK.
2012-12-24 13:45:02 +00:00
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
joerg
76039544d1 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
joerg
7fdde28ea5 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 18:48:07 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
rillig
ad2adba9a5 Ran pkglint --autofix on the devel/ category. Most of the changes are
simple white-space issues like indentation and trailing spaces. The
others are cross-references for Makefile.common.
2009-06-13 06:46:41 +00:00
adam
b8bba3c379 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 13:27:48 +00:00
joerg
5c596d8f52 Fix DESTDIR. 2008-04-07 16:53:38 +00:00
rillig
d63781624d Fixed deprecation warning from pkglint. 2008-02-20 10:16:52 +00:00
jlam
4390d56940 Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
    unprivileged.mk.  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
    and ${UNPRIVILEGED_GROUP}.

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-07-04 20:54:31 +00:00
rillig
abb32b3382 The portability checks are skipped due to contrib/redhat/init. 2006-10-12 17:25:18 +00:00
martti
4dace6fef4 Reset MAINTAINER as I don't have time to maintain this any more. 2006-09-04 08:47:17 +00:00
jlam
802ce74fcb Modify packages that set PKG_USERS and PKG_GROUPS to follow the new
syntax as specified in pkgsrc/mk/install/bsd.pkginstall.mk:1.47.
2006-04-23 00:12:35 +00:00
martti
9e29b3b8c9 Fixed warnings found by pkglint -Wall. 2006-02-17 07:30:13 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
martti
8a4520958b Added support for DragonFly. 2006-01-12 07:12:31 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
jmmv
cc9f6caf2e Looks like I forgot to add this file in the previous commit... pointed out
by martti@.
2005-10-10 12:15:47 +00:00
jmmv
180565127c Split the Makefile to allow the addition of the upcoming distccmon-{gtk,gnome}
packages.  Also create the share/distcc directory which will be used by these
two packages.  Bump PKGREVISION to 1.
2005-10-10 09:53:07 +00:00
rillig
7a95adad42 The real user name in PKG_USERS does not need to be escaped with double
backslashes anymore. A single backslash is enough. Changed the
definition in all affected packages. For those that are not caught, an
additional check is placed into bsd.pkginstall.mk.
2005-08-23 11:48:47 +00:00
adam
ff5b2cea16 Changes 2.18.3:
BUG FIXES:
  * Fix for incorrect handling of -x and -specs from Michal Welnicki.
 TESTS:
  * Fix false pass in tests for -x and -specs.
2005-07-13 15:30:23 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
xtraeme
a784f4abe7 Before starting distcc, ${DISTCC_PIDDIR} must exist and must have the
correct permissions.

Reported by jtc@ in the tech-pkg mailing list.
2005-02-18 07:50:49 +00:00
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00
xtraeme
f94a5160b6 As reed@ said in another email:
"No files should be owned by "nobody" because that defeats the purpose of
having a "nobody" account."

Make this use a specific user/group called distcc to run the daemon.

Bump PKGREVISION.
2004-11-17 11:45:49 +00:00
xtraeme
7584c28377 Change /tmp as directory for $pidfile, because as reed@ said: "this
does not look safe", now it's stored in ${VARBASE}/run/distccd with
nobody:nobody 0750.
2004-11-16 09:24:50 +00:00
xtraeme
ab97872da7 Use /tmp as directory for $pidfile, because the nobody user cannot write
in /var/run!
2004-11-15 18:06:43 +00:00
xtraeme
8f9890fc25 Update devel/distcc to 2.18.2.
distcc-2.18.2  "Bees and lavender"  2004-11-12

  BUG FIXES:

    * Fix problem in checking errno after connect().  Fix by Jean
      Delvare and Dan Kegel.

  PORTABILITY:

    * Fix prototype problem causing build failure on amd64.  Patch
      from Andreas Jochens.  (Debian #280399, #280644).

distcc-2.18.1  "Reality-based computing"  2004-11-03

  BUG FIXES:

    * Fix run-time warnings about gtk_tree_model_row_changed() when
      built with recent versions of GTK+.
    * gcc option -specs= must be run locally so that it can read the
      local spec file.  Reported by Chris Yeoh.

  PORTABILITY:

    * Fix Solaris build problem reported by Dimitri Papadopoulos.
    * Fix problem with reading hosts files in DOS CRLF format.
      Reported by Sebastien Perochon.

distcc-2.18  "Billionaires on stilts"  2004-10-12

  BUG FIXES:

    * Fix longjmp() bug that can cause distcc to crash when a timeout
      elapses.
    * Fix compile-time problem with dcc_trace when configured with
      --enable-rfc2553.  Reported by Greg Earle.
    * Fix warning about warn_unused_result for older versions of gcc.
    * No timeout on local preprocessing or on compilation.  No
      timeouts on DNS lookups other than whatever is built in to the
      DNS resolver.  There are timeouts on network transmission and on
      opening connections.
    * Remove mmap() for receive of uncompressed data, to avoid various
      problems.

  CHANGES:

    * The --allow option is now mandatory for daemon mode.  As a
      security feature, distccd will refuse to run without an IP
      access control list.
    * conftest.* built by autoconf is always done locally, to make
      configure tests faster and safer.

  DOCUMENTATION:

    * Better description of use with ccache.

  PORTABILITY:

    * Fix various warnings reported by Dimitri Papadopoulos.
    * Fix Tru64 build problem reported by Gary V. Vaughan.

distcc-2.17  "Divers Alarums"  2004-07-31

  FEATURES:

    * Performance improvements for distccmon-gnome.
    * Added timeous for connection to servers, transmission of jobs
      and remote compilation.  If the timeout expires, the job is run
      locally.  This should make distcc cope better if some or all of
      the servers are unreachable or failing.
    * Also add timeouts in server to kick out stalled or disconnected
      clients.

  BUG FIXES:

    * If remote compilation fails because of a signal in a later phase
      of the compilation causing an exit with code >=128, retry
      compilation locally.  Patch from Jakub Stachowski.

  DOCUMENTATION:

    * Manpage fix from Jean Delvare.

  PORTABILITY:

    * Cygwin portability fix for WCOREDUMP, reported by Eric Frias.

distcc-2.16  "Salt"  2004-07-08

  SECURITY:

    * Fix bug that might cause IP-based access control rules not to be
      interpreted correctly on 64-bit platforms.  (CAN-2004-0601)

  BUG FIXES:

    * Fix small memory leaks in distccmon-gnome and distccmon-text.

  FEATURES:

    * Use a GNOME status bar with a grab handle for distccmon-gnome.
      Patch from Nathan Fredrickson.

  PORTABILITY:

    * Better detection of systems with a popt library installed but
      no popt.h.  Reported by Sean Kelly.
    * Fix bug in reporting crashed daemon children that showed up on
      systems without strsignal, such as Mac OS 10.2.  Reported by
      Benjamin Reed.
    * Update testdistcc.py to work on ia64 linux.

  INTERNAL:

    * Simplify dcc_log_child_exited.
    * Include copyright and licence in --version output, as suggested
      by GNU programs.
2004-11-15 17:03:32 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
martti
470f11a70a Make this work on non-NetBSD systems 2004-07-07 12:38:39 +00:00
martti
eeb9d6da6e Updated distcc to 2.15
* Fix crash bug in receiving LZO compressed data into a mmapped file.
* Remove redundant temporary file cleanup in non-forking mode.
* Client calculates and can display the overall throughput in preprocessed
  bytes per second for remote jobs.
* The deprecated fork-after-exec mode controlled by the --no-prefork option
  has been removed.
* mmap is no longer used for compressed data to simplify the code.
* Daemon now chdirs to $TMPDIR at startup rather than /. This allows dumping
  core, among other things.
2004-07-07 11:43:58 +00:00
xtraeme
7b05ae6c7e Default shell should be @RCD_SCRIPTS_SHELL@ not /bin/sh. 2004-05-02 19:31:48 +00:00
xtraeme
fd2009c442 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 19:11:38 +00:00
jlam
0463667fa3 bl3ify 2004-02-01 02:23:24 +00:00
grant
f49bdea710 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 08:24:28 +00:00
xtraeme
559a737f1b Update to 2.12.1
Changes:

BUG FIXES:

    * When checking if a process exists, accept EPERM as indicating it
      exists but isn't ours.  This allows watching the directory of a
      different user, subject only to filesystem permissions.
      Reported by Ernst Bachmann.

    * Correct a bug introduced in 2.12 that made distccd fail to start
      when run by root because setgid failed.  Fix from Wayne Davison.

    * --without-gnome, --without-gtk now turn those options off rather
      than on.

  DOCUMENTATION:

    * New man page for distccmon-text, by Shri Shrikumar and Martin
      Pool.
2004-01-16 07:09:28 +00:00
jmmv
5904e1a0c0 Update to 2.12:
distcc-2.12  "Figgy Pudding"  2003-12-19
  FEATURES:
    * New --log-level feature allows logging of only errors rather
      than messages for each connection.
    * IPv6 support now works better when distcc is configured with
      --enable-rfc2553.  The server can normally accept either IPv4 or
      IPv6 connections.
    * New --with-docdir configure option to set install location for
      documents.  The default is the same as previously.  Patch from
      Harold L Hunt II.
  INTERNAL:
    * GNU-style ChangeLog is now included in the package.  Please keep
      it up to date if you make your own changes!
  PORTABILITY:
    * setgroups() was broken by Mac OS X Panther so that it will not
      accept setgroups(0, NULL) to clear the group list.  Instead we
      now set the group list to our single primary gid.  Suggestion
      from Wayne Davison.
    * sendfile problems on FreeBSD 4.9-RC fixed.  Patch from Allan
      Saddi.
    * MAXPATHLEN is provided if it's not defined, which is the case on
      GNU Hurd.  Reported by Santiago Vila as Debian #219600.
  BUG FIXES:
    * Check pkg-config information GNOME/GTK+ is now checked at
      configure time, not build time.  This is a bit quicker than
      running the script for every file we build, and means that
      PKG_CONFIG_PATH only needs to be set for configure.
  DOCUMENTATION:
    * Small documentation corrections.
2003-12-21 09:49:25 +00:00
jmmv
7c79fcac19 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-12 23:10:57 +00:00
martti
fd1e4da129 Updated distcc to 2.11
* bug fixes
2003-10-05 12:03:12 +00:00