1 |
commit: 0777d57a9a3afc953c8b4b6c023d660bbb0ca12d |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Nov 28 19:40:17 2017 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 28 20:01:32 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0777d57a |
7 |
|
8 |
mail-filter/spamassassin: remove unused files |
9 |
|
10 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
11 |
|
12 |
mail-filter/spamassassin/files/3.4.1-spamd.init-r1 | 34 ---------------------- |
13 |
.../spamassassin/files/spamassassin.service-r3 | 10 ------- |
14 |
.../files/spamassassin.service.conf-r1 | 2 -- |
15 |
3 files changed, 46 deletions(-) |
16 |
|
17 |
diff --git a/mail-filter/spamassassin/files/3.4.1-spamd.init-r1 b/mail-filter/spamassassin/files/3.4.1-spamd.init-r1 |
18 |
deleted file mode 100755 |
19 |
index 5f981d8e2c3..00000000000 |
20 |
--- a/mail-filter/spamassassin/files/3.4.1-spamd.init-r1 |
21 |
+++ /dev/null |
22 |
@@ -1,34 +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="--username=spamd |
30 |
- --groupname=spamd |
31 |
- --pidfile=${pidfile} |
32 |
- ${SPAMD_OPTS}" |
33 |
-command_args_background="--daemonize" |
34 |
- |
35 |
-: ${SPAMD_NICELEVEL:=0} |
36 |
-start_stop_daemon_args="--nicelevel ${SPAMD_NICELEVEL}" |
37 |
- |
38 |
-# Retry after SPAMD_TIMEOUT seconds because spamd can take a |
39 |
-# while to kill off all of its children. This was bug 322025. |
40 |
-: ${SPAMD_TIMEOUT:=15} |
41 |
-retry="${SPAMD_TIMEOUT}" |
42 |
- |
43 |
-extra_started_commands="reload" |
44 |
- |
45 |
-depend() { |
46 |
- before mta |
47 |
- use logger mysql postgres |
48 |
-} |
49 |
- |
50 |
-reload() { |
51 |
- ebegin "Reloading configuration" |
52 |
- # Warning: reload causes the PID of the spamd process to |
53 |
- # change, but spamd does update its PID file afterwards. |
54 |
- start-stop-daemon --signal HUP --pidfile "${pidfile}" |
55 |
- eend $? |
56 |
-} |
57 |
|
58 |
diff --git a/mail-filter/spamassassin/files/spamassassin.service-r3 b/mail-filter/spamassassin/files/spamassassin.service-r3 |
59 |
deleted file mode 100644 |
60 |
index 6bc74c46cc5..00000000000 |
61 |
--- a/mail-filter/spamassassin/files/spamassassin.service-r3 |
62 |
+++ /dev/null |
63 |
@@ -1,10 +0,0 @@ |
64 |
-[Unit] |
65 |
-Description=Spamassassin daemon |
66 |
-After=network.target |
67 |
- |
68 |
-[Service] |
69 |
-ExecStart=/usr/sbin/spamd --username=spamd --groupname=spamd $SPAMD_OPTS |
70 |
-ExecReload=/bin/kill -HUP $MAINPID |
71 |
- |
72 |
-[Install] |
73 |
-WantedBy=multi-user.target |
74 |
|
75 |
diff --git a/mail-filter/spamassassin/files/spamassassin.service.conf-r1 b/mail-filter/spamassassin/files/spamassassin.service.conf-r1 |
76 |
deleted file mode 100644 |
77 |
index 75918e824f2..00000000000 |
78 |
--- a/mail-filter/spamassassin/files/spamassassin.service.conf-r1 |
79 |
+++ /dev/null |
80 |
@@ -1,2 +0,0 @@ |
81 |
-[Service] |
82 |
-Environment="SPAMD_OPTS=--max-children=5 --create-prefs --helper-home-dir" |