1 |
commit: 31d2fc131967cf504fe6e816b5f8697868511b90 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 13 16:06:13 2016 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 13 16:06:20 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31d2fc13 |
7 |
|
8 |
mail-client/mutt: remove old ebuilds |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
mail-client/mutt/Manifest | 6 - |
13 |
mail-client/mutt/mutt-1.6.1-r1.ebuild | 271 ---------------------------------- |
14 |
mail-client/mutt/mutt-1.6.2.ebuild | 260 -------------------------------- |
15 |
mail-client/mutt/mutt-1.7.0-r5.ebuild | 266 --------------------------------- |
16 |
4 files changed, 803 deletions(-) |
17 |
|
18 |
diff --git a/mail-client/mutt/Manifest b/mail-client/mutt/Manifest |
19 |
index cdfec20..ff7c8bd 100644 |
20 |
--- a/mail-client/mutt/Manifest |
21 |
+++ b/mail-client/mutt/Manifest |
22 |
@@ -2,11 +2,5 @@ DIST mutt-1.5.23-gentoo-patches-r7.tar.bz2 167553 SHA256 354bd25bdba4f58b4bfcbc8 |
23 |
DIST mutt-1.5.23.tar.gz 3782032 SHA256 3af0701e57b9e1880ed3a0dee34498a228939e854a16cdccd24e5e502626fd37 SHA512 f1b4a7230253651857f61bd7215cce870a613012f613d4c907d401556083726c8ed7d429d57a8bf858c3b5b23683380d4c1494540d86ca80813e22cb6b95bc1e WHIRLPOOL b5a676d204aece8c572d57a027fa5a402b7afe8e5b7d4c83b2d1b1612eb0ac5cb58cd225757732a017f03444e0ea42dacffcf1cf2d46c18ae92d7d3306059c61 |
24 |
DIST mutt-1.5.24-gentoo-patches-r1.tar.bz2 118546 SHA256 411ad728404f4e7743b82bb79020776ce5bdf614772c387b15992e14f7c444d2 SHA512 c19e6627683b91119bbbfcd5b3250cb3fb79ff9d62b45861002c50ac232f65447744313921fe10a517efb9cb93f5638615d5b8ce1dd946fab3083bd9eaffefc1 WHIRLPOOL cbd1a3858e3b187117e26718066a2f2dd9c690aca3a77b050142d12b96599adada1a8a723b91b000f9eda92d9ceed284a1ac5cdd243de8085a233f01fac003d7 |
25 |
DIST mutt-1.5.24.tar.gz 3897115 SHA256 a292ca765ed7b19db4ac495938a3ef808a16193b7d623d65562bb8feb2b42200 SHA512 f7fe7edf9d1701a8e92761b1f5e6ef2e3a3b513af7898872cbe36a8800714cb76945788a60d2008820c57bc5344a4147e2686f690da42cfc8a912e3a432452b1 WHIRLPOOL 35408cabab100e688f8c6d0d598f79144b7c72fb31f41a720acb9a6381e7ca94d66e640fe1178b911cfb16dfde4c982362c4c78ea203aef3a3dbcba09dcdc023 |
26 |
-DIST mutt-1.6.1-gentoo-patches-r5.tar.xz 173228 SHA256 cce80ae3b385ed43bedb3674859cb971644c71dde2ac4b00ce4fd94e52eda6a1 SHA512 c328fa30cf0e3ed14753d0c95daac62d295dfb5c4482323b7bfdc7af89e3d4563678101e74d39c8cdccd40f49e8fca5becd1a211c75e44f66e85190bc8b0ee64 WHIRLPOOL 9893878cc6c262b0564920b71d2e906c2f8b0c199e3f7e6883779be63b0af03fdc7a581bc8295c038fb2184d7114a8446356785eb0dfb2680e747e897f6983b4 |
27 |
-DIST mutt-1.6.1.tar.gz 3956840 SHA256 98b26cecc6b1713082fc880344fa345c20bd7ded6459abe18c84429c7cf8ed20 SHA512 a45c7bc681ea31a6ee37e95a11f3ec84f580478367250c80eaf5aceeba87e34411346a8b7e80a0f236c507cec1199ddc3ccf4596b81d7e31c235099dccdd4fd5 WHIRLPOOL 8cc8e699fbf1832eb411f4f3d59eac57450afade4ddfee3ecb89c0bbaaa92414779f8f2015ec05a9ed19deb88b40298b2f786afb91acbfc2a44a3f8f4876a712 |
28 |
-DIST mutt-1.6.2-patches-neomutt-20160710.tar.gz 498925 SHA256 9bceb0cbc66ccbdebe9d6e043125a4589586bc8bfded61168f9ed0a9956f6d67 SHA512 1d9aa8f29cef200c84fbb0e33b1c6d5f9abffb1b038bacf1a1da3b35e9faa2dc6cc43656eaf5a8e3f6ee2af3f999ccee54ce0e842950ac7b7036e83fdbcb8d04 WHIRLPOOL fae79c8d419f8c3cc1e527c9b4f20c2b1257c3e86fac066f6fc9dafe8262417a181685f8d3f2cabfed34fcb1dd42077171a89ac1f04b0ca6d7f8ee74d3e16ed6 |
29 |
-DIST mutt-1.6.2.tar.gz 3956745 SHA256 c5d02ef06486cdf04f9eeb9e9d7994890d8dfa7f47e7bfeb53a2a67da2ac1d8e SHA512 c4348ba55459a2f9d5bedda1ec63b7520c0bdcd285bf791972dbd11a947be47e7c88b02c7d244e65c7c0f1be252c43240b570457a5812bf8160611bba7b01916 WHIRLPOOL 4adf29c59dffa50f5e7c8500a81f89ddbda894ade20bc3110cbedefbcdd7db3c2e84aae78d0cb4bc74930a94256738a3b0b1880b840fd81ec433b23b609887de |
30 |
-DIST mutt-1.7.0.tar.gz 4019567 SHA256 1d3e987433d8c92ef88a604f4dcefdb35a86ce73f3eff0157e2e491e5b55b345 SHA512 60ff00f268285c12b48e39ca0b5a8bd7e09323255874a6211edc94218ed191ad24ad437dd9c180c45ea6d5a9f163d04bb5515ddf3488c92f4e9411588c550612 WHIRLPOOL 90d28dcb1b522e4cf1ce995e7dad69b5546f26e6878f7d1c2785c9e7e2c12fdfd464c7b2490fa7efa873aa22cf117f7369b1a69adfb1c9efe13e61ed15e27e05 |
31 |
DIST mutt-1.7.1.tar.gz 4025008 SHA256 e9c6f88e83d48690033f0d862a70293ac746286b77241554f5448bc23bd0d6df SHA512 c0b0be7ba792ecf42bb63c31aa03889b4998474a7cac9a839df3041b0bb72766da140bbb38e70eab5f78f4503d684c9c20620c599c0970ec6933624d22f4613d WHIRLPOOL f63a8e8fd0a403f596c041f2afc8e73db7a0b6ba48749e3cdc6663aae9f114589056cc3ddef7dc5c9e1a9282b607e4f76445ecdc6213cc3a337f8cf2284ba2e5 |
32 |
-DIST mutt-gentoo-1.7.0-patches-r5.tar.xz 157172 SHA256 d9370439e6200d75ba9c6705561a408325c07b18f248f59457b45fa09cb080b0 SHA512 758a189ec33d346f4dcc9afad7d5d8b7092c89917a7fe40fbb75803fde0469d8dd197bc360d6e7a3897210973846bec6f7451bee3e4c6b1296e0d8fe8d0db39d WHIRLPOOL 6d26015f7827b182941b9903a2ee0ddaeee2788047c50fb8e67c4466f8403a83252139185cddd72058f790c465783f4e1e637c6fb936a3b25a58f6062458de27 |
33 |
DIST mutt-gentoo-1.7.1-patches-r1.tar.xz 151368 SHA256 f70d1cd72fbba24b0ab18fcd60a43c61c416b17185c740f97f7a8c3dda182acc SHA512 3ba00cccea6029986db2c75343a86ed6a1da8e55c4066c7a99a54a8612c1e5d8512e5d58e49be9d6721c8a989775042415ec49055680ac120d267a304bf41f4c WHIRLPOOL c120f0108d6323e4d1b1597f3a491c2c842825aabf3ac876ab2c7d5c8360a8465ec46eea1b1a5953a28fcf91439971c053e4b806e3dbdf34d5a966f827944ff2 |
34 |
|
35 |
diff --git a/mail-client/mutt/mutt-1.6.1-r1.ebuild b/mail-client/mutt/mutt-1.6.1-r1.ebuild |
36 |
deleted file mode 100644 |
37 |
index edd3d08..00000000 |
38 |
--- a/mail-client/mutt/mutt-1.6.1-r1.ebuild |
39 |
+++ /dev/null |
40 |
@@ -1,271 +0,0 @@ |
41 |
-# Copyright 1999-2016 Gentoo Foundation |
42 |
-# Distributed under the terms of the GNU General Public License v2 |
43 |
-# $Id$ |
44 |
- |
45 |
-EAPI="6" |
46 |
- |
47 |
-inherit eutils flag-o-matic autotools |
48 |
- |
49 |
-PATCHSET_REV="-r5" |
50 |
- |
51 |
-DESCRIPTION="A small but very powerful text-based mail client" |
52 |
-HOMEPAGE="http://www.mutt.org/" |
53 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz |
54 |
- https://bitbucket.org/${PN}/${PN}/downloads/${P}.tar.gz |
55 |
- ftp://ftp.mutt.org/pub/mutt/${P}.tar.gz |
56 |
- mirror://gentoo/${P}-gentoo-patches${PATCHSET_REV}.tar.xz |
57 |
- https://dev.gentoo.org/~grobian/distfiles/${P}-gentoo-patches${PATCHSET_REV}.tar.xz" |
58 |
-IUSE="berkdb crypt debug doc gdbm gnutls gpg idn imap kerberos libressl mbox nls nntp pop qdbm sasl selinux sidebar slang smime smtp ssl tokyocabinet" |
59 |
-SLOT="0" |
60 |
-LICENSE="GPL-2" |
61 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
62 |
-CDEPEND=" |
63 |
- app-misc/mime-types |
64 |
- nls? ( virtual/libintl ) |
65 |
- tokyocabinet? ( dev-db/tokyocabinet ) |
66 |
- !tokyocabinet? ( |
67 |
- qdbm? ( dev-db/qdbm ) |
68 |
- !qdbm? ( |
69 |
- gdbm? ( sys-libs/gdbm ) |
70 |
- !gdbm? ( berkdb? ( >=sys-libs/db-4 ) ) |
71 |
- ) |
72 |
- ) |
73 |
- imap? ( |
74 |
- gnutls? ( >=net-libs/gnutls-1.0.17 ) |
75 |
- !gnutls? ( |
76 |
- ssl? ( |
77 |
- !libressl? ( >=dev-libs/openssl-0.9.6:0 ) |
78 |
- libressl? ( dev-libs/libressl ) |
79 |
- ) |
80 |
- ) |
81 |
- sasl? ( >=dev-libs/cyrus-sasl-2 ) |
82 |
- ) |
83 |
- kerberos? ( virtual/krb5 ) |
84 |
- pop? ( |
85 |
- gnutls? ( >=net-libs/gnutls-1.0.17 ) |
86 |
- !gnutls? ( |
87 |
- ssl? ( |
88 |
- !libressl? ( >=dev-libs/openssl-0.9.6:0 ) |
89 |
- libressl? ( dev-libs/libressl ) |
90 |
- ) |
91 |
- ) |
92 |
- sasl? ( >=dev-libs/cyrus-sasl-2 ) |
93 |
- ) |
94 |
- smtp? ( |
95 |
- gnutls? ( >=net-libs/gnutls-1.0.17 ) |
96 |
- !gnutls? ( |
97 |
- ssl? ( |
98 |
- !libressl? ( >=dev-libs/openssl-0.9.6:0 ) |
99 |
- libressl? ( dev-libs/libressl ) |
100 |
- ) |
101 |
- ) |
102 |
- sasl? ( >=dev-libs/cyrus-sasl-2 ) |
103 |
- ) |
104 |
- idn? ( net-dns/libidn ) |
105 |
- gpg? ( >=app-crypt/gpgme-0.9.0 ) |
106 |
- smime? ( |
107 |
- !libressl? ( >=dev-libs/openssl-0.9.6:0 ) |
108 |
- libressl? ( dev-libs/libressl ) |
109 |
- ) |
110 |
- slang? ( sys-libs/slang ) |
111 |
- !slang? ( >=sys-libs/ncurses-5.2:0 ) |
112 |
-" |
113 |
-DEPEND="${CDEPEND} |
114 |
- net-mail/mailbase |
115 |
- doc? ( |
116 |
- dev-libs/libxml2 |
117 |
- dev-libs/libxslt |
118 |
- app-text/docbook-xsl-stylesheets |
119 |
- || ( www-client/lynx www-client/w3m www-client/elinks ) |
120 |
- )" |
121 |
-RDEPEND="${CDEPEND} |
122 |
- selinux? ( sec-policy/selinux-mutt ) |
123 |
-" |
124 |
-PATCHDIR="${WORKDIR}"/${P}-gentoo-patches${PATCHSET_REV} |
125 |
- |
126 |
-src_prepare() { |
127 |
- # Post-release hot-fixes grabbed from HG, this is what all following |
128 |
- # patches are based on in my Mercurial patchqueue (mq). |
129 |
- # If you ever take over or need to modify patches here, just check |
130 |
- # out the gentoo branch(es) of Gentoo's Mutt Mercurial clone, and |
131 |
- # the patchqueue as it'll save you a lot of work. |
132 |
- # http://hg.code.sf.net/p/gentoomutt/code/ |
133 |
- # http://hg.code.sf.net/p/gentoomuttpatches/code/ |
134 |
- for rev in $(eval echo {0..${PR#r}}) ; do |
135 |
- local revpatch="${PATCHDIR}"/mutt-gentoo-${PV}-r${rev}.patch |
136 |
- [[ -e ${revpatch} ]] && \ |
137 |
- epatch "${revpatch}" |
138 |
- done |
139 |
- # fix compilation with ncurses[tinfo], #459260 |
140 |
- epatch "${PATCHDIR}"/ncurses-tinfo.patch |
141 |
- |
142 |
- # this patch is non-generic and only works because we use a sysconfdir |
143 |
- # different from the one used by the mailbase ebuild |
144 |
- use prefix && epatch "${PATCHDIR}"/prefix-mailcap.patch |
145 |
- |
146 |
- # must have fixes to compile or behave correctly, upstream |
147 |
- # ignores, disagrees or simply doesn't respond/apply |
148 |
- epatch "${PATCHDIR}"/bdb-prefix.patch # fix bdb detection |
149 |
- # same category, but functional bits |
150 |
- epatch "${PATCHDIR}"/dont-reveal-bbc.patch |
151 |
- |
152 |
- # the big feature patches that upstream doesn't want to include, but |
153 |
- # nearly every distro has due to their usefulness |
154 |
- for p in "${PATCHDIR}"/[0-9][0-9]-*.patch ; do |
155 |
- epatch "${p}" |
156 |
- done |
157 |
- |
158 |
- local upatches= |
159 |
- # allow user patches |
160 |
- eapply_user && upatches=" with user patches" |
161 |
- |
162 |
- # patch version string for bug reports |
163 |
- sed -i -e 's/"Mutt %s (%s)"/"Mutt %s (%s, Gentoo '"${PVR}${upatches}"')"/' \ |
164 |
- muttlib.c || die "failed patching in Gentoo version" |
165 |
- |
166 |
- # many patches touch the buildsystem, we always need this |
167 |
- AT_M4DIR="m4" eautoreconf |
168 |
- |
169 |
- # the configure script contains some "cleverness" whether or not to setgid |
170 |
- # the dotlock program, resulting in bugs like #278332 |
171 |
- sed -i -e 's/@DOTLOCK_GROUP@//' \ |
172 |
- Makefile.in || die "sed failed" |
173 |
- |
174 |
- # don't just build documentation (lengthy process, with big dependencies) |
175 |
- if use !doc ; then |
176 |
- sed -i -e '/SUBDIRS =/s/doc//' Makefile.in || die |
177 |
- fi |
178 |
-} |
179 |
- |
180 |
-src_configure() { |
181 |
- local myconf=" |
182 |
- $(use_enable crypt pgp) \ |
183 |
- $(use_enable debug) \ |
184 |
- $(use_enable gpg gpgme) \ |
185 |
- $(use_enable imap) \ |
186 |
- $(use_enable nls) \ |
187 |
- $(use_enable nntp) \ |
188 |
- $(use_enable pop) \ |
189 |
- $(use_enable sidebar) \ |
190 |
- $(use_enable smime) \ |
191 |
- $(use_enable smtp) \ |
192 |
- $(use_with idn) \ |
193 |
- $(use_with kerberos gss) \ |
194 |
- $(use slang && echo --with-slang=${EPREFIX}/usr) \ |
195 |
- $(use !slang && echo --with-curses=${EPREFIX}/usr) \ |
196 |
- --enable-compressed \ |
197 |
- --enable-external-dotlock \ |
198 |
- --enable-nfs-fix \ |
199 |
- --sysconfdir=${EPREFIX}/etc/${PN} \ |
200 |
- --with-docdir=${EPREFIX}/usr/share/doc/${PN}-${PVR} \ |
201 |
- --with-regex \ |
202 |
- --with-exec-shell=${EPREFIX}/bin/sh" |
203 |
- |
204 |
- case $CHOST in |
205 |
- *-solaris*) |
206 |
- # Solaris has no flock in the standard headers |
207 |
- myconf+=" --enable-fcntl --disable-flock" |
208 |
- # wchar_t depends on locale |
209 |
- myconf+=" --without-wc-funcs" |
210 |
- ;; |
211 |
- *) |
212 |
- myconf+=" --disable-fcntl --enable-flock" |
213 |
- ;; |
214 |
- esac |
215 |
- |
216 |
- # mutt prioritizes gdbm over bdb, so we will too. |
217 |
- # hcache feature requires at least one database is in USE. |
218 |
- if use tokyocabinet; then |
219 |
- myconf="${myconf} --enable-hcache \ |
220 |
- --with-tokyocabinet --without-qdbm --without-gdbm --without-bdb" |
221 |
- elif use qdbm; then |
222 |
- myconf="${myconf} --enable-hcache \ |
223 |
- --without-tokyocabinet --with-qdbm --without-gdbm --without-bdb" |
224 |
- elif use gdbm ; then |
225 |
- myconf="${myconf} --enable-hcache \ |
226 |
- --without-tokyocabinet --without-qdbm --with-gdbm --without-bdb" |
227 |
- elif use berkdb; then |
228 |
- myconf="${myconf} --enable-hcache \ |
229 |
- --without-tokyocabinet --without-qdbm --without-gdbm --with-bdb" |
230 |
- else |
231 |
- myconf="${myconf} --disable-hcache \ |
232 |
- --without-tokyocabinet --without-qdbm --without-gdbm --without-bdb" |
233 |
- fi |
234 |
- |
235 |
- # there's no need for gnutls, ssl or sasl without socket support |
236 |
- if use pop || use imap || use smtp ; then |
237 |
- if use gnutls; then |
238 |
- myconf="${myconf} --with-gnutls" |
239 |
- elif use ssl; then |
240 |
- myconf="${myconf} --with-ssl" |
241 |
- fi |
242 |
- # not sure if this should be mutually exclusive with the other two |
243 |
- myconf="${myconf} $(use_with sasl)" |
244 |
- else |
245 |
- myconf="${myconf} --without-gnutls --without-ssl --without-sasl" |
246 |
- fi |
247 |
- |
248 |
- if use mbox; then |
249 |
- myconf="${myconf} --with-mailpath=${EPREFIX}/var/spool/mail" |
250 |
- else |
251 |
- myconf="${myconf} --with-homespool=Maildir" |
252 |
- fi |
253 |
- |
254 |
- econf ${myconf} || die "configure failed" |
255 |
-} |
256 |
- |
257 |
-src_install() { |
258 |
- emake DESTDIR="${D}" install || die "install failed" |
259 |
- if use mbox; then |
260 |
- insinto /etc/mutt |
261 |
- newins "${FILESDIR}"/Muttrc.mbox Muttrc |
262 |
- else |
263 |
- insinto /etc/mutt |
264 |
- doins "${FILESDIR}"/Muttrc |
265 |
- fi |
266 |
- |
267 |
- # A newer file is provided by app-misc/mime-types. So we link it. |
268 |
- rm "${ED}"/etc/${PN}/mime.types |
269 |
- dosym /etc/mime.types /etc/${PN}/mime.types |
270 |
- |
271 |
- # A man-page is always handy, so fake one |
272 |
- if use !doc; then |
273 |
- emake -C doc DESTDIR="${D}" muttrc.man || die |
274 |
- # make the fake slightly better, bug #413405 |
275 |
- sed -e 's#@docdir@/manual.txt#http://www.mutt.org/doc/devel/manual.html#' \ |
276 |
- -e 's#in @docdir@,#at http://www.mutt.org/,#' \ |
277 |
- -e "s#@sysconfdir@#${EPREFIX}/etc/${PN}#" \ |
278 |
- -e "s#@bindir@#${EPREFIX}/usr/bin#" \ |
279 |
- doc/mutt.man > mutt.1 |
280 |
- cp doc/muttbug.man flea.1 |
281 |
- cp doc/muttrc.man muttrc.5 |
282 |
- doman mutt.1 flea.1 muttrc.5 |
283 |
- else |
284 |
- # nuke manpages that should be provided by an MTA, bug #177605 |
285 |
- rm "${ED}"/usr/share/man/man5/{mbox,mmdf}.5 \ |
286 |
- || ewarn "failed to remove files, please file a bug" |
287 |
- fi |
288 |
- |
289 |
- if use !prefix ; then |
290 |
- fowners root:mail /usr/bin/mutt_dotlock |
291 |
- fperms g+s /usr/bin/mutt_dotlock |
292 |
- fi |
293 |
- |
294 |
- dodoc BEWARE COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO VERSION |
295 |
-} |
296 |
- |
297 |
-pkg_postinst() { |
298 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
299 |
- echo |
300 |
- elog "If you are new to mutt you may want to take a look at" |
301 |
- elog "the Gentoo QuickStart Guide to Mutt E-Mail:" |
302 |
- elog " https://wiki.gentoo.org/wiki/Mutt" |
303 |
- echo |
304 |
- elif use sidebar ; then |
305 |
- echo |
306 |
- elog "The sidebar patch has changed config names, please see" |
307 |
- elog "the following page for a list of new names:" |
308 |
- elog "http://www.neomutt.org/sidebar-intro.html#intro-sidebar-config-changes" |
309 |
- echo |
310 |
- fi |
311 |
-} |
312 |
|
313 |
diff --git a/mail-client/mutt/mutt-1.6.2.ebuild b/mail-client/mutt/mutt-1.6.2.ebuild |
314 |
deleted file mode 100644 |
315 |
index 6562b57..00000000 |
316 |
--- a/mail-client/mutt/mutt-1.6.2.ebuild |
317 |
+++ /dev/null |
318 |
@@ -1,260 +0,0 @@ |
319 |
-# Copyright 1999-2016 Gentoo Foundation |
320 |
-# Distributed under the terms of the GNU General Public License v2 |
321 |
-# $Id$ |
322 |
- |
323 |
-EAPI="6" |
324 |
- |
325 |
-inherit eutils flag-o-matic autotools |
326 |
- |
327 |
-NEOMUTT="neomutt-20160710" |
328 |
- |
329 |
-DESCRIPTION="A small but very powerful text-based mail client" |
330 |
-HOMEPAGE="http://www.mutt.org/" |
331 |
-SRC_URI="ftp://ftp.mutt.org/pub/mutt/${P}.tar.gz |
332 |
- https://bitbucket.org/${PN}/${PN}/downloads/${P}.tar.gz |
333 |
- https://github.com/neomutt/integration/archive/${NEOMUTT}.tar.gz -> ${P}-patches-${NEOMUTT}.tar.gz" |
334 |
-IUSE="berkdb crypt debug doc gdbm gnutls gpg idn imap kerberos libressl mbox nls nntp notmuch pop qdbm sasl selinux sidebar slang smime smtp ssl tokyocabinet" |
335 |
-SLOT="0" |
336 |
-LICENSE="GPL-2" |
337 |
-KEYWORDS="~alpha ~amd64 ~x86 ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
338 |
-CDEPEND=" |
339 |
- app-misc/mime-types |
340 |
- nls? ( virtual/libintl ) |
341 |
- tokyocabinet? ( dev-db/tokyocabinet ) |
342 |
- !tokyocabinet? ( |
343 |
- qdbm? ( dev-db/qdbm ) |
344 |
- !qdbm? ( |
345 |
- gdbm? ( sys-libs/gdbm ) |
346 |
- !gdbm? ( berkdb? ( >=sys-libs/db-4 ) ) |
347 |
- ) |
348 |
- ) |
349 |
- imap? ( |
350 |
- gnutls? ( >=net-libs/gnutls-1.0.17 ) |
351 |
- !gnutls? ( |
352 |
- ssl? ( |
353 |
- !libressl? ( >=dev-libs/openssl-0.9.6:0 ) |
354 |
- libressl? ( dev-libs/libressl ) |
355 |
- ) |
356 |
- ) |
357 |
- sasl? ( >=dev-libs/cyrus-sasl-2 ) |
358 |
- ) |
359 |
- kerberos? ( virtual/krb5 ) |
360 |
- pop? ( |
361 |
- gnutls? ( >=net-libs/gnutls-1.0.17 ) |
362 |
- !gnutls? ( |
363 |
- ssl? ( |
364 |
- !libressl? ( >=dev-libs/openssl-0.9.6:0 ) |
365 |
- libressl? ( dev-libs/libressl ) |
366 |
- ) |
367 |
- ) |
368 |
- sasl? ( >=dev-libs/cyrus-sasl-2 ) |
369 |
- ) |
370 |
- smtp? ( |
371 |
- gnutls? ( >=net-libs/gnutls-1.0.17 ) |
372 |
- !gnutls? ( |
373 |
- ssl? ( |
374 |
- !libressl? ( >=dev-libs/openssl-0.9.6:0 ) |
375 |
- libressl? ( dev-libs/libressl ) |
376 |
- ) |
377 |
- ) |
378 |
- sasl? ( >=dev-libs/cyrus-sasl-2 ) |
379 |
- ) |
380 |
- idn? ( net-dns/libidn ) |
381 |
- gpg? ( >=app-crypt/gpgme-0.9.0 ) |
382 |
- smime? ( |
383 |
- !libressl? ( >=dev-libs/openssl-0.9.6:0 ) |
384 |
- libressl? ( dev-libs/libressl ) |
385 |
- ) |
386 |
- notmuch? ( net-mail/notmuch ) |
387 |
- slang? ( sys-libs/slang ) |
388 |
- !slang? ( >=sys-libs/ncurses-5.2:0 ) |
389 |
-" |
390 |
-DEPEND="${CDEPEND} |
391 |
- net-mail/mailbase |
392 |
- doc? ( |
393 |
- dev-libs/libxml2 |
394 |
- dev-libs/libxslt |
395 |
- app-text/docbook-xsl-stylesheets |
396 |
- || ( www-client/lynx www-client/w3m www-client/elinks ) |
397 |
- )" |
398 |
-RDEPEND="${CDEPEND} |
399 |
- selinux? ( sec-policy/selinux-mutt ) |
400 |
-" |
401 |
- |
402 |
-src_prepare() { |
403 |
- local PATCHDIR="${WORKDIR}"/integration-${NEOMUTT} |
404 |
- |
405 |
- # apply NeoMutt patches |
406 |
- export EPATCH_FORCE="yes" |
407 |
- export EPATCH_SUFFIX="patch" |
408 |
- # order of patches from README.md |
409 |
- local patches=( |
410 |
- bugs-common |
411 |
- features-common |
412 |
- features-extra |
413 |
- bugs-neomutt |
414 |
- gentoo-pre |
415 |
- gentoo |
416 |
- ) |
417 |
- local patchset |
418 |
- for patchset in "${patches[@]}" ; do |
419 |
- einfo "Applying NeoMutt ${NEOMUTT} patchset ${patchset}" |
420 |
- EPATCH_SOURCE="${PATCHDIR}"/${patchset} epatch \ |
421 |
- || die "NeoMutt patchset ${patchset} failed" |
422 |
- done |
423 |
- # add some explanation as to why not going to upstream |
424 |
- sed -i \ |
425 |
- -e '/ReachingUs = N_(/a\"This release of Mutt is heavily enriched by NeoMutt patches.\\nFor this reason, any bugs are better reported at https://bugs.gentoo.org/\\nor directly to the NeoMutt project.\\n\\n"' \ |
426 |
- version.c || die "Failed to add bug instructions" |
427 |
- |
428 |
- local upatches= |
429 |
- # allow user patches |
430 |
- eapply_user && upatches=" with user patches" |
431 |
- |
432 |
- # patch version string for bug reports |
433 |
- rm VERSION.neo || die # we already flag it appropriate |
434 |
- sed -i -e 's/"Mutt %s (%s)"/"Mutt %s (%s, Gentoo '"${PVR}${upatches}, NeoMutt ${NEOMUTT})"'"/' \ |
435 |
- muttlib.c || die "failed patching in Gentoo version" |
436 |
- |
437 |
- # many patches touch the buildsystem, we always need this |
438 |
- AT_M4DIR="m4" eautoreconf |
439 |
- |
440 |
- # the configure script contains some "cleverness" whether or not to setgid |
441 |
- # the dotlock program, resulting in bugs like #278332 |
442 |
- sed -i -e 's/@DOTLOCK_GROUP@//' \ |
443 |
- Makefile.in || die "sed failed" |
444 |
- |
445 |
- # don't just build documentation (lengthy process, with big dependencies) |
446 |
- if use !doc ; then |
447 |
- sed -i -e '/SUBDIRS =/s/doc//' Makefile.in || die |
448 |
- fi |
449 |
-} |
450 |
- |
451 |
-src_configure() { |
452 |
- local myconf=" |
453 |
- $(use_enable crypt pgp) \ |
454 |
- $(use_enable debug) \ |
455 |
- $(use_enable gpg gpgme) \ |
456 |
- $(use_enable imap) \ |
457 |
- $(use_enable nls) \ |
458 |
- $(use_enable nntp) \ |
459 |
- $(use_enable pop) \ |
460 |
- $(use_enable sidebar) \ |
461 |
- $(use_enable smime) \ |
462 |
- $(use_enable smtp) \ |
463 |
- $(use_enable notmuch) \ |
464 |
- $(use_with idn) \ |
465 |
- $(use_with kerberos gss) \ |
466 |
- $(use slang && echo --with-slang=${EPREFIX}/usr) \ |
467 |
- $(use !slang && echo --with-curses=${EPREFIX}/usr) \ |
468 |
- --enable-compressed \ |
469 |
- --enable-external-dotlock \ |
470 |
- --enable-nfs-fix \ |
471 |
- --sysconfdir=${EPREFIX}/etc/${PN} \ |
472 |
- --with-docdir=${EPREFIX}/usr/share/doc/${PN}-${PVR} \ |
473 |
- --with-regex \ |
474 |
- --with-exec-shell=${EPREFIX}/bin/sh" |
475 |
- |
476 |
- if [[ ${CHOST} == *-solaris* ]] ; then |
477 |
- # arrows in index view do not show when using wchar_t |
478 |
- myconf+=" --without-wc-funcs" |
479 |
- fi |
480 |
- |
481 |
- # mutt prioritizes gdbm over bdb, so we will too. |
482 |
- # hcache feature requires at least one database is in USE. |
483 |
- if use tokyocabinet; then |
484 |
- myconf="${myconf} --enable-hcache \ |
485 |
- --with-tokyocabinet --without-qdbm --without-gdbm --without-bdb" |
486 |
- elif use qdbm; then |
487 |
- myconf="${myconf} --enable-hcache \ |
488 |
- --without-tokyocabinet --with-qdbm --without-gdbm --without-bdb" |
489 |
- elif use gdbm ; then |
490 |
- myconf="${myconf} --enable-hcache \ |
491 |
- --without-tokyocabinet --without-qdbm --with-gdbm --without-bdb" |
492 |
- elif use berkdb; then |
493 |
- myconf="${myconf} --enable-hcache \ |
494 |
- --without-tokyocabinet --without-qdbm --without-gdbm --with-bdb" |
495 |
- else |
496 |
- myconf="${myconf} --disable-hcache \ |
497 |
- --without-tokyocabinet --without-qdbm --without-gdbm --without-bdb" |
498 |
- fi |
499 |
- |
500 |
- # there's no need for gnutls, ssl or sasl without socket support |
501 |
- if use pop || use imap || use smtp ; then |
502 |
- if use gnutls; then |
503 |
- myconf="${myconf} --with-gnutls" |
504 |
- elif use ssl; then |
505 |
- myconf="${myconf} --with-ssl" |
506 |
- fi |
507 |
- # not sure if this should be mutually exclusive with the other two |
508 |
- myconf="${myconf} $(use_with sasl)" |
509 |
- else |
510 |
- myconf="${myconf} --without-gnutls --without-ssl --without-sasl" |
511 |
- fi |
512 |
- |
513 |
- if use mbox; then |
514 |
- myconf="${myconf} --with-mailpath=${EPREFIX}/var/spool/mail" |
515 |
- else |
516 |
- myconf="${myconf} --with-homespool=Maildir" |
517 |
- fi |
518 |
- |
519 |
- econf ${myconf} || die "configure failed" |
520 |
-} |
521 |
- |
522 |
-src_install() { |
523 |
- emake DESTDIR="${D}" install || die "install failed" |
524 |
- if use mbox; then |
525 |
- insinto /etc/mutt |
526 |
- newins "${FILESDIR}"/Muttrc.mbox Muttrc |
527 |
- else |
528 |
- insinto /etc/mutt |
529 |
- doins "${FILESDIR}"/Muttrc |
530 |
- fi |
531 |
- |
532 |
- # A newer file is provided by app-misc/mime-types. So we link it. |
533 |
- rm "${ED}"/etc/${PN}/mime.types |
534 |
- dosym /etc/mime.types /etc/${PN}/mime.types |
535 |
- |
536 |
- # A man-page is always handy, so fake one |
537 |
- if use !doc; then |
538 |
- emake -C doc DESTDIR="${D}" muttrc.man || die |
539 |
- # make the fake slightly better, bug #413405 |
540 |
- sed -e 's#@docdir@/manual.txt#http://www.mutt.org/doc/devel/manual.html#' \ |
541 |
- -e 's#in @docdir@,#at http://www.mutt.org/,#' \ |
542 |
- -e "s#@sysconfdir@#${EPREFIX}/etc/${PN}#" \ |
543 |
- -e "s#@bindir@#${EPREFIX}/usr/bin#" \ |
544 |
- doc/mutt.man > mutt.1 |
545 |
- cp doc/muttbug.man flea.1 |
546 |
- cp doc/muttrc.man muttrc.5 |
547 |
- doman mutt.1 flea.1 muttrc.5 |
548 |
- else |
549 |
- # nuke manpages that should be provided by an MTA, bug #177605 |
550 |
- rm "${ED}"/usr/share/man/man5/{mbox,mmdf}.5 \ |
551 |
- || ewarn "failed to remove files, please file a bug" |
552 |
- fi |
553 |
- |
554 |
- if use !prefix ; then |
555 |
- fowners root:mail /usr/bin/mutt_dotlock |
556 |
- fperms g+s /usr/bin/mutt_dotlock |
557 |
- fi |
558 |
- |
559 |
- dodoc BEWARE COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO VERSION |
560 |
-} |
561 |
- |
562 |
-pkg_postinst() { |
563 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
564 |
- echo |
565 |
- elog "If you are new to mutt you may want to take a look at" |
566 |
- elog "the Gentoo QuickStart Guide to Mutt E-Mail:" |
567 |
- elog " https://wiki.gentoo.org/wiki/Mutt" |
568 |
- echo |
569 |
- else |
570 |
- echo |
571 |
- elog "This version of Mutt is entirely based on NeoMutt patches." |
572 |
- elog "Please visit http://www.neomutt.org/ to learn more about this project." |
573 |
- elog "As a result, SmartTime functionality has been replaced with" |
574 |
- elog "CondDate feature. To mimic SmartTime, use this CondDate formatter:" |
575 |
- elog "%<[12m?%<[7d?%<[12H?%[%H:%M ]&%[%a-%d]>&%[%d-%b]>&%[%b-%y]>" |
576 |
- echo |
577 |
- fi |
578 |
-} |
579 |
|
580 |
diff --git a/mail-client/mutt/mutt-1.7.0-r5.ebuild b/mail-client/mutt/mutt-1.7.0-r5.ebuild |
581 |
deleted file mode 100644 |
582 |
index 59e2726..00000000 |
583 |
--- a/mail-client/mutt/mutt-1.7.0-r5.ebuild |
584 |
+++ /dev/null |
585 |
@@ -1,266 +0,0 @@ |
586 |
-# Copyright 1999-2016 Gentoo Foundation |
587 |
-# Distributed under the terms of the GNU General Public License v2 |
588 |
-# $Id$ |
589 |
- |
590 |
-EAPI="6" |
591 |
- |
592 |
-inherit eutils flag-o-matic autotools |
593 |
- |
594 |
-PATCHREV="r5" |
595 |
-PATCHSET="gentoo-${PVR}/${PATCHREV}" |
596 |
- |
597 |
-DESCRIPTION="A small but very powerful text-based mail client" |
598 |
-HOMEPAGE="http://www.mutt.org/" |
599 |
-MUTT_G_PATCHES="mutt-gentoo-1.7.0-patches-${PATCHREV}.tar.xz" |
600 |
-SRC_URI="ftp://ftp.mutt.org/pub/mutt/${P}.tar.gz |
601 |
- https://bitbucket.org/${PN}/${PN}/downloads/${P}.tar.gz |
602 |
- https://dev.gentoo.org/~grobian/distfiles/${MUTT_G_PATCHES}" |
603 |
-IUSE="berkdb crypt debug doc gdbm gnutls gpg idn imap kerberos libressl mbox nls nntp notmuch pop qdbm sasl selinux sidebar slang smime smtp ssl tokyocabinet vanilla" |
604 |
-SLOT="0" |
605 |
-LICENSE="GPL-2" |
606 |
-KEYWORDS="~alpha ~amd64 ~x86 ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
607 |
-CDEPEND=" |
608 |
- app-misc/mime-types |
609 |
- nls? ( virtual/libintl ) |
610 |
- tokyocabinet? ( dev-db/tokyocabinet ) |
611 |
- !tokyocabinet? ( |
612 |
- qdbm? ( dev-db/qdbm ) |
613 |
- !qdbm? ( |
614 |
- gdbm? ( sys-libs/gdbm ) |
615 |
- !gdbm? ( berkdb? ( >=sys-libs/db-4 ) ) |
616 |
- ) |
617 |
- ) |
618 |
- imap? ( |
619 |
- gnutls? ( >=net-libs/gnutls-1.0.17 ) |
620 |
- !gnutls? ( |
621 |
- ssl? ( |
622 |
- !libressl? ( >=dev-libs/openssl-0.9.6:0 ) |
623 |
- libressl? ( dev-libs/libressl ) |
624 |
- ) |
625 |
- ) |
626 |
- sasl? ( >=dev-libs/cyrus-sasl-2 ) |
627 |
- ) |
628 |
- kerberos? ( virtual/krb5 ) |
629 |
- pop? ( |
630 |
- gnutls? ( >=net-libs/gnutls-1.0.17 ) |
631 |
- !gnutls? ( |
632 |
- ssl? ( |
633 |
- !libressl? ( >=dev-libs/openssl-0.9.6:0 ) |
634 |
- libressl? ( dev-libs/libressl ) |
635 |
- ) |
636 |
- ) |
637 |
- sasl? ( >=dev-libs/cyrus-sasl-2 ) |
638 |
- ) |
639 |
- smtp? ( |
640 |
- gnutls? ( >=net-libs/gnutls-1.0.17 ) |
641 |
- !gnutls? ( |
642 |
- ssl? ( |
643 |
- !libressl? ( >=dev-libs/openssl-0.9.6:0 ) |
644 |
- libressl? ( dev-libs/libressl ) |
645 |
- ) |
646 |
- ) |
647 |
- sasl? ( >=dev-libs/cyrus-sasl-2 ) |
648 |
- ) |
649 |
- idn? ( net-dns/libidn ) |
650 |
- gpg? ( >=app-crypt/gpgme-0.9.0 ) |
651 |
- smime? ( |
652 |
- !libressl? ( >=dev-libs/openssl-0.9.6:0 ) |
653 |
- libressl? ( dev-libs/libressl ) |
654 |
- ) |
655 |
- notmuch? ( net-mail/notmuch ) |
656 |
- slang? ( sys-libs/slang ) |
657 |
- !slang? ( >=sys-libs/ncurses-5.2:0 ) |
658 |
-" |
659 |
-DEPEND="${CDEPEND} |
660 |
- net-mail/mailbase |
661 |
- doc? ( |
662 |
- dev-libs/libxml2 |
663 |
- dev-libs/libxslt |
664 |
- app-text/docbook-xsl-stylesheets |
665 |
- || ( www-client/lynx www-client/w3m www-client/elinks ) |
666 |
- )" |
667 |
-RDEPEND="${CDEPEND} |
668 |
- selinux? ( sec-policy/selinux-mutt ) |
669 |
-" |
670 |
- |
671 |
-src_prepare() { |
672 |
- local PATCHDIR="${WORKDIR}"/gentoo-mutt-1.7.0-patches |
673 |
- |
674 |
- if use !vanilla ; then |
675 |
- # apply patches |
676 |
- export EPATCH_FORCE="yes" |
677 |
- export EPATCH_SUFFIX="patch" |
678 |
- local patches=( |
679 |
- patches-mutt |
680 |
- bugs-gentoo |
681 |
- features-common |
682 |
- features-extra |
683 |
- gentoo |
684 |
- ) |
685 |
- local patchset |
686 |
- for patchset in "${patches[@]}" ; do |
687 |
- einfo "Applying ${PATCHSET} patchset ${patchset}" |
688 |
- EPATCH_SOURCE="${PATCHDIR}"/${patchset} epatch \ |
689 |
- || die "patchset ${patchset} failed" |
690 |
- done |
691 |
- # add some explanation as to why not to go upstream |
692 |
- sed -i \ |
693 |
- -e '/ReachingUs = N_(/a\"This release of Mutt is heavily enriched with patches.\\nFor this reason, any bugs are better reported at https://bugs.gentoo.org/\\nor re-emerge with USE=vanilla and try to reproduce your problem.\\n"' \ |
694 |
- version.c || die "Failed to add bug instructions" |
695 |
- fi |
696 |
- |
697 |
- local upatches= |
698 |
- # allow user patches |
699 |
- eapply_user && upatches=" with user patches" |
700 |
- |
701 |
- # patch version string for bug reports |
702 |
- sed -i -e 's|"Mutt %s (%s)"|"Mutt %s (%s, '"${PATCHSET}${upatches}"')"|' \ |
703 |
- muttlib.c || die "failed patching in Gentoo version" |
704 |
- |
705 |
- # many patches touch the buildsystem, we always need this |
706 |
- AT_M4DIR="m4" eautoreconf |
707 |
- |
708 |
- # the configure script contains some "cleverness" whether or not to setgid |
709 |
- # the dotlock program, resulting in bugs like #278332 |
710 |
- sed -i -e 's/@DOTLOCK_GROUP@//' \ |
711 |
- Makefile.in || die "sed failed" |
712 |
- |
713 |
- # don't just build documentation (lengthy process, with big dependencies) |
714 |
- if use !doc ; then |
715 |
- sed -i -e '/SUBDIRS =/s/doc//' Makefile.in || die |
716 |
- fi |
717 |
-} |
718 |
- |
719 |
-src_configure() { |
720 |
- local myconf=" |
721 |
- $(use_enable crypt pgp) \ |
722 |
- $(use_enable debug) \ |
723 |
- $(use_enable gpg gpgme) \ |
724 |
- $(use_enable imap) \ |
725 |
- $(use_enable nls) \ |
726 |
- $(use_enable nntp) \ |
727 |
- $(use_enable pop) \ |
728 |
- $(use_enable sidebar) \ |
729 |
- $(use_enable smime) \ |
730 |
- $(use_enable smtp) \ |
731 |
- $(use_enable notmuch) \ |
732 |
- $(use_with idn) \ |
733 |
- $(use_with kerberos gss) \ |
734 |
- $(use slang && echo --with-slang=${EPREFIX}/usr) \ |
735 |
- $(use !slang && echo --with-curses=${EPREFIX}/usr) \ |
736 |
- --enable-compressed \ |
737 |
- --enable-external-dotlock \ |
738 |
- --enable-nfs-fix \ |
739 |
- --sysconfdir=${EPREFIX}/etc/${PN} \ |
740 |
- --with-docdir=${EPREFIX}/usr/share/doc/${PN}-${PVR} \ |
741 |
- --with-regex \ |
742 |
- --with-exec-shell=${EPREFIX}/bin/sh" |
743 |
- |
744 |
- if [[ ${CHOST} == *-solaris* ]] ; then |
745 |
- # arrows in index view do not show when using wchar_t |
746 |
- myconf+=" --without-wc-funcs" |
747 |
- fi |
748 |
- |
749 |
- # mutt prioritizes gdbm over bdb, so we will too. |
750 |
- # hcache feature requires at least one database is in USE. |
751 |
- if use tokyocabinet; then |
752 |
- myconf="${myconf} --enable-hcache \ |
753 |
- --with-tokyocabinet --without-qdbm --without-gdbm --without-bdb" |
754 |
- elif use qdbm; then |
755 |
- myconf="${myconf} --enable-hcache \ |
756 |
- --without-tokyocabinet --with-qdbm --without-gdbm --without-bdb" |
757 |
- elif use gdbm ; then |
758 |
- myconf="${myconf} --enable-hcache \ |
759 |
- --without-tokyocabinet --without-qdbm --with-gdbm --without-bdb" |
760 |
- elif use berkdb; then |
761 |
- myconf="${myconf} --enable-hcache \ |
762 |
- --without-tokyocabinet --without-qdbm --without-gdbm --with-bdb" |
763 |
- else |
764 |
- myconf="${myconf} --disable-hcache \ |
765 |
- --without-tokyocabinet --without-qdbm --without-gdbm --without-bdb" |
766 |
- fi |
767 |
- |
768 |
- # there's no need for gnutls, ssl or sasl without socket support |
769 |
- if use pop || use imap || use smtp ; then |
770 |
- if use gnutls; then |
771 |
- myconf="${myconf} --with-gnutls" |
772 |
- elif use ssl; then |
773 |
- myconf="${myconf} --with-ssl" |
774 |
- fi |
775 |
- # not sure if this should be mutually exclusive with the other two |
776 |
- myconf="${myconf} $(use_with sasl)" |
777 |
- else |
778 |
- myconf="${myconf} --without-gnutls --without-ssl --without-sasl" |
779 |
- fi |
780 |
- |
781 |
- if use mbox; then |
782 |
- myconf="${myconf} --with-mailpath=${EPREFIX}/var/spool/mail" |
783 |
- else |
784 |
- myconf="${myconf} --with-homespool=Maildir" |
785 |
- fi |
786 |
- |
787 |
- econf ${myconf} || die "configure failed" |
788 |
-} |
789 |
- |
790 |
-src_install() { |
791 |
- emake DESTDIR="${D}" install || die "install failed" |
792 |
- if use mbox; then |
793 |
- insinto /etc/mutt |
794 |
- newins "${FILESDIR}"/Muttrc.mbox Muttrc |
795 |
- else |
796 |
- insinto /etc/mutt |
797 |
- doins "${FILESDIR}"/Muttrc |
798 |
- fi |
799 |
- |
800 |
- # A newer file is provided by app-misc/mime-types. So we link it. |
801 |
- rm "${ED}"/etc/${PN}/mime.types |
802 |
- dosym /etc/mime.types /etc/${PN}/mime.types |
803 |
- |
804 |
- # A man-page is always handy, so fake one |
805 |
- if use !doc; then |
806 |
- emake -C doc DESTDIR="${D}" muttrc.man || die |
807 |
- # make the fake slightly better, bug #413405 |
808 |
- sed -e 's#@docdir@/manual.txt#http://www.mutt.org/doc/devel/manual.html#' \ |
809 |
- -e 's#in @docdir@,#at http://www.mutt.org/,#' \ |
810 |
- -e "s#@sysconfdir@#${EPREFIX}/etc/${PN}#" \ |
811 |
- -e "s#@bindir@#${EPREFIX}/usr/bin#" \ |
812 |
- doc/mutt.man > mutt.1 |
813 |
- cp doc/muttbug.man flea.1 |
814 |
- cp doc/muttrc.man muttrc.5 |
815 |
- doman mutt.1 flea.1 muttrc.5 |
816 |
- else |
817 |
- # nuke manpages that should be provided by an MTA, bug #177605 |
818 |
- rm "${ED}"/usr/share/man/man5/{mbox,mmdf}.5 \ |
819 |
- || ewarn "failed to remove files, please file a bug" |
820 |
- fi |
821 |
- |
822 |
- if use !prefix ; then |
823 |
- fowners root:mail /usr/bin/mutt_dotlock |
824 |
- fperms g+s /usr/bin/mutt_dotlock |
825 |
- fi |
826 |
- |
827 |
- dodoc BEWARE COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO VERSION |
828 |
-} |
829 |
- |
830 |
-pkg_postinst() { |
831 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
832 |
- echo |
833 |
- elog "If you are new to mutt you may want to take a look at" |
834 |
- elog "the Gentoo QuickStart Guide to Mutt E-Mail:" |
835 |
- elog " https://wiki.gentoo.org/wiki/Mutt" |
836 |
- echo |
837 |
- else |
838 |
- local ver |
839 |
- local preconddate= |
840 |
- for ver in ${REPLACING_VERSIONS} ; do |
841 |
- [[ ${ver} == "1.5"* || ${ver} == "1.6"* ]] && preconddate=true |
842 |
- done |
843 |
- if [[ -n ${preconddate} ]] ; then |
844 |
- echo |
845 |
- elog "The SmartTime functionality has been replaced with" |
846 |
- elog "CondDate feature. To mimic SmartTime, use this CondDate formatter:" |
847 |
- elog "%<[12m?%<[7d?%<[12H?%[%H:%M ]&%[%a-%d]>&%[%d-%b]>&%[%b-%y]>" |
848 |
- echo |
849 |
- fi |
850 |
- fi |
851 |
-} |