commit:     b30bb859bc507d6baef0d93e1a739c1664ce26a4
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 10 13:36:09 2020 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Jun 10 13:45:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b30bb859

dev-php/PHPMailer: remove old "unused" versions.

This leaves PHPMailer-5.2.28, which was released on 2020-03-09 and is
the latest release from the 5.x series. No one has said whether or not
CVE-2020-13625 affects v5.2.28 as well, but the description "insufficient
output escaping" sounds scarier than it is. This bug isn't known to be
exploitable; a priori it just gives the attachment the wrong name.

Bug: https://bugs.gentoo.org/727584
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 dev-php/PHPMailer/Manifest                |  6 ---
 dev-php/PHPMailer/PHPMailer-5.2.27.ebuild | 64 ---------------------------
 dev-php/PHPMailer/PHPMailer-6.0.7.ebuild  | 73 -------------------------------
 dev-php/PHPMailer/PHPMailer-6.1.2.ebuild  | 73 -------------------------------
 dev-php/PHPMailer/PHPMailer-6.1.3.ebuild  | 73 -------------------------------
 dev-php/PHPMailer/PHPMailer-6.1.4.ebuild  | 73 -------------------------------
 dev-php/PHPMailer/PHPMailer-6.1.5.ebuild  | 73 -------------------------------
 7 files changed, 435 deletions(-)

diff --git a/dev-php/PHPMailer/Manifest b/dev-php/PHPMailer/Manifest
index 6e985eedf79..156f23296ca 100644
--- a/dev-php/PHPMailer/Manifest
+++ b/dev-php/PHPMailer/Manifest
@@ -1,8 +1,2 @@
-DIST PHPMailer-5.2.27.tar.gz 159227 BLAKE2B 
e5ff2dd62cb12396bee58f0dce2fec3148dcf425cd91d69b76659ded7c38d8d5dea4830649dbeaa4732e098deecfe7ee77e338497b080997a44fbcf28d0833c7
 SHA512 
5a466133feec323d3739b9a1bde36731f5e65ecf61aa3f2fa6cc4ed0bd6f9280f8e2a17b6b7ac481846509ba3e8b0b97062f0dbbd644ccec3884b7a03f489a1b
 DIST PHPMailer-5.2.28.tar.gz 159284 BLAKE2B 
866a38c60ac55cbd8aefec5ad82211575e672578ddff1af435e676c7058b0a090884f3e5f2c1e6f30c94b01e393f982f644e578ea22c931ffb8a93be717e379b
 SHA512 
c2dd762b8958d1dc68fec52d7daae7337e05cadcbcf9e67c27247c808877cf3132e80cf6d4c9c577f8ad9203e433282e45f2166bccce025bcc4477724eb7036f
-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
-DIST PHPMailer-6.1.4.tar.gz 93915 BLAKE2B 
9f4ec584c57d70c4cbbc33c4ba85469579a00ebbf4aa4680b6f965ad37339b923386e371c01b673bca8c0de6f6ed123b6a1456541b1c472c6f0c93592c7c9e96
 SHA512 
f13cb959d89c64392ecff4cceaa650c80310f854aaff1c09144727aeb7f50c7ebeaaf7a2be488fa796b5acd1c42c4d13204b0410bc579d2e6aec98feee3b21ef
-DIST PHPMailer-6.1.5.tar.gz 94435 BLAKE2B 
8c4f515af8260d20524636be6c89a3d6a8824691037d956141a2822163d1e59676c0dcf96683b0e4434e94ffb3f57235afc758840920156a7aa664290ad04b65
 SHA512 
a741dd4fa585619892cc1d8b4ce35fee7c1f5f44d946b368e1a363eff77e5afe1553ac295db49c6110131561c1124b1dc184c9a405fb1652e7aeab9d7b0323a8
 DIST PHPMailer-6.1.6.tar.gz 94769 BLAKE2B 
6689f4429c0847de41016325553d58d544f78d5f8a94d9014841435a3cf161e4e10b14fe2cbb61c737bf75d87f2dc4cde66885c06a0b6992a472f0f46fe5dd6b
 SHA512 
25530e6c5513e89729a5b253565143a5a9a35ee5f7813637eee18ca1d604cb83625f7beb106e56536f681d7ec4332fcd3cddcac5da7c73f730db1b056ba5b2e4

diff --git a/dev-php/PHPMailer/PHPMailer-5.2.27.ebuild 
b/dev-php/PHPMailer/PHPMailer-5.2.27.ebuild
deleted file mode 100644
index 160382537ad..00000000000
--- a/dev-php/PHPMailer/PHPMailer-5.2.27.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2020 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"
-IUSE="doc examples 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] )
-       )"
-DEPEND="${RDEPEND}
-       doc? ( dev-php/phpDocumentor )"
-
-src_compile() {
-       if use doc; then
-               phpdoc --filename="class.*.php" \
-                          --target="./html" \
-                          --cache-folder="${T}" \
-                          --title="${PN}" \
-                          --sourcecode \
-                          --force \
-                          --progressbar \
-                          || die "failed to generate API documentation"
-       fi
-}
-
-src_install() {
-       # To help out the Composer kids, most of the documentation and
-       # tests are missing from the release tarballs.
-       insinto "/usr/share/php/${PN}"
-       doins -r *.php language extras
-
-       use examples && dodoc -r examples
-       use doc && dodoc -r html/*
-}
-
-pkg_postinst() {
-       elog "${PN} has been installed in /usr/share/php/${PN}/."
-       elog "To use it in a script, require('${PN}/${PN}Autoload.php'),"
-       elog "and then use the ${PN} class normally. Most of the examples in"
-       elog "the documentation should work without further modification."
-}

diff --git a/dev-php/PHPMailer/PHPMailer-6.0.7.ebuild 
b/dev-php/PHPMailer/PHPMailer-6.0.7.ebuild
deleted file mode 100644
index e27c5fd9332..00000000000
--- a/dev-php/PHPMailer/PHPMailer-6.0.7.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2020 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."
-}

diff --git a/dev-php/PHPMailer/PHPMailer-6.1.2.ebuild 
b/dev-php/PHPMailer/PHPMailer-6.1.2.ebuild
deleted file mode 100644
index e27c5fd9332..00000000000
--- a/dev-php/PHPMailer/PHPMailer-6.1.2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2020 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."
-}

diff --git a/dev-php/PHPMailer/PHPMailer-6.1.3.ebuild 
b/dev-php/PHPMailer/PHPMailer-6.1.3.ebuild
deleted file mode 100644
index e27c5fd9332..00000000000
--- a/dev-php/PHPMailer/PHPMailer-6.1.3.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2020 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."
-}

diff --git a/dev-php/PHPMailer/PHPMailer-6.1.4.ebuild 
b/dev-php/PHPMailer/PHPMailer-6.1.4.ebuild
deleted file mode 100644
index e27c5fd9332..00000000000
--- a/dev-php/PHPMailer/PHPMailer-6.1.4.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2020 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."
-}

diff --git a/dev-php/PHPMailer/PHPMailer-6.1.5.ebuild 
b/dev-php/PHPMailer/PHPMailer-6.1.5.ebuild
deleted file mode 100644
index e27c5fd9332..00000000000
--- a/dev-php/PHPMailer/PHPMailer-6.1.5.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2020 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."
-}

Reply via email to