public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tim Harder" <radhermit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/offlineimap/
Date: Tue,  2 Aug 2016 16:20:31 +0000 (UTC)	[thread overview]
Message-ID: <1470154818.c632867a039d61a5525305aff58a90a054d88267.radhermit@gentoo> (raw)

commit:     c632867a039d61a5525305aff58a90a054d88267
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  2 16:11:22 2016 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Tue Aug  2 16:20:18 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c632867a

net-mail/offlineimap: only show postinst message for new installs

Also, fix dev-python/six dep to use proper python versions.

 net-mail/offlineimap/offlineimap-7.0.3-r1.ebuild | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/net-mail/offlineimap/offlineimap-7.0.3-r1.ebuild b/net-mail/offlineimap/offlineimap-7.0.3-r1.ebuild
index 6de39f8..ed8d234 100644
--- a/net-mail/offlineimap/offlineimap-7.0.3-r1.ebuild
+++ b/net-mail/offlineimap/offlineimap-7.0.3-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 
 # Normally you need only one version of this.
 DISTUTILS_SINGLE_IMPL=1
-PYTHON_COMPAT=( python2_7 python3_4 )
+PYTHON_COMPAT=( python{2_7,3_4} )
 PYTHON_REQ_USE="threads,sqlite,ssl?"
 
 inherit distutils-r1
@@ -20,7 +20,7 @@ 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"
+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
@@ -41,12 +41,14 @@ src_install() {
 }
 
 pkg_postinst() {
-	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."
+	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
 }


             reply	other threads:[~2016-08-02 16:20 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-02 16:20 Tim Harder [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-06-09 13:53 [gentoo-commits] repo/gentoo:master commit in: net-mail/offlineimap/ Agostino Sarubbo
2020-06-09 13:45 Agostino Sarubbo
2020-05-06 11:51 Joonas Niilola
2020-05-06 11:51 Joonas Niilola
2020-05-06 11:51 Joonas Niilola
2020-02-09 16:47 Michał Górny
2019-11-30 21:30 Sergei Trofimovich
2019-11-27 13:30 Thomas Deutschmann
2019-11-27 12:56 Agostino Sarubbo
2019-07-06  9:02 Tim Harder
2019-07-06  9:02 Tim Harder
2018-12-25 20:40 Tim Harder
2018-06-30 17:34 Tim Harder
2018-06-30 17:34 Tim Harder
2018-03-23  1:36 Tim Harder
2017-11-06  7:46 Tim Harder
2017-10-08 18:57 Tim Harder
2017-07-22  8:45 Tim Harder
2017-06-18  0:23 Matt Thode
2017-06-02 23:23 Tim Harder
2017-04-20 16:35 Jason Zaman
2017-04-12 10:19 Tim Harder
2017-04-12 10:19 Tim Harder
2017-01-30 15:47 Tim Harder
2016-12-09  6:42 Tim Harder
2016-12-09  6:42 Tim Harder
2016-11-29 22:50 Tim Harder
2016-11-10  4:44 Tim Harder
2016-10-27  5:01 Tim Harder
2016-09-21 20:25 Tim Harder
2016-08-25 21:35 Tim Harder
2016-08-17 20:25 Tim Harder
2016-08-10 21:00 Tim Harder
2016-08-09 19:53 Tim Harder
2016-08-02 16:20 Tim Harder
2016-08-01  8:32 Jason Zaman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1470154818.c632867a039d61a5525305aff58a90a054d88267.radhermit@gentoo \
    --to=radhermit@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox