public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/PHPMailer/
Date: Fri, 22 Dec 2017 04:27:55 +0000 (UTC)	[thread overview]
Message-ID: <1513916819.3e0626ba870b97a5258731cc582379824d8d9b53.mjo@gentoo> (raw)

commit:     3e0626ba870b97a5258731cc582379824d8d9b53
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 22 04:01:37 2017 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Dec 22 04:26:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e0626ba

dev-php/PHPMailer: another revision to sort out PHP extension deps.

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 ...-5.2.26-r1.ebuild => PHPMailer-5.2.26-r2.ebuild} | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

diff --git a/dev-php/PHPMailer/PHPMailer-5.2.26-r1.ebuild b/dev-php/PHPMailer/PHPMailer-5.2.26-r2.ebuild
similarity index 62%
rename from dev-php/PHPMailer/PHPMailer-5.2.26-r1.ebuild
rename to dev-php/PHPMailer/PHPMailer-5.2.26-r2.ebuild
index 152762c2a1f..1cd077177b3 100644
--- a/dev-php/PHPMailer/PHPMailer-5.2.26-r1.ebuild
+++ b/dev-php/PHPMailer/PHPMailer-5.2.26-r2.ebuild
@@ -10,9 +10,26 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="doc +examples"
+IUSE="doc examples idn ssl"
 
-RDEPEND="dev-lang/php:*[ctype,filter,ssl]"
+# The ctype and filter extensions get used unconditionally, with no
+# fallback and no "extension missing" exception. All of the other
+# extensions are technically optional, depending on how you use
+# PHPMailer and whether or not you're willing to settle for fallback
+# implementations.
+#
+# The insane dependency string is to prevent the ctype and filter
+# extensions from being provided by one version (i.e. slot) of PHP,
+# while intl and unicode are provided by another.
+RDEPEND="
+	ssl? (
+		idn?  ( dev-lang/php:*[ctype,filter,intl,ssl,unicode] )
+		!idn? ( dev-lang/php:*[ctype,filter,ssl] )
+	)
+	!ssl? (
+		idn?  ( dev-lang/php:*[ctype,filter,intl,unicode] )
+		!idn? ( dev-lang/php:*[ctype,filter] )
+	)"
 DEPEND="${RDEPEND}
 	doc? ( dev-php/phpDocumentor )"
 


             reply	other threads:[~2017-12-22  4:28 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-22  4:27 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-05  1:15 [gentoo-commits] repo/gentoo:master commit in: dev-php/PHPMailer/ Michael Orlitzky
2024-05-05  1:15 Michael Orlitzky
2022-09-06 14:40 Michael Orlitzky
2021-08-24 13:17 Thomas Deutschmann
2021-07-01 19:26 Michael Orlitzky
2021-06-17 23:20 Thomas Deutschmann
2021-05-14 14:05 Thomas Deutschmann
2021-05-14 14:05 Thomas Deutschmann
2021-04-05 20:32 Thomas Deutschmann
2021-02-09 18:49 Thomas Deutschmann
2021-02-09 18:47 Thomas Deutschmann
2020-08-06 14:34 Thomas Deutschmann
2020-06-10 13:47 Michael Orlitzky
2020-06-10 13:47 Michael Orlitzky
2020-03-19 21:55 Thomas Deutschmann
2020-03-19 21:55 Thomas Deutschmann
2019-12-26 10:23 Thomas Deutschmann
2019-12-09 23:33 Thomas Deutschmann
2019-11-17 21:01 Thomas Deutschmann
2019-02-22 14:55 Thomas Deutschmann
2019-02-22 14:55 Thomas Deutschmann
2019-02-22 14:55 Thomas Deutschmann
2018-10-28  0:05 Michael Orlitzky
2017-12-20  0:55 Michael Orlitzky
2017-12-19 21:35 Michael Orlitzky
2017-07-24 19:52 Michael Orlitzky
2017-05-14 16:22 Michael Orlitzky
2016-12-28 15:50 Michael Orlitzky
2016-12-26 13:44 Michael Orlitzky
2016-07-15 21:49 Michael Orlitzky
2015-11-07  0:06 Michael Orlitzky

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=1513916819.3e0626ba870b97a5258731cc582379824d8d9b53.mjo@gentoo \
    --to=mjo@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