Commit graph

7 commits

Author SHA1 Message Date
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
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
martti
470f11a70a Make this work on non-NetBSD systems 2004-07-07 12:38:39 +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