public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/amavisd-new/files/
Date: Sat, 20 Feb 2021 22:43:59 +0000 (UTC)	[thread overview]
Message-ID: <1613861021.5f4abdd5629e3186954d1b89667c776da570602a.conikost@gentoo> (raw)

commit:     5f4abdd5629e3186954d1b89667c776da570602a
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Fri Feb 19 08:29:49 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Feb 20 22:43:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f4abdd5

mail-filter/amavisd-new: remove unused files

Closes: https://github.com/gentoo/gentoo/pull/19535
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 mail-filter/amavisd-new/files/amavis-mc.initd-r1   | 18 ---------------
 .../files/amavisd-snmp-subagent-zmq.initd          | 26 ----------------------
 2 files changed, 44 deletions(-)

diff --git a/mail-filter/amavisd-new/files/amavis-mc.initd-r1 b/mail-filter/amavisd-new/files/amavis-mc.initd-r1
deleted file mode 100644
index 6343d4255c4..00000000000
--- a/mail-filter/amavisd-new/files/amavis-mc.initd-r1
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-command="/usr/sbin/amavis-mc"
-pidfile="/run/${RC_SVCNAME}.pid"
-
-# Let OpenRC background this, because otherwise it will write its PID
-# file after dropping privileges which presents a security issue when
-# we go to `kill` the thing as root.
-command_args="-f"
-command_background="true"
-command_user="amavis:amavis"
-
-depend() {
-  use logger
-  before amavisd-new snmpd
-}

diff --git a/mail-filter/amavisd-new/files/amavisd-snmp-subagent-zmq.initd b/mail-filter/amavisd-new/files/amavisd-snmp-subagent-zmq.initd
deleted file mode 100644
index 7482a3f1d20..00000000000
--- a/mail-filter/amavisd-new/files/amavisd-snmp-subagent-zmq.initd
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-command="/usr/sbin/amavisd-snmp-subagent-zmq"
-pidfile="/run/${RC_SVCNAME}.pid"
-
-# The RELEASE_NOTES say "it is safe to run it as root, although
-# perhaps not necessary." I'm not in a position to test, but I bet
-# it's safe to run this as amavis:amavis. Since the program itself
-# doesn't have the ability to drop privileges, we'd have to let OpenRC
-# do that; and in that case, the easiest way to deal with the PID file
-# is to let OpenRC handle that, too.
-#
-# Thus as a means of future-proofing, we run $command in the
-# foreground, and let OpenRC background it and write a PID file. So
-# if somebody wants to try command_user="amavis:amavis" here, it might
-# just work.
-command_args="-f"
-command_background="true"
-
-depend() {
-  use logger
-  before amavisd-new snmpd
-  need amavis-mc
-}


             reply	other threads:[~2021-02-20 22:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-20 22:43 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-07 20:05 [gentoo-commits] repo/gentoo:master commit in: mail-filter/amavisd-new/files/ James Le Cuirot
2019-03-02  4:24 Michael Orlitzky
2019-02-24  2:34 Michael Orlitzky
2018-11-18 23:56 Michael Orlitzky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1613861021.5f4abdd5629e3186954d1b89667c776da570602a.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox