Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/offlineimap/
Date: Mon, 30 Jan 2017 15:47:25
Message-Id: 1485791224.ac67756e85006efe2ab08519b809db705c8a87ee.radhermit@gentoo
1 commit: ac67756e85006efe2ab08519b809db705c8a87ee
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 30 15:32:37 2017 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 30 15:47:04 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac67756e
7
8 net-mail/offlineimap: version bump to 7.0.13
9
10 net-mail/offlineimap/Manifest | 1 +
11 net-mail/offlineimap/offlineimap-7.0.13.ebuild | 53 ++++++++++++++++++++++++++
12 2 files changed, 54 insertions(+)
13
14 diff --git a/net-mail/offlineimap/Manifest b/net-mail/offlineimap/Manifest
15 index ff5d44a..989e8b9 100644
16 --- a/net-mail/offlineimap/Manifest
17 +++ b/net-mail/offlineimap/Manifest
18 @@ -2,3 +2,4 @@ DIST offlineimap-6.5.6.tar.gz 187801 SHA256 650fa588bdf86624575a5196fa12e9059b74
19 DIST offlineimap-6.7.0.3.tar.gz 679221 SHA256 0b7cd43501d1a65fb5e7e4f3a5d0a61f61435ec6b3a7385cc146e924eb6b03ed SHA512 21800eb14e814fa04b983e9718a5780deda4c99ae55ef900ccec9f1e65f9bb783c3469e00e6595c7dfddb60d760a6b3c98ae979da3219de51c8ae107ff1c077a WHIRLPOOL d8983260f309f427abcab65bc539bf8ff7ab38168643a863cc3d7e10a85dc864e4a6a11511a1cba32d2eb74833714f9b3f499b7d14d28800174c58816d59608c
20 DIST offlineimap-7.0.10.tar.gz 694812 SHA256 725431c20775d2524ed823da356b0b8f7cf627be518caafce808f23d797d1541 SHA512 76bdfed588068b53254c497ae9deaceaabbe432e187f4f069b0cfca3729fcb6c426bc364a095e081619e385242838f2da259529814faaf9ab509c9518c87dcf1 WHIRLPOOL 2e654ca36fe13eb237c3ac562281120e1c3bd32f44d0ca8843f9a91939c2b42809fa9b2b00881bd4972ff576ac458695da8e302e2e8f1a7e190431a9b1ac664c
21 DIST offlineimap-7.0.12.tar.gz 695070 SHA256 7fdad62ed59eb817969465dcba794271f8f84aa51d31ace9994865dbf9b934d4 SHA512 250376e83a5fe4f3652a9c3977100f11fe518a9955bda127f39f2ef360bb77fb4f108e44e6fc36a4f0f85dea02596f0eb2a48cb4d2fff1e02c9cc45c60c8679b WHIRLPOOL b5bfc0a7c38dab7774e33761c5e7235140561c550513c640961b31207cccb9f73250543ac009fb6db55de3962a7fedecb2f9f1d235f27dd370546dacffd5b447
22 +DIST offlineimap-7.0.13.tar.gz 696783 SHA256 f744843f943c6adaa754e1244e16bfd6eaa825affe385169f16475db191787ce SHA512 d15a0f574b5793859bd32a646c2bb89e28a5d74aa2a86cafa07bc0d6bdbfac31f7a87b61aff3209e8897a0e3959c4bc4fd81aa9c9057f512afa64a919be87482 WHIRLPOOL 72ba3bd4fe0578deacc50b4c16ec81b20bfa2569d2fedb05d162d021ecb8d74ee245e27a5da87f25fe22aa8671ff5a4e5b19f25fc59d4bc61248a8bbc1221270
23
24 diff --git a/net-mail/offlineimap/offlineimap-7.0.13.ebuild b/net-mail/offlineimap/offlineimap-7.0.13.ebuild
25 new file mode 100644
26 index 00000000..5371221
27 --- /dev/null
28 +++ b/net-mail/offlineimap/offlineimap-7.0.13.ebuild
29 @@ -0,0 +1,53 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=6
35 +
36 +# Normally you need only one version of this.
37 +DISTUTILS_SINGLE_IMPL=1
38 +PYTHON_COMPAT=( python{2_7,3_4} )
39 +PYTHON_REQ_USE="threads,sqlite,ssl?"
40 +
41 +inherit distutils-r1
42 +
43 +DESCRIPTION="Powerful IMAP/Maildir synchronization and reader support"
44 +HOMEPAGE="http://offlineimap.org"
45 +SRC_URI="https://github.com/OfflineIMAP/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
46 +
47 +LICENSE="GPL-2"
48 +SLOT="0"
49 +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
50 +IUSE="doc ssl"
51 +
52 +RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
53 +DEPEND="doc? ( app-text/asciidoc )"
54 +
55 +# see http://pogma.com/2009/09/09/snow-leopard-and-offlineimap/ and bug 284925
56 +PATCHES=(
57 + "${FILESDIR}/${PN}-7.0.3-darwin10.patch"
58 +)
59 +
60 +src_compile() {
61 + distutils-r1_src_compile
62 + use doc && emake -C docs man
63 +}
64 +
65 +src_install() {
66 + distutils-r1_src_install
67 + dodoc offlineimap.conf offlineimap.conf.minimal
68 + use doc && doman docs/{offlineimap.1,offlineimapui.7}
69 +}
70 +
71 +pkg_postinst() {
72 + if [[ -z ${REPLACING_VERSIONS} ]]; then
73 + elog "You will need to configure offlineimap by creating ~/.offlineimaprc"
74 + elog "Sample configurations are in /usr/share/doc/${PF}/"
75 + elog ""
76 + elog "If you connect via ssl/tls and don't use CA cert checking, it will"
77 + elog "display the server's cert fingerprint and require you to add it to the"
78 + elog "configuration file to be sure it connects to the same server every"
79 + elog "time. This serves to help fixing CVE-2010-4532 (offlineimap doesn't"
80 + elog "check SSL server certificate) in cases where you have no CA cert."
81 + fi
82 +}