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