summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bump version for releasev3.2rc1.23.2-maintShawn Landden2018-02-261-1/+1
| | | | v3.2rc1.1 was a fluke where I didn't bump the version number
* Apply patch from Jiri Palecek to fix issue 83v3.2rc1.1fergus.henderson2018-02-251-0/+2
| | | | | | <http://code.google.com/p/distcc/issues/detail?id=83>: fix bug in handling of several consecutive -Wp,... options.
* Update ChangeLog again.v3.2rc1fergus.henderson2011-10-261-0/+33
|
* After my change to gzip the man pages before installing them,fergus.henderson2011-10-261-0/+2
| | | | | | | I had to make a couple more changes to get "make distcheck" to pass. Reviewed by Craig Silverstein.
* Gzip the man pages before installing them.fergus.henderson2011-10-251-8/+17
| | | | | | | | | | | This is required by the Debian policy manual <http://www.debian.org/doc/debian-policy/ch-docs.html> and is also assumed by our packaging/RedHat/rpm.spec file which we use for building both RPM and Debian packages. Also some whitespaces changes; only the first of the four segments in this patch has non-whitespace changes.
* Update the NEWS and ChangeLog files, and set the version number to 3.2rc1,fergus.henderson2011-10-253-5/+776
| | | | | | | in preparation for releasing distcc version 3.2. Reviewed by Craig Silverstein.
* Regenerate the checked-in HTML for the man pages.fergus.henderson2011-10-247-164/+326
| | | | | | | | | | | | | | | | | | | The HTML files were generated automatically using sudo apt-get install troffcvt make man-html But I have also changed the man source files to ensure that the generated output still looks nice. The changes were mainly replacing blank lines with ".PP", but there were a few other tweaks needed too. Tested by viewing the output on both Chrome and Safari, and using "man" and (equivalently) "nroff -man" and examining the changes. Reviewed by Craig Silverstein.
* Apply a suggestion from Craig Silverstein: update the documentationfergus.henderson2011-10-241-1/+1
| | | | | | for the --whitelist option to make it clear that distcc will accept connections *only* from users on the list.
* Fix a couple of compiler warnings.fergus.henderson2011-10-212-3/+4
| | | | | Reviewed by Craig Silverstein.
* Apply patch from Ihor Kaharlichenko <madkinder> to fix issue 81fergus.henderson2011-06-281-2/+1
| | | | | | | | | | <http://code.google.com/p/distcc/issues/detail?id=81>: SyntaxError_Case was failing with recent versions of gcc, due to the error message format having changed to now include the column number. Also remove an old "XXX" comment that no longer applies.
* Fix a syntax error in my last change.fergus.henderson2011-04-061-2/+2
|
* Update Makefile.in for compatibility with autoconf >= 2.60.fergus.henderson2011-04-061-0/+1
| | | | | | | | | This avoids the following warning config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting and ensures that our configure script supports that --datarootdir flag. Reviewed by Craig Silverstein.
* Fix warnings about unused return values. This includes some code changesfergus.henderson2011-04-0614-47/+113
| | | | | to do a better job of error checking.
* Fix some issues that caused the gdb-related tests to fail:fergus.henderson2011-04-061-5/+11
| | | | | | | | | | | | | | | | | | | | | 1. Recent gcc versions want us to use -Wl,--build-id rather than --build-id. 2. We had missed one of the places where we need to be passing that flag in. 3. With recent gcc/gdb versions, "break main; run" will sometimes stop at the first statement inside of main rather than on the function declaration. So "break main; run; step" may end up inside the code to puts() rather than in the code for main(). My fix was to use "break main; run; next" instead. It is inderminate (varies based on whether you use "-O", for example) whether we end up at the call to puts() or after the call to puts(), but either way the call to puts() should be in the gdb output log. Reviewed by Craig Silverstein.
* Support Python 2.6.fergus.henderson2011-04-061-1/+1
| | | | | Reviewed by Craig Silverstein.
* Fix indentation (layout changes only, no code changes).fergus.henderson2011-04-051-10/+10
|
* Fix for <http://code.google.com/p/distcc/issues/detail?id=61>fergus.henderson2010-11-161-2/+13
| | | | | | | | | | "Gdb tests fail in pumped mode on Ubuntu 9.10 amd64": pass --build-id to gcc versions that support it. (See <http://fedoraproject.org/wiki/RolandMcGrath/BuildID> for a description of the --build-id switch.) Reviewed by Craig Silverstein.
* Fix error in manual: to disable fallback, set DISTCC_FALLBACK to 0 not 1.fergus.henderson2010-11-161-1/+1
| | | | | Resolves <http://code.google.com/p/distcc/issues/detail?id=75>.
* Apply patch from Ian Kumlien <Ian.Kumlien@gmail.com>,fergus.henderson2010-10-081-4/+4
| | | | | | | | 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.
* Apply patch from Jeremy Murphy <jeremy.william.murphy@gmail.com>,fergus.henderson2010-10-086-22/+65
| | | | | | | 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".
* Fix failures of the Gdb_* test cases:fergus.henderson2010-09-101-7/+19
| | | | | | | | | | | | | | | | | | | 1. These tests were failing if you have anything in your ~/.gdbinit file that causes gdb to issue an error message. The fix here is to create an empty .gdbinit in the test directory; gdb will read that one in preference to the one in $HOME. 2. These tests were failing due to a new spurious warning from gdb. 3. There were a bug in the code for the Gdb_Case test which previously caused part of the test to be executed only in pump mode. When invoking gcc to check whether preprocessing preserves the pwd info, the command line had not been updated to reflect the fact that this command is run in a subdirectory; as a consequence, gcc_preprocessing_preserves_pwd was always set to false. Reviewed by Craig Silverstein.
* Some minor stylistic improvements:fergus.henderson2010-08-191-30/+29
| | | | | | | | | | 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
* Change directory back to the original server working directory after eachfergus.henderson2010-08-193-9/+23
| | | | | | | | | | | 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").
* Apply --sysroot patch from Simon Baldwin <simonb@google.com>:fergus.henderson2010-08-193-31/+69
| | | | | | | | | | | | | | | | | | | | | 2010-08-18 Simon Baldwin <simonb@google.com> * include_server/compiler_defaults.py (_SystemSearchdirsGCC): Add a 'sysroot' parameter. Add --sysroot, if needed, to the gcc invocation that identifies search directories and default paths. Add debugging output. (SetSystemDirsDefaults): Add 'sysroot' parameter. Add another dictionary level to system_dirs_default for sysroot values. Add debugging output. * include_server/parse_command.py (ParseCommandArgs): Identify and handle arguments of the form '--opt=value'. Pass any --sysroot value to compiler_defaults.SetSystemDirsDefaults, use it in compiler_defaults.system_dirs_default lookups. (CPP_OPTIONS_APPEARING_AS_ASSIGNMENTS): New. * include_server/parse_command_test.py (Mock_SetSystemDirsDefaults): Add sysroot parameter, verify it on function calls. (ParseCommandUnitTest): Add --sysroot to mock gcc invocations.
* Trivial fix for slight mistake in distccd debug message.fergus.henderson2010-06-291-1/+1
| | | | | Reviewed by Craig Silverstein.
* Apply patch from Ryan Burns <rburns@pixar.com>:fergus.henderson2010-05-045-12/+162
| | | | | | | add 1, 3, 5 minute averages of the number of children used on a server to the statistics collected by the stats server.
* Apply patch from Ryan Burns <rburns@pixar.com>:fergus.henderson2010-05-042-4/+23
| | | | | | add an environment variable DISTCC_SKIP_LOCAL_RETRY for skipping the local retry in case of a remote compilation failure.
* Apply slightly cleaned up version of patch from perezdiez@gmail.comfergus.henderson2010-03-021-2/+3
| | | | | to fix failure of PreprocessAsm_Case on ARM.
* Apply patch from Akim Demaille <demaille@gostai.com>:fergus.henderson2010-03-021-6/+2
| | | | | | | * src/emaillog.c (dcc_maybe_send_email): Pacify GCC's warnings about format strings by getting rid of a useless temporary string.
* Apply patch from Akim Demaille <demaille@gostai.com>:fergus.henderson2010-03-022-2/+9
| | | | | | | * 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.
* Apply patch from madkinder: use #include rather than #import in C++ test case.fergus.henderson2010-02-181-2/+2
| | | | | | | | This fixes a test case failure with gcc 4.4.1, which warns about use of #import. (The use of #import was an accidental cut-and-paste error resulting from copying the C++ test case from the Objective-C/C++ test case.)
* Change the PreprocessAsm_Case so that it reports NOTRUNfergus.henderson2010-02-181-1/+3
| | | | | rather than PASS for systems where it is not run.
* Add support for $DISTCC_IO_TIMEOUT.zhanglei2010-02-106-11/+45
| | | | Reviewed by Fergus Henderson.
* Apply patch from Tal <tal.bav@gmail.com>:fergus.henderson2009-12-301-1/+1
| | | | | | | In packaging/RedHat/init.d/distcc the executable is once refereed to using the variable EXEC, and once as with the explicit expected name. Change it to always use the EXEC variable.
* Apply patch from <avassalotti@gmail.com>:fergus.henderson2009-12-011-0/+3
| | | | | This is a simple patch that adds the standard TAGS target for Emacs users.
* Make max_discrepancies_before_demotion configurable via ↵zhanglei2009-08-034-7/+46
| | | | DISTCC_MAX_DISCREPANCY environment variable.
* Pass "-c" to gcc for the Dotd_Case tests.fergus.henderson2009-07-241-1/+1
| | | | | | | | | | | | | This fixes a problem where this test was failing on some systems due to link errors when compiling C++ source files with "gcc foo.cpp". To link C++ code, you now need to use "g++ foo.cpp" or "gcc foo.cpp -lstdc++", even if the C++ code in question doesn't use any C++ library features. Rather than changing the code to use "g++" or "-lstdc++", I though it was better to avoid the link step entirely, since it is not needed for the things this test is testing, and removing it will speed up the test. Reviewed by Craig Silverstein.
* Apply patch from Ian.Baker@cern.ch:fergus.henderson2009-07-2410-10/+322
| | | | | | | | | | | 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.
* Define a GNU-compatible getline() implementation,fergus.henderson2009-07-246-2/+160
| | | | | | in case we don't have getline() available. Reviewed by Craig Silverstein.
* Fix compile errors for "make check" caused by distcc-v6-acl-2.patch.fergus.henderson2009-07-241-4/+5
|
* Apply patch from Ian.Baker@cern.ch:fergus.henderson2009-07-2322-6/+1301
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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".
* Apply patch from Ian.Baker@cern.ch:fergus.henderson2009-07-231-0/+83
| | | | | Protocol Documentation for GSSAPI extension.
* Add Makefile target "man-html" for rebuilding the (checked-in) HTMLfergus.henderson2009-07-221-2/+4
| | | | | | | | versions of the man pages. This allows you to view the changes with "svn diff" before running "make upload-man" which commits them. Reviewed by Craig Silverstein.
* Apply distcc-v6-acl-2.patch from Bob Ham <rah@bash.sh>:fergus.henderson2009-07-224-69/+314
| | | | | | | | | - 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().
* Improve some slightly misleading documentation.fergus.henderson2009-07-221-3/+6
|
* Swedish translation, from Nille <nille.kungen@gmail.com>.fergus.henderson2009-06-301-0/+3
|
* Apply patch from Assar <assar@permabit.com>:fergus.henderson2009-04-181-1/+1
| | | | | | | | | If any of the files in the source directory are not writable, running "make dist" will prompt you if you want to remove those files in the temporary distribution directory (distcc-3.1). The following tiny patch fixes that.
* Remove duplicate hosts from the zeroconf list.benizi2009-04-141-0/+24
| | | | | | | | 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.
* (1) Layout/whitespace changes; the layout of this filefergus.henderson2009-04-101-64/+69
| | | | | | | | | | 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
* Fix a distcc test that was failing on modern kernels:fergus.henderson2009-04-101-7/+10
| | | | | | | | | | | | | | | | | | | ignore a spurious warning from gdb. According to Paul Pluzhnikov, the warning is gone from current GDB, fixed by the following patch: 2008-04-21 Pedro Alves <pedro@codesourcery.com> * symfile.c (syms_from_objfile): Don't warn if lowest loadable section is not a code section. But since there are going to be some versions of gdb in the wild that don't have that patch, we still need to work around it in the distcc tests. Reviewed by Craig Silverstein.