summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-12-07 07:48:47 +0000
committerFabian Groffen <grobian@gentoo.org>2010-12-07 07:48:47 +0000
commit419e7cab9fcfbe34bd241ad22aa2c33994dfd7e1 (patch)
tree3886cfe83aa86423f89ff64b33c9d9c6c0658a98 /mail-client/mutt
parentVersion bump. (diff)
downloadhistorical-419e7cab9fcfbe34bd241ad22aa2c33994dfd7e1.tar.gz
historical-419e7cab9fcfbe34bd241ad22aa2c33994dfd7e1.tar.bz2
historical-419e7cab9fcfbe34bd241ad22aa2c33994dfd7e1.zip
Drop old versions, 1.5.20-r6 can be removed per bug #347994
Package-Manager: portage-2.2.01.17304-prefix/cvs/Darwin powerpc
Diffstat (limited to 'mail-client/mutt')
-rw-r--r--mail-client/mutt/ChangeLog15
-rw-r--r--mail-client/mutt/Manifest20
-rw-r--r--mail-client/mutt/files/mutt-1.5.13-prefix-mailcap.patch22
-rw-r--r--mail-client/mutt/files/mutt-1.5.16-parallel-make.patch34
-rw-r--r--mail-client/mutt/files/mutt-1.5.18-bdb-prefix.patch23
-rw-r--r--mail-client/mutt/files/mutt-1.5.18-interix.patch22
-rw-r--r--mail-client/mutt/files/mutt-1.5.18-solaris-ncurses-chars.patch75
-rw-r--r--mail-client/mutt/files/mutt-1.5.20-crash-on-invalid-limit-pattern.patch13
-rw-r--r--mail-client/mutt/files/mutt-1.5.20-dont-reveal-bbc.patch103
-rw-r--r--mail-client/mutt/files/mutt-1.5.20-gpgme-1.2.0.patch29
-rw-r--r--mail-client/mutt/files/mutt-1.5.20-realpath-slowness.patch23
-rw-r--r--mail-client/mutt/mutt-1.5.20-r10.ebuild260
-rw-r--r--mail-client/mutt/mutt-1.5.20-r13.ebuild253
-rw-r--r--mail-client/mutt/mutt-1.5.20-r15.ebuild270
-rw-r--r--mail-client/mutt/mutt-1.5.20-r17.ebuild225
-rw-r--r--mail-client/mutt/mutt-1.5.20-r6.ebuild250
16 files changed, 15 insertions, 1622 deletions
diff --git a/mail-client/mutt/ChangeLog b/mail-client/mutt/ChangeLog
index ba3459ba57f1..33088fcd0aeb 100644
--- a/mail-client/mutt/ChangeLog
+++ b/mail-client/mutt/ChangeLog
@@ -1,6 +1,19 @@
# ChangeLog for mail-client/mutt
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mutt/ChangeLog,v 1.204 2010/12/07 02:37:21 mattst88 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/mutt/ChangeLog,v 1.205 2010/12/07 07:48:35 grobian Exp $
+
+ 07 Dec 2010; Fabian Groffen <grobian@gentoo.org>
+ -files/mutt-1.5.13-prefix-mailcap.patch,
+ -files/mutt-1.5.16-parallel-make.patch,
+ -files/mutt-1.5.18-bdb-prefix.patch, -files/mutt-1.5.18-interix.patch,
+ -files/mutt-1.5.18-solaris-ncurses-chars.patch, -mutt-1.5.20-r6.ebuild,
+ -mutt-1.5.20-r10.ebuild, -mutt-1.5.20-r13.ebuild, -mutt-1.5.20-r15.ebuild,
+ -mutt-1.5.20-r17.ebuild,
+ -files/mutt-1.5.20-crash-on-invalid-limit-pattern.patch,
+ -files/mutt-1.5.20-dont-reveal-bbc.patch,
+ -files/mutt-1.5.20-gpgme-1.2.0.patch,
+ -files/mutt-1.5.20-realpath-slowness.patch:
+ Drop old versions, 1.5.20-r6 can be removed per bug #347994
07 Dec 2010; Matt Turner <mattst88@gentoo.org> mutt-1.5.21-r1.ebuild:
Readded ~mips keyword, bug 290154.
diff --git a/mail-client/mutt/Manifest b/mail-client/mutt/Manifest
index e43360566db4..cee6a03f99f9 100644
--- a/mail-client/mutt/Manifest
+++ b/mail-client/mutt/Manifest
@@ -1,28 +1,10 @@
AUX Muttrc 667 RMD160 0405e73c6a4122869ce9a9bd408068d316740b71 SHA1 e30c96e6f21a30fe576abcb3be65a34accf4e11f SHA256 932940db69c951caaa87a17ee98a8e2262aeadf1e978f6d671b642184c5d545f
AUX Muttrc.mbox 486 RMD160 0f692c9d3a7591f3a0611529616aa94a5c62a641 SHA1 9e231303fe9fb2fe80542115ceefb972c7b11d5a SHA256 10b251f88ccc5d4c95c96ab17b6ab6a30a16d6590ab896a60037f869fc4d44a0
-AUX mutt-1.5.13-prefix-mailcap.patch 821 RMD160 c8c7c6b97eee2a1435c160b782efec430131a415 SHA1 c60cd4eca864102940e66ac1ce550d39d85e5fb9 SHA256 76c88cab053ca6f5292554270a8e337420c177c1eccaab1610bfcf67c6e89764
-AUX mutt-1.5.16-parallel-make.patch 936 RMD160 f6a216d9ff06ae55d9569e05632b60332cf49ebe SHA1 0a9b98b37987ffa10039424bb6f5849a08dbb168 SHA256 3ecc199b83f6fa747d342694d8ffacf0aedd4590e0d9943c9b6004c31cbdb931
-AUX mutt-1.5.18-bdb-prefix.patch 956 RMD160 510a65fba0d17bd9184b23730dd18e64c7d2a163 SHA1 f7ec35f6b3049949f4ca98b46401d85c6fc271a1 SHA256 b9dc46feab0b10f03dec44e1ff4ecf023d3bd06e4d509d9a35590779220f6995
-AUX mutt-1.5.18-interix.patch 663 RMD160 7fe8c230167f9635d08873be5de9189f38e13183 SHA1 3d3532255df8eef9f6b4ea21f2664c139933956f SHA256 0d82f617a4d354451469c7afdb23e4626ed008879dbb0aec1077a93703730065
-AUX mutt-1.5.18-solaris-ncurses-chars.patch 1926 RMD160 dc8c17c88f66d4ed94d885ba67517bbfd566d78d SHA1 2d977d180e434aee9a15be44187d96056da203ca SHA256 1f141c49c2c9f10654fc7453991d8017954358bfee80d93c98af57870258351b
-AUX mutt-1.5.20-crash-on-invalid-limit-pattern.patch 383 RMD160 93d8c722e7fae2de5a18e156baf19e29ba091dd4 SHA1 19dfa2409192949eb9cbcd8187465736d8efc6f8 SHA256 0840701a3acd0644902756e6cd644c1f0c76ab5d3bc72c79c36e87e50b55880a
-AUX mutt-1.5.20-dont-reveal-bbc.patch 4027 RMD160 0295eb2ed6ae7d3b39c5b101d519d13f45d64c80 SHA1 c7ac97ec879c070eb3a24184ce41b199eec89840 SHA256 88b313f8baea81eec814d03acbe9aa5cf4a249de120426608893c1c53a8a3596
-AUX mutt-1.5.20-gpgme-1.2.0.patch 623 RMD160 0387025c571723f9ebde284789c65464cf0c2da4 SHA1 230af7e00e06a41f0024b8c6e19bd9d5b208511c SHA256 9e69e53cb3013a379f85e6dcea0550c4ec8582ea1f36a83c6a0ad95828164551
-AUX mutt-1.5.20-realpath-slowness.patch 676 RMD160 7e658134eabeec3f67c4de161bd9996e0096f240 SHA1 e189eb03f2488ad158bdd8ec93fed0f7e6762746 SHA256 a8d15cb9e5fb130b6fc28d9b323afe62e2dbe33f1b86f707de20053f2b9a9a3a
-DIST mutt-1.5.20-gentoo-patches-r10.tar.bz2 88085 RMD160 427e0a7b5417c4803aba639e5d1a01113513ddf8 SHA1 a2d2dde2e36e92063a2803cb7257b48097e9df68 SHA256 1fc63806c92b6ddf9ea29b0947e86f45466162312ebdbeef641ee72f2dcfcda0
DIST mutt-1.5.20-gentoo-patches-r11.tar.bz2 96779 RMD160 f6c54fdba2853caecb1fabc0d59c660f5628c9f3 SHA1 2f8781ed7b73311a4fbe3816c58c4cfa6ddb18a9 SHA256 82284ddfc062fc0f037d2b94ace88bad2f0587d498ddd92a241f6f3b432635c8
-DIST mutt-1.5.20-gentoo-patches-r5.1.tar.bz2 78129 RMD160 d34779d691295d85a55828fa51e64b06a6c92d1d SHA1 193ec7edb6cffde670086a262aff9615f07adea8 SHA256 4c855764daaf939777c8f23a217cf43d6246dbc89f99827030c1ad3d53820b2d
-DIST mutt-1.5.20-gentoo-patches-r7.tar.bz2 80979 RMD160 ec85bc92af02530f4b6ca972f299a9d93e93cd5c SHA1 4af9df1fe82afb20ea556e70ba0e9d5d2af964eb SHA256 e51e8edc77f3127dded9a23b5cfb8b7326cfb6e97f43aae378390c71ba54b6b6
DIST mutt-1.5.20.tar.gz 3635047 RMD160 df582f79364b9fd70a0001e76a119d8f78275ebb SHA1 d2bec7a33771f128ca49b1723b06b6d248a35d31 SHA256 9579fc079d74ff5c89223ff09df402ef4e508ba8ca925c49e74aa09c02a9a796
DIST mutt-1.5.21-gentoo-patches-r1.tar.bz2 68796 RMD160 10b38c663d39e169c3c456e5cbf7bd855c203186 SHA1 2df153ce3870576e8dba84a6f54df698333587e8 SHA256 89b67ad863941aacdc2b1c9d3fd4f90f7b0cb50bd5fc10c9284a82ce6e7687c0
DIST mutt-1.5.21.tar.gz 3716886 RMD160 b235a42972ae410592253cdc117a90baf279f47a SHA1 a8475f2618ce5d5d33bff85c0affdf21ab1d76b9 SHA256 2141f36e8d0f4f71c9ca6780001e7cc679fe313e643953fc07f001223e67c4a0
-DIST patch-1.5.20.sidebar.20090619.txt 53335 RMD160 4c693b100a320d11ea94aedb75cff63d9f6cfb3f SHA1 d72355e39674bb4f892e4af3b84fe49c94415487 SHA256 6e925319adbfa0ba7f120f0ef4ddc62f99b1dc8f6a8b5bdc31dd8a0040aded1b
-EBUILD mutt-1.5.20-r10.ebuild 7958 RMD160 c185ac0ab4fa7cafc2f1e645b5d445c133db59bb SHA1 a87fd09bac2321e30748439b2bbc717254076f54 SHA256 d93b2daf5926e01ba4906720fb86f7285cfa29b7877a32f1aeaababb00e35837
-EBUILD mutt-1.5.20-r13.ebuild 7710 RMD160 1a0685395beda44ab9954552a1cb12b670cb2184 SHA1 ad9e3c4643f3be5ad1bc3eaff7742bf68607a3fc SHA256 0171a87a7d880de9f276c97452655ddd87ba6ae5c81c2dbe61dc10ec1c2363cc
-EBUILD mutt-1.5.20-r15.ebuild 8625 RMD160 838192f5eb1fb5d34724d8b4ddecd5c06a3ac868 SHA1 b6a94c8d0b1945ae8949becf73507958f1b22b11 SHA256 f2834806aa3e34a6f5573837e35d5a18e31ef0ff4f3c1ecb31b1195ecfd74bea
-EBUILD mutt-1.5.20-r17.ebuild 7196 RMD160 449a9eb8e92b7d567b59d7fd3fa91c1cf758e68a SHA1 199c7d88828420e034c5a4ee62aa4dc752da5467 SHA256 c6be8ef0fe35bde06ae9007b894af81b5f7e40ac0c6305d4282738870b80587e
EBUILD mutt-1.5.20-r18.ebuild 7129 RMD160 b1733d42e80b300824fdccd7e3dfa2e790022c0d SHA1 fcb324b48d0ddec5a633efc5a03834f50ae93294 SHA256 3951ba13b64990037831bead7b52fc3b338ffa88e33659464a52f9753345de5c
-EBUILD mutt-1.5.20-r6.ebuild 7280 RMD160 db5a40d2e845def3f4819de2d8272049215da0f1 SHA1 86e2c567618d1e6753806790072efb2811515348 SHA256 4999238ee8c6d875179d49f1b2b32e82c50b6179b8b4f0f6f97948910f55de11
EBUILD mutt-1.5.21-r1.ebuild 7177 RMD160 56426d074f3c712e4155786ae9414f73226339a2 SHA1 44674d7dab22e53e94d8d932bb4d20bd6cae47ac SHA256 25b438317bf51c8d93c93807b18df5230e970033e1609af26b87320e6ebfc9da
-MISC ChangeLog 46753 RMD160 5c6dc12c80e4a10cf3c401e37a7e107551872dda SHA1 84e5a48595860e8797c78a314473a5b0fd8fe773 SHA256 58422829e61bfacb400f0f67c41859c99c658a512400e4cb735473dd23469a57
+MISC ChangeLog 47391 RMD160 73465fadd6bd01066e597e3277a172783dd46cf6 SHA1 be7a25243eb206a6c12b5e5d40639f7cf5ea37ee SHA256 f3eb1f653d59dd12f9c08ad1895d5884745cc79efee11bfdc9e805e5f5f609f1
MISC metadata.xml 650 RMD160 499b30bbf757e578b8546c72c9d22e033bad1fd0 SHA1 0ad0c9dc1d2a2a1b9da1e32d2f3e056e5b0e6d98 SHA256 b7ca8aa383b947a5e90eafab3839a9ed2a8c4f36f4890fec19636d774ccf5320
diff --git a/mail-client/mutt/files/mutt-1.5.13-prefix-mailcap.patch b/mail-client/mutt/files/mutt-1.5.13-prefix-mailcap.patch
deleted file mode 100644
index 9a5a67b52f6c..000000000000
--- a/mail-client/mutt/files/mutt-1.5.13-prefix-mailcap.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- Makefile.am
-+++ Makefile.am
-@@ -51,7 +51,7 @@
-
- DEFS=-DPKGDATADIR=\"$(pkgdatadir)\" -DSYSCONFDIR=\"$(sysconfdir)\" \
- -DBINDIR=\"$(bindir)\" -DMUTTLOCALEDIR=\"$(datadir)/locale\" \
-- -DHAVE_CONFIG_H=1
-+ -DHAVE_CONFIG_H=1 -DPREFIX=\"$(prefix)/..\"
-
- AM_CPPFLAGS=-I. -I$(top_srcdir) $(IMAP_INCLUDES) $(LIBGPGME_CFLAGS) -Iintl
-
---- init.c
-+++ init.c
-@@ -2862,7 +2862,7 @@
- else
- {
- /* Default search path from RFC1524 */
-- MailcapPath = safe_strdup ("~/.mailcap:" PKGDATADIR "/mailcap:" SYSCONFDIR "/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap");
-+ MailcapPath = safe_strdup ("~/.mailcap:" PKGDATADIR "/mailcap:" SYSCONFDIR "/mailcap:" PREFIX "/etc/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap");
- }
-
- Tempdir = safe_strdup ((p = getenv ("TMPDIR")) ? p : "/tmp");
diff --git a/mail-client/mutt/files/mutt-1.5.16-parallel-make.patch b/mail-client/mutt/files/mutt-1.5.16-parallel-make.patch
deleted file mode 100644
index 9fb39c86a4d1..000000000000
--- a/mail-client/mutt/files/mutt-1.5.16-parallel-make.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff --git a/Makefile.am b/Makefile.am
-index 1f36629..20d205e 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -2,14 +2,16 @@
- ## Use aclocal -I m4; automake --foreign
-
- AUTOMAKE_OPTIONS = 1.6 foreign
--EXTRA_PROGRAMS = mutt_dotlock pgpring pgpewrap makedoc
-+EXTRA_PROGRAMS = mutt_dotlock pgpring pgpewrap
-+
-+noinst_PROGRAMS = makedoc
-
- if BUILD_IMAP
- IMAP_SUBDIR = imap
- IMAP_INCLUDES = -I$(top_srcdir)/imap
- endif
-
--SUBDIRS = m4 po intl doc contrib $(IMAP_SUBDIR)
-+SUBDIRS = m4 po intl $(IMAP_SUBDIR) . doc contrib
-
- bin_SCRIPTS = muttbug flea @SMIMEAUX_TARGET@
-
-@@ -37,10 +39,6 @@ mutt_LDADD = @MUTT_LIB_OBJECTS@ @LIBOBJS@ $(LIBIMAP) $(MUTTLIBS) \
- mutt_DEPENDENCIES = @MUTT_LIB_OBJECTS@ @LIBOBJS@ $(LIBIMAPDEPS) \
- $(INTLDEPS)
-
--makedoc_SOURCES = makedoc.c
--makedoc_LDADD =
--makedoc_DEPENDENCIES =
--
- # $(makedoc_OBJECTS): $(makedoc_SOURCES)
- # $(HOST_CC) $(DEFS) $(AM_CPPFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) -c $<
-
diff --git a/mail-client/mutt/files/mutt-1.5.18-bdb-prefix.patch b/mail-client/mutt/files/mutt-1.5.18-bdb-prefix.patch
deleted file mode 100644
index bb978ea24dd9..000000000000
--- a/mail-client/mutt/files/mutt-1.5.18-bdb-prefix.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-* berkely db check is completely broken, but mess with it just enough
- such that it works for Gentoo Prefix
-
---- configure.ac
-+++ configure.ac
-@@ -891,7 +891,7 @@
- then
- if test x$ac_bdb_prefix = xyes || test x$ac_bdb_prefix = x
- then
-- ac_bdb_prefix="$mutt_cv_prefix /opt/csw/bdb4 /opt /usr/local /usr"
-+ ac_bdb_prefix="$mutt_cv_prefix"
- fi
- for d in $ac_bdb_prefix; do
- bdbpfx="$bdbpfx $d"
-@@ -899,7 +899,7 @@
- bdbpfx="$bdbpfx $d/$v"
- done
- done
-- BDB_VERSIONS="db-4 db4 db-4.6 db4.6 db46 db-4.5 db4.5 db45 db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db ''"
-+ BDB_VERSIONS="db db-4 db4 db-4.6 db4.6 db46 db-4.5 db4.5 db45 db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 ''"
- AC_MSG_CHECKING([for BerkeleyDB > 4.0])
- for d in $bdbpfx; do
- BDB_INCLUDE_DIR=""
diff --git a/mail-client/mutt/files/mutt-1.5.18-interix.patch b/mail-client/mutt/files/mutt-1.5.18-interix.patch
deleted file mode 100644
index 4cbb21731353..000000000000
--- a/mail-client/mutt/files/mutt-1.5.18-interix.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-* Interix doesn't have btowc, but it does have mbtowc. Linux manpage
- also discourages the use of btowc.
-
---- regex.c
-+++ regex.c
-@@ -2212,6 +2212,7 @@
- boolean is_lower = STREQ (str, "lower");
- boolean is_upper = STREQ (str, "upper");
- wctype_t wt;
-+ wchar_t twt;
- int ch;
-
- wt = wctype (str);
-@@ -2226,7 +2227,7 @@
-
- for (ch = 0; ch < 1 << BYTEWIDTH; ++ch)
- {
-- if (iswctype (btowc (ch), wt))
-+ if (mbtowc (&twt, (char *)&ch, 1) >= 0 && iswctype (twt, wt))
- SET_LIST_BIT (ch);
-
- if (translate && (is_upper || is_lower)
diff --git a/mail-client/mutt/files/mutt-1.5.18-solaris-ncurses-chars.patch b/mail-client/mutt/files/mutt-1.5.18-solaris-ncurses-chars.patch
deleted file mode 100644
index 41761b7bc310..000000000000
--- a/mail-client/mutt/files/mutt-1.5.18-solaris-ncurses-chars.patch
+++ /dev/null
@@ -1,75 +0,0 @@
---- menu.c
-+++ menu.c
-@@ -58,7 +58,7 @@
- if (option (OPTASCIICHARS))
- addch ('`');
- else if (Charset_is_utf8)
-- addstr ("\342\224\224"); /* WACS_LLCORNER */
-+ add_wch (WACS_LLCORNER);
- else
- addch (ACS_LLCORNER);
- break;
-@@ -66,7 +66,7 @@
- if (option (OPTASCIICHARS))
- addch (',');
- else if (Charset_is_utf8)
-- addstr ("\342\224\214"); /* WACS_ULCORNER */
-+ add_wch (WACS_ULCORNER);
- else
- addch (ACS_ULCORNER);
- break;
-@@ -74,7 +74,7 @@
- if (option (OPTASCIICHARS))
- addch ('|');
- else if (Charset_is_utf8)
-- addstr ("\342\224\234"); /* WACS_LTEE */
-+ add_wch (WACS_LTEE);
- else
- addch (ACS_LTEE);
- break;
-@@ -82,7 +82,7 @@
- if (option (OPTASCIICHARS))
- addch ('-');
- else if (Charset_is_utf8)
-- addstr ("\342\224\200"); /* WACS_HLINE */
-+ add_wch (WACS_HLINE);
- else
- addch (ACS_HLINE);
- break;
-@@ -90,7 +90,7 @@
- if (option (OPTASCIICHARS))
- addch ('|');
- else if (Charset_is_utf8)
-- addstr ("\342\224\202"); /* WACS_VLINE */
-+ add_wch (WACS_VLINE);
- else
- addch (ACS_VLINE);
- break;
-@@ -98,7 +98,7 @@
- if (option (OPTASCIICHARS))
- addch ('-');
- else if (Charset_is_utf8)
-- addstr ("\342\224\254"); /* WACS_TTEE */
-+ add_wch (WACS_TTEE);
- else
- addch (ACS_TTEE);
- break;
-@@ -106,7 +106,7 @@
- if (option (OPTASCIICHARS))
- addch ('-');
- else if (Charset_is_utf8)
-- addstr ("\342\224\264"); /* WACS_BTEE */
-+ add_wch (WACS_BTEE);
- else
- addch (ACS_BTEE);
- break;
---- mutt_curses.h
-+++ mutt_curses.h
-@@ -43,6 +43,7 @@
- #else /* USE_SLANG_CURSES */
-
- #if HAVE_NCURSESW_NCURSES_H
-+# define _XOPEN_SOURCE_EXTENDED
- # include <ncursesw/ncurses.h>
- #elif HAVE_NCURSES_NCURSES_H
- # include <ncurses/ncurses.h>
diff --git a/mail-client/mutt/files/mutt-1.5.20-crash-on-invalid-limit-pattern.patch b/mail-client/mutt/files/mutt-1.5.20-crash-on-invalid-limit-pattern.patch
deleted file mode 100644
index fae98830ce74..000000000000
--- a/mail-client/mutt/files/mutt-1.5.20-crash-on-invalid-limit-pattern.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-http://bugs.gentoo.org/show_bug.cgi?id=323613
-http://dev.mutt.org/trac/ticket/3417
-
---- pattern.c
-+++ pattern.c
-@@ -1310,6 +1310,7 @@
- simple = safe_strdup (buf);
- mutt_check_simple (buf, sizeof (buf), NONULL (SimpleSearch));
-
-+ memset(&err, 0, sizeof(err));
- err.data = error;
- err.dsize = sizeof (error);
- if ((pat = mutt_pattern_comp (buf, M_FULL_MSG, &err)) == NULL)
diff --git a/mail-client/mutt/files/mutt-1.5.20-dont-reveal-bbc.patch b/mail-client/mutt/files/mutt-1.5.20-dont-reveal-bbc.patch
deleted file mode 100644
index 2404f9b56945..000000000000
--- a/mail-client/mutt/files/mutt-1.5.20-dont-reveal-bbc.patch
+++ /dev/null
@@ -1,103 +0,0 @@
-original patch:
-http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=28;filename=write_bcc.patch.1.5.20-2;att=1;bug=467432
-
-adapted for Gentoo
-
-additional information:
-http://dev.mutt.org/trac/ticket/3337
-http://bugs.debian.org/467432
-
-
-Index: mutt/headers.c
-===================================================================
---- mutt.orig/headers.c 2009-06-30 17:51:05.276042945 +0200
-+++ mutt/headers.c 2009-06-30 17:53:33.055007250 +0200
-@@ -52,7 +52,7 @@
- }
-
- mutt_env_to_local (msg->env);
-- mutt_write_rfc822_header (ofp, msg->env, NULL, 1, 0);
-+ mutt_write_rfc822_header (ofp, msg->env, NULL, 1, 0, 1);
- fputc ('\n', ofp); /* tie off the header. */
-
- /* now copy the body of the message. */
-Index: mutt/init.h
-===================================================================
---- mutt.orig/init.h 2009-06-30 17:53:32.683367849 +0200
-+++ mutt/init.h 2009-06-30 17:53:33.075058388 +0200
-@@ -3365,11 +3365,9 @@
- { "write_bcc", DT_BOOL, R_NONE, OPTWRITEBCC, 1},
- /*
- ** .pp
-- ** Controls whether mutt writes out the ``Bcc:'' header when preparing
-- ** messages to be sent. Exim users may wish to unset this. If mutt
-- ** is set to deliver directly via SMTP (see $$smtp_url), this
-- ** option does nothing: mutt will never write out the ``Bcc:'' header
-- ** in this case.
-+ ** Controls whether mutt writes out the Bcc header when saving
-+ ** messages to FCC. Bcc headers will never be written to a message
-+ ** when sending it.
- */
- { "write_inc", DT_NUM, R_NONE, UL &WriteInc, 10 },
- /*
-Index: mutt/protos.h
-===================================================================
---- mutt.orig/protos.h 2009-06-30 17:51:05.437001183 +0200
-+++ mutt/protos.h 2009-06-30 17:53:33.079080252 +0200
-@@ -372,7 +372,7 @@
- int mutt_write_mime_body (BODY *, FILE *);
- int mutt_write_mime_header (BODY *, FILE *);
- int mutt_write_one_header (FILE *fp, const char *tag, const char *value, const char *pfx, int wraplen, int flags);
--int mutt_write_rfc822_header (FILE *, ENVELOPE *, BODY *, int, int);
-+int mutt_write_rfc822_header (FILE *, ENVELOPE *, BODY *, int, int, int);
- void mutt_write_references (LIST *, FILE *, int);
- int mutt_yesorno (const char *, int);
- void mutt_set_header_color(CONTEXT *, HEADER *);
-Index: mutt/send.c
-===================================================================
---- mutt.orig/send.c 2009-06-30 17:51:05.517523685 +0200
-+++ mutt/send.c 2009-06-30 17:53:33.087100946 +0200
-@@ -994,10 +994,10 @@
- unset_option (OPTWRITEBCC);
- #endif
- #ifdef MIXMASTER
-- mutt_write_rfc822_header (tempfp, msg->env, msg->content, 0, msg->chain ? 1 : 0);
-+ mutt_write_rfc822_header (tempfp, msg->env, msg->content, 0, msg->chain ? 1 : 0, 0);
- #endif
- #ifndef MIXMASTER
-- mutt_write_rfc822_header (tempfp, msg->env, msg->content, 0, 0);
-+ mutt_write_rfc822_header (tempfp, msg->env, msg->content, 0, 0, 0);
- #endif
- #ifdef USE_SMTP
- if (old_write_bcc)
-Index: mutt/sendlib.c
-===================================================================
---- mutt.orig/sendlib.c 2009-06-30 17:51:05.610742969 +0200
-+++ mutt/sendlib.c 2009-06-30 17:53:33.095126896 +0200
-@@ -1835,7 +1835,7 @@
-
-
- int mutt_write_rfc822_header (FILE *fp, ENVELOPE *env, BODY *attach,
-- int mode, int privacy)
-+ int mode, int privacy, int should_write_bcc)
- {
- char buffer[LONG_STRING];
- char *p, *q;
-@@ -1878,7 +1878,7 @@
- else if (mode > 0)
- fputs ("Cc: \n", fp);
-
-- if (env->bcc)
-+ if (env->bcc && should_write_bcc)
- {
- if(mode != 0 || option(OPTWRITEBCC))
- {
-@@ -2616,7 +2616,7 @@
- /* post == 1 => postpone message. Set mode = -1 in mutt_write_rfc822_header()
- * post == 0 => Normal mode. Set mode = 0 in mutt_write_rfc822_header()
- * */
-- mutt_write_rfc822_header (msg->fp, hdr->env, hdr->content, post ? -post : 0, 0);
-+ mutt_write_rfc822_header (msg->fp, hdr->env, hdr->content, post ? -post : 0, 0, 1);
-
- /* (postponment) if this was a reply of some sort, <msgid> contians the
- * Message-ID: of message replied to. Save it using a special X-Mutt-
diff --git a/mail-client/mutt/files/mutt-1.5.20-gpgme-1.2.0.patch b/mail-client/mutt/files/mutt-1.5.20-gpgme-1.2.0.patch
deleted file mode 100644
index ff3ce9f80e0a..000000000000
--- a/mail-client/mutt/files/mutt-1.5.20-gpgme-1.2.0.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-http://bugs.gentoo.org/show_bug.cgi?id=278394
-http://dev.mutt.org/trac/ticket/3300
-
-
---- mutt-1.5.20/init.c
-+++ mutt-1.5.20/init.c
-@@ -50,6 +49,10 @@
- #include <errno.h>
- #include <sys/wait.h>
-
-+#if defined(CRYPT_BACKEND_GPGME)
-+#include <gpgme.h>
-+#endif
-+
- #define CHECK_PAGER \
- if ((CurrentMenu == MENU_PAGER) && (idx >= 0) && \
- (MuttVars[idx].flags & R_RESORT)) \
-@@ -3262,6 +3265,11 @@
-
- mutt_read_histfile ();
-
-+#ifdef CRYPT_BACKEND_GPGME
-+ /* needed since version 1.2.0, ticket #3300 */
-+ gpgme_check_version (NULL);
-+#endif
-+
- #if 0
- set_option (OPTWEED); /* turn weeding on by default */
- #endif
diff --git a/mail-client/mutt/files/mutt-1.5.20-realpath-slowness.patch b/mail-client/mutt/files/mutt-1.5.20-realpath-slowness.patch
deleted file mode 100644
index 9a9753e24297..000000000000
--- a/mail-client/mutt/files/mutt-1.5.20-realpath-slowness.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- buffy.c.orig 2010-04-09 08:47:36.000000000 +0200
-+++ buffy.c 2010-04-09 08:51:38.000000000 +0200
-@@ -223,10 +223,18 @@
- if(!*buf) continue;
-
- /* avoid duplicates */
-- p = realpath (buf, f1);
-+#ifdef USE_IMAP
-+ p = q = NULL;
-+ if (!mx_is_imap (buf))
-+#endif
-+ p = realpath (buf, f1);
-+
- for (tmp = &Incoming; *tmp; tmp = &((*tmp)->next))
- {
-- q = realpath ((*tmp)->path, f2);
-+#ifdef USE_IMAP
-+ if (!mx_is_imap ((*tmp)->path))
-+#endif
-+ q = realpath ((*tmp)->path, f2);
- if (mutt_strcmp (p ? p : buf, q ? q : (*tmp)->path) == 0)
- {
- dprint(3,(debugfile,"mailbox '%s' already registered as '%s'\n", buf, (*tmp)->path));
diff --git a/mail-client/mutt/mutt-1.5.20-r10.ebuild b/mail-client/mutt/mutt-1.5.20-r10.ebuild
deleted file mode 100644
index f253c9a8ba7e..000000000000
--- a/mail-client/mutt/mutt-1.5.20-r10.ebuild
+++ /dev/null
@@ -1,260 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mutt/mutt-1.5.20-r10.ebuild,v 1.9 2010/04/12 08:31:17 grobian Exp $
-
-inherit eutils flag-o-matic autotools
-
-PATCHSET_REV="-r5.1"
-
-# note: latest sidebar patches can be found here:
-# http://www.lunar-linux.org/index.php?option=com_content&task=view&id=44
-SIDEBAR_PATCH_N="patch-1.5.20.sidebar.20090619.txt"
-
-DESCRIPTION="a small but very powerful text-based mail client"
-HOMEPAGE="http://www.mutt.org"
-SRC_URI="ftp://ftp.mutt.org/mutt/devel/${P}.tar.gz
- !vanilla? (
- !sidebar? (
- mirror://gentoo/${P}-gentoo-patches${PATCHSET_REV}.tar.bz2
- http://dev.gentoo.org/~grobian/distfiles/${P}-gentoo-patches${PATCHSET_REV}.tar.bz2
- )
- )
- sidebar? (
- http://www.lunar-linux.org/~tchan/mutt/${SIDEBAR_PATCH_N}
- )"
-IUSE="berkdb crypt debug doc gdbm gnutls gpg idn imap mbox nls nntp pop qdbm sasl sidebar smime smtp ssl tokyocabinet vanilla"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="alpha amd64 hppa ia64 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"
-RDEPEND=">=sys-libs/ncurses-5.2
- tokyocabinet? ( dev-db/tokyocabinet )
- !tokyocabinet? (
- qdbm? ( dev-db/qdbm )
- !qdbm? (
- gdbm? ( sys-libs/gdbm )
- !gdbm? ( berkdb? ( >=sys-libs/db-4 ) )
- )
- )
- imap? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- pop? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- smtp? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- idn? ( net-dns/libidn )
- gpg? ( >=app-crypt/gpgme-0.9.0 )
- smime? ( >=dev-libs/openssl-0.9.6 )
- app-misc/mime-types"
-DEPEND="${RDEPEND}
- net-mail/mailbase
- doc? (
- dev-libs/libxml2
- dev-libs/libxslt
- app-text/docbook-xsl-stylesheets
- || ( www-client/lynx www-client/w3m www-client/elinks )
- )"
-
-PATCHDIR="${WORKDIR}"/${P}-gentoo-patches${PATCHSET_REV}
-
-src_unpack() {
- unpack ${A//${SIDEBAR_PATCH_N}}
- cd "${S}"
-
- # this patch is non-generic and only works because we use a sysconfdir
- # different from the one used by the mailbase ebuild
- use prefix && epatch "${FILESDIR}"/mutt-1.5.13-prefix-mailcap.patch
-
- epatch "${FILESDIR}"/mutt-1.5.18-bdb-prefix.patch # fix bdb detection
- epatch "${FILESDIR}"/mutt-1.5.18-interix.patch
- built_with_use sys-libs/ncurses unicode && \
- epatch "${FILESDIR}"/mutt-1.5.18-solaris-ncurses-chars.patch
- epatch "${FILESDIR}"/mutt-1.5.20-gpgme-1.2.0.patch
- epatch "${FILESDIR}"/mutt-1.5.20-dont-reveal-bbc.patch
-
- # post-release hot-fixes
- for rev in $(eval echo {0..${PR#r}}) ; do
- local revpatch="${PATCHDIR}"/mutt-gentoo-${PV}-r${rev}.patch
- [[ -e ${revpatch} ]] && \
- epatch "${revpatch}"
- done
-
- # patch version string for bug reports
- sed -i -e 's/"Mutt %s (%s)"/"Mutt %s (%s, Gentoo '"${PVR}"')"/' \
- muttlib.c || die "failed patching in Gentoo version"
-
- if use !vanilla && use !sidebar ; then
- use nntp || rm "${PATCHDIR}"/06-nntp.patch
- for p in "${PATCHDIR}"/[0-9][0-9]-*.patch ; do
- epatch "${p}"
- done
- fi
-
- if use sidebar ; then
- use vanilla || \
- ewarn "the sidebar patch is only applied to a vanilla mutt tree"
- epatch "${DISTDIR}"/${SIDEBAR_PATCH_N}
- fi
-
- AT_M4DIR="m4" eautoreconf
-
- # the configure script contains some "cleverness" whether or not to setgid
- # the dotlock program, resulting in bugs like #278332
- sed -i -e 's/@DOTLOCK_GROUP@//' \
- Makefile.in || die "sed failed"
-
- # don't just build documentation (lengthy process, with big dependencies)
- if use !doc ; then
- sed -i -e '/SUBDIRS =/s/doc//' Makefile.in || die
- fi
-}
-
-src_compile() {
- declare myconf="
- $(use_enable nls) \
- $(use_enable gpg gpgme) \
- $(use_enable imap) \
- $(use_enable pop) \
- $(use_enable smtp) \
- $(use_enable crypt pgp) \
- $(use_enable smime) \
- $(use_enable debug) \
- $(use_with idn) \
- --with-curses \
- --sysconfdir="${EPREFIX}"/etc/${PN} \
- --with-docdir="${EPREFIX}"/usr/share/doc/${PN}-${PVR} \
- --with-regex \
- --enable-nfs-fix --enable-external-dotlock \
- $(use_with !nntp mixmaster) \
- --with-exec-shell=${EPREFIX}/bin/sh"
-
- case $CHOST in
- *-darwin7)
- # locales are broken on Panther
- myconf="${myconf} --enable-locales-fix --without-wc-funcs"
- myconf="${myconf} --disable-fcntl --enable-flock"
- ;;
- *-solaris*)
- # Solaris has no flock in the standard headers
- myconf="${myconf} --enable-fcntl --disable-flock"
- ;;
- *)
- myconf="${myconf} --disable-fcntl --enable-flock"
- ;;
- esac
-
- # See Bug #22787
- unset WANT_AUTOCONF_2_5 WANT_AUTOCONF
-
- # mutt prioritizes gdbm over bdb, so we will too.
- # hcache feature requires at least one database is in USE.
- if use tokyocabinet; then
- myconf="${myconf} --enable-hcache \
- --with-tokyocabinet --without-qdbm --without-gdbm --without-bdb"
- elif use qdbm; then
- myconf="${myconf} --enable-hcache \
- --without-tokyocabinet --with-qdbm --without-gdbm --without-bdb"
- elif use gdbm ; then
- myconf="${myconf} --enable-hcache \
- --without-tokyocabinet --without-qdbm --with-gdbm --without-bdb"
- elif use berkdb; then
- myconf="${myconf} --enable-hcache \
- --without-tokyocabinet --without-qdbm --without-gdbm --with-bdb"
- else
- myconf="${myconf} --disable-hcache \
- --without-tokyocabinet --without-qdbm --without-gdbm --without-bdb"
- fi
-
- # there's no need for gnutls, ssl or sasl without socket support
- if use pop || use imap || use smtp ; then
- if use gnutls; then
- myconf="${myconf} --with-gnutls"
- elif use ssl; then
- myconf="${myconf} --with-ssl"
- fi
- # not sure if this should be mutually exclusive with the other two
- myconf="${myconf} $(use_with sasl)"
- else
- myconf="${myconf} --without-gnutls --without-ssl --without-sasl"
- fi
-
- if use mbox; then
- myconf="${myconf} --with-mailpath=${EPREFIX}/var/spool/mail"
- else
- myconf="${myconf} --with-homespool=Maildir"
- fi
-
- if use !vanilla && use !sidebar ; then
- # rr.compressed patch
- myconf="${myconf} --enable-compressed"
-
- # nntp patch applied conditionally, so avoid QA warning when doing
- # --disable-nntp while patch not being applied, bug #262069
- use nntp && myconf="${myconf} --enable-nntp"
- fi
-
- econf ${myconf} || die "configure failed"
- emake || die "make failed"
-}
-
-src_install() {
- local ED=${ED-${D}}
- make DESTDIR="${D}" install || die "install failed"
- find "${ED}"/usr/share/doc -type f | grep -v "html\|manual" | xargs gzip
- if use mbox; then
- insinto /etc/mutt
- newins "${FILESDIR}"/Muttrc.mbox Muttrc
- else
- insinto /etc/mutt
- doins "${FILESDIR}"/Muttrc
- fi
-
- # A newer file is provided by app-misc/mime-types. So we link it.
- rm "${ED}"/etc/${PN}/mime.types
- dosym /etc/mime.types /etc/${PN}/mime.types
-
- # A man-page is always handy
- if use !doc; then
- cp doc/mutt.man mutt.1
- cp doc/muttbug.man flea.1
- doman mutt.1 flea.1
- else
- # nuke manpages that should be provided by an MTA, bug #177605
- rm "${ED}"/usr/share/man/man5/{mbox,mmdf}.5 \
- || ewarn "failed to remove files, please file a bug"
- fi
-
- if use !prefix ; then
- fowners root:mail /usr/bin/mutt_dotlock
- fperms g+s /usr/bin/mutt_dotlock
- fi
-
- dodoc BEWARE COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO VERSION
-}
-
-pkg_setup() {
- if ! use gpg &&
- has_version "<${CATEGORY}/${PN}-1.5.20-r2" &&
- built_with_use ${CATEGORY}/${PN} gpgme ;
- then
- ewarn 'The "gpgme" USE-flag has been changed into "gpg". You'
- ewarn 'previously had "gpgme" set, and you most likely want to'
- ewarn 'enable "gpg" instead, right now, to obtain equivalent behaviour.'
- fi
-}
-
-pkg_postinst() {
- echo
- elog "If you are new to mutt you may want to take a look at"
- elog "the Gentoo QuickStart Guide to Mutt E-Mail:"
- elog " http://www.gentoo.org/doc/en/guide-to-mutt.xml"
- echo
-}
diff --git a/mail-client/mutt/mutt-1.5.20-r13.ebuild b/mail-client/mutt/mutt-1.5.20-r13.ebuild
deleted file mode 100644
index db81c222eb7e..000000000000
--- a/mail-client/mutt/mutt-1.5.20-r13.ebuild
+++ /dev/null
@@ -1,253 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mutt/mutt-1.5.20-r13.ebuild,v 1.3 2010/04/12 08:31:17 grobian Exp $
-
-EAPI="3"
-
-inherit eutils flag-o-matic autotools
-
-PATCHSET_REV="-r5.1"
-
-# note: latest sidebar patches can be found here:
-# http://www.lunar-linux.org/index.php?option=com_content&task=view&id=44
-SIDEBAR_PATCH_N="patch-1.5.20.sidebar.20090619.txt"
-
-DESCRIPTION="a small but very powerful text-based mail client"
-HOMEPAGE="http://www.mutt.org"
-SRC_URI="ftp://ftp.mutt.org/mutt/devel/${P}.tar.gz
- !vanilla? (
- !sidebar? (
- mirror://gentoo/${P}-gentoo-patches${PATCHSET_REV}.tar.bz2
- http://dev.gentoo.org/~grobian/distfiles/${P}-gentoo-patches${PATCHSET_REV}.tar.bz2
- )
- )
- sidebar? (
- http://www.lunar-linux.org/~tchan/mutt/${SIDEBAR_PATCH_N}
- )"
-IUSE="berkdb crypt debug doc gdbm gnutls gpg idn imap mbox nls nntp pop qdbm sasl sidebar smime smtp ssl tokyocabinet vanilla"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~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"
-RDEPEND=">=sys-libs/ncurses-5.2
- tokyocabinet? ( dev-db/tokyocabinet )
- !tokyocabinet? (
- qdbm? ( dev-db/qdbm )
- !qdbm? (
- gdbm? ( sys-libs/gdbm )
- !gdbm? ( berkdb? ( >=sys-libs/db-4 ) )
- )
- )
- imap? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- pop? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- smtp? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- idn? ( net-dns/libidn )
- gpg? ( >=app-crypt/gpgme-0.9.0 )
- smime? ( >=dev-libs/openssl-0.9.6 )
- app-misc/mime-types"
-DEPEND="${RDEPEND}
- net-mail/mailbase
- doc? (
- dev-libs/libxml2
- dev-libs/libxslt
- app-text/docbook-xsl-stylesheets
- || ( www-client/lynx www-client/w3m www-client/elinks )
- )"
-
-PATCHDIR="${WORKDIR}"/${P}-gentoo-patches${PATCHSET_REV}
-
-src_unpack() {
- unpack ${A//${SIDEBAR_PATCH_N}}
-}
-
-src_prepare() {
- # this patch is non-generic and only works because we use a sysconfdir
- # different from the one used by the mailbase ebuild
- use prefix && epatch "${FILESDIR}"/mutt-1.5.13-prefix-mailcap.patch
-
- epatch "${FILESDIR}"/mutt-1.5.18-bdb-prefix.patch # fix bdb detection
- epatch "${FILESDIR}"/mutt-1.5.18-interix.patch
- built_with_use sys-libs/ncurses unicode && \
- epatch "${FILESDIR}"/mutt-1.5.18-solaris-ncurses-chars.patch
- epatch "${FILESDIR}"/mutt-1.5.20-gpgme-1.2.0.patch
- epatch "${FILESDIR}"/mutt-1.5.20-dont-reveal-bbc.patch
-
- # post-release hot-fixes
- for rev in $(eval echo {0..${PR#r}}) ; do
- local revpatch="${PATCHDIR}"/mutt-gentoo-${PV}-r${rev}.patch
- [[ -e ${revpatch} ]] && \
- epatch "${revpatch}"
- done
-
- # patch version string for bug reports
- sed -i -e 's/"Mutt %s (%s)"/"Mutt %s (%s, Gentoo '"${PVR}"')"/' \
- muttlib.c || die "failed patching in Gentoo version"
-
- if use !vanilla && use !sidebar ; then
- use nntp || rm "${PATCHDIR}"/06-nntp.patch
- for p in "${PATCHDIR}"/[0-9][0-9]-*.patch ; do
- epatch "${p}"
- done
- fi
-
- if use sidebar ; then
- use vanilla || \
- ewarn "the sidebar patch is only applied to a vanilla mutt tree"
- epatch "${DISTDIR}"/${SIDEBAR_PATCH_N}
- fi
-
- AT_M4DIR="m4" eautoreconf
-
- # the configure script contains some "cleverness" whether or not to setgid
- # the dotlock program, resulting in bugs like #278332
- sed -i -e 's/@DOTLOCK_GROUP@//' \
- Makefile.in || die "sed failed"
-
- # don't just build documentation (lengthy process, with big dependencies)
- if use !doc ; then
- sed -i -e '/SUBDIRS =/s/doc//' Makefile.in || die
- fi
-}
-
-src_configure() {
- declare myconf="
- $(use_enable nls) \
- $(use_enable gpg gpgme) \
- $(use_enable imap) \
- $(use_enable pop) \
- $(use_enable smtp) \
- $(use_enable crypt pgp) \
- $(use_enable smime) \
- $(use_enable debug) \
- $(use_with idn) \
- --with-curses \
- --sysconfdir="${EPREFIX}"/etc/${PN} \
- --with-docdir="${EPREFIX}"/usr/share/doc/${PN}-${PVR} \
- --with-regex \
- --enable-nfs-fix --enable-external-dotlock \
- $(use_with !nntp mixmaster) \
- --with-exec-shell=${EPREFIX}/bin/sh"
-
- case $CHOST in
- *-solaris*)
- # Solaris has no flock in the standard headers
- myconf="${myconf} --enable-fcntl --disable-flock"
- ;;
- *)
- myconf="${myconf} --disable-fcntl --enable-flock"
- ;;
- esac
-
- # mutt prioritizes gdbm over bdb, so we will too.
- # hcache feature requires at least one database is in USE.
- if use tokyocabinet; then
- myconf="${myconf} --enable-hcache \
- --with-tokyocabinet --without-qdbm --without-gdbm --without-bdb"
- elif use qdbm; then
- myconf="${myconf} --enable-hcache \
- --without-tokyocabinet --with-qdbm --without-gdbm --without-bdb"
- elif use gdbm ; then
- myconf="${myconf} --enable-hcache \
- --without-tokyocabinet --without-qdbm --with-gdbm --without-bdb"
- elif use berkdb; then
- myconf="${myconf} --enable-hcache \
- --without-tokyocabinet --without-qdbm --without-gdbm --with-bdb"
- else
- myconf="${myconf} --disable-hcache \
- --without-tokyocabinet --without-qdbm --without-gdbm --without-bdb"
- fi
-
- # there's no need for gnutls, ssl or sasl without socket support
- if use pop || use imap || use smtp ; then
- if use gnutls; then
- myconf="${myconf} --with-gnutls"
- elif use ssl; then
- myconf="${myconf} --with-ssl"
- fi
- # not sure if this should be mutually exclusive with the other two
- myconf="${myconf} $(use_with sasl)"
- else
- myconf="${myconf} --without-gnutls --without-ssl --without-sasl"
- fi
-
- if use mbox; then
- myconf="${myconf} --with-mailpath=${EPREFIX}/var/spool/mail"
- else
- myconf="${myconf} --with-homespool=Maildir"
- fi
-
- if use !vanilla && use !sidebar ; then
- # rr.compressed patch
- myconf="${myconf} --enable-compressed"
-
- # nntp patch applied conditionally, so avoid QA warning when doing
- # --disable-nntp while patch not being applied, bug #262069
- use nntp && myconf="${myconf} --enable-nntp"
- fi
-
- econf ${myconf} || die "configure failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "install failed"
- find "${ED}"/usr/share/doc -type f | grep -v "html\|manual" | xargs gzip
- if use mbox; then
- insinto /etc/mutt
- newins "${FILESDIR}"/Muttrc.mbox Muttrc
- else
- insinto /etc/mutt
- doins "${FILESDIR}"/Muttrc
- fi
-
- # A newer file is provided by app-misc/mime-types. So we link it.
- rm "${ED}"/etc/${PN}/mime.types
- dosym /etc/mime.types /etc/${PN}/mime.types
-
- # A man-page is always handy
- if use !doc; then
- cp doc/mutt.man mutt.1
- cp doc/muttbug.man flea.1
- doman mutt.1 flea.1
- else
- # nuke manpages that should be provided by an MTA, bug #177605
- rm "${ED}"/usr/share/man/man5/{mbox,mmdf}.5 \
- || ewarn "failed to remove files, please file a bug"
- fi
-
- if use !prefix ; then
- fowners root:mail /usr/bin/mutt_dotlock
- fperms g+s /usr/bin/mutt_dotlock
- fi
-
- dodoc BEWARE COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO VERSION
-}
-
-pkg_setup() {
- if ! use gpg &&
- has_version "<${CATEGORY}/${PN}-1.5.20-r2" &&
- built_with_use ${CATEGORY}/${PN} gpgme ;
- then
- ewarn 'The "gpgme" USE-flag has been changed into "gpg". You'
- ewarn 'previously had "gpgme" set, and you most likely want to'
- ewarn 'enable "gpg" instead, right now, to obtain equivalent behaviour.'
- fi
-}
-
-pkg_postinst() {
- echo
- elog "If you are new to mutt you may want to take a look at"
- elog "the Gentoo QuickStart Guide to Mutt E-Mail:"
- elog " http://www.gentoo.org/doc/en/guide-to-mutt.xml"
- echo
-}
diff --git a/mail-client/mutt/mutt-1.5.20-r15.ebuild b/mail-client/mutt/mutt-1.5.20-r15.ebuild
deleted file mode 100644
index 5c348b2c67bf..000000000000
--- a/mail-client/mutt/mutt-1.5.20-r15.ebuild
+++ /dev/null
@@ -1,270 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mutt/mutt-1.5.20-r15.ebuild,v 1.6 2010/07/16 07:11:48 grobian Exp $
-
-EAPI="3"
-
-inherit eutils flag-o-matic autotools
-
-PATCHSET_REV="-r7"
-
-# note: latest sidebar patches can be found here:
-# http://www.lunar-linux.org/index.php?option=com_content&task=view&id=44
-SIDEBAR_PATCH_N="patch-1.5.20.sidebar.20090619.txt"
-
-DESCRIPTION="a small but very powerful text-based mail client"
-HOMEPAGE="http://www.mutt.org"
-SRC_URI="ftp://ftp.mutt.org/mutt/devel/${P}.tar.gz
- !vanilla? (
- !sidebar? (
- mirror://gentoo/${P}-gentoo-patches${PATCHSET_REV}.tar.bz2
- http://dev.gentoo.org/~grobian/distfiles/${P}-gentoo-patches${PATCHSET_REV}.tar.bz2
- )
- )
- sidebar? (
- http://www.lunar-linux.org/~tchan/mutt/${SIDEBAR_PATCH_N}
- )"
-IUSE="berkdb crypt debug doc gdbm gnutls gpg idn imap mbox nls nntp pop qdbm sasl sidebar smime smtp ssl tokyocabinet vanilla"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~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"
-RDEPEND=">=sys-libs/ncurses-5.2
- tokyocabinet? ( dev-db/tokyocabinet )
- !tokyocabinet? (
- qdbm? ( dev-db/qdbm )
- !qdbm? (
- gdbm? ( sys-libs/gdbm )
- !gdbm? ( berkdb? ( >=sys-libs/db-4 ) )
- )
- )
- imap? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- pop? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- smtp? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- idn? ( net-dns/libidn )
- gpg? ( >=app-crypt/gpgme-0.9.0 )
- smime? ( >=dev-libs/openssl-0.9.6 )
- app-misc/mime-types"
-DEPEND="${RDEPEND}
- net-mail/mailbase
- doc? (
- dev-libs/libxml2
- dev-libs/libxslt
- app-text/docbook-xsl-stylesheets
- || ( www-client/lynx www-client/w3m www-client/elinks )
- )"
-
-PATCHDIR="${WORKDIR}"/${P}-gentoo-patches${PATCHSET_REV}
-
-src_unpack() {
- unpack ${A//${SIDEBAR_PATCH_N}}
-}
-
-src_prepare() {
- # this patch is non-generic and only works because we use a sysconfdir
- # different from the one used by the mailbase ebuild
- use prefix && epatch "${FILESDIR}"/mutt-1.5.13-prefix-mailcap.patch
-
- # must haves to compile or behave correctly
- epatch "${FILESDIR}"/mutt-1.5.18-bdb-prefix.patch # fix bdb detection
- epatch "${FILESDIR}"/mutt-1.5.18-interix.patch
- built_with_use sys-libs/ncurses unicode && \
- epatch "${FILESDIR}"/mutt-1.5.18-solaris-ncurses-chars.patch
- epatch "${FILESDIR}"/mutt-1.5.20-gpgme-1.2.0.patch
-
- local pristine=$(use vanilla && echo yes)
- if use sidebar && use !vanilla ; then
- ewarn "due to the complexity of the sidebar patch and requests"
- ewarn "from the author of the patch, USE=sidebar implies USE=vanilla"
- pristine=yes
- fi
- if [[ ${pristine} == yes ]] ; then
- ewarn "USE=vanilla excludes any post-release or feature patches!"
- use sidebar && ewarn "(except the sidebar patch you requested)"
- ewarn "you are very likely to encounter known bugs due to upstream's"
- ewarn "\"almost never\" release policy, please only use USE=vanilla"
- ewarn "if you have to test an (almost) pristine mutt tarball."
- fi
-
- if [[ ${pristine} != yes ]] ; then
- # fixes that are not yet upstream, or that upstream doesn't like
- epatch "${FILESDIR}"/mutt-1.5.20-dont-reveal-bbc.patch
- epatch "${FILESDIR}"/mutt-1.5.20-realpath-slowness.patch
- epatch "${FILESDIR}"/mutt-1.5.20-crash-on-invalid-limit-pattern.patch
-
- # post-release hot-fixes grabbed from HG
- for rev in $(eval echo {0..${PR#r}}) ; do
- local revpatch="${PATCHDIR}"/mutt-gentoo-${PV}-r${rev}.patch
- [[ -e ${revpatch} ]] && \
- epatch "${revpatch}"
- done
-
- # patch version string for bug reports
- sed -i -e 's/"Mutt %s (%s)"/"Mutt %s (%s, Gentoo '"${PVR}"')"/' \
- muttlib.c || die "failed patching in Gentoo version"
-
- # the big feature patches that upstream doesn't want to include, but
- # nearly every distro has due to their usefulness
- use nntp || rm "${PATCHDIR}"/06-nntp.patch
- for p in "${PATCHDIR}"/[0-9][0-9]-*.patch ; do
- epatch "${p}"
- done
- else
- use sidebar && epatch "${DISTDIR}"/${SIDEBAR_PATCH_N}
- fi
-
- AT_M4DIR="m4" eautoreconf
-
- # the configure script contains some "cleverness" whether or not to setgid
- # the dotlock program, resulting in bugs like #278332
- sed -i -e 's/@DOTLOCK_GROUP@//' \
- Makefile.in || die "sed failed"
-
- # don't just build documentation (lengthy process, with big dependencies)
- if use !doc ; then
- sed -i -e '/SUBDIRS =/s/doc//' Makefile.in || die
- fi
-}
-
-src_configure() {
- declare myconf="
- $(use_enable nls) \
- $(use_enable gpg gpgme) \
- $(use_enable imap) \
- $(use_enable pop) \
- $(use_enable smtp) \
- $(use_enable crypt pgp) \
- $(use_enable smime) \
- $(use_enable debug) \
- $(use_with idn) \
- --with-curses \
- --sysconfdir="${EPREFIX}"/etc/${PN} \
- --with-docdir="${EPREFIX}"/usr/share/doc/${PN}-${PVR} \
- --with-regex \
- --enable-nfs-fix --enable-external-dotlock \
- $(use_with !nntp mixmaster) \
- --with-exec-shell=${EPREFIX}/bin/sh"
-
- case $CHOST in
- *-solaris*)
- # Solaris has no flock in the standard headers
- myconf="${myconf} --enable-fcntl --disable-flock"
- ;;
- *)
- myconf="${myconf} --disable-fcntl --enable-flock"
- ;;
- esac
-
- # mutt prioritizes gdbm over bdb, so we will too.
- # hcache feature requires at least one database is in USE.
- if use tokyocabinet; then
- myconf="${myconf} --enable-hcache \
- --with-tokyocabinet --without-qdbm --without-gdbm --without-bdb"
- elif use qdbm; then
- myconf="${myconf} --enable-hcache \
- --without-tokyocabinet --with-qdbm --without-gdbm --without-bdb"
- elif use gdbm ; then
- myconf="${myconf} --enable-hcache \
- --without-tokyocabinet --without-qdbm --with-gdbm --without-bdb"
- elif use berkdb; then
- myconf="${myconf} --enable-hcache \
- --without-tokyocabinet --without-qdbm --without-gdbm --with-bdb"
- else
- myconf="${myconf} --disable-hcache \
- --without-tokyocabinet --without-qdbm --without-gdbm --without-bdb"
- fi
-
- # there's no need for gnutls, ssl or sasl without socket support
- if use pop || use imap || use smtp ; then
- if use gnutls; then
- myconf="${myconf} --with-gnutls"
- elif use ssl; then
- myconf="${myconf} --with-ssl"
- fi
- # not sure if this should be mutually exclusive with the other two
- myconf="${myconf} $(use_with sasl)"
- else
- myconf="${myconf} --without-gnutls --without-ssl --without-sasl"
- fi
-
- if use mbox; then
- myconf="${myconf} --with-mailpath=${EPREFIX}/var/spool/mail"
- else
- myconf="${myconf} --with-homespool=Maildir"
- fi
-
- if use !vanilla && use !sidebar ; then
- # rr.compressed patch
- myconf="${myconf} --enable-compressed"
-
- # nntp patch applied conditionally, so avoid QA warning when doing
- # --disable-nntp while patch not being applied, bug #262069
- use nntp && myconf="${myconf} --enable-nntp"
- fi
-
- econf ${myconf} || die "configure failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "install failed"
- find "${ED}"/usr/share/doc -type f | grep -v "html\|manual" | xargs gzip
- if use mbox; then
- insinto /etc/mutt
- newins "${FILESDIR}"/Muttrc.mbox Muttrc
- else
- insinto /etc/mutt
- doins "${FILESDIR}"/Muttrc
- fi
-
- # A newer file is provided by app-misc/mime-types. So we link it.
- rm "${ED}"/etc/${PN}/mime.types
- dosym /etc/mime.types /etc/${PN}/mime.types
-
- # A man-page is always handy
- if use !doc; then
- cp doc/mutt.man mutt.1
- cp doc/muttbug.man flea.1
- doman mutt.1 flea.1
- else
- # nuke manpages that should be provided by an MTA, bug #177605
- rm "${ED}"/usr/share/man/man5/{mbox,mmdf}.5 \
- || ewarn "failed to remove files, please file a bug"
- fi
-
- if use !prefix ; then
- fowners root:mail /usr/bin/mutt_dotlock
- fperms g+s /usr/bin/mutt_dotlock
- fi
-
- dodoc BEWARE COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO VERSION
-}
-
-pkg_setup() {
- if ! use gpg &&
- has_version "<${CATEGORY}/${PN}-1.5.20-r2" &&
- built_with_use ${CATEGORY}/${PN} gpgme ;
- then
- ewarn 'The "gpgme" USE-flag has been changed into "gpg". You'
- ewarn 'previously had "gpgme" set, and you most likely want to'
- ewarn 'enable "gpg" instead, right now, to obtain equivalent behaviour.'
- fi
-}
-
-pkg_postinst() {
- echo
- elog "If you are new to mutt you may want to take a look at"
- elog "the Gentoo QuickStart Guide to Mutt E-Mail:"
- elog " http://www.gentoo.org/doc/en/guide-to-mutt.xml"
- echo
-}
diff --git a/mail-client/mutt/mutt-1.5.20-r17.ebuild b/mail-client/mutt/mutt-1.5.20-r17.ebuild
deleted file mode 100644
index 564fb4304bf4..000000000000
--- a/mail-client/mutt/mutt-1.5.20-r17.ebuild
+++ /dev/null
@@ -1,225 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mutt/mutt-1.5.20-r17.ebuild,v 1.1 2010/08/02 20:41:35 grobian Exp $
-
-EAPI="3"
-
-inherit eutils flag-o-matic autotools
-
-PATCHSET_REV="-r10"
-
-DESCRIPTION="a small but very powerful text-based mail client"
-HOMEPAGE="http://www.mutt.org"
-SRC_URI="ftp://ftp.mutt.org/mutt/devel/${P}.tar.gz
- mirror://gentoo/${P}-gentoo-patches${PATCHSET_REV}.tar.bz2
- http://dev.gentoo.org/~grobian/distfiles/${P}-gentoo-patches${PATCHSET_REV}.tar.bz2"
-IUSE="berkdb crypt debug doc gdbm gnutls gpg idn imap mbox nls nntp pop qdbm sasl sidebar smime smtp ssl tokyocabinet"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~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"
-RDEPEND=">=sys-libs/ncurses-5.2
- tokyocabinet? ( dev-db/tokyocabinet )
- !tokyocabinet? (
- qdbm? ( dev-db/qdbm )
- !qdbm? (
- gdbm? ( sys-libs/gdbm )
- !gdbm? ( berkdb? ( >=sys-libs/db-4 ) )
- )
- )
- imap? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- pop? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- smtp? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- idn? ( net-dns/libidn )
- gpg? ( >=app-crypt/gpgme-0.9.0 )
- smime? ( >=dev-libs/openssl-0.9.6 )
- app-misc/mime-types"
-DEPEND="${RDEPEND}
- net-mail/mailbase
- doc? (
- dev-libs/libxml2
- dev-libs/libxslt
- app-text/docbook-xsl-stylesheets
- || ( www-client/lynx www-client/w3m www-client/elinks )
- )"
-
-PATCHDIR="${WORKDIR}"/${P}-gentoo-patches${PATCHSET_REV}
-
-src_prepare() {
- # Post-release hot-fixes grabbed from HG, this is what all following
- # patches are based on in my Mercurial patchqueue (mq).
- # If you ever take over or need to modify patches here, just ask me
- # (grobian) for a Mercurial clone of my gentoo branch(es) and
- # patchqueue as it'll save you a lot of work.
- for rev in $(eval echo {0..${PR#r}}) ; do
- local revpatch="${PATCHDIR}"/mutt-gentoo-${PV}-r${rev}.patch
- [[ -e ${revpatch} ]] && \
- epatch "${revpatch}"
- done
-
- # this patch is non-generic and only works because we use a sysconfdir
- # different from the one used by the mailbase ebuild
- use prefix && epatch "${PATCHDIR}"/prefix-mailcap.patch
-
- # must have fixes to compile or behave correctly, upstream
- # ignores, disagrees or simply doesn't respond/apply
- epatch "${PATCHDIR}"/bdb-prefix.patch # fix bdb detection
- epatch "${PATCHDIR}"/interix-btowc.patch
- epatch "${PATCHDIR}"/solaris-ncurses-chars.patch
- epatch "${PATCHDIR}"/gpgme-1.2.0.patch
- # same category, but functional bits
- epatch "${PATCHDIR}"/dont-reveal-bbc.patch
- epatch "${PATCHDIR}"/realpath-slowness.patch
- epatch "${PATCHDIR}"/crash-on-invalid-limit-pattern.patch
-
- # the big feature patches that upstream doesn't want to include, but
- # nearly every distro has due to their usefulness
- for p in "${PATCHDIR}"/[0-9][0-9]-*.patch ; do
- epatch "${p}"
- done
-
- use sidebar && epatch "${PATCHDIR}"/sidebar.20090619.patch
-
- # patch version string for bug reports
- sed -i -e 's/"Mutt %s (%s)"/"Mutt %s (%s, Gentoo '"${PVR}"')"/' \
- muttlib.c || die "failed patching in Gentoo version"
-
- # many patches touch the buildsystem, we always need this
- AT_M4DIR="m4" eautoreconf
-
- # the configure script contains some "cleverness" whether or not to setgid
- # the dotlock program, resulting in bugs like #278332
- sed -i -e 's/@DOTLOCK_GROUP@//' \
- Makefile.in || die "sed failed"
-
- # don't just build documentation (lengthy process, with big dependencies)
- if use !doc ; then
- sed -i -e '/SUBDIRS =/s/doc//' Makefile.in || die
- fi
-}
-
-src_configure() {
- local myconf="
- $(use_enable crypt pgp) \
- $(use_enable debug) \
- $(use_enable gpg gpgme) \
- $(use_enable imap) \
- $(use_enable nls) \
- $(use_enable nntp) \
- $(use_enable pop) \
- $(use_enable smime) \
- $(use_enable smtp) \
- $(use_with idn) \
- $(use_with !nntp mixmaster) \
- --enable-compressed \
- --enable-external-dotlock \
- --enable-nfs-fix \
- --sysconfdir="${EPREFIX}"/etc/${PN} \
- --with-curses \
- --with-docdir="${EPREFIX}"/usr/share/doc/${PN}-${PVR} \
- --with-regex \
- --with-exec-shell=${EPREFIX}/bin/sh"
-
- case $CHOST in
- *-solaris*)
- # Solaris has no flock in the standard headers
- myconf="${myconf} --enable-fcntl --disable-flock"
- ;;
- *)
- myconf="${myconf} --disable-fcntl --enable-flock"
- ;;
- esac
-
- # mutt prioritizes gdbm over bdb, so we will too.
- # hcache feature requires at least one database is in USE.
- if use tokyocabinet; then
- myconf="${myconf} --enable-hcache \
- --with-tokyocabinet --without-qdbm --without-gdbm --without-bdb"
- elif use qdbm; then
- myconf="${myconf} --enable-hcache \
- --without-tokyocabinet --with-qdbm --without-gdbm --without-bdb"
- elif use gdbm ; then
- myconf="${myconf} --enable-hcache \
- --without-tokyocabinet --without-qdbm --with-gdbm --without-bdb"
- elif use berkdb; then
- myconf="${myconf} --enable-hcache \
- --without-tokyocabinet --without-qdbm --without-gdbm --with-bdb"
- else
- myconf="${myconf} --disable-hcache \
- --without-tokyocabinet --without-qdbm --without-gdbm --without-bdb"
- fi
-
- # there's no need for gnutls, ssl or sasl without socket support
- if use pop || use imap || use smtp ; then
- if use gnutls; then
- myconf="${myconf} --with-gnutls"
- elif use ssl; then
- myconf="${myconf} --with-ssl"
- fi
- # not sure if this should be mutually exclusive with the other two
- myconf="${myconf} $(use_with sasl)"
- else
- myconf="${myconf} --without-gnutls --without-ssl --without-sasl"
- fi
-
- if use mbox; then
- myconf="${myconf} --with-mailpath=${EPREFIX}/var/spool/mail"
- else
- myconf="${myconf} --with-homespool=Maildir"
- fi
-
- econf ${myconf} || die "configure failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "install failed"
- find "${ED}"/usr/share/doc -type f | grep -v "html\|manual" | xargs gzip
- if use mbox; then
- insinto /etc/mutt
- newins "${FILESDIR}"/Muttrc.mbox Muttrc
- else
- insinto /etc/mutt
- doins "${FILESDIR}"/Muttrc
- fi
-
- # A newer file is provided by app-misc/mime-types. So we link it.
- rm "${ED}"/etc/${PN}/mime.types
- dosym /etc/mime.types /etc/${PN}/mime.types
-
- # A man-page is always handy
- if use !doc; then
- cp doc/mutt.man mutt.1
- cp doc/muttbug.man flea.1
- doman mutt.1 flea.1
- else
- # nuke manpages that should be provided by an MTA, bug #177605
- rm "${ED}"/usr/share/man/man5/{mbox,mmdf}.5 \
- || ewarn "failed to remove files, please file a bug"
- fi
-
- if use !prefix ; then
- fowners root:mail /usr/bin/mutt_dotlock
- fperms g+s /usr/bin/mutt_dotlock
- fi
-
- dodoc BEWARE COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO VERSION
-}
-
-pkg_postinst() {
- echo
- elog "If you are new to mutt you may want to take a look at"
- elog "the Gentoo QuickStart Guide to Mutt E-Mail:"
- elog " http://www.gentoo.org/doc/en/guide-to-mutt.xml"
- echo
-}
diff --git a/mail-client/mutt/mutt-1.5.20-r6.ebuild b/mail-client/mutt/mutt-1.5.20-r6.ebuild
deleted file mode 100644
index 9618f202bb60..000000000000
--- a/mail-client/mutt/mutt-1.5.20-r6.ebuild
+++ /dev/null
@@ -1,250 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mutt/mutt-1.5.20-r6.ebuild,v 1.6 2010/04/12 08:31:17 grobian Exp $
-
-inherit eutils flag-o-matic autotools
-
-PATCHSET_REV="-r5.1"
-
-# note: latest sidebar patches can be found here:
-# http://www.lunar-linux.org/index.php?option=com_content&task=view&id=44
-SIDEBAR_PATCH_N="patch-1.5.20.sidebar.20090619.txt"
-
-DESCRIPTION="a small but very powerful text-based mail client"
-HOMEPAGE="http://www.mutt.org"
-SRC_URI="ftp://ftp.mutt.org/mutt/devel/${P}.tar.gz
- !vanilla? (
- !sidebar? (
- mirror://gentoo/${P}-gentoo-patches${PATCHSET_REV}.tar.bz2
- http://dev.gentoo.org/~grobian/distfiles/${P}-gentoo-patches${PATCHSET_REV}.tar.bz2
- )
- )
- sidebar? (
- http://www.lunar-linux.org/~tchan/mutt/${SIDEBAR_PATCH_N}
- )"
-IUSE="berkdb crypt debug doc gdbm gnutls gpg idn imap mbox nls nntp pop qdbm sasl sidebar smime smtp ssl vanilla"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~mips"
-RDEPEND=">=sys-libs/ncurses-5.2
- qdbm? ( dev-db/qdbm )
- !qdbm? (
- gdbm? ( sys-libs/gdbm )
- !gdbm? ( berkdb? ( >=sys-libs/db-4 ) )
- )
- imap? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- pop? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- smtp? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- idn? ( net-dns/libidn )
- gpg? ( >=app-crypt/gpgme-0.9.0 )
- smime? ( >=dev-libs/openssl-0.9.6 )
- app-misc/mime-types"
-DEPEND="${RDEPEND}
- net-mail/mailbase
- doc? (
- dev-libs/libxml2
- dev-libs/libxslt
- app-text/docbook-xsl-stylesheets
- || ( www-client/lynx www-client/w3m www-client/elinks )
- )"
-
-PATCHDIR="${WORKDIR}"/${P}-gentoo-patches${PATCHSET_REV}
-
-src_unpack() {
- unpack ${A//${SIDEBAR_PATCH_N}}
- cd "${S}"
-
- # this patch is non-generic and only works because we use a sysconfdir
- # different from the one used by the mailbase ebuild
- use prefix && epatch "${FILESDIR}"/mutt-1.5.13-prefix-mailcap.patch
-
- epatch "${FILESDIR}"/mutt-1.5.18-bdb-prefix.patch # fix bdb detection
- epatch "${FILESDIR}"/mutt-1.5.18-interix.patch
- built_with_use sys-libs/ncurses unicode && \
- epatch "${FILESDIR}"/mutt-1.5.18-solaris-ncurses-chars.patch
- epatch "${FILESDIR}"/mutt-1.5.20-gpgme-1.2.0.patch
- epatch "${FILESDIR}"/mutt-1.5.20-dont-reveal-bbc.patch
-
- # post-release hot-fixes
- for rev in $(eval echo {0..${PR#r}}) ; do
- local revpatch="${PATCHDIR}"/mutt-gentoo-${PV}-r${rev}.patch
- [[ -e ${revpatch} ]] && \
- epatch "${revpatch}"
- done
-
- # patch version string for bug reports
- sed -i -e 's/"Mutt %s (%s)"/"Mutt %s (%s, Gentoo '"${PVR}"')"/' \
- muttlib.c || die "failed patching in Gentoo version"
-
- if use !vanilla && use !sidebar ; then
- use nntp || rm "${PATCHDIR}"/06-nntp.patch
- for p in "${PATCHDIR}"/[0-9][0-9]-*.patch ; do
- epatch "${p}"
- done
- fi
-
- if use sidebar ; then
- use vanilla || \
- ewarn "The sidebar patch is only applied to a vanilla mutt tree."
- epatch "${DISTDIR}"/${SIDEBAR_PATCH_N}
- fi
-
- AT_M4DIR="m4" eautoreconf
-
- # the configure script contains some "cleverness" whether or not to setgid
- # the dotlock program, resulting in bugs like #278332
- sed -i -e 's/@DOTLOCK_GROUP@//' \
- Makefile.in || die "sed failed"
-
- # don't just build documentation (lengthy process, with big dependencies)
- if use !doc ; then
- sed -i -e '/SUBDIRS =/s/doc//' Makefile.in || die
- fi
-}
-
-src_compile() {
- declare myconf="
- $(use_enable nls) \
- $(use_enable gpg gpgme) \
- $(use_enable imap) \
- $(use_enable pop) \
- $(use_enable smtp) \
- $(use_enable crypt pgp) \
- $(use_enable smime) \
- $(use_enable debug) \
- $(use_with idn) \
- --with-curses \
- --sysconfdir="${EPREFIX}"/etc/${PN} \
- --with-docdir="${EPREFIX}"/usr/share/doc/${PN}-${PVR} \
- --with-regex \
- --enable-nfs-fix --enable-external-dotlock \
- $(use_with !nntp mixmaster) \
- --with-exec-shell=${EPREFIX}/bin/sh"
-
- case $CHOST in
- *-darwin7)
- # locales are broken on Panther
- myconf="${myconf} --enable-locales-fix --without-wc-funcs"
- myconf="${myconf} --disable-fcntl --enable-flock"
- ;;
- *-solaris*)
- # Solaris has no flock in the standard headers
- myconf="${myconf} --enable-fcntl --disable-flock"
- ;;
- *)
- myconf="${myconf} --disable-fcntl --enable-flock"
- ;;
- esac
-
- # See Bug #22787
- unset WANT_AUTOCONF_2_5 WANT_AUTOCONF
-
- # mutt prioritizes gdbm over bdb, so we will too.
- # hcache feature requires at least one database is in USE.
- if use qdbm; then
- myconf="${myconf} --enable-hcache \
- --with-qdbm --without-gdbm --without-bdb"
- elif use gdbm ; then
- myconf="${myconf} --enable-hcache \
- --without-qdbm --with-gdbm --without-bdb"
- elif use berkdb; then
- myconf="${myconf} --enable-hcache \
- --without-gdbm --without-qdbm --with-bdb"
- else
- myconf="${myconf} --disable-hcache \
- --without-qdbm --without-gdbm --without-bdb"
- fi
-
- # there's no need for gnutls, ssl or sasl without socket support
- if use pop || use imap || use smtp ; then
- if use gnutls; then
- myconf="${myconf} --with-gnutls"
- elif use ssl; then
- myconf="${myconf} --with-ssl"
- fi
- # not sure if this should be mutually exclusive with the other two
- myconf="${myconf} $(use_with sasl)"
- else
- myconf="${myconf} --without-gnutls --without-ssl --without-sasl"
- fi
-
- if use mbox; then
- myconf="${myconf} --with-mailpath=${EPREFIX}/var/spool/mail"
- else
- myconf="${myconf} --with-homespool=Maildir"
- fi
-
- if use !vanilla && use !sidebar ; then
- # rr.compressed patch
- myconf="${myconf} --enable-compressed"
-
- # nntp patch applied conditionally, so avoid QA warning when doing
- # --disable-nntp while patch not being applied, bug #262069
- use nntp && myconf="${myconf} --enable-nntp"
- fi
-
- econf ${myconf} || die "configure failed"
- emake || die "make failed"
-}
-
-src_install() {
- local ED=${ED-${D}}
- make DESTDIR="${D}" install || die "install failed"
- find "${ED}"/usr/share/doc -type f | grep -v "html\|manual" | xargs gzip
- if use mbox; then
- insinto /etc/mutt
- newins "${FILESDIR}"/Muttrc.mbox Muttrc
- else
- insinto /etc/mutt
- doins "${FILESDIR}"/Muttrc
- fi
-
- # A newer file is provided by app-misc/mime-types. So we link it.
- rm "${ED}"/etc/${PN}/mime.types
- dosym /etc/mime.types /etc/${PN}/mime.types
-
- # A man-page is always handy
- if use !doc; then
- cp doc/mutt.man mutt.1
- cp doc/muttbug.man flea.1
- doman mutt.1 flea.1
- fi
-
- if use !prefix ; then
- fowners root:mail /usr/bin/mutt_dotlock
- fperms g+s /usr/bin/mutt_dotlock
- fi
-
- dodoc BEWARE COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO VERSION
-}
-
-pkg_setup() {
- if ! use gpg &&
- has_version "<${CATEGORY}/${PN}-1.5.20-r2" &&
- built_with_use ${CATEGORY}/${PN} gpgme ;
- then
- ewarn 'The "gpgme" USE-flag has been changed into "gpg". You'
- ewarn 'previously had "gpgme" set, and you most likely want to'
- ewarn 'enable "gpg" instead, right now, to obtain equivalent behaviour.'
- fi
-}
-
-pkg_postinst() {
- echo
- elog "If you are new to mutt you may want to take a look at"
- elog "the Gentoo QuickStart Guide to Mutt E-Mail:"
- elog " http://www.gentoo.org/doc/en/guide-to-mutt.xml"
- echo
-}