Gentoo Archives: gentoo-commits

From: "Torsten Veller (tove)" <tove@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-client/alpine: metadata.xml ChangeLog alpine-2.00-r4.ebuild
Date: Thu, 09 Sep 2010 06:07:54
Message-Id: 20100909060749.18BA120051@flycatcher.gentoo.org
1 tove 10/09/09 06:07:49
2
3 Modified: metadata.xml ChangeLog
4 Added: alpine-2.00-r4.ebuild
5 Log:
6 Bump chappa patches (73). Thanks to Sascha Lucas. Update metadata.xml
7
8 (Portage version: 2.2_rc77/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.3 mail-client/alpine/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/alpine/metadata.xml?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/alpine/metadata.xml?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/alpine/metadata.xml?r1=1.2&r2=1.3
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/mail-client/alpine/metadata.xml,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- metadata.xml 11 Mar 2010 21:07:28 -0000 1.2
24 +++ metadata.xml 9 Sep 2010 06:07:48 -0000 1.3
25 @@ -3,7 +3,7 @@
26 <pkgmetadata>
27 <herd>net-mail</herd>
28 <maintainer>
29 - <email>sascha.lucas@×××××××××××××××××.de</email>
30 + <email>sascha_lucas@×××.de</email>
31 <name>Sascha Lucas</name>
32 </maintainer>
33 <maintainer>
34
35
36
37 1.9 mail-client/alpine/ChangeLog
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/alpine/ChangeLog?rev=1.9&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/alpine/ChangeLog?rev=1.9&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/alpine/ChangeLog?r1=1.8&r2=1.9
42
43 Index: ChangeLog
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/mail-client/alpine/ChangeLog,v
46 retrieving revision 1.8
47 retrieving revision 1.9
48 diff -u -r1.8 -r1.9
49 --- ChangeLog 5 Mar 2010 12:07:14 -0000 1.8
50 +++ ChangeLog 9 Sep 2010 06:07:48 -0000 1.9
51 @@ -1,6 +1,12 @@
52 # ChangeLog for mail-client/alpine
53 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
54 -# $Header: /var/cvsroot/gentoo-x86/mail-client/alpine/ChangeLog,v 1.8 2010/03/05 12:07:14 tove Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/mail-client/alpine/ChangeLog,v 1.9 2010/09/09 06:07:48 tove Exp $
56 +
57 +*alpine-2.00-r4 (09 Sep 2010)
58 +
59 + 09 Sep 2010; Torsten Veller <tove@g.o> +alpine-2.00-r4.ebuild,
60 + metadata.xml:
61 + Bump chappa patches (73). Thanks to Sascha Lucas. Update metadata.xml
62
63 *alpine-2.00-r3 (05 Mar 2010)
64
65
66
67
68 1.1 mail-client/alpine/alpine-2.00-r4.ebuild
69
70 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/alpine/alpine-2.00-r4.ebuild?rev=1.1&view=markup
71 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/alpine/alpine-2.00-r4.ebuild?rev=1.1&content-type=text/plain
72
73 Index: alpine-2.00-r4.ebuild
74 ===================================================================
75 # Copyright 1999-2010 Gentoo Foundation
76 # Distributed under the terms of the GNU General Public License v2
77 # $Header: /var/cvsroot/gentoo-x86/mail-client/alpine/alpine-2.00-r4.ebuild,v 1.1 2010/09/09 06:07:48 tove Exp $
78
79 EAPI="2"
80
81 inherit eutils flag-o-matic
82
83 # http://staff.washington.edu/chappa/alpine/patches/${P}/log.txt
84 CHAPPA_PL="73"
85
86 DESCRIPTION="alpine is an easy to use text-based based mail and news client"
87 HOMEPAGE="http://www.washington.edu/alpine/ http://staff.washington.edu/chappa/alpine/"
88 SRC_URI="ftp://ftp.cac.washington.edu/alpine/${P}.tar.bz2
89 chappa? ( http://staff.washington.edu/chappa/alpine/patches/${P}/all.patch.gz -> ${P}-chappa-${CHAPPA_PL}-all.patch.gz )"
90
91 LICENSE="Apache-2.0"
92 SLOT="0"
93 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
94 IUSE="+chappa doc ipv6 kerberos ldap nls onlyalpine passfile smime spell ssl threads topal"
95
96 DEPEND="virtual/pam
97 >=sys-libs/ncurses-5.1
98 ssl? ( dev-libs/openssl )
99 ldap? ( net-nds/openldap )
100 kerberos? ( app-crypt/mit-krb5 )
101 spell? ( app-text/aspell )
102 topal? ( >=net-mail/topal-72 )"
103 RDEPEND="${DEPEND}
104 app-misc/mime-types
105 !onlyalpine? ( !app-editors/pico )
106 !onlyalpine? ( !mail-client/pine )
107 !<=net-mail/uw-imap-2004g"
108
109 maildir_warn() {
110 elog
111 elog "This build of ${PN} has Maildir support built in as"
112 elog "part of the chappa-all patch."
113 elog
114 elog "If you have a maildir at ~/Maildir it will be your"
115 elog "default INBOX. The path may be changed with the"
116 elog "\"maildir-location\" setting in alpine."
117 elog
118 elog "To use /var/spool/mail INBOX again, set"
119 elog "\"disable-these-drivers=md\" in your .pinerc file."
120 elog
121 elog "Alternately, you might want to read following webpage, which explains how to"
122 elog "use multiple mailboxes simultaneously:"
123 elog
124 elog "http://www.math.washington.edu/~chappa/pine/pine-info/collections/incoming-folders/"
125 elog
126 }
127
128 pkg_setup() {
129 if use smime && use topal ; then
130 ewarn "You can not have USE='smime topal'. Assuming topal is more important."
131 fi
132 }
133
134 src_unpack() {
135 unpack ${P}.tar.bz2
136 }
137
138 src_prepare() {
139 use chappa && epatch "${DISTDIR}"/${P}-chappa-${CHAPPA_PL}-all.patch.gz
140 use topal && epatch /usr/share/topal/patches/${P}.patch-{1,2}
141
142 epatch "${FILESDIR}"/2.00-lpam.patch
143 cd "${S}/imap/src/c-client"
144 epatch "${FILESDIR}"/CVE-2008-5514.patch
145 }
146
147 src_configure() {
148 local myconf="--without-tcl
149 --with-system-pinerc=/etc/pine.conf
150 --with-system-fixed-pinerc=/etc/pine.conf.fixed
151 --with-ssl-certs-dir=/etc/ssl/certs"
152 # fixme
153 # --with-system-mail-directory=DIR?
154 econf $(use_with ssl) \
155 $(use_with ldap) \
156 $(use_with passfile passfile .pinepwd) \
157 $(use_with kerberos krb5) \
158 $(use_with threads pthread) \
159 $(use_with spell interactive-spellcheck /usr/bin/aspell) \
160 $(use_enable nls) \
161 $(use_with ipv6) \
162 $(use topal || use_with smime) \
163 ${myconf}
164 }
165
166 src_install() {
167 if use onlyalpine ; then
168 dobin alpine/alpine || die
169 doman doc/alpine.1 || die
170 else
171 emake DESTDIR="${D}" install || die
172 doman doc/rpdump.1 doc/rpload.1 || die
173 fi
174
175 dodoc NOTICE || die
176 if use chappa ; then
177 dodoc README.maildir || die
178 fi
179
180 if use doc ; then
181 dodoc README doc/brochure.txt doc/tech-notes.txt || die
182 docinto imap
183 dodoc imap/docs/*.txt imap/docs/CONFIG imap/docs/RELNOTES || die
184
185 docinto imap/rfc
186 dodoc imap/docs/rfc/*.txt || die
187
188 docinto html/tech-notes
189 dohtml -r doc/tech-notes/ || die
190 fi
191 }
192
193 pkg_postinst() {
194 use chappa && maildir_warn
195 if use spell ; then
196 elog
197 elog "In order to use spell checking"
198 elog " emerge app-dicts/aspell-\<your_langs\>"
199 elog "and setup alpine with:"
200 elog " Speller = /usr/bin/aspell -c"
201 elog
202 fi
203 if use topal ; then
204 elog
205 elog "In order to use gpg with topal"
206 elog " read /usr/doc/topal/README.txt"
207 elog
208 fi
209 if use passfile ; then
210 elog
211 elog "${PN} will cache passwords between connections."
212 elog "File ~/.pinepwd will be used for this."
213 elog
214 fi
215 }