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