| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
<http://code.google.com/p/distcc/issues/detail?id=139>:
add configure option --without-libiberty, to allow
building distcc without GPL3 license encumbrance.
|
| | |
|
| |
|
|
|
| |
fall back to compiling locally.
|
| |
|
|
| |
* src/sendfile.c (sys_sendfile): Expose this function on GNU/Hurd,
which provides the same interface as Linux.
|
| |
|
| |
Fixes issue 128
|
| |
|
| |
Fixes issue 28
|
| | |
|
| |
|
| |
Fixes issue 85
|
| |
|
|
|
|
|
|
| |
<http://code.google.com/p/distcc/issues/detail?id=74>:
Return the host from backoff state, if local compilation
returned the same result as remote one.
|
| |
|
|
|
|
| |
Generalize the dcc_{r,x}_argv routines so they can be used to
transfer arbitrary array-of-strings tokens (useful for protocol
hacking experiments; no functional change).
|
| |
|
|
|
|
|
| |
Fix for <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638258>:
Distcc fails to build on hurd-i386 because it relies on PATH_MAX being
defined.
|
| |
|
|
|
| |
:
lsdistcc.c compile fails: variable 'nready' set but not used [-Werror]
|
| |
|
|
|
|
|
|
| |
hardcoded 60 second backoff period should be tunable
Makes the backoff behavior tunable via a new env var DISTCC_BACKOFF_PERIOD.
The default backoff remains set for 60 seconds.
|
| |
|
|
|
|
|
|
| |
"all servers busy" dcc_lock_pause is hardcoded at 1 sec, could be tunable.
Makes the pause time tunable via a new env var DISTCC_PAUSE_TIME_MSEC.
The default remains set for 1 second.
|
| |
|
|
|
| |
build problem with -Werror due to ignoring return value from read().
|
| |
|
|
|
| |
build problem with -Werror due to ignoring return value of 'chdir'.
|
| | |
|
| |
|
|
|
|
|
| |
see http://code.google.com/p/distcc/issues/detail?id=93.
Reviewed by Craig Silverstein.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
to ensure that macros tested with #if/#ifdef
are defined properly before they are tested.
This is a partial application of a patch from pkts.ca
for issue 80; the other parts of that patch conflict
with a patch from Akim Demaille <demaille@gostai.com>
which was committed in revision 715
<http://code.google.com/p/distcc/source/detail?r=715>.
|
| |
|
|
|
|
| |
<http://code.google.com/p/distcc/issues/detail?id=83>:
fix bug in handling of several consecutive -Wp,... options.
|
| |
|
|
|
| |
Reviewed by Craig Silverstein.
|
| |
|
|
|
| |
to do a better job of error checking.
|
| | |
|
| |
|
|
|
|
|
|
| |
to fix <http://code.google.com/p/distcc/issues/detail?id=70>.
This patch fixes a compile error on Gentoo Linux due to "s6_addr"
being #defined by a system header file and thus not available for
use as a local variable name.
|
| |
|
|
|
|
|
| |
tested and reviewed by cheepero@gmail.com, to address
<http://code.google.com/p/distcc/issues/detail?id=36>
"distcc-mon-gnome displays multiple rows for same host/slot".
|
| |
|
|
|
|
|
|
|
|
| |
use array indexing rather than pointer arithmetic;
simplify for loops;
change a parameter name to match comment describing it;
eliminate trailing whitespace.
Reviewed by Bob Ham
|
| |
|
|
|
|
|
|
|
|
|
| |
distcc-pump compilation. This fixes a bug where distcc-pump was changing
to a directory and then deleting that directory and not changing back
to the original directory. That caused problems when you used a server
first in distcc-pump mode and then in distcc mode, and the compiler
invoked a shell script. The compilation would succeed, but the shell would
report a confusing warning ("shell-init: error retrieving current directory:
getcwd: cannot access parent directories: No such file or directory").
|
| |
|
|
|
| |
Reviewed by Craig Silverstein.
|
| |
|
|
|
|
|
| |
add 1, 3, 5 minute averages of the number of children
used on a server to the statistics collected by the
stats server.
|
| |
|
|
|
|
| |
add an environment variable DISTCC_SKIP_LOCAL_RETRY for skipping
the local retry in case of a remote compilation failure.
|
| |
|
|
|
|
|
| |
* src/emaillog.c (dcc_maybe_send_email): Pacify GCC's warnings
about format strings by getting rid of a useless temporary
string.
|
| |
|
|
|
|
|
| |
* src/hosts.c (strndup): Use the standard signature (without
static), so that we don't conflict with GCC's builtin signature.
Now that it is not static, declare it, to avoid warnings.
|
| |
|
|
| |
Reviewed by Fergus Henderson.
|
| |
|
|
| |
DISTCC_MAX_DISCREPANCY environment variable.
|
| |
|
|
|
|
|
|
|
|
|
| |
Optional Black/Whitelist Functionality.
This patch is used to implement optional server-side access control
through a specified black or whitelist file. This option is specified
through a command line option.
Revised by me (Fergus Henderson):
fixed spelling error, added a comment.
|
| |
|
|
|
|
| |
in case we don't have getline() available.
Reviewed by Craig Silverstein.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Optional GSS-API Functionality.
This patch implements mutual authentication, out of sequence and
replay detection using the GSS-API. The changes implemented are
optional and are turned off by default.
This option is specified to the client through an environment variable
as is the name of the server principal to authenticate. Currently
the server principal can be left unspecified and a default based on
the host keytab will be used.
This option is specified to the daemon through a command line option,
with the name of the principal whose credentials the daemon should
use specified as an environment variable. A simple handshake is
exchanged between the client and server in order to prevent
unecessary delays and protocol derailments when mixing authenticating
and non-authenticating clients and servers.
Revised based on review comments.
GSS-API authentication is now implemented as a per host option.
Revised further by me (Fergus Henderson) to fix a spelling error
and to rename the per host option from ",gssapi" to ",auth".
|
| |
|
|
|
|
|
|
|
| |
- Implements IPv6 support for access control.
- Restrict zeroconf advertisements to IPv4 if
RFC2553 support isn't enabled.
- Modifies the non-RFC2553 code to use inet_aton()
instead of the RFC2553-specific inet_pton().
|
| |
|
|
|
|
|
|
| |
Fixes issue 43 <http://code.google.com/p/distcc/issues/detail?id=43>.
As mentioned in issue 34 <http://code.google.com/p/distcc/issues/detail?id=34>,
hosts with both IPv4 and IPv6 addresses showed up twice if avahi is
IPv6-enabled. So, filter out duplicates using the service name.
|
| |
|
|
|
|
|
|
|
|
| |
seems to have gotten mixed up when we changed from
using tabs to using spaces.
(2) Fix spacing in a log message.
Reviewers: Craig Silverstein
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will hopefully fix issue 39 <http://code.google.com/p/distcc/issues/detail?id=39>.
Some header files were using #if statements that depended on macros defined in config.h
without #including config.h first. The result was a compilation error, because
"#if !HAVE_DECL_SNPRINTF" was evaluating to true because config.h hadn't been included,
causing us to declare snprintf() when we shouldn't, leading to a conflict with the
declaration in the standard header files.
(The alternative solution would have been to add "#include <config.h>"
to every header file that uses '#if'. I decided not to do that, just
for consistency with the existing code.)
|
| |
|
|
|
| |
* Still needs configure flag masking for IPv6 literals
* Needs some fix for zeroconf hosts that have both and IPv6 and IPv4 address
|
| |
|
|
|
|
|
| |
* src/distcc.c (main): Don't dump --help on the user on command
line error, rather, return the `Try --help' message on stderr.
Check that --scan-includes is given arguments.
|
| | |
|
| |
|
|
|
|
|
| |
that broke the parsing of "-Wp,-MMD,..." options.
This fixes <http://code.google.com/p/distcc/issues/detail?id=22>.
|
| |
|
|
|
|
|
|
|
| |
This patch adds documentation of all of the exit codes to the man page.
Also add comment to exitcode.h reminding maintainers to update the man page.
Also update the HTML versions of the man pages.
|
| |
|
|
|
|
|
| |
add a new "--scan-includes" option to distcc which shows
which headers distcc would send to the remote machine in
pump mode, without actually compiling anything.
|
| |
|
|
|
|
|
|
|
|
|
| |
but not ",lzo".
Previously, setting ",cpp" without ",lzo" would quietly set the protocol
version to -1, which the server would then quietly reject (logging as
"REJ_BAD_REQ"), and then the client would guess (poorly) at why the
server had dropped the connection.
Reviewed by Craig Silverstein.
|