Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/alpine/
Date: Thu, 23 Jan 2020 14:29:25
Message-Id: 1579789706.0ff9d1545e4af92a4dabbf0670c88f40934b571e.juippis@gentoo
1 commit: 0ff9d1545e4af92a4dabbf0670c88f40934b571e
2 Author: Robert Siebeck <gentoo.2019 <AT> r123 <DOT> de>
3 AuthorDate: Mon Jan 20 10:58:51 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 23 14:28:26 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ff9d154
7
8 mail-client/alpine: add new version 2.22
9
10 Signed-off-by: Robert Siebeck <gentoo.2019 <AT> r123.de>
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 mail-client/alpine/Manifest | 1 +
14 mail-client/alpine/alpine-2.22.ebuild | 84 +++++++++++++++++++++++++++++++++++
15 2 files changed, 85 insertions(+)
16
17 diff --git a/mail-client/alpine/Manifest b/mail-client/alpine/Manifest
18 index 85c4e714c83..967c89adbb1 100644
19 --- a/mail-client/alpine/Manifest
20 +++ b/mail-client/alpine/Manifest
21 @@ -1,4 +1,5 @@
22 DIST alpine-2.00-chappa-115-all.patch.gz 212705 BLAKE2B 99c21a7b74a4ea04c3bb54947868b31f0e65eef0e35e515d14d9a701e5809fa1a7191444a353de3ba08b821bdf71543faaf261d4a427c2d1e366bbc00d4bf337 SHA512 5e9fcb6a80dbd18bed26109caa6b7aa5eeb88de420861d9998c32f031e8279d6367c28b6670fb54203d1b14c3dc47cf5ad25b42e4949157de64f3f1fd36d0aa7
23 DIST alpine-2.00.tar.bz2 5222673 BLAKE2B 38a9cd1fe3e291119b889bca0d304333cdf9ad8c63bc7923ea0735d3528c933b7d4dfe70bb353fe7b6047dafdaee3218a35e561f542b6ac763b60cb986509371 SHA512 17c6e65fbe767d4f9ffb3d3c2bb3deeab9d3620cd046cbb0009290aa484c9254effa992957631f0603bd82b82aeca2923d391aee6d20a7684d5830fbca8ce4d2
24 DIST alpine-2.21.1.tar.gz 7490699 BLAKE2B f3aeafb55697701f6edda43659c9d27c7d7dab74f8e332e867f354ce555c26037f4b642af80f18db249dd7269f80bd880bc315ba4ae08ae7f63abc7998cea073 SHA512 78b47bd9e9dfc652bc407fe736d8b7526625782c332803cf01e5214a2b0a5af21736b8a2e685348913f6e2b10c80dced12081202294e9c61e3168b3a2b9657b7
25 +DIST alpine-2.22.tar.xz 6336604 BLAKE2B 65cab2000b6c606c002efcca6e731d2c87329b4685dec81d202e95598b4302175137ea84f079af1f766a6ef99d0b2cb51132e12539bea7f4d24954bb48af7bea SHA512 7737dce02ac94170948df7fccb61380c6cb101190e37f5b3ba281d573f54df1db24569d177b460f49bfff381a922be2e4b0f3a0f1a213d88a64d361aedc3c4f1
26 DIST alpine-843b2f1.tar.gz 7490140 BLAKE2B 13ac5ef43dd729a7cf21b44dcd6feace3e1813672aec537fd05d5ff90b67bec145ceef71cfcf35b0cb7e250bb307556f5dcf8ebb024bc6366fd0ace0a7c41161 SHA512 106caa7bfe86fd5e82554ba68b9ee579cd8495bcd0dfbf82d9d75da2df3bd292d42d67af8ec737091f2a820b2555c25bbf0058c9c7bb5de5f950b570ffc25c4d
27
28 diff --git a/mail-client/alpine/alpine-2.22.ebuild b/mail-client/alpine/alpine-2.22.ebuild
29 new file mode 100644
30 index 00000000000..75f6d667338
31 --- /dev/null
32 +++ b/mail-client/alpine/alpine-2.22.ebuild
33 @@ -0,0 +1,84 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +inherit autotools toolchain-funcs
40 +
41 +DESCRIPTION="An easy to use text-based based mail and news client"
42 +HOMEPAGE="http://alpine.x10host.com/alpine/ https://repo.or.cz/alpine.git/"
43 +SRC_URI="http://alpine.x10host.com/alpine/release/src/${P}.tar.xz"
44 +
45 +LICENSE="Apache-2.0"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
48 +IUSE="doc ipv6 kerberos ldap libressl nls onlyalpine passfile smime spell ssl threads"
49 +
50 +DEPEND=">=sys-libs/ncurses-5.1:0=
51 + kerberos? ( app-crypt/mit-krb5 )
52 + ldap? ( net-nds/openldap )
53 + spell? ( app-text/aspell )
54 + ssl? (
55 + !libressl? ( dev-libs/openssl:0= )
56 + libressl? ( dev-libs/libressl:0= )
57 + )
58 +"
59 +RDEPEND="${DEPEND}
60 + app-misc/mime-types
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 + $(use_with ldap)
74 + $(use_with ssl)
75 + $(use_with passfile passfile .pinepwd)
76 + $(use_with kerberos krb5)
77 + $(use_with threads pthread)
78 + $(use_with spell interactive-spellcheck /usr/bin/aspell)
79 + $(use_enable nls)
80 + $(use_with ipv6)
81 + $(use_with smime)
82 + )
83 +
84 + if use ssl; then
85 + myconf+=(
86 + --with-ssl-include-dir="${EPREFIX}"/usr/include/openssl
87 + --with-ssl-lib-dir="${EPREFIX}"/usr/$(get_libdir)
88 + --with-ssl-certs-dir="${EPREFIX}"/etc/ssl/certs
89 + )
90 + fi
91 + econf "${myconf[@]}"
92 +}
93 +
94 +src_compile() {
95 + emake -j1 AR=$(tc-getAR)
96 +}
97 +
98 +src_install() {
99 + if use onlyalpine ; then
100 + dobin alpine/alpine
101 + doman doc/man1/alpine.1
102 + else
103 + emake -j1 DESTDIR="${D}" install
104 + doman doc/man1/*.1
105 + fi
106 +
107 + dodoc NOTICE README*
108 +
109 + if use doc ; then
110 + dodoc doc/brochure.txt
111 +
112 + dodoc -r doc/tech-notes/
113 + newdoc "${S}/doc/mailcap.unx" mailcap.unx.sample
114 + newdoc "${S}/doc/mime.types" mime.types.sample
115 + docompress -x /usr/share/doc/${PF}/mailcap.unx.sample /usr/share/doc/${PF}/mime.types.sample
116 + fi
117 +}