diff options
-rw-r--r-- | net-mail/offlineimap/Manifest | 1 | ||||
-rw-r--r-- | net-mail/offlineimap/offlineimap-7.1.4.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/net-mail/offlineimap/Manifest b/net-mail/offlineimap/Manifest index 39fa94eaa4a9..67870a154a4d 100644 --- a/net-mail/offlineimap/Manifest +++ b/net-mail/offlineimap/Manifest @@ -5,3 +5,4 @@ DIST offlineimap-7.1.0.tar.gz 698600 SHA256 dc998d1032f0e4f944cae0e584a146b70ea7 DIST offlineimap-7.1.1.tar.gz 701776 SHA256 a624f8a77eae664dd458be47c5306c28911d4a1f788ff5641d7bb37e01ecb703 SHA512 a04a8bdbd2b22f8b74681707faa4fcd768a11abd4eeab1e3b6fd7e7851d97c5c7f7db56c7e7e4809a7cb661a357c38941ea320d9bcb0fc509b3f79b223a0c602 WHIRLPOOL 8fe84b4cd82c5e9d8816b4dce6aafae88ad718375927f6aa7cd08fd9b010ea0550a420045ad8f0c376102a0926c1c9ff404802b528d20cf3bf2587ab508f247d DIST offlineimap-7.1.2.tar.gz 708014 SHA256 7203435e34f73e90d1833b72c49a859decf7b5828384a2648ee4b2d1ef3bdc66 SHA512 14bf6c561ad9cde72f71651970b98380139a016b689c75ed150027f8b71d9f1a646f6738e8fd74d6328103b25c17985ac494d9929568f90bb4be37b71a4de22d WHIRLPOOL 961dcdf759266f90a9f1831ef8b2b85457488bbd75fd548d4ba43a8c8be7df3c62a3dd5fea7874c21882cd58a5697ab2faac4f70661f322b48445591634ca9ac DIST offlineimap-7.1.3.tar.gz 710766 SHA256 02fc106904ddeb3fb64b3e17d3838ed2223e5ade0018900751b1ba8111b45f45 SHA512 bf24be740b0e7607a1b53df7e872b5dd4b4c720601d99bd88a7ac8add078e5512b62b18c12177e28a00f510aaa8a48e25be82decfdd7ae2da76b671d44071e4a WHIRLPOOL 5a676d6e8ccf887c4a8d903ae969144d42d6652ed85327fcc2fc27c260f41bbdbd03d4d0e8dbc91b20908d1ae409d6d7d0aa847a6eed037237915c5ca2acb3a9 +DIST offlineimap-7.1.4.tar.gz 711048 SHA256 c6fe4a99458542b52f101d2569cb7ca6d2c758bc0eba3731d4e6263af48c6454 SHA512 f2623a400de2fac339249f887529e1f02224ba40c5f739b4084b5b26d1f8b6f26faf2c248aeaecd48dd7f6cc27bdaa8b7691c10f3db3b9673a1a5338f435447c WHIRLPOOL d6eaefeb2a3816a383a1b1b1d6689db498ded130f55c16fea349bb112174126631b18e911d3ba94c2af38e68bc27651cf0f8b8a31b89d4f7956e3b1cec7177b2 diff --git a/net-mail/offlineimap/offlineimap-7.1.4.ebuild b/net-mail/offlineimap/offlineimap-7.1.4.ebuild new file mode 100644 index 000000000000..3258d1bf16b5 --- /dev/null +++ b/net-mail/offlineimap/offlineimap-7.1.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# Normally you need only one version of this. +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="threads,sqlite,ssl?" + +inherit distutils-r1 + +DESCRIPTION="Powerful IMAP/Maildir synchronization and reader support" +HOMEPAGE="http://offlineimap.org" +SRC_URI="https://github.com/OfflineIMAP/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc ssl" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +DEPEND="doc? ( app-text/asciidoc )" + +# see http://pogma.com/2009/09/09/snow-leopard-and-offlineimap/ and bug 284925 +PATCHES=( + "${FILESDIR}/${PN}-7.0.3-darwin10.patch" +) + +src_compile() { + distutils-r1_src_compile + use doc && emake -C docs man +} + +src_install() { + distutils-r1_src_install + dodoc offlineimap.conf offlineimap.conf.minimal + use doc && doman docs/{offlineimap.1,offlineimapui.7} +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "You will need to configure offlineimap by creating ~/.offlineimaprc" + elog "Sample configurations are in /usr/share/doc/${PF}/" + elog "" + elog "If you connect via ssl/tls and don't use CA cert checking, it will" + elog "display the server's cert fingerprint and require you to add it to the" + elog "configuration file to be sure it connects to the same server every" + elog "time. This serves to help fixing CVE-2010-4532 (offlineimap doesn't" + elog "check SSL server certificate) in cases where you have no CA cert." + fi +} |