| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Recent RedHat-like distributions run distcc through systemd and
the configuration is not taken from this file, so add a comment that
put the poor user in the right direction.
This patch is RFC here because the downstream bug has not been
fixed and is going to be EOL'ed
See: https://bugzilla.redhat.com/show_bug.cgi?id=1187517
|
| |
|
|
|
|
|
|
| |
<http://code.google.com/p/distcc/issues/detail?id=114>
sent by Ying Chen <companycy@gmail.com>: ensure that lsdistcc.1.gz gets
included in the RPM package.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
use "trap ... HUP" rather than "trap ... SIGHUP".
The Posix.1 standard <http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#trap>
says:
The condition can be EXIT, 0 (equivalent to EXIT), or a signal specified
using a symbolic name, without the SIG prefix, as listed in the tables
of signal names in the <signal.h> header [...]; for example, HUP, INT,
QUIT, TERM. Implementations may permit names with the SIG prefix or
ignore case in signal names as an extension.
Previously, the code was relying on this optional extension.
|
| |
|
|
| |
Reviewers: Craig Silverstein
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
files (for the same package and version) before generating the new ones.
Similarly change "make install-deb" and "make upload-dist" so that
they are more selective in which files they install.
This fixes a bug where "make install-deb" tried to install the wrong
.deb files, because it just did "rpm -i *.deb", and there can be old
.deb files lying around. It also fixes a similar problem in "make
upload-dist".
Also, add a "tags" target to the Makefile.
Reviewers: Craig Silverstein
|
| | |
|
| |
|
|
|
|
| |
Add include_server, which is a new man page. Update the Makefile to
know about the new man page, include it in the distribution, etc.
Also update the rpm spec to include it too.
|
| |
|
|
|
|
|
|
|
|
|
| |
and Debian packages.
Also, fix a bug where the Makefile rules for building HTML files were
not working when srcdir != builddir.
Tested by "make install-deb; man pump".
Reviewers: Craig Silverstein
|
| |
|
|
| |
Reviewed by fergus
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
because it is a security risk: it may allow other
users on the machine to execute arbitrary code as
the distcc user.
Instead, leave clients.allow empty by default,
and require the system admistrator to edit
clients.allow manually, if they want to use distcc
in TCP mode.
We still install distccd as a service, but distccd
will exit immediately unless you've already added
some hosts to clients.allow.
Reviewers: Craig Silverstein
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
installed a new distcc. It wasn't working properly because the call to
"start-stop-daemon --stop" used the "--exec /usr/bin/distccd" option,
and (perhaps due to a bug in start-stop-daemon?) that option checks
/proc/<pid>/exe against /usr/bin/distccd by comparing inode numbers.
Comparing inode numbers doesn't work, because when we install a new
distccd, we create a fresh file with a new inode number, so the inode
number used by running processes won't match the inode number of
/usr/bin/distccd on disk after you've installed a new version.
The fix was to remove the "--exec /usr/bin/distccd"
option from the call to start-stop-daemon. We're already passing
"--name distccd", which is sufficient to indentify the running
distccd processes.
Reviewers: Craig Silverstein
|
| |
|
|
|
|
| |
exit status and giving misleading messages as a result.
Reviewers: Craig Silverstein
|
| |
|
|
|
|
| |
allow cc, c++, c89, c99, and g++, in addition to gcc.
Reviewers: Craig Silverstein
|
| |
|
|
|
|
|
|
|
|
|
|
| |
distribution.
There was a spurious assignment to CMDLIST. CMDLIST used for the
output of /etc/distcc/commands.allow.sh; it is supposed to be set to
/var/state/distcc/commands.allow. But due to the spurious assignment,
CMDLIST was being set to /etc/distcc/commands.allow.sh, causing the
script to overwrite itself.
Reviewers: Craig Silverstein
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Add README file to the doc/example directory.
- Add files in doc/example for every system configuration file
installed or modified by the RPM installation script (rpm.spec).
- Update some comments in rpm.spec.
- Some whitespace changes to doc/example/logrotate and
packaging/RedHat/logrotate.d/distcc to make those two files match.
- Copy warning from packaging/RedHat/xinetd.d/distcc to
doc/examples/xinetd.
Reviewers: Craig Silverstein
|
| |
|
|
|
|
|
|
|
|
|
| |
target in the Makefile to call it. Also added googlecode_upload.py to
the dist tarball.
Also update the version number to prerelease2. As part of testing
this change, I actually uploaded the tarballs and rpm files to
code.google.com.
Reviewed by fergus@google.com
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(1) Remove the Google crosstool-specific stuff from
packaging/RedHat/init.d/distcc; instead, make it
source a new configuration file "commands.allow.sh".
(2) Install default versions of all the configuration files
in $(sysconfdir), i.e. /etc:
distcc/hosts, distcc/clients.allow, commands.allow.sh,
and defaults/distcc.
(3) Fix a bug in Makefile.in: "make install" didn't work when you
configured with srcdir != builddir. Added "$(srcdir)/" in various
places to make it work. (There's similar problems with "make dist",
but I gave up on those for now.)
(4) Add "install-deb" rule, to install the ".deb" files.
(5) Don't run install-for-include-server-tests as part of "make install".
That target is part of "make check", not "make install".
(6) Add missing dependency on "include-server" to "pump-check" rule.
(7) Remove some bash-isms from the "init.d/distcc" script.
Tested by running "make install-deb" followed by
"distcc /usr/bin/gcc -c foo.c" - this now works "out-of-the-box"! :->
Also ran "make maintainer-check" and "make pump-check".
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
upload all the package files we create in one fell swoop (they must be
specified on the commandline). We figure out the summary to give to
each file and the label to apply, and then upload each in turn.
I've also turned off the feature to figure out the name and password
directly from the local svn repository, because that feature is broken
(alas), with the current python-subversion bindings. Instead, I
prompt for them, but at least it's only once per upload as opposed to
once per file!
Not yet tested (will do so when I add to the Makefile to actually use
it).
Reviewed by fergus@google.com
|
| |
|
|
|
|
|
|
|
|
|
|
| |
files to the Google Code location of distcc. This is the version as
downloaded from the web, at
http://support.googlecode.com/svn-history/r57/trunk/scripts/googlecode_upload.py
After this pristine version is checked in, we'll hack on it to add
some distcc-specific features (multiple uploads, etc). We'll also add
it to the Makefile at that time, both to use ('make upload') and as
part of the distribution (hey, why not).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
dist' makes a tar.gz file), and 'make deb' to make the deb files.
'make alldist' will make all three (well, four): .tar.gz, .tar.bz2,
.rpm, and .deb.
The rpm.spec file that's used is based on the old distcc.spec file,
which is now deleted. However, it's reordered to look a bit more like
other spec files for Google projects, removes the obsolete
'include-server' package (that's now part of the distcc package
proper), and takes out all the ChangeLog entries that don't relate to
the spec file in particular.
I also added a script, rpm.sh, to build the rpm file, which is a
combination of the rpm.sh script used to build other google projects,
and the existing build-distcc.sh, which is now deleted. Mostly it
just calls rpmbuild with the right flags. deb.sh could have re-done
all the work that rpm.spec and rpm.sh does, but instead we just use
"alien" to convert the rpm to a deb file.
Tested by installing the deb files (both client and server) on my home
machine and then running 'make maintainer-installcheck'.
Reviewed by fergus@google.com
|
|
|
level. I'm doing this in two stages, because I don't understand svn
enough to be confident to do it in one. This first stage just copies
all the files from distcc/FOO to FOO. Now there are two copies of
each file under distcc; the Makefile/etc uses the one in distcc and
ignores the one at the top level.
The next commit will delete everything under distcc, and rewrite the
Makefile/etc to use the top-level versions instead.
|