1 |
commit: a086b1c43e4acc56be0aa5d849ca494d96fef4eb |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 22 20:37:49 2020 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 22 20:37:49 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=a086b1c4 |
7 |
|
8 |
net-mail/mailbase: drop ~ppc-aix |
9 |
|
10 |
Bug: https://bugs.gentoo.org/760057 |
11 |
Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2 |
12 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
13 |
|
14 |
net-mail/mailbase/mailbase-1.1.ebuild | 4 +- |
15 |
net-mail/mailbase/mailbase-1.ebuild | 72 ----------------------------------- |
16 |
2 files changed, 2 insertions(+), 74 deletions(-) |
17 |
|
18 |
diff --git a/net-mail/mailbase/mailbase-1.1.ebuild b/net-mail/mailbase/mailbase-1.1.ebuild |
19 |
index 86c85aed5e..f77009f720 100644 |
20 |
--- a/net-mail/mailbase/mailbase-1.1.ebuild |
21 |
+++ b/net-mail/mailbase/mailbase-1.1.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2017 Gentoo Foundation |
24 |
+# Copyright 1999-2020 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/mailbase-1.1.ebuild,v 1.1 2012/10/12 21:30:42 eras Exp $ |
27 |
|
28 |
@@ -10,7 +10,7 @@ HOMEPAGE="http://www.gentoo.org/" |
29 |
|
30 |
LICENSE="GPL-2" |
31 |
SLOT="0" |
32 |
-KEYWORDS="~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
33 |
+KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
34 |
IUSE="pam" |
35 |
|
36 |
RDEPEND="pam? ( virtual/pam )" |
37 |
|
38 |
diff --git a/net-mail/mailbase/mailbase-1.ebuild b/net-mail/mailbase/mailbase-1.ebuild |
39 |
deleted file mode 100644 |
40 |
index 9e855b3392..0000000000 |
41 |
--- a/net-mail/mailbase/mailbase-1.ebuild |
42 |
+++ /dev/null |
43 |
@@ -1,72 +0,0 @@ |
44 |
-# Copyright 1999-2017 Gentoo Foundation |
45 |
-# Distributed under the terms of the GNU General Public License v2 |
46 |
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/mailbase-1.ebuild,v 1.21 2012/04/26 14:21:12 aballier Exp $ |
47 |
- |
48 |
-inherit pam eutils prefix |
49 |
- |
50 |
-DESCRIPTION="MTA layout package" |
51 |
-SRC_URI="" |
52 |
-HOMEPAGE="http://www.gentoo.org/" |
53 |
- |
54 |
-LICENSE="GPL-2" |
55 |
-SLOT="0" |
56 |
-KEYWORDS="~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
57 |
-IUSE="pam" |
58 |
- |
59 |
-RDEPEND="pam? ( virtual/pam )" |
60 |
- |
61 |
-S=${WORKDIR} |
62 |
- |
63 |
-pkg_setup() { |
64 |
- enewgroup mail 12 |
65 |
- enewuser mail 8 -1 /var/spool/mail mail |
66 |
- enewuser postmaster 14 -1 /var/spool/mail |
67 |
-} |
68 |
- |
69 |
-src_install() { |
70 |
- dodir /etc/mail |
71 |
- insinto /etc/mail |
72 |
- doins "${FILESDIR}"/aliases |
73 |
- cp "${FILESDIR}"/mailcap . |
74 |
- epatch "${FILESDIR}"/mailcap-prefix.patch |
75 |
- eprefixify mailcap |
76 |
- insinto /etc/ |
77 |
- doins mailcap |
78 |
- |
79 |
- keepdir /var/spool/mail |
80 |
- fowners root:mail /var/spool/mail |
81 |
- fperms 0775 /var/spool/mail |
82 |
- dosym /var/spool/mail /var/mail |
83 |
- |
84 |
- newpamd "${FILESDIR}"/common-pamd-include pop |
85 |
- newpamd "${FILESDIR}"/common-pamd-include imap |
86 |
- if use pam ; then |
87 |
- local p |
88 |
- for p in pop3 pop3s pops ; do |
89 |
- dosym pop /etc/pam.d/${p} || die |
90 |
- done |
91 |
- for p in imap4 imap4s imaps ; do |
92 |
- dosym imap /etc/pam.d/${p} || die |
93 |
- done |
94 |
- fi |
95 |
-} |
96 |
- |
97 |
-get_permissions_oct() { |
98 |
- if [[ ${USERLAND} = GNU ]] ; then |
99 |
- stat -c%a "${EROOT}$1" |
100 |
- elif [[ ${USERLAND} = BSD ]] ; then |
101 |
- stat -f%p "${EROOT}$1" | cut -c 3- |
102 |
- fi |
103 |
-} |
104 |
- |
105 |
-pkg_postinst() { |
106 |
- if [[ "$(get_permissions_oct /var/spool/mail)" != "775" ]] ; then |
107 |
- echo |
108 |
- ewarn "Your ${EROOT}/var/spool/mail/ directory permissions differ from" |
109 |
- ewarn " those which mailbase set when you first installed it (0775)." |
110 |
- ewarn " If you did not change them on purpose, consider running:" |
111 |
- ewarn |
112 |
- ewarn " chmod 0775 ${EROOT}/var/spool/mail/" |
113 |
- echo |
114 |
- fi |
115 |
-} |