1 |
commit: c1d7d7de94aea9f6202473c789c6c2a9422f71aa |
2 |
Author: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 9 13:28:42 2017 +0000 |
4 |
Commit: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 9 13:28:58 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1d7d7de |
7 |
|
8 |
mail-client/neomutt: Version bump to neomutt-20121208 |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
11 |
|
12 |
mail-client/neomutt/Manifest | 1 + |
13 |
mail-client/neomutt/neomutt-20171208.ebuild | 129 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 130 insertions(+) |
15 |
|
16 |
diff --git a/mail-client/neomutt/Manifest b/mail-client/neomutt/Manifest |
17 |
index 9cc35ec6fea..0737e744af0 100644 |
18 |
--- a/mail-client/neomutt/Manifest |
19 |
+++ b/mail-client/neomutt/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST neomutt-20170912.tar.gz 2533245 BLAKE2B fde5690d2f80b0ef55ddc753487905130b1 |
21 |
DIST neomutt-20171006.tar.gz 2706019 BLAKE2B b16f065fd1c5b829c6b73614c42e5353b968fe9111d445319927a48ec2612e59ac23dd3e06948c7c5b6f34bdd1646773cf91ae21737adf67ff4019c9850895e2 SHA512 adfa702ee642ce58b11dab1d2b805626d8f90e8cc88731cb7e051df5b785010ac43d90eb14d2a5ace02d3abaf921c9f36f86f627063036bcb7f5724912ca134d |
22 |
DIST neomutt-20171013.tar.gz 2706753 BLAKE2B d8801f4168ce978b8b2578a1fa28b8f29e98700c2b3c11dcce7b9cdf132a755403ed1b54216426736c1dde78c580320ebac4fbb6e3ca6f92abc1c1e6d1e4fd1b SHA512 9e4499b165f25091d73868c62b14f950bdfc032444c0cb3619e99a8299d29c3d1f24078e15537e693a3af69ae0681d59e25a73b857882cce2653be593231ffac |
23 |
DIST neomutt-20171027.tar.gz 2682699 BLAKE2B 4e3eda453a8c19d2ec1460c0813e030ef8209e8761d1ef768698cf624c11a2d3b22b941da78fb2d39ef44d6f39c7b30786248448910e59170f50b6d6e010a331 SHA512 e2df0d20c0729abb32d1614c94c08cca0cecad1cb36a380f8210e2df3e353ffc08f66abf1e5e3a1cf4a746437d59c15262ce05ab1a820561466bf7e3a5d6b894 |
24 |
+DIST neomutt-20171208.tar.gz 2703917 BLAKE2B 709cdb7b00e887f01bf6b1e805b25938ceca1a25d77c8674150e32ae4ac28aad10479ab54f172e2b07cab98b903973190faa138de1061ebbf4fcbe09d544ecf9 SHA512 e4f8a5f01d96d6f82959fe583634585deee28cf146c768e5049281b273c5b76b91ee01c9d9382a26f72a092c14341905129e73bf5c6ba19baae7823bc6680671 |
25 |
|
26 |
diff --git a/mail-client/neomutt/neomutt-20171208.ebuild b/mail-client/neomutt/neomutt-20171208.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..406bc5c0cc7 |
29 |
--- /dev/null |
30 |
+++ b/mail-client/neomutt/neomutt-20171208.ebuild |
31 |
@@ -0,0 +1,129 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit autotools eutils flag-o-matic |
38 |
+ |
39 |
+if [[ ${PV} =~ 9999$ ]]; then |
40 |
+ inherit git-r3 |
41 |
+ EGIT_REPO_URI="https://github.com/neomutt/neomutt.git" |
42 |
+ EGIT_CHECKOUT_DIR="${WORKDIR}/neomutt-${P}" |
43 |
+else |
44 |
+ SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz" |
45 |
+ KEYWORDS="~amd64 ~x86" |
46 |
+fi |
47 |
+ |
48 |
+DESCRIPTION="A small but very powerful text-based mail client" |
49 |
+HOMEPAGE="https://www.neomutt.org/" |
50 |
+ |
51 |
+LICENSE="GPL-2" |
52 |
+SLOT="0" |
53 |
+IUSE="berkdb crypt doc gdbm gnutls gpg gpgme idn kerberos kyotocabinet |
54 |
+ libressl lmdb nls notmuch pgp_classic qdbm sasl selinux slang smime |
55 |
+ smime_classic ssl tokyocabinet" |
56 |
+ |
57 |
+CDEPEND=" |
58 |
+ app-misc/mime-types |
59 |
+ berkdb? ( >=sys-libs/db-4:= ) |
60 |
+ gdbm? ( sys-libs/gdbm ) |
61 |
+ kyotocabinet? ( dev-db/kyotocabinet ) |
62 |
+ lmdb? ( dev-db/lmdb ) |
63 |
+ nls? ( virtual/libintl ) |
64 |
+ qdbm? ( dev-db/qdbm ) |
65 |
+ tokyocabinet? ( dev-db/tokyocabinet ) |
66 |
+ gnutls? ( >=net-libs/gnutls-1.0.17 ) |
67 |
+ gpg? ( >=app-crypt/gpgme-0.9.0 ) |
68 |
+ gpgme? ( >=app-crypt/gpgme-0.9.0 ) |
69 |
+ idn? ( net-dns/libidn ) |
70 |
+ kerberos? ( virtual/krb5 ) |
71 |
+ notmuch? ( net-mail/notmuch ) |
72 |
+ sasl? ( >=dev-libs/cyrus-sasl-2 ) |
73 |
+ !slang? ( sys-libs/ncurses:0 ) |
74 |
+ slang? ( sys-libs/slang ) |
75 |
+ ssl? ( |
76 |
+ !libressl? ( >=dev-libs/openssl-0.9.6:0 ) |
77 |
+ libressl? ( dev-libs/libressl ) |
78 |
+ ) |
79 |
+" |
80 |
+DEPEND="${CDEPEND} |
81 |
+ net-mail/mailbase |
82 |
+ doc? ( |
83 |
+ dev-libs/libxml2 |
84 |
+ dev-libs/libxslt |
85 |
+ app-text/docbook-xsl-stylesheets |
86 |
+ || ( www-client/lynx www-client/w3m www-client/elinks ) |
87 |
+ )" |
88 |
+RDEPEND="${CDEPEND} |
89 |
+ selinux? ( sec-policy/selinux-mutt ) |
90 |
+" |
91 |
+ |
92 |
+S="${WORKDIR}/${PN}-${P}" |
93 |
+ |
94 |
+src_prepare() { |
95 |
+ eapply_user |
96 |
+ eautoreconf |
97 |
+} |
98 |
+ |
99 |
+src_configure() { |
100 |
+ local myconf=( |
101 |
+ "$(use_enable doc)" |
102 |
+ "$(use_enable gpg gpgme)" |
103 |
+ "$(use_enable gpgme)" |
104 |
+ "$(use_enable nls)" |
105 |
+ "$(use_enable notmuch)" |
106 |
+ "$(use_enable crypt pgp)" |
107 |
+ "$(use_enable pgp_classic pgp)" |
108 |
+ "$(use_enable smime)" |
109 |
+ "$(use_enable smime_classic smime)" |
110 |
+ "$(use_with berkdb bdb)" |
111 |
+ "$(use_with gdbm)" |
112 |
+ "$(use_with idn)" |
113 |
+ "$(use_with kerberos gss)" |
114 |
+ "$(use_with kyotocabinet)" |
115 |
+ "$(use_with lmdb)" |
116 |
+ "$(use_with qdbm)" |
117 |
+ "$(use_with sasl)" |
118 |
+ "$(use_with tokyocabinet)" |
119 |
+ "--with-$(usex slang slang curses)" |
120 |
+ "--sysconfdir=${EPREFIX}/etc/${PN}" |
121 |
+ "--with-docdir=${EPREFIX}/usr/share/doc/${PF}" |
122 |
+ ) |
123 |
+ |
124 |
+ if use gnutls; then |
125 |
+ myconf+=( "--with-gnutls" ) |
126 |
+ elif use ssl; then |
127 |
+ myconf+=( "--with-ssl" ) |
128 |
+ fi |
129 |
+ |
130 |
+ econf "${myconf[@]}" |
131 |
+} |
132 |
+ |
133 |
+src_install() { |
134 |
+ emake DESTDIR="${D}" install |
135 |
+ |
136 |
+ # A man-page is always handy, so fake one |
137 |
+ if use !doc; then |
138 |
+ emake -C doc neomuttrc.man |
139 |
+ # make the fake slightly better, bug #413405 |
140 |
+ sed -e 's#@docdir@/manual.txt#http://www.neomutt.org/guide#' \ |
141 |
+ -e 's#in @docdir@,#at http://www.neomutt.org/,#' \ |
142 |
+ -e "s#@sysconfdir@#${EPREFIX}/etc/${PN}#" \ |
143 |
+ -e "s#@bindir@#${EPREFIX}/usr/bin#" \ |
144 |
+ doc/neomutt.man > neomutt.1 || die |
145 |
+ cp doc/neomuttrc.man neomuttrc.5 || die |
146 |
+ doman neomutt.1 neomuttrc.5 |
147 |
+ fi |
148 |
+ |
149 |
+ dodoc COPYRIGHT LICENSE* ChangeLog* README* |
150 |
+} |
151 |
+ |
152 |
+pkg_postinst() { |
153 |
+ ewarn "Pleae note that the crypto related USE flags of neomutt have changed." |
154 |
+ ewarn "(https://bugs.gentoo.org/637176)" |
155 |
+ ewarn "crypt -> pgp_classic" |
156 |
+ ewarn "gpg -> gpgme" |
157 |
+ ewarn "smime -> smime_classic" |
158 |
+ ewarn "The old USE flags still work but their use is deprecated and will" |
159 |
+ ewarn "be removed in a future release." |
160 |
+} |