Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/distcc/files/, sys-devel/distcc/
Date: Mon, 10 Feb 2020 16:07:06
Message-Id: 1581350816.866ab4db4fbdb6a2768152e82137edc6e4a9c9bc.polynomial-c@gentoo
1 commit: 866ab4db4fbdb6a2768152e82137edc6e4a9c9bc
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 10 16:05:26 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 10 16:06:56 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=866ab4db
7
8 sys-devel/distcc: Revbump adding TMPDIR handling to init script
9
10 With kind permission from mgorny
11 Committed straight to stable as we don't change upstream default
12 without action from the user
13
14 Package-Manager: Portage-2.3.88, Repoman-2.3.20
15 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
16
17 sys-devel/distcc/{distcc-3.3.3.ebuild => distcc-3.3.3-r1.ebuild} | 0
18 sys-devel/distcc/files/distccd.confd | 5 +++++
19 sys-devel/distcc/files/distccd.initd | 4 +++-
20 3 files changed, 8 insertions(+), 1 deletion(-)
21
22 diff --git a/sys-devel/distcc/distcc-3.3.3.ebuild b/sys-devel/distcc/distcc-3.3.3-r1.ebuild
23 similarity index 100%
24 rename from sys-devel/distcc/distcc-3.3.3.ebuild
25 rename to sys-devel/distcc/distcc-3.3.3-r1.ebuild
26
27 diff --git a/sys-devel/distcc/files/distccd.confd b/sys-devel/distcc/files/distccd.confd
28 index bc08d40777d..736527a4a89 100644
29 --- a/sys-devel/distcc/files/distccd.confd
30 +++ b/sys-devel/distcc/files/distccd.confd
31 @@ -35,3 +35,8 @@ DISTCCD_OPTS="${DISTCCD_OPTS} --allow 192.168.0.0/24"
32 # set this for niceness
33 # Default is 15
34 DISTCCD_OPTS="${DISTCCD_OPTS} -N 15"
35 +
36 +# By default distccd stores temporary files in /tmp
37 +# Make sure to give distcc user write permission to
38 +# the given TMPDIR
39 +#TMPDIR="/tmp"
40
41 diff --git a/sys-devel/distcc/files/distccd.initd b/sys-devel/distcc/files/distccd.initd
42 index 7673ff2cf42..963f7b74c12 100644
43 --- a/sys-devel/distcc/files/distccd.initd
44 +++ b/sys-devel/distcc/files/distccd.initd
45 @@ -1,5 +1,5 @@
46 #!/sbin/openrc-run
47 -# Copyright 1999-2018 Gentoo Authors
48 +# Copyright 1999-2020 Gentoo Authors
49 # Distributed under the terms of the GNU General Public License v2
50
51 depend() {
52 @@ -11,3 +11,5 @@ command="${DISTCCD_EXEC:-usr/bin/distccd}"
53 command_args="--user distcc --daemon --no-detach ${DISTCCD_OPTS}"
54 command_background="true"
55 pidfile="/run/${RC_SVCNAME}.pid"
56 +
57 +export TMPDIR="${TMPDIR:-/tmp}"