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