Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/amavisd-new/files/
Date: Sun, 24 Feb 2019 02:34:48
Message-Id: 1550975615.072fd49134ed3c404a44e0cb8eb564b3b00f9cd9.mjo@gentoo
1 commit: 072fd49134ed3c404a44e0cb8eb564b3b00f9cd9
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 24 02:06:39 2019 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 24 02:33:35 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=072fd491
7
8 mail-filter/amavisd-new: remove now-unused files.
9
10 Bug: https://bugs.gentoo.org/630898
11 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
12 Package-Manager: Portage-2.3.51, Repoman-2.3.11
13
14 mail-filter/amavisd-new/files/amavis-mc.initd | 17 ----------
15 mail-filter/amavisd-new/files/amavisd.initd-r1 | 44 --------------------------
16 mail-filter/amavisd-new/files/amavisd.service | 22 -------------
17 3 files changed, 83 deletions(-)
18
19 diff --git a/mail-filter/amavisd-new/files/amavis-mc.initd b/mail-filter/amavisd-new/files/amavis-mc.initd
20 deleted file mode 100644
21 index 84658da9a4e..00000000000
22 --- a/mail-filter/amavisd-new/files/amavis-mc.initd
23 +++ /dev/null
24 @@ -1,17 +0,0 @@
25 -#!/sbin/openrc-run
26 -# Copyright 1999-2015 Gentoo Foundation
27 -# Distributed under the terms of the GNU General Public License v2
28 -
29 -pidfile="/run/amavis/amavis-mc.pid"
30 -command="/usr/sbin/amavis-mc"
31 -command_args="${amavis_mc_args} -P ${pidfile}"
32 -start_stop_daemon_args="--interpreted"
33 -
34 -depend() {
35 - use logger
36 - before amavisd-new snmpd
37 -}
38 -
39 -start_pre() {
40 - checkpath -d -o amavis /run/amavis
41 -}
42
43 diff --git a/mail-filter/amavisd-new/files/amavisd.initd-r1 b/mail-filter/amavisd-new/files/amavisd.initd-r1
44 deleted file mode 100644
45 index d772433aa41..00000000000
46 --- a/mail-filter/amavisd-new/files/amavisd.initd-r1
47 +++ /dev/null
48 @@ -1,44 +0,0 @@
49 -#!/sbin/openrc-run
50 -# Copyright 1999-2012 Gentoo Foundation
51 -# Distributed under the terms of the GNU General Public License v2
52 -
53 -extra_started_commands="reload"
54 -extra_commands="debug debug_sa"
55 -
56 -prog="/usr/sbin/amavisd"
57 -progname="amavisd-new"
58 -
59 -depend() {
60 - use net logger antivirus snmpd
61 - before mta
62 -}
63 -
64 -start() {
65 - ebegin "Starting ${progname}"
66 - "${prog}" start
67 - eend $?
68 -}
69 -
70 -stop() {
71 - ebegin "Stopping ${progname}"
72 - "${prog}" stop 1>/dev/null
73 - eend $?
74 -}
75 -
76 -reload() {
77 - ebegin "Reloading ${progname}"
78 - "${prog}" reload 1>/dev/null
79 - eend $?
80 -}
81 -
82 -debug() {
83 - ebegin "Starting ${progname} in debug mode"
84 - "${prog}" debug
85 - eend $?
86 -}
87 -
88 -debug_sa() {
89 - ebegin "Starting ${progname} in debug-sa mode"
90 - "${prog}" debug-sa
91 - eend $?
92 -}
93
94 diff --git a/mail-filter/amavisd-new/files/amavisd.service b/mail-filter/amavisd-new/files/amavisd.service
95 deleted file mode 100644
96 index c53c38ac163..00000000000
97 --- a/mail-filter/amavisd-new/files/amavisd.service
98 +++ /dev/null
99 @@ -1,22 +0,0 @@
100 -[Unit]
101 -Description=Amavisd Daemon
102 -Wants=postfix.service
103 -Wants=spamassassin.service
104 -Wants=clamd.service
105 -After=network.target
106 -
107 -[Service]
108 -User=amavis
109 -Group=amavis
110 -ExecStart=/usr/sbin/amavisd -c /etc/amavisd.conf foreground
111 -ExecReload=/usr/sbin/amavisd -c /etc/amavisd.conf reload
112 -PrivateTmp=true
113 -CapabilityBoundingSet=
114 -ProtectSystem=full
115 -NoNewPrivileges=true
116 -PrivateDevices=true
117 -ProtectHome=true
118 -MemoryDenyWriteExecute=true
119 -
120 -[Install]
121 -WantedBy=multi-user.target