From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 84371138335 for ; Tue, 4 Sep 2018 22:32:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6AB6DE08A6; Tue, 4 Sep 2018 22:32:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2A6D4E08A6 for ; Tue, 4 Sep 2018 22:32:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AEC5F335CD1 for ; Tue, 4 Sep 2018 22:32:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5EED43B8 for ; Tue, 4 Sep 2018 22:32:16 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1536099881.a560f07d06e12d9bb6c84c79e01bd9fff9a0008d.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/spamassassin/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/spamassassin/files/3.4.1-spamd.conf mail-filter/spamassassin/files/3.4.1-spamd.init mail-filter/spamassassin/files/spamassassin.service-r1 mail-filter/spamassassin/files/spamassassin.service.conf X-VCS-Directories: mail-filter/spamassassin/files/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: a560f07d06e12d9bb6c84c79e01bd9fff9a0008d X-VCS-Branch: master Date: Tue, 4 Sep 2018 22:32:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a767087b-e2fe-4b8e-bbe9-934dbbbfd8d5 X-Archives-Hash: 666aae659273dd9906d0cad7f873068b commit: a560f07d06e12d9bb6c84c79e01bd9fff9a0008d Author: Michael Mair-Keimberger gmail com> AuthorDate: Fri Aug 31 18:11:57 2018 +0000 Commit: Patrice Clement gentoo org> CommitDate: Tue Sep 4 22:24:41 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a560f07d mail-filter/spamassassin: remove unused files. Closes: https://github.com/gentoo/gentoo/pull/9744 mail-filter/spamassassin/files/3.4.1-spamd.conf | 25 ---------- mail-filter/spamassassin/files/3.4.1-spamd.init | 55 ---------------------- .../spamassassin/files/spamassassin.service-r1 | 15 ------ .../spamassassin/files/spamassassin.service.conf | 10 ---- 4 files changed, 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 0cb7cbbfc47..00000000000 --- 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 cbe91e93231..00000000000 --- 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 3d145817f12..00000000000 --- 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 9fc1f629452..00000000000 --- 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"