From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 07713138334 for ; Mon, 9 Dec 2019 23:33:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0B81E090F; Mon, 9 Dec 2019 23:33:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C7ECAE090F for ; Mon, 9 Dec 2019 23:33:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 793CB34D8D9 for ; Mon, 9 Dec 2019 23:33:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2993A8D7 for ; Mon, 9 Dec 2019 23:33:43 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1575934416.7532c8f6b0129cb712b602c9367db10be0f4891c.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/PHPMailer/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/PHPMailer/Manifest dev-php/PHPMailer/PHPMailer-6.1.3.ebuild X-VCS-Directories: dev-php/PHPMailer/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 7532c8f6b0129cb712b602c9367db10be0f4891c X-VCS-Branch: master Date: Mon, 9 Dec 2019 23:33:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7244ba95-8c6b-43a8-a8bd-21813d9d7eee X-Archives-Hash: d8581f40bdd32d4c736cbe8224c032d1 commit: 7532c8f6b0129cb712b602c9367db10be0f4891c Author: Thomas Deutschmann gentoo org> AuthorDate: Mon Dec 9 23:30:07 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Dec 9 23:33:36 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7532c8f6 dev-php/PHPMailer: bump to v6.1.3 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Thomas Deutschmann gentoo.org> dev-php/PHPMailer/Manifest | 1 + dev-php/PHPMailer/PHPMailer-6.1.3.ebuild | 73 ++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/dev-php/PHPMailer/Manifest b/dev-php/PHPMailer/Manifest index fc3b0716761..88c07819437 100644 --- a/dev-php/PHPMailer/Manifest +++ b/dev-php/PHPMailer/Manifest @@ -1,3 +1,4 @@ DIST PHPMailer-5.2.27.tar.gz 159227 BLAKE2B e5ff2dd62cb12396bee58f0dce2fec3148dcf425cd91d69b76659ded7c38d8d5dea4830649dbeaa4732e098deecfe7ee77e338497b080997a44fbcf28d0833c7 SHA512 5a466133feec323d3739b9a1bde36731f5e65ecf61aa3f2fa6cc4ed0bd6f9280f8e2a17b6b7ac481846509ba3e8b0b97062f0dbbd644ccec3884b7a03f489a1b DIST PHPMailer-6.0.7.tar.gz 91706 BLAKE2B 1d3d22dea463040840c1259cfbdbcf2da59cd31e915ea8a73bb9981844e9ae6e32ca1e9a40a576fedcd8c0a049f92f9b5422040e12dcc66b2c555dbd36126c67 SHA512 0d00ff177fc82c3cc54ed04cfd333739c9346f89dba1ccb8bdcccc01abd3de4c55c96dbd51cc0f4cc76d6690acd22c6bb4f632dcfb785ec1d0a32a8751ddf6e9 DIST PHPMailer-6.1.2.tar.gz 93635 BLAKE2B f8a12415a0e24697c84de06782f78a1cc37785ad0a1764dfd53470ca1ac5a8d4dffc418794b7627d2702b16f68ea83a93b362b7659a95e0c0a84e1a9b66b7b9b SHA512 3192f77f7d0158f30c7ea4484c86c279e0563e629702901f66901003c384101c57f7482feb14fc61927afaae8adea5d8fc34bd07c7058f68f6144303ce235fd5 +DIST PHPMailer-6.1.3.tar.gz 93690 BLAKE2B 08f653520a2b7819470cbb5cf1f43480cdcab51fe452f4831df47269f4223cfeb7016e41e8de75c11b15a04fa278fe08439f3c022af9088a5c8f5e4259ae7ebb SHA512 195155e49b29740422e75d7dbcf082cf8b26c87dad7b5473b9d55267e31af3847cb65a1c79f73225fa79080428d8c7516f5cd4d083824fa42f3b22a3bec8c34e diff --git a/dev-php/PHPMailer/PHPMailer-6.1.3.ebuild b/dev-php/PHPMailer/PHPMailer-6.1.3.ebuild new file mode 100644 index 00000000000..d753eb1c174 --- /dev/null +++ b/dev-php/PHPMailer/PHPMailer-6.1.3.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Full-featured email creation and transfer class for PHP" +HOMEPAGE="https://github.com/PHPMailer/PHPMailer" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# To help out the Composer children, the tests and examples are missing +# from the release tarballs. +IUSE="doc idn 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] ) + )" +BDEPEND="doc? ( dev-php/phpDocumentor )" + +src_prepare() { + # OAuth.php relies on a (now non-nonexistent) autoloader. We remove + # it early so that we don't generate documentation for it later on. + rm src/OAuth.php || die 'failed to remove src/OAuth.php' + eapply_user +} + +src_compile(){ + if use doc; then + phpdoc --filename="src/*.php" \ + --target="./html" \ + --cache-folder="${T}" \ + --title="${PN}" \ + --sourcecode \ + --force \ + --progressbar \ + || die "failed to generate API documentation" + fi +} + +src_install(){ + # The PHPMailer class loads its language files + # using a relative path, so we need to keep the "src" here. + insinto "/usr/share/php/${PN}" + doins -r language src + + dodoc README.md SECURITY.md + use doc && dodoc -r html/* +} + +pkg_postinst(){ + elog "${PN} has been installed in /usr/share/php/${PN}/." + elog "Upstream no longer provides an autoloader, so you will need" + elog "to include each source file (for example: PHPMailer.php," + elog "Exception.php,...) that you need." +}