summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2018-08-31 20:11:57 +0200
committerPatrice Clement <monsieurp@gentoo.org>2018-09-05 00:24:41 +0200
commita560f07d06e12d9bb6c84c79e01bd9fff9a0008d (patch)
tree7a471e6fd1ad101fadc91065cc7d0770d3bacb5e /mail-filter
parentdev-python/icalendar: add python-dateutil to RDEPEND. (diff)
downloadgentoo-a560f07d06e12d9bb6c84c79e01bd9fff9a0008d.tar.gz
gentoo-a560f07d06e12d9bb6c84c79e01bd9fff9a0008d.tar.bz2
gentoo-a560f07d06e12d9bb6c84c79e01bd9fff9a0008d.zip
mail-filter/spamassassin: remove unused files.
Closes: https://github.com/gentoo/gentoo/pull/9744
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/spamassassin/files/3.4.1-spamd.conf25
-rw-r--r--mail-filter/spamassassin/files/3.4.1-spamd.init55
-rw-r--r--mail-filter/spamassassin/files/spamassassin.service-r115
-rw-r--r--mail-filter/spamassassin/files/spamassassin.service.conf10
4 files changed, 0 insertions, 105 deletions
diff --git a/mail-filter/spamassassin/files/3.4.1-spamd.conf b/mail-filter/spamassassin/files/3.4.1-spamd.conf
deleted file mode 100644
index 0cb7cbbfc471..000000000000
--- a/mail-filter/spamassassin/files/3.4.1-spamd.conf
+++ /dev/null
@@ -1,25 +0,0 @@
-# Config file for /etc/init.d/spamd
-#
-# ***WARNING***
-#
-# spamd was not designed to listed to an untrusted network. spamd
-# is vulnerable to DoS attacks (and eternal doom) if used to listen
-# to an untrusted network.
-#
-# ***WARNING***
-#
-
-# Additional options to pass to the spamd daemon. The spamd(1) man
-# page explains the available options. If you choose to listen on a
-# non-default interface, you will need to use OpenRC's "rc_need"
-# mechanism to ensure that your interface comes up before spamd
-# starts. The openrc-run(8) man page describes rc_need.
-SPAMD_OPTS="--max-children=5 --create-prefs --helper-home-dir"
-
-# Sets the 'nice' level of the spamd process.
-SPAMD_NICELEVEL=0
-
-# How long (in seconds) should we wait for spamd to stop after we've
-# asked it to? After this amount of time, if spamd is still running,
-# we will assume that it has failed to stop.
-SPAMD_TIMEOUT=15
diff --git a/mail-filter/spamassassin/files/3.4.1-spamd.init b/mail-filter/spamassassin/files/3.4.1-spamd.init
deleted file mode 100644
index cbe91e93231d..000000000000
--- a/mail-filter/spamassassin/files/3.4.1-spamd.init
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-PIDDIR=/run/spamd
-PIDFILE=${PIDDIR}/spamd.pid
-
-extra_started_commands="reload"
-
-depend() {
- before mta
- use logger
-@USEPOSTGRES@ use postgresql
-@USEMYSQL@ use mysql
-}
-
-start() {
- ebegin "Starting spamd"
-
- # Ensure that the PID file's directory exists.
- checkpath --directory "${PIDDIR}"
-
- # Reloading spamd causes its PID to change, so we track it by
- # name instead.
- start-stop-daemon --start --quiet \
- --name spamd \
- --nicelevel ${SPAMD_NICELEVEL} \
- --pidfile ${PIDFILE} \
- --exec /usr/sbin/spamd -- \
- --daemonize \
- --pidfile=${PIDFILE} \
- ${SPAMD_OPTS}
-
- retval=$?
-
- eend ${retval} "Failed to start spamd"
-}
-
-stop() {
- ebegin "Stopping spamd"
- # Retry after SPAMD_TIMEOUT seconds because spamd can take a
- # while to kill off all of its children. This was bug 322025.
- start-stop-daemon --stop \
- --quiet \
- --retry ${SPAMD_TIMEOUT} \
- --pidfile ${PIDFILE}
- eend $? "Failed to stop spamd"
-}
-
-reload() {
- ebegin "Reloading configuration"
- # Warning: causes the PID of the spamd process to change.
- start-stop-daemon --signal HUP --quiet --pidfile ${PIDFILE}
- eend $?
-}
diff --git a/mail-filter/spamassassin/files/spamassassin.service-r1 b/mail-filter/spamassassin/files/spamassassin.service-r1
deleted file mode 100644
index 3d145817f129..000000000000
--- a/mail-filter/spamassassin/files/spamassassin.service-r1
+++ /dev/null
@@ -1,15 +0,0 @@
-[Unit]
-Description=Spamassassin daemon
-After=syslog.target network.target
-
-[Service]
-Type=forking
-PIDFile=/run/spamd.pid
-ExecStart=/usr/sbin/spamd -d --pidfile /run/spamd.pid -m 5 $SPAMD_OPTS
-ExecReload=/bin/kill -HUP $MAINPID
-StandardOutput=syslog
-StandardError=syslog
-Restart=always
-
-[Install]
-WantedBy=multi-user.target
diff --git a/mail-filter/spamassassin/files/spamassassin.service.conf b/mail-filter/spamassassin/files/spamassassin.service.conf
deleted file mode 100644
index 9fc1f6294525..000000000000
--- a/mail-filter/spamassassin/files/spamassassin.service.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-# Here you can append some options to spamd process, please
-# double check that you make needed changes in service file if
-# you use options requiring it
-# Some options:
-#
-# -c to create a per user configuration file
-# -H [dir] to switch home dirs for helper apps, dir optional
-
-[Service]
-Environment="SPAMD_OPTS= -c -H"