Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/spamassassin/files/
Date: Mon, 21 Jan 2019 22:51:46
Message-Id: 1548111038.c8dbdb1e60b3d6ce7a8e70e7092cff4af99b1ee6.monsieurp@gentoo
1 commit: c8dbdb1e60b3d6ce7a8e70e7092cff4af99b1ee6
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Sun Jan 13 14:03:12 2019 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 21 22:50:38 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8dbdb1e
7
8 mail-filter/spamassassin: remove unused file.
9
10 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/10822
12 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
13
14 mail-filter/spamassassin/files/3.4.1-spamd.init-r2 | 38 ----------------------
15 1 file changed, 38 deletions(-)
16
17 diff --git a/mail-filter/spamassassin/files/3.4.1-spamd.init-r2 b/mail-filter/spamassassin/files/3.4.1-spamd.init-r2
18 deleted file mode 100644
19 index c704782f3a4..00000000000
20 --- a/mail-filter/spamassassin/files/3.4.1-spamd.init-r2
21 +++ /dev/null
22 @@ -1,38 +0,0 @@
23 -#!/sbin/openrc-run
24 -# Copyright 1999-2017 Gentoo Foundation
25 -# Distributed under the terms of the GNU General Public License v2
26 -
27 -command="/usr/sbin/spamd"
28 -pidfile="/run/spamd.pid"
29 -command_args="--pidfile=${pidfile} ${SPAMD_OPTS}"
30 -command_args_background="--daemonize"
31 -
32 -if ! [ "${SPAMD_RUN_AS_ROOT}" = "true" ]; then
33 - # Passing --username=root to spamd kills it, so if SPAMD_RUN_AS_ROOT
34 - # is true, then we want to pass no user/group command args at all.
35 - # Any value other than "true" gets the default user/group of "spamd".
36 - command_args="${command_args} --username=spamd --groupname=spamd"
37 -fi
38 -
39 -: ${SPAMD_NICELEVEL:=0}
40 -start_stop_daemon_args="--nicelevel ${SPAMD_NICELEVEL}"
41 -
42 -# Retry after SPAMD_TIMEOUT seconds because spamd can take a
43 -# while to kill off all of its children. This was bug 322025.
44 -: ${SPAMD_TIMEOUT:=15}
45 -retry="${SPAMD_TIMEOUT}"
46 -
47 -extra_started_commands="reload"
48 -
49 -depend() {
50 - before mta
51 - use logger mysql postgres
52 -}
53 -
54 -reload() {
55 - ebegin "Reloading configuration"
56 - # Warning: reload causes the PID of the spamd process to
57 - # change, but spamd does update its PID file afterwards.
58 - start-stop-daemon --signal HUP --pidfile "${pidfile}"
59 - eend $?
60 -}