commit:     0777d57a9a3afc953c8b4b6c023d660bbb0ca12d
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Nov 28 19:40:17 2017 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Nov 28 20:01:32 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0777d57a

mail-filter/spamassassin: remove unused files

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 mail-filter/spamassassin/files/3.4.1-spamd.init-r1 | 34 ----------------------
 .../spamassassin/files/spamassassin.service-r3     | 10 -------
 .../files/spamassassin.service.conf-r1             |  2 --
 3 files changed, 46 deletions(-)

diff --git a/mail-filter/spamassassin/files/3.4.1-spamd.init-r1 
b/mail-filter/spamassassin/files/3.4.1-spamd.init-r1
deleted file mode 100755
index 5f981d8e2c3..00000000000
--- a/mail-filter/spamassassin/files/3.4.1-spamd.init-r1
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-command="/usr/sbin/spamd"
-pidfile="/run/spamd.pid"
-command_args="--username=spamd
-              --groupname=spamd
-              --pidfile=${pidfile}
-              ${SPAMD_OPTS}"
-command_args_background="--daemonize"
-
-: ${SPAMD_NICELEVEL:=0}
-start_stop_daemon_args="--nicelevel ${SPAMD_NICELEVEL}"
-
-# Retry after SPAMD_TIMEOUT seconds because spamd can take a
-# while to kill off all of its children. This was bug 322025.
-: ${SPAMD_TIMEOUT:=15}
-retry="${SPAMD_TIMEOUT}"
-
-extra_started_commands="reload"
-
-depend() {
-    before mta
-    use logger mysql postgres
-}
-
-reload() {
-       ebegin "Reloading configuration"
-       # Warning: reload causes the PID of the spamd process to
-       # change, but spamd does update its PID file afterwards.
-       start-stop-daemon --signal HUP --pidfile "${pidfile}"
-       eend $?
-}

diff --git a/mail-filter/spamassassin/files/spamassassin.service-r3 
b/mail-filter/spamassassin/files/spamassassin.service-r3
deleted file mode 100644
index 6bc74c46cc5..00000000000
--- a/mail-filter/spamassassin/files/spamassassin.service-r3
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=Spamassassin daemon
-After=network.target
-
-[Service]
-ExecStart=/usr/sbin/spamd --username=spamd --groupname=spamd $SPAMD_OPTS
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target

diff --git a/mail-filter/spamassassin/files/spamassassin.service.conf-r1 
b/mail-filter/spamassassin/files/spamassassin.service.conf-r1
deleted file mode 100644
index 75918e824f2..00000000000
--- a/mail-filter/spamassassin/files/spamassassin.service.conf-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-[Service]
-Environment="SPAMD_OPTS=--max-children=5 --create-prefs --helper-home-dir"

Reply via email to