Gentoo Archives: gentoo-commits

From: Amy Liffey <amynka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/alpine/
Date: Fri, 24 Nov 2017 08:36:39
Message-Id: 1511512433.1ff347c9b83bdc135746d9f374c4657fdf2560d2.amynka@gentoo
1 commit: 1ff347c9b83bdc135746d9f374c4657fdf2560d2
2 Author: robert <gentoo.bugzilla.2012 <AT> r123 <DOT> de>
3 AuthorDate: Sun Nov 19 14:02:37 2017 +0000
4 Commit: Amy Liffey <amynka <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 24 08:33:53 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ff347c9
7
8 mail-client/alpine: bump to version 2.21
9
10 Closes: https://bugs.gentoo.org/445276
11
12 mail-client/alpine/Manifest | 1 +
13 mail-client/alpine/alpine-2.21.ebuild | 86 +++++++++++++++++++++++++++++++++++
14 mail-client/alpine/metadata.xml | 8 ++++
15 3 files changed, 95 insertions(+)
16
17 diff --git a/mail-client/alpine/Manifest b/mail-client/alpine/Manifest
18 index 5e03d759ec2..6d2604cb2e7 100644
19 --- a/mail-client/alpine/Manifest
20 +++ b/mail-client/alpine/Manifest
21 @@ -1,2 +1,3 @@
22 DIST alpine-2.00-chappa-115-all.patch.gz 212705 SHA256 1503ae09b6a4a74828e3472c4987b48a310f817e7fd93ca385724660aa234d7f SHA512 5e9fcb6a80dbd18bed26109caa6b7aa5eeb88de420861d9998c32f031e8279d6367c28b6670fb54203d1b14c3dc47cf5ad25b42e4949157de64f3f1fd36d0aa7 WHIRLPOOL d9fef2fb0a07acfb8ba4e5bedbc0140a09020967e52b16853907db47b1a7e35286022c2a03b1670fe377015393d22b27bfa9f12780de05bac1f3458a81f75527
23 DIST alpine-2.00.tar.bz2 5222673 SHA256 c85db8405af90375ba2440c85b7952d80996154e9916b83acca558dc82e0a2a6 SHA512 17c6e65fbe767d4f9ffb3d3c2bb3deeab9d3620cd046cbb0009290aa484c9254effa992957631f0603bd82b82aeca2923d391aee6d20a7684d5830fbca8ce4d2 WHIRLPOOL 6c1fed63e826c12c6e39e8f79e2b33f3b85545e54c32fdbe918636086c0aaaa26073883946061a6b52df50af711b7d6bb6647a177f051afccccdbd0cf473bbc3
24 +DIST alpine-2.21.tar.xz 4720856 SHA256 6030b6881b8168546756ab3a5e43628d8d564539b0476578e287775573a77438 SHA512 a2a36a033c8af79810816a7da7185c269808ba6d84d013691fd8b3764c63f5fb2284e6844ec5a5e99d168514ae636debf59fae962533a2916679e4e9109c6264 WHIRLPOOL 54113ac1516e9f185ff4ed2841624145ec72514a8ce1d45c2907a8e5ad6b6e79ea6780d22d15a19053a69ae97cc2ef630ff8579ffe746a8b715d81a7db59a6d1
25
26 diff --git a/mail-client/alpine/alpine-2.21.ebuild b/mail-client/alpine/alpine-2.21.ebuild
27 new file mode 100644
28 index 00000000000..889913b3b1f
29 --- /dev/null
30 +++ b/mail-client/alpine/alpine-2.21.ebuild
31 @@ -0,0 +1,86 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +inherit autotools toolchain-funcs
37 +
38 +DESCRIPTION="alpine is an easy to use text-based based mail and news client"
39 +HOMEPAGE="http://www.washington.edu/alpine/ http://alpine.freeiz.com/alpine/ http://repo.or.cz/alpine.git/"
40 +SRC_URI="http://alpine.freeiz.com/alpine/release/src/${P}.tar.xz"
41 +
42 +LICENSE="Apache-2.0"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86 ~alpha ~ia64 ~ppc ~sparc"
45 +IUSE="doc ipv6 kerberos ldap libressl nls onlyalpine passfile smime spell ssl threads"
46 +
47 +DEPEND="virtual/pam
48 + >=sys-libs/ncurses-5.1:0=
49 + ssl? (
50 + !libressl? ( dev-libs/openssl:0= )
51 + libressl? ( dev-libs/libressl:0= )
52 + )
53 + ldap? ( net-nds/openldap )
54 + kerberos? ( app-crypt/mit-krb5 )
55 + spell? ( app-text/aspell )
56 +"
57 +RDEPEND="${DEPEND}
58 + app-misc/mime-types
59 + !onlyalpine? ( !mail-client/pine )
60 + !<=net-mail/uw-imap-2004g
61 +"
62 +
63 +src_prepare() {
64 + default
65 + eautoreconf
66 +}
67 +
68 +src_configure() {
69 + myconf=(
70 + --without-tcl
71 + --with-system-pinerc="${EPREFIX}"/etc/pine.conf
72 + --with-system-fixed-pinerc="${EPREFIX}"/etc/pine.conf.fixed
73 + )
74 +
75 + if use ssl; then
76 + myconf+=(
77 + --with-ssl-include-dir="${EPREFIX}"/usr/include/openssl
78 + --with-ssl-lib-dir="${EPREFIX}"/usr/$(get_libdir)
79 + --with-ssl-certs-dir="${EPREFIX}"/etc/ssl/certs
80 + )
81 + fi
82 + econf \
83 + $(use_with ldap) \
84 + $(use_with ssl) \
85 + $(use_with passfile passfile .pinepwd) \
86 + $(use_with kerberos krb5) \
87 + $(use_with threads pthread) \
88 + $(use_with spell interactive-spellcheck /usr/bin/aspell) \
89 + $(use_enable nls) \
90 + $(use_with ipv6) \
91 + $(use_with smime) \
92 + "${myconf[@]}"
93 +}
94 +
95 +src_compile() {
96 + emake -j1 AR=$(tc-getAR)
97 +}
98 +
99 +src_install() {
100 + if use onlyalpine ; then
101 + dobin alpine/alpine
102 + doman doc/alpine.1
103 + else
104 + emake DESTDIR="${D}" install
105 + doman doc/man1/*.1
106 + fi
107 +
108 + dodoc NOTICE README*
109 +
110 + if use doc ; then
111 + dodoc doc/brochure.txt
112 +
113 + docinto html/tech-notes
114 + dodoc -r doc/tech-notes/*.html
115 + dodoc -r doc/tech-notes/*.txt
116 + fi
117 +}
118
119 diff --git a/mail-client/alpine/metadata.xml b/mail-client/alpine/metadata.xml
120 index a2485d48e63..282a8630f65 100644
121 --- a/mail-client/alpine/metadata.xml
122 +++ b/mail-client/alpine/metadata.xml
123 @@ -1,10 +1,18 @@
124 <?xml version="1.0" encoding="UTF-8"?>
125 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
126 <pkgmetadata>
127 + <maintainer type="person">
128 + <email>gentoo.bugzilla.2012@××××.de</email>
129 + <name>Robert Siebeck</name>
130 + </maintainer>
131 <maintainer type="project">
132 <email>net-mail@g.o</email>
133 <name>Net-Mail</name>
134 </maintainer>
135 + <maintainer type="project">
136 + <email>proxy-maint@g.o</email>
137 + <name>Proxy Maintainers</name>
138 + </maintainer>
139 <use>
140 <flag name="chappa">enhance alpine by applying Eduardo Chappa's
141 patches</flag>