1 |
commit: 29c0ba389640c6f4e75443dc3aaa89d89da59298 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri May 22 08:08:45 2020 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 2 04:27:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29c0ba38 |
7 |
|
8 |
mail-mta/nullmailer: remove unused patch and files |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/15911 |
13 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
14 |
|
15 |
mail-mta/nullmailer/files/init.d-nullmailer-r4 | 50 --------------------- |
16 |
mail-mta/nullmailer/files/init.d-nullmailer-r5 | 51 ---------------------- |
17 |
.../files/nullmailer-1.13-unistd.h.patch | 28 ------------ |
18 |
mail-mta/nullmailer/files/nullmailer.service | 17 -------- |
19 |
mail-mta/nullmailer/files/remotes.sample-1.13 | 29 ------------ |
20 |
5 files changed, 175 deletions(-) |
21 |
|
22 |
diff --git a/mail-mta/nullmailer/files/init.d-nullmailer-r4 b/mail-mta/nullmailer/files/init.d-nullmailer-r4 |
23 |
deleted file mode 100644 |
24 |
index 3a6e049f825..00000000000 |
25 |
--- a/mail-mta/nullmailer/files/init.d-nullmailer-r4 |
26 |
+++ /dev/null |
27 |
@@ -1,50 +0,0 @@ |
28 |
-#!/sbin/openrc-run |
29 |
-# Copyright 1999-2014 Gentoo Foundation |
30 |
-# Distributed under the terms of the GNU General Public License, v2 or later |
31 |
- |
32 |
-command="/usr/sbin/nullmailer-send" |
33 |
- |
34 |
-start_stop_daemon_args="--chdir /var/nullmailer --user nullmail:nullmail" |
35 |
- |
36 |
-required_dirs="/var/nullmailer" |
37 |
-pidfile="/run/nullmailer.pid" |
38 |
-command_background="true" |
39 |
-command_args="-s" |
40 |
- |
41 |
-depend() { |
42 |
- use net logger |
43 |
-} |
44 |
- |
45 |
-checkconfig() { |
46 |
- local error=0 |
47 |
- local f=/etc/nullmailer/me |
48 |
- if [ ! -s ${f} ]; then |
49 |
- eerror "${f} does not exist" |
50 |
- error=1 |
51 |
- fi |
52 |
- f=/etc/nullmailer/defaultdomain |
53 |
- if [ ! -s ${f} ]; then |
54 |
- eerror "${f} does not exist" |
55 |
- error=1 |
56 |
- fi |
57 |
- if [ ${error} -eq 1 ]; then |
58 |
- einfo "You need to run 'emerge --config nullmailer'!" |
59 |
- fi |
60 |
- if [ -e /service/nullmailer ]; then |
61 |
- eerror "Nullmailer is already running under svscan!" |
62 |
- error=2 |
63 |
- fi |
64 |
- if [ ${error} -ne 0 ]; then |
65 |
- return 1 |
66 |
- else |
67 |
- return 0 |
68 |
- fi |
69 |
-} |
70 |
- |
71 |
-start_pre() { |
72 |
- checkconfig |
73 |
-} |
74 |
- |
75 |
-stop_pre() { |
76 |
- checkconfig # to avoid init.d stopping svscan instance |
77 |
-} |
78 |
|
79 |
diff --git a/mail-mta/nullmailer/files/init.d-nullmailer-r5 b/mail-mta/nullmailer/files/init.d-nullmailer-r5 |
80 |
deleted file mode 100644 |
81 |
index 38ab1319df5..00000000000 |
82 |
--- a/mail-mta/nullmailer/files/init.d-nullmailer-r5 |
83 |
+++ /dev/null |
84 |
@@ -1,51 +0,0 @@ |
85 |
-#!/sbin/openrc-run |
86 |
-# Copyright 1999-2016 Gentoo Foundation |
87 |
-# Distributed under the terms of the GNU General Public License, v2 or later |
88 |
- |
89 |
-command="/usr/sbin/nullmailer-send" |
90 |
- |
91 |
-start_stop_daemon_args="--chdir /var/spool/nullmailer --user nullmail:nullmail" |
92 |
-start_stop_daemon_args+=" --stdout /var/log/nullmailer/nullmailer.log" |
93 |
-start_stop_daemon_args+=" --stderr /var/log/nullmailer/nullmailer.log" |
94 |
- |
95 |
-required_dirs="/var/spool/nullmailer /var/log/nullmailer" |
96 |
-pidfile="/run/nullmailer.pid" |
97 |
-command_background="true" |
98 |
- |
99 |
-depend() { |
100 |
- use net logger |
101 |
-} |
102 |
- |
103 |
-checkconfig() { |
104 |
- local error=0 |
105 |
- local f=/etc/nullmailer/me |
106 |
- if [ ! -s ${f} ]; then |
107 |
- eerror "${f} does not exist" |
108 |
- error=1 |
109 |
- fi |
110 |
- f=/etc/nullmailer/defaultdomain |
111 |
- if [ ! -s ${f} ]; then |
112 |
- eerror "${f} does not exist" |
113 |
- error=1 |
114 |
- fi |
115 |
- if [ ${error} -eq 1 ]; then |
116 |
- einfo "You need to run 'emerge --config nullmailer'!" |
117 |
- fi |
118 |
- if [ -e /service/nullmailer ]; then |
119 |
- eerror "Nullmailer is already running under svscan!" |
120 |
- error=2 |
121 |
- fi |
122 |
- if [ ${error} -ne 0 ]; then |
123 |
- return 1 |
124 |
- else |
125 |
- return 0 |
126 |
- fi |
127 |
-} |
128 |
- |
129 |
-start_pre() { |
130 |
- checkconfig |
131 |
-} |
132 |
- |
133 |
-stop_pre() { |
134 |
- checkconfig # to avoid init.d stopping svscan instance |
135 |
-} |
136 |
|
137 |
diff --git a/mail-mta/nullmailer/files/nullmailer-1.13-unistd.h.patch b/mail-mta/nullmailer/files/nullmailer-1.13-unistd.h.patch |
138 |
deleted file mode 100644 |
139 |
index 8199b9627f4..00000000000 |
140 |
--- a/mail-mta/nullmailer/files/nullmailer-1.13-unistd.h.patch |
141 |
+++ /dev/null |
142 |
@@ -1,28 +0,0 @@ |
143 |
-From 5e9316c669e752fcd9058b28952919bccd967640 Mon Sep 17 00:00:00 2001 |
144 |
-From: "Anthony G. Basile" <blueness@g.o> |
145 |
-Date: Sat, 31 Jan 2015 23:55:48 +0000 |
146 |
-Subject: [PATCH] lib/fdbuf/fdbuf.h: include <unistd.h> |
147 |
- |
148 |
-class fdobuf in lib/fdbuf/fdobuf.h makes use of uid_t and gid_t, |
149 |
-but these are defined in <unistd.h> according to POSIX. With libc's |
150 |
-that adhere strictly to standards, like musl, this breaks the build. |
151 |
- |
152 |
-We add <unistd.h> to fdbuf.h which is included by fdbuf.h. |
153 |
- |
154 |
-Signed-off-by: Anthony G. Basile <blueness@g.o> |
155 |
---- |
156 |
- lib/fdbuf/fdbuf.h | 1 + |
157 |
- 1 file changed, 1 insertion(+) |
158 |
- |
159 |
-diff --git a/lib/fdbuf/fdbuf.h b/lib/fdbuf/fdbuf.h |
160 |
-index 4b0e9cb..0054b01 100644 |
161 |
---- a/lib/fdbuf/fdbuf.h |
162 |
-+++ b/lib/fdbuf/fdbuf.h |
163 |
-@@ -20,6 +20,7 @@ |
164 |
- #include "config.h" |
165 |
- #include <string.h> |
166 |
- #include <fcntl.h> |
167 |
-+#include <unistd.h> |
168 |
- |
169 |
- #ifdef _REENTRANT |
170 |
- #include <pthread.h> |
171 |
|
172 |
diff --git a/mail-mta/nullmailer/files/nullmailer.service b/mail-mta/nullmailer/files/nullmailer.service |
173 |
deleted file mode 100644 |
174 |
index 8aae6c996d1..00000000000 |
175 |
--- a/mail-mta/nullmailer/files/nullmailer.service |
176 |
+++ /dev/null |
177 |
@@ -1,17 +0,0 @@ |
178 |
-[Unit] |
179 |
-Description=Nullmailer relay-only MTA |
180 |
-Requires=network.target |
181 |
-After=local-fs.target syslog.target |
182 |
-ConditionPathExists=/var/nullmailer/queue |
183 |
-ConditionPathExists=/etc/nullmailer/defaultdomain |
184 |
-ConditionPathExists=/etc/nullmailer/me |
185 |
- |
186 |
-[Service] |
187 |
-WorkingDirectory=/var/nullmailer |
188 |
-ExecStart=/usr/sbin/nullmailer-send -s |
189 |
-User=nullmail |
190 |
-Group=nullmail |
191 |
-Restart=always |
192 |
- |
193 |
-[Install] |
194 |
-WantedBy=multi-user.target |
195 |
|
196 |
diff --git a/mail-mta/nullmailer/files/remotes.sample-1.13 b/mail-mta/nullmailer/files/remotes.sample-1.13 |
197 |
deleted file mode 100644 |
198 |
index d04aee24ecb..00000000000 |
199 |
--- a/mail-mta/nullmailer/files/remotes.sample-1.13 |
200 |
+++ /dev/null |
201 |
@@ -1,29 +0,0 @@ |
202 |
-# Format is: HOST PROTOCOL [OPTIONS] |
203 |
-# HOST = IP or DNS |
204 |
-# PROTOCOL = smtp | qmtp |
205 |
-# OPTIONS = [--port=NUMBER] [--user] [--pass] [--starttls | --ssl [--insecure] ] |
206 |
-# |
207 |
-# Examples: |
208 |
-# A standard SMTP server: |
209 |
-# somesendmailserver.domain.com smtp |
210 |
-# |
211 |
-# A qmail server with QMQP setup: |
212 |
-# someqmailserver.domain.com qmqp |
213 |
-# |
214 |
-# A nonstandard SMTP server setup: |
215 |
-# someotherserver.domain.com smtp --port=2525 |
216 |
-# |
217 |
-# SMTP server supporting AUTH PLAIN |
218 |
-# mailserver smtp --user=<user> --pass=<pass> |
219 |
-# |
220 |
-# SMTP server supporting AUTH LOGIN |
221 |
-# mailserver smtp --user=<user> --pass=<pass> --auth-login |
222 |
-# |
223 |
-# SMTP server with smtps (legacy - use starttls instead) |
224 |
-# mailserver smtp --user=<user> --pass=<pass> --port=465 --ssl |
225 |
-# |
226 |
-# SMTP server on submission port with starttls |
227 |
-# mailserver smtp --user=<user> --pass=<pass> --port=587 --starttls |
228 |
-# |
229 |
-# SMTP server on submission port with starttls and self-signed certificate |
230 |
-# mailserver smtp --user=<user> --pass=<pass> --port=587 --starttls --insecure |