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: Sat, 22 Jul 2017 08:45:37
Message-Id: 1500713117.95589fe12d1f79d9fb00b2a52ba97b2da4735e5f.radhermit@gentoo
1 commit: 95589fe12d1f79d9fb00b2a52ba97b2da4735e5f
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 21 07:55:51 2017 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 22 08:45:17 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95589fe1
7
8 net-mail/offlineimap: version bump to 7.1.2
9
10 net-mail/offlineimap/Manifest | 1 +
11 net-mail/offlineimap/offlineimap-7.1.2.ebuild | 52 +++++++++++++++++++++++++++
12 2 files changed, 53 insertions(+)
13
14 diff --git a/net-mail/offlineimap/Manifest b/net-mail/offlineimap/Manifest
15 index 0570e877b1d..d96bb6d3550 100644
16 --- a/net-mail/offlineimap/Manifest
17 +++ b/net-mail/offlineimap/Manifest
18 @@ -3,3 +3,4 @@ DIST offlineimap-6.7.0.3.tar.gz 679221 SHA256 0b7cd43501d1a65fb5e7e4f3a5d0a61f61
19 DIST offlineimap-7.0.14.tar.gz 698081 SHA256 19494ecad4d7234ac69480abb7462d0cdcfcec444b55f5381651057d9fdfad44 SHA512 05d5ee81e5b0483038ad3bf8ba27f7b57423a75a3456df192c0c8b7926d7252424ef8f357f99dee2fa2f2590341e9f95d225ee2ad7d01af3466fb9d5488541f9 WHIRLPOOL a791cb67f1e51197fce9005ffbbbbdb8f4ee986d78a7ba46feff6aed6b50e17c5e57a9fa03bba9db0f90325b92c23b9d76071d460f6fec60fa878616cfc6544a
20 DIST offlineimap-7.1.0.tar.gz 698600 SHA256 dc998d1032f0e4f944cae0e584a146b70ea732422fc52c909eebe6e8f95b1ae4 SHA512 9e9d5ea2b58dc212c9b69adb701fb4cd1ac1a7c8af90623dcfba3115ee7e1f63cc8569c352bae8f1fe09eb8c9255c39d0bf947dfb5d683ee4b03c0c822cb192d WHIRLPOOL dbf33188c790b43e4b7756a1be6c1c7950bb192e079ba729a8ec159fb3d07a505e5892dc08b2cf8b7b55e2d3dc998f74354339e1c8ed6d3a0e190a5e904bbfdc
21 DIST offlineimap-7.1.1.tar.gz 701776 SHA256 a624f8a77eae664dd458be47c5306c28911d4a1f788ff5641d7bb37e01ecb703 SHA512 a04a8bdbd2b22f8b74681707faa4fcd768a11abd4eeab1e3b6fd7e7851d97c5c7f7db56c7e7e4809a7cb661a357c38941ea320d9bcb0fc509b3f79b223a0c602 WHIRLPOOL 8fe84b4cd82c5e9d8816b4dce6aafae88ad718375927f6aa7cd08fd9b010ea0550a420045ad8f0c376102a0926c1c9ff404802b528d20cf3bf2587ab508f247d
22 +DIST offlineimap-7.1.2.tar.gz 708014 SHA256 7203435e34f73e90d1833b72c49a859decf7b5828384a2648ee4b2d1ef3bdc66 SHA512 14bf6c561ad9cde72f71651970b98380139a016b689c75ed150027f8b71d9f1a646f6738e8fd74d6328103b25c17985ac494d9929568f90bb4be37b71a4de22d WHIRLPOOL 961dcdf759266f90a9f1831ef8b2b85457488bbd75fd548d4ba43a8c8be7df3c62a3dd5fea7874c21882cd58a5697ab2faac4f70661f322b48445591634ca9ac
23
24 diff --git a/net-mail/offlineimap/offlineimap-7.1.2.ebuild b/net-mail/offlineimap/offlineimap-7.1.2.ebuild
25 new file mode 100644
26 index 00000000000..3258d1bf16b
27 --- /dev/null
28 +++ b/net-mail/offlineimap/offlineimap-7.1.2.ebuild
29 @@ -0,0 +1,52 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +# Normally you need only one version of this.
36 +DISTUTILS_SINGLE_IMPL=1
37 +PYTHON_COMPAT=( python2_7 )
38 +PYTHON_REQ_USE="threads,sqlite,ssl?"
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Powerful IMAP/Maildir synchronization and reader support"
43 +HOMEPAGE="http://offlineimap.org"
44 +SRC_URI="https://github.com/OfflineIMAP/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="GPL-2"
47 +SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
49 +IUSE="doc ssl"
50 +
51 +RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
52 +DEPEND="doc? ( app-text/asciidoc )"
53 +
54 +# see http://pogma.com/2009/09/09/snow-leopard-and-offlineimap/ and bug 284925
55 +PATCHES=(
56 + "${FILESDIR}/${PN}-7.0.3-darwin10.patch"
57 +)
58 +
59 +src_compile() {
60 + distutils-r1_src_compile
61 + use doc && emake -C docs man
62 +}
63 +
64 +src_install() {
65 + distutils-r1_src_install
66 + dodoc offlineimap.conf offlineimap.conf.minimal
67 + use doc && doman docs/{offlineimap.1,offlineimapui.7}
68 +}
69 +
70 +pkg_postinst() {
71 + if [[ -z ${REPLACING_VERSIONS} ]]; then
72 + elog "You will need to configure offlineimap by creating ~/.offlineimaprc"
73 + elog "Sample configurations are in /usr/share/doc/${PF}/"
74 + elog ""
75 + elog "If you connect via ssl/tls and don't use CA cert checking, it will"
76 + elog "display the server's cert fingerprint and require you to add it to the"
77 + elog "configuration file to be sure it connects to the same server every"
78 + elog "time. This serves to help fixing CVE-2010-4532 (offlineimap doesn't"
79 + elog "check SSL server certificate) in cases where you have no CA cert."
80 + fi
81 +}