public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/amavisd-new/files/
@ 2018-11-18 23:56 Michael Orlitzky
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Orlitzky @ 2018-11-18 23:56 UTC (permalink / raw
  To: gentoo-commits

commit:     cdefbed60c214263ee9c13db3f29072709d363ad
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 17 14:56:05 2018 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Nov 18 23:23:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdefbed6

mail-filter/amavisd-new: remove old (now-unused) OpenRC service script.

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 mail-filter/amavisd-new/files/amavisd.initd | 45 -----------------------------
 1 file changed, 45 deletions(-)

diff --git a/mail-filter/amavisd-new/files/amavisd.initd b/mail-filter/amavisd-new/files/amavisd.initd
deleted file mode 100644
index 4899296cc14..00000000000
--- a/mail-filter/amavisd-new/files/amavisd.initd
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-extra_started_commands="reload"
-extra_commands="debug debug_sa"
-
-prog="/usr/sbin/amavisd"
-progname="amavisd-new"
-
-depend() {
-	need net
-	use logger antivirus snmpd
-	before mta
-}
-
-start() {
-	ebegin "Starting ${progname}"
-	"${prog}" start
-	eend $?
-}
-
-stop() {
-	ebegin "Stopping ${progname}"
-	"${prog}" stop 1>/dev/null
-	eend $?
-}
-
-reload() {
-	ebegin "Reloading ${progname}"
-	"${prog}" reload 1>/dev/null
-	eend $?
-}
-
-debug() {
-	ebegin "Starting ${progname} in debug mode"
-	"${prog}" debug
-	eend $?
-}
-
-debug_sa() {
-	ebegin "Starting ${progname} in debug-sa mode"
-	"${prog}" debug-sa
-	eend $?
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/amavisd-new/files/
@ 2019-02-24  2:34 Michael Orlitzky
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Orlitzky @ 2019-02-24  2:34 UTC (permalink / raw
  To: gentoo-commits

commit:     072fd49134ed3c404a44e0cb8eb564b3b00f9cd9
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 24 02:06:39 2019 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Feb 24 02:33:35 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=072fd491

mail-filter/amavisd-new: remove now-unused files.

Bug: https://bugs.gentoo.org/630898
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 mail-filter/amavisd-new/files/amavis-mc.initd  | 17 ----------
 mail-filter/amavisd-new/files/amavisd.initd-r1 | 44 --------------------------
 mail-filter/amavisd-new/files/amavisd.service  | 22 -------------
 3 files changed, 83 deletions(-)

diff --git a/mail-filter/amavisd-new/files/amavis-mc.initd b/mail-filter/amavisd-new/files/amavis-mc.initd
deleted file mode 100644
index 84658da9a4e..00000000000
--- a/mail-filter/amavisd-new/files/amavis-mc.initd
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-pidfile="/run/amavis/amavis-mc.pid"
-command="/usr/sbin/amavis-mc"
-command_args="${amavis_mc_args} -P ${pidfile}"
-start_stop_daemon_args="--interpreted"
-
-depend() {
-	use logger
-	before amavisd-new snmpd
-}
-
-start_pre() {
-	checkpath -d -o amavis /run/amavis
-}

diff --git a/mail-filter/amavisd-new/files/amavisd.initd-r1 b/mail-filter/amavisd-new/files/amavisd.initd-r1
deleted file mode 100644
index d772433aa41..00000000000
--- a/mail-filter/amavisd-new/files/amavisd.initd-r1
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-extra_started_commands="reload"
-extra_commands="debug debug_sa"
-
-prog="/usr/sbin/amavisd"
-progname="amavisd-new"
-
-depend() {
-	use net logger antivirus snmpd
-	before mta
-}
-
-start() {
-	ebegin "Starting ${progname}"
-	"${prog}" start
-	eend $?
-}
-
-stop() {
-	ebegin "Stopping ${progname}"
-	"${prog}" stop 1>/dev/null
-	eend $?
-}
-
-reload() {
-	ebegin "Reloading ${progname}"
-	"${prog}" reload 1>/dev/null
-	eend $?
-}
-
-debug() {
-	ebegin "Starting ${progname} in debug mode"
-	"${prog}" debug
-	eend $?
-}
-
-debug_sa() {
-	ebegin "Starting ${progname} in debug-sa mode"
-	"${prog}" debug-sa
-	eend $?
-}

diff --git a/mail-filter/amavisd-new/files/amavisd.service b/mail-filter/amavisd-new/files/amavisd.service
deleted file mode 100644
index c53c38ac163..00000000000
--- a/mail-filter/amavisd-new/files/amavisd.service
+++ /dev/null
@@ -1,22 +0,0 @@
-[Unit]
-Description=Amavisd Daemon
-Wants=postfix.service
-Wants=spamassassin.service
-Wants=clamd.service
-After=network.target
-
-[Service]
-User=amavis
-Group=amavis
-ExecStart=/usr/sbin/amavisd -c /etc/amavisd.conf foreground
-ExecReload=/usr/sbin/amavisd -c /etc/amavisd.conf reload
-PrivateTmp=true
-CapabilityBoundingSet=
-ProtectSystem=full
-NoNewPrivileges=true
-PrivateDevices=true
-ProtectHome=true
-MemoryDenyWriteExecute=true
-
-[Install]
-WantedBy=multi-user.target


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/amavisd-new/files/
@ 2019-03-02  4:24 Michael Orlitzky
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Orlitzky @ 2019-03-02  4:24 UTC (permalink / raw
  To: gentoo-commits

commit:     d97050eda5e5028c446bfcb6afa11486b7cdc030
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Mar  1 17:05:51 2019 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Mar  2 04:18:57 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d97050ed

mail-filter/amavisd-new: remove unused file

Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 mail-filter/amavisd-new/files/amavisd-snmp.initd | 31 ------------------------
 1 file changed, 31 deletions(-)

diff --git a/mail-filter/amavisd-new/files/amavisd-snmp.initd b/mail-filter/amavisd-new/files/amavisd-snmp.initd
deleted file mode 100644
index fc23a1fc101..00000000000
--- a/mail-filter/amavisd-new/files/amavisd-snmp.initd
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-name="amavisd-snmp"
-pidfile="/run/amavis/${name}.pid"
-command="/usr/sbin/${name}-subagent"
-command_args="${amavis_snmp_args} -P ${pidfile}"
-start_stop_daemon_args="--interpreted"
-
-update_command() {
-	if [[ -x ${command}-zmq && ! $amavisd_snmp_command ]]; then
-		command="${command}-zmq"
-	elif [[ $amavisd_snmp_command ]]; then
-		command="$amavisd_snmp_command"
-	fi
-}
-
-depend() {
-	use logger
-	before amavisd-new snmpd
-	update_command
-	if [[ ${command##*-} == "zmq" ]]; then
-		need amavis-mc
-	fi
-}
-
-start_pre() {
-	update_command
-	checkpath -d -o amavis /run/amavis
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/amavisd-new/files/
@ 2020-09-07 20:05 James Le Cuirot
  0 siblings, 0 replies; 5+ messages in thread
From: James Le Cuirot @ 2020-09-07 20:05 UTC (permalink / raw
  To: gentoo-commits

commit:     ef1c1a2693ef4389164efb587675218055f55354
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  7 20:05:01 2020 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Sep  7 20:05:01 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef1c1a26

mail-filter/amavisd-new: Delete unused patch

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 mail-filter/amavisd-new/files/amavisd-2.11.0-dkim.patch | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/mail-filter/amavisd-new/files/amavisd-2.11.0-dkim.patch b/mail-filter/amavisd-new/files/amavisd-2.11.0-dkim.patch
deleted file mode 100644
index d9aa07d732b..00000000000
--- a/mail-filter/amavisd-new/files/amavisd-2.11.0-dkim.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Origin: https://lists.amavis.org/pipermail/amavis-users/2016-July/004428.html
-
---- a/amavisd
-+++ b/amavisd
-@@ -34338,6 +34338,7 @@
-     $sig_ind++;
-   }
-   Amavis::load_policy_bank($_,$msginfo) for @bank_names;
-+  $msginfo->originating(c('originating'));
-   $msginfo->dkim_signatures_valid(\@signatures_valid)  if @signatures_valid;
- # if (ll(5) && $sig_ind > 0) {
- #   # show which header fields are covered by which signature


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/amavisd-new/files/
@ 2021-02-20 22:43 Conrad Kostecki
  0 siblings, 0 replies; 5+ messages in thread
From: Conrad Kostecki @ 2021-02-20 22:43 UTC (permalink / raw
  To: gentoo-commits

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
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-02-20 22:44 UTC | newest]

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox