Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/prefix:master commit in: net-mail/mailbase/, net-mail/mailbase/files/
Date: Wed, 30 Dec 2020 12:02:54
Message-Id: 1609329751.3d3a1a4f732666bff941ca5ccf3f0538647addfa.grobian@gentoo
1 commit: 3d3a1a4f732666bff941ca5ccf3f0538647addfa
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 30 12:02:31 2020 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 30 12:02:31 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=3d3a1a4f
7
8 net-mail/mailbase: migrated to gx86
9
10 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
11
12 net-mail/mailbase/files/aliases | 33 ------------
13 net-mail/mailbase/files/common-pamd | 8 ---
14 net-mail/mailbase/files/common-pamd-include | 8 ---
15 net-mail/mailbase/files/mailcap | 25 ----------
16 net-mail/mailbase/files/mailcap-prefix.patch | 32 ------------
17 net-mail/mailbase/files/mailcap.5 | 75 ----------------------------
18 net-mail/mailbase/mailbase-1.1.ebuild | 73 ---------------------------
19 net-mail/mailbase/mailbase-1.5-r1.ebuild | 48 ------------------
20 net-mail/mailbase/metadata.xml | 8 ---
21 9 files changed, 310 deletions(-)
22
23 diff --git a/net-mail/mailbase/files/aliases b/net-mail/mailbase/files/aliases
24 deleted file mode 100644
25 index ea83505916..0000000000
26 --- a/net-mail/mailbase/files/aliases
27 +++ /dev/null
28 @@ -1,33 +0,0 @@
29 -# Basic system aliases -- these MUST be present.
30 -MAILER-DAEMON: postmaster
31 -postmaster: root
32 -
33 -# General redirections for pseudo accounts.
34 -adm: root
35 -bin: root
36 -daemon: root
37 -exim: root
38 -lp: root
39 -mail: root
40 -named: root
41 -nobody: root
42 -postfix: root
43 -
44 -# Well-known aliases -- these should be filled in!
45 -# root:
46 -# operator:
47 -
48 -# Standard RFC2142 aliases
49 -abuse: postmaster
50 -ftp: root
51 -hostmaster: root
52 -news: usenet
53 -noc: root
54 -security: root
55 -usenet: root
56 -uucp: root
57 -webmaster: root
58 -www: webmaster
59 -
60 -# trap decode to catch security attacks
61 -# decode: /dev/null
62
63 diff --git a/net-mail/mailbase/files/common-pamd b/net-mail/mailbase/files/common-pamd
64 deleted file mode 100644
65 index 3e8be2a27b..0000000000
66 --- a/net-mail/mailbase/files/common-pamd
67 +++ /dev/null
68 @@ -1,8 +0,0 @@
69 -# Provided by mailbase (dont remove this line!)
70 -# Standard pam.d file for mail service packages.
71 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/files/common-pamd,v 1.1 2005/02/10 21:44:24 ferdy Exp $
72 -
73 -auth required pam_nologin.so
74 -auth required pam_stack.so service=system-auth
75 -account required pam_stack.so service=system-auth
76 -session required pam_stack.so service=system-auth
77
78 diff --git a/net-mail/mailbase/files/common-pamd-include b/net-mail/mailbase/files/common-pamd-include
79 deleted file mode 100644
80 index f2d511a602..0000000000
81 --- a/net-mail/mailbase/files/common-pamd-include
82 +++ /dev/null
83 @@ -1,8 +0,0 @@
84 -# Provided by mailbase (dont remove this line!)
85 -# Standard pam.d file for mail service packages.
86 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/files/common-pamd-include,v 1.1 2005/04/29 13:07:50 ticho Exp $
87 -
88 -auth required pam_nologin.so
89 -auth include system-auth
90 -account include system-auth
91 -session include system-auth
92
93 diff --git a/net-mail/mailbase/files/mailcap b/net-mail/mailbase/files/mailcap
94 deleted file mode 100644
95 index 7c42a55cf6..0000000000
96 --- a/net-mail/mailbase/files/mailcap
97 +++ /dev/null
98 @@ -1,25 +0,0 @@
99 -
100 -text/plain; less '%s'; needsterminal
101 -application/x-troff-man; /usr/bin/nroff -mandoc -Tlatin1; copiousoutput; print=/usr/bin/nroff -mandoc -Tlatin1 | print text/plain:-
102 -text/plain; shownonascii iso-8859-1 '%s'; description="Plain ASCII Text"; test=test "$(echo %{charset} | tr "[A-Z]" "[a-z]")" = iso-8859-1 -a "$DISPLAY" != ""
103 -text/richtext; shownonascii iso-8859-1 -e richtext -p '%s'; description="Richtext"; copiousoutput; test=test "$(echo %{charset} | tr "[A-Z]" "[a-z]")" = iso-8859-1 -a "$DISPLAY" != ""
104 -text/enriched; shownonascii iso-8859-1 -e richtext -e -p '%s'; description="Enriched Text"; copiousoutput; test=test "$(echo %{charset} | tr "[A-Z]" "[a-z]")" = iso-8859-1 -a "$DISPLAY" != ""
105 -message/partial; showpartial '%s' %{id} %{number} %{total}; description="An incomplete message"
106 -message/external-body; showexternal '%s' %{access-type} %{name} %{site} %{directory} %{mode} %{server}; needsterminal; description="A reference to data stored in an external location"; composetyped="extcompose '%s"'
107 -audio/basic; /usr/lib/mime/playaudio '%s'; description=Basic uLaw Audio; nametemplate=%s.au
108 -application/x-tar; /bin/tar tvf -; print=/bin/tar tvf - | print text/plain:-; copiousoutput
109 -application/x-gtar; /bin/tar tvzf -; print=/bin/tar tvzf - | print text/plain:-; copiousoutput
110 -text/plain; more '%s'; needsterminal
111 -application/xrx; view=xrx '%s'; description="remote X application"; test=test "$DISPLAY"; nametemplate=%s.rx
112 -text/richtext; richtext '%s'; description="Richtext"; copiousoutput
113 -text/enriched; richtext -e '%s'; description="Enriched Text"; copiousoutput
114 -text/plain; gview '%s'; edit=gvim -f '%s'; compose=gvim -f '%s'; test=test "$DISPLAY" != ""
115 -text/plain; view '%s'; edit=vim '%s'; compose=vim '%s'; needsterminal
116 -text/html; /usr/bin/lynx -force_html '%s'; needsterminal; description=HTML Text; nametemplate=%s.html
117 -text/*; less '%s'; needsterminal
118 -text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput; description=HTML Text; nametemplate=%s.html
119 -text/*; gview '%s'; edit=gvim -f '%s'; compose=gvim -f '%s'; test=test "$DISPLAY" != ""
120 -text/*; view '%s'; edit=vim '%s'; compose=vim '%s'; needsterminal
121 -text/*; more '%s'; needsterminal
122 -*/*; less '%s'; needsterminal
123 -*/*; false; print=lpr '%s'
124
125 diff --git a/net-mail/mailbase/files/mailcap-prefix.patch b/net-mail/mailbase/files/mailcap-prefix.patch
126 deleted file mode 100644
127 index 7ba9890a1e..0000000000
128 --- a/net-mail/mailbase/files/mailcap-prefix.patch
129 +++ /dev/null
130 @@ -1,32 +0,0 @@
131 ---- mailcap
132 -+++ mailcap
133 -@@ -1,23 +1,23 @@
134 -
135 - text/plain; less '%s'; needsterminal
136 --application/x-troff-man; /usr/bin/nroff -mandoc -Tlatin1; copiousoutput; print=/usr/bin/nroff -mandoc -Tlatin1 | print text/plain:-
137 -+application/x-troff-man; @GENTOO_PORTAGE_EPREFIX@/usr/bin/nroff -mandoc -Tlatin1; copiousoutput; print=@GENTOO_PORTAGE_EPREFIX@/usr/bin/nroff -mandoc -Tlatin1 | print text/plain:-
138 - text/plain; shownonascii iso-8859-1 '%s'; description="Plain ASCII Text"; test=test "$(echo %{charset} | tr "[A-Z]" "[a-z]")" = iso-8859-1 -a "$DISPLAY" != ""
139 - text/richtext; shownonascii iso-8859-1 -e richtext -p '%s'; description="Richtext"; copiousoutput; test=test "$(echo %{charset} | tr "[A-Z]" "[a-z]")" = iso-8859-1 -a "$DISPLAY" != ""
140 - text/enriched; shownonascii iso-8859-1 -e richtext -e -p '%s'; description="Enriched Text"; copiousoutput; test=test "$(echo %{charset} | tr "[A-Z]" "[a-z]")" = iso-8859-1 -a "$DISPLAY" != ""
141 - message/partial; showpartial '%s' %{id} %{number} %{total}; description="An incomplete message"
142 - message/external-body; showexternal '%s' %{access-type} %{name} %{site} %{directory} %{mode} %{server}; needsterminal; description="A reference to data stored in an external location"; composetyped="extcompose '%s"'
143 --audio/basic; /usr/lib/mime/playaudio '%s'; description=Basic uLaw Audio; nametemplate=%s.au
144 --application/x-tar; /bin/tar tvf -; print=/bin/tar tvf - | print text/plain:-; copiousoutput
145 --application/x-gtar; /bin/tar tvzf -; print=/bin/tar tvzf - | print text/plain:-; copiousoutput
146 -+audio/basic; @GENTOO_PORTAGE_EPREFIX@/usr/lib/mime/playaudio '%s'; description=Basic uLaw Audio; nametemplate=%s.au
147 -+application/x-tar; @GENTOO_PORTAGE_EPREFIX@/bin/tar tvf -; print=@GENTOO_PORTAGE_EPREFIX@/bin/tar tvf - | print text/plain:-; copiousoutput
148 -+application/x-gtar; @GENTOO_PORTAGE_EPREFIX@/bin/tar tvzf -; print=@GENTOO_PORTAGE_EPREFIX@/bin/tar tvzf - | print text/plain:-; copiousoutput
149 - text/plain; more '%s'; needsterminal
150 - application/xrx; view=xrx '%s'; description="remote X application"; test=test "$DISPLAY"; nametemplate=%s.rx
151 - text/richtext; richtext '%s'; description="Richtext"; copiousoutput
152 - text/enriched; richtext -e '%s'; description="Enriched Text"; copiousoutput
153 - text/plain; gview '%s'; edit=gvim -f '%s'; compose=gvim -f '%s'; test=test "$DISPLAY" != ""
154 - text/plain; view '%s'; edit=vim '%s'; compose=vim '%s'; needsterminal
155 --text/html; /usr/bin/lynx -force_html '%s'; needsterminal; description=HTML Text; nametemplate=%s.html
156 -+text/html; @GENTOO_PORTAGE_EPREFIX@/usr/bin/lynx -force_html '%s'; needsterminal; description=HTML Text; nametemplate=%s.html
157 - text/*; less '%s'; needsterminal
158 --text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput; description=HTML Text; nametemplate=%s.html
159 -+text/html; @GENTOO_PORTAGE_EPREFIX@/usr/bin/lynx -dump -force_html '%s'; copiousoutput; description=HTML Text; nametemplate=%s.html
160 - text/*; gview '%s'; edit=gvim -f '%s'; compose=gvim -f '%s'; test=test "$DISPLAY" != ""
161 - text/*; view '%s'; edit=vim '%s'; compose=vim '%s'; needsterminal
162 - text/*; more '%s'; needsterminal
163
164 diff --git a/net-mail/mailbase/files/mailcap.5 b/net-mail/mailbase/files/mailcap.5
165 deleted file mode 100644
166 index eec92103f8..0000000000
167 --- a/net-mail/mailbase/files/mailcap.5
168 +++ /dev/null
169 @@ -1,75 +0,0 @@
170 -.\" Hey, Emacs! This is an -*- nroff -*- source file.
171 -.TH MAILCAP 5 "Release 2" "Bellcore Prototype"
172 -.SH NAME
173 -mailcap - metamail capabilities file
174 -.SH DESCRIPTION
175 -The
176 -.I mailcap
177 -file is read by the
178 -.I metamail
179 -program to determine how to display non-text at the local site.
180 -
181 -The syntax of a mailcap file is quite simple, at least compared to termcap files. Any line that starts with "#" is a comment. Blank lines are ignored. Otherwise, each line defines a single mailcap entry for a single content type. Long lines may be continued by ending them with a backslash character, \\.
182 -
183 -Each individual mailcap entry consists of a content-type specification, a command to execute, and (possibly) a set of optional "flag" values. For example, a very simple mailcap entry (which is actually a built-in default behavior for metamail) would look like this:
184 -
185 -text/plain; cat %s
186 -
187 -The optional flags can be used to specify additional information about the mail-handling command. For example:
188 -
189 -text/plain; cat %s; copiousoutput
190 -
191 -can be used to indicate that the output of the 'cat' command may be voluminous, requiring either a scrolling window, a pager, or some other appropriate coping mechanism.
192 -
193 -The "type" field (text/plain, in the above example) is simply any legal content type name, as defined by informational RFC 1524. In practice, this is almost any string. It is the string that will be matched against the "Content\-type" header (or the value passed in with \-c) to decide if this is the mailcap entry that matches the current message. Additionally, the type field may specify a subtype (e.g. "text/ISO\-8859\-1") or a wildcard to match all subtypes (e.g. "image/*").
194 -
195 -The "command" field is any UNIX command ("cat %s" in the above example), and is used to specify the interpreter for the given type of message. It will be passed to the shell via the system(3) facility. Semicolons and backslashes within the command must be quoted with backslashes. If the command contains "%s", those two characters will be replaced by the name of a file that contains the body of the message. If it contains "%t", those two characters will be replaced by the content-type field, including the subtype, if any. (That is, if the content-type was "image/pbm; opt1=something-else", then "%t" would be replaced by "image/pbm".) If the command field contains "%{" followed by a parameter name and a closing "}", then all those characters will be replaced by the value of the named parameter, if any, from the Content-type header. Thus, in the previous example, "%{opt1}" will be replaced by "something-else". Finally, if the command contains "\\%", those two characters will b
196 e replaced by a single % character. (In fact, the backslash can be used to quote any character, including itself.)
197 -
198 -If no "%s" appears in the command field, then instead of placing the message body in a temporary file, metamail will pass the body to the command on the standard input. This is helpful in saving /tmp file space, but can be problematic for window-oriented applications under some window systems such as MGR.
199 -
200 -Two special codes can appear in the viewing command for objects of type multipart (any subtype). These are "%n" and "%F". %n will be replaced by the number of parts within the multipart object. %F will be replaced by a series of arguments, two for each part, giving first the content-type and then the name of the temporary file where the decoded part has been stored. In addition, for each file created by %F, a second file is created, with the same name followed by "H", which contains the header information for that body part. This will not be needed by most multipart handlers, but it is there if you ever need it.
201 -
202 -The "notes=xxx" field is an uninterpreted string that is used to specify the name of the person who installed this entry in the mailcap file. (The "xxx" may be replaced by any text string.)
203 -
204 -The "test=xxx" field is a command that is executed to determine whether or not the mailcap line actually applies. That is, if the content-type field matches the content-type on the message, but a "test=" field is present, then the test must succeed before the mailcap line is considered to "match" the message being viewed. The command may be any UNIX command, using the same syntax and the same %-escapes as for the viewing command, as described above. A command is considered to succeed if it exits with a zero exit status, and to fail otherwise.
205 -
206 -The "print=xxx" field is a command that is executed to print the data instead of display it interactively. This behavior is usually a consequence of invoking metamail with the "\-h" switch.
207 -
208 -The "textualnewlines" field can be used in the rather obscure case where metamail's default rules for treating newlines in base64-encoded data are unsatisfactory. By default, metamail will translate CRLF to the local newline character in decoded base64 output if the content-type is "text" (any subtype), but will not do so otherwise. A mailcap entry with a field of "textualnewlines=1" will force such translation for the specified content-type, while "textualnewlines=0" will guarantee that the translation does not take place even for textual content-types.
209 -
210 -The "compose" field may be used to specify a program that can be used to compose a new body or body part in the given format. Its intended use is to support mail composing agents that support the composition of multiple types of mail using external composing agents. As with the view-command, the compose command will be executed after replacing certain escape sequences starting with "%". In particular, %s should be replaced by the name of a file to which the composed data is to be written by the specified composing program, thus allowing the calling program (e.g. metamail) to tell the called program where to store the composed data. If %s does not appear, then the composed data will be assumed to be written by the composing programs to standard output. The result of the composing program may be data that is NOT yet suitable for mail transport -- that is, a Content-Transfer-Encoding may still need to be applied to the data.
211 -
212 -The "composetyped" field is similar to the "compose" field, but is to be used when the composing program needs to specify the Content-type header field to be applied to the composed data. The "compose" field is simpler, and is preferred for use with existing (non-mail-oriented) programs for composing data in a given format. The "composetyped" field is necessary when the Content-type information must include auxiliary parameters, and the composition program must then know enough about mail formats to produce output that includes the mail type information, and to apply any necessary Content-Transfer-Encoding. Conceptually, "compose" specifies a program that simply outputs the specified type of data in its raw form, while "composetyped" specifies a program that outputs the data as a MIME object, with all necessary Content-* headers already in place.
213 -
214 -.TP 8
215 -.B needsterminal
216 -If this flag is given, the named interpreter needs to interact with the user on a terminal. In some environments (e.g. a window-oriented mail reader under X11) this will require the creation of a new terminal emulation window, while in most environments it will not. If the mailcap entry specifies "needsterminal" and metamail is not running on a terminal (as determined by isatty(3), the \-x option, and the MM_NOTTTY environment variable) then metamail will try to run the command in a new terminal emulation window. Currently, metamail knows how to create new windows under the X11, SunTools, and WM window systems.
217 -.TP 8
218 -.B copiousoutput
219 -This flag should be given whenever the interpreter is capable of producing more than a few lines of output on stdout, and does no interaction with the user. If the mailcap entry specifies copiousoutput, and pagination has been requested via the "\-p" command, then the output of the command being executed will be piped through a pagination program ("more" by default, but this can be overridden with the METAMAIL_PAGER environment variable).
220 -.SH BUILT-IN CONTENT-TYPE SUPPORT
221 -The metamail program has built-in support for a few key content-types. In particular, it supports the text type, the multipart and multipart/alternative type, and the message/rfc822 types. This support is incomplete for many subtypes -- for example, it only supports US-ASCII text in general. This kind of built-in support can be OVERRIDDEN by an entry in any mailcap file on the user's search path. Metamail also has rudimentary built-in support for types that are totally unrecognized -- i.e. for which no mailcap entry or built-in handler exists. For such unrecognized types, metamail will write a file with a "clean" copy of the data -- i.e. a copy in which all mail headers have been removed, and in which any 7-bit transport encoding has been decoded.
222 -.SH FILES
223 -$HOME/.mailcap:/etc/mailcap:/usr/share/etc/mailcap:/usr/local/etc/mailcap -- default path for mailcap files.
224 -.SH SEE ALSO
225 -.BR run-mailcap "(1)",
226 -.BR mailcap.order "(5)",
227 -.BR update-mime "(8)"
228 -
229 -RFC 1524 (<http://tools.ietf.org/html/rfc1524>)
230 -
231 -.SH COPYRIGHT
232 -Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore)
233 -
234 -Permission to use, copy, modify, and distribute this material
235 -for any purpose and without fee is hereby granted, provided
236 -that the above copyright notice and this permission notice
237 -appear in all copies, and that the name of Bellcore not be
238 -used in advertising or publicity pertaining to this
239 -material without the specific, prior written permission
240 -of an authorized representative of Bellcore. BELLCORE
241 -MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY
242 -OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS",
243 -WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
244 -.SH AUTHOR
245 -Nathaniel S. Borenstein
246
247 diff --git a/net-mail/mailbase/mailbase-1.1.ebuild b/net-mail/mailbase/mailbase-1.1.ebuild
248 deleted file mode 100644
249 index f77009f720..0000000000
250 --- a/net-mail/mailbase/mailbase-1.1.ebuild
251 +++ /dev/null
252 @@ -1,73 +0,0 @@
253 -# Copyright 1999-2020 Gentoo Authors
254 -# Distributed under the terms of the GNU General Public License v2
255 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/mailbase-1.1.ebuild,v 1.1 2012/10/12 21:30:42 eras Exp $
256 -
257 -inherit pam eutils user prefix
258 -
259 -DESCRIPTION="MTA layout package"
260 -SRC_URI=""
261 -HOMEPAGE="http://www.gentoo.org/"
262 -
263 -LICENSE="GPL-2"
264 -SLOT="0"
265 -KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
266 -IUSE="pam"
267 -
268 -RDEPEND="pam? ( virtual/pam )"
269 -
270 -S=${WORKDIR}
271 -
272 -pkg_setup() {
273 - enewgroup mail 12
274 - enewuser mail 8 -1 /var/spool/mail mail
275 - enewuser postmaster 14 -1 /var/spool/mail
276 -}
277 -
278 -src_install() {
279 - dodir /etc/mail
280 - insinto /etc/mail
281 - doins "${FILESDIR}"/aliases
282 - cp "${FILESDIR}"/mailcap .
283 - epatch "${FILESDIR}"/mailcap-prefix.patch
284 - eprefixify mailcap
285 - insinto /etc/
286 - doins mailcap
287 -
288 - keepdir /var/spool/mail
289 - fowners root:mail /var/spool/mail
290 - fperms 03775 /var/spool/mail
291 - dosym /var/spool/mail /var/mail
292 -
293 - newpamd "${FILESDIR}"/common-pamd-include pop
294 - newpamd "${FILESDIR}"/common-pamd-include imap
295 - if use pam ; then
296 - local p
297 - for p in pop3 pop3s pops ; do
298 - dosym pop /etc/pam.d/${p} || die
299 - done
300 - for p in imap4 imap4s imaps ; do
301 - dosym imap /etc/pam.d/${p} || die
302 - done
303 - fi
304 -}
305 -
306 -get_permissions_oct() {
307 - if [[ ${USERLAND} = GNU ]] ; then
308 - stat -c%a "${EROOT}$1"
309 - elif [[ ${USERLAND} = BSD ]] ; then
310 - stat -f%p "${EROOT}$1" | cut -c 3-
311 - fi
312 -}
313 -
314 -pkg_postinst() {
315 - if [[ "$(get_permissions_oct /var/spool/mail)" != "3775" ]] ; then
316 - echo
317 - ewarn "Your ${EROOT}/var/spool/mail/ directory permissions differ from"
318 - ewarn " those which mailbase wants to set it to (03775)."
319 - ewarn " If you did not change them on purpose, consider running:"
320 - ewarn
321 - ewarn " chown root:mail ${EROOT}/var/spool/mail/"
322 - ewarn " chmod 03775 ${EROOT}/var/spool/mail/"
323 - echo
324 - fi
325 -}
326
327 diff --git a/net-mail/mailbase/mailbase-1.5-r1.ebuild b/net-mail/mailbase/mailbase-1.5-r1.ebuild
328 deleted file mode 100644
329 index 64100883f0..0000000000
330 --- a/net-mail/mailbase/mailbase-1.5-r1.ebuild
331 +++ /dev/null
332 @@ -1,48 +0,0 @@
333 -# Copyright 1999-2020 Gentoo Authors
334 -# Distributed under the terms of the GNU General Public License v2
335 -
336 -EAPI=7
337 -inherit pam prefix
338 -
339 -DESCRIPTION="MTA layout package"
340 -SRC_URI=""
341 -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
342 -
343 -LICENSE="GPL-2"
344 -SLOT="0"
345 -KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
346 -IUSE="pam"
347 -
348 -RDEPEND="
349 - acct-group/mail
350 - acct-user/mail
351 - acct-user/postmaster
352 - pam? ( sys-libs/pam )
353 - !<net-mail/metamail-2.7.53.3-r2"
354 -
355 -S=${WORKDIR}
356 -
357 -src_install() {
358 - dodir /etc/mail
359 - insinto /etc/mail
360 - doins "${FILESDIR}"/aliases
361 - cp "${FILESDIR}"/mailcap .
362 - hprefixify mailcap
363 - insinto /etc
364 - doins mailcap
365 - doman "${FILESDIR}"/mailcap.5
366 -
367 - dosym spool/mail /var/mail
368 -
369 - newpamd "${FILESDIR}"/common-pamd-include pop
370 - newpamd "${FILESDIR}"/common-pamd-include imap
371 - if use pam ; then
372 - local p
373 - for p in pop3 pop3s pops ; do
374 - dosym pop /etc/pam.d/${p}
375 - done
376 - for p in imap4 imap4s imaps ; do
377 - dosym imap /etc/pam.d/${p}
378 - done
379 - fi
380 -}
381
382 diff --git a/net-mail/mailbase/metadata.xml b/net-mail/mailbase/metadata.xml
383 deleted file mode 100644
384 index 9a6d80e5da..0000000000
385 --- a/net-mail/mailbase/metadata.xml
386 +++ /dev/null
387 @@ -1,8 +0,0 @@
388 -<?xml version="1.0" encoding="UTF-8"?>
389 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
390 -<pkgmetadata>
391 -<maintainer type="project">
392 - <email>net-mail@g.o</email>
393 - <name>Net-Mail</name>
394 -</maintainer>
395 -</pkgmetadata>