1 |
commit: 42087c479104d6215ba6308e86b2f2356d51acac |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 22 14:43:51 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 22 14:43:51 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42087c47 |
7 |
|
8 |
dev-php/PHPMailer: bump to v5.2.27 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
dev-php/PHPMailer/Manifest | 1 + |
14 |
dev-php/PHPMailer/PHPMailer-5.2.27.ebuild | 64 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 65 insertions(+) |
16 |
|
17 |
diff --git a/dev-php/PHPMailer/Manifest b/dev-php/PHPMailer/Manifest |
18 |
index 54d4081480a..d75e2fabb64 100644 |
19 |
--- a/dev-php/PHPMailer/Manifest |
20 |
+++ b/dev-php/PHPMailer/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST PHPMailer-5.2.26.tar.gz 159174 BLAKE2B 989ee85f6ca374bd7f4accf3d18fbd173bbbd3176e6846c9a2aec68f3bfca4ead4e0197f6287e2bc8ed4a125bf7fcb53240a1f8ce6a1813eaffb66067c2c4e9e SHA512 4c3e324ecd1dd23eb40f14ee785fb9b353b742ff4fb26fe0586622038157e60d64560f5ba4a625f16fad6568954d685ebbe436d88bc427d5bd260c056815b656 |
23 |
+DIST PHPMailer-5.2.27.tar.gz 159227 BLAKE2B e5ff2dd62cb12396bee58f0dce2fec3148dcf425cd91d69b76659ded7c38d8d5dea4830649dbeaa4732e098deecfe7ee77e338497b080997a44fbcf28d0833c7 SHA512 5a466133feec323d3739b9a1bde36731f5e65ecf61aa3f2fa6cc4ed0bd6f9280f8e2a17b6b7ac481846509ba3e8b0b97062f0dbbd644ccec3884b7a03f489a1b |
24 |
DIST PHPMailer-6.0.5.tar.gz 88092 BLAKE2B 0b2113b54d547d788c54cbcf18fe134a6b08f6b9eabcbad308a7d0bba8e95426fd8be77419419cbe0379be080350a1caf1690cbe3f096c178cc3a8c9506d9529 SHA512 5b18700ef26fe5de20a7ca291ece44b897182c603ed8187e0f711099325b35b20f8dbab2c456eaac1338731356661237d9b249c2f40051807b0d58ead612013c |
25 |
DIST PHPMailer-6.0.7.tar.gz 91706 BLAKE2B 1d3d22dea463040840c1259cfbdbcf2da59cd31e915ea8a73bb9981844e9ae6e32ca1e9a40a576fedcd8c0a049f92f9b5422040e12dcc66b2c555dbd36126c67 SHA512 0d00ff177fc82c3cc54ed04cfd333739c9346f89dba1ccb8bdcccc01abd3de4c55c96dbd51cc0f4cc76d6690acd22c6bb4f632dcfb785ec1d0a32a8751ddf6e9 |
26 |
|
27 |
diff --git a/dev-php/PHPMailer/PHPMailer-5.2.27.ebuild b/dev-php/PHPMailer/PHPMailer-5.2.27.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..00117b7fc6e |
30 |
--- /dev/null |
31 |
+++ b/dev-php/PHPMailer/PHPMailer-5.2.27.ebuild |
32 |
@@ -0,0 +1,64 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="7" |
37 |
+ |
38 |
+DESCRIPTION="Full-featured email creation and transfer class for PHP" |
39 |
+HOMEPAGE="https://github.com/PHPMailer/PHPMailer" |
40 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="LGPL-2.1" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="doc examples idn ssl" |
46 |
+ |
47 |
+# The ctype and filter extensions get used unconditionally, with no |
48 |
+# fallback and no "extension missing" exception. All of the other |
49 |
+# extensions are technically optional, depending on how you use |
50 |
+# PHPMailer and whether or not you're willing to settle for fallback |
51 |
+# implementations. |
52 |
+# |
53 |
+# The insane dependency string is to prevent the ctype and filter |
54 |
+# extensions from being provided by one version (i.e. slot) of PHP, |
55 |
+# while intl and unicode are provided by another. |
56 |
+RDEPEND=" |
57 |
+ ssl? ( |
58 |
+ idn? ( dev-lang/php:*[ctype,filter,intl,ssl,unicode] ) |
59 |
+ !idn? ( dev-lang/php:*[ctype,filter,ssl] ) |
60 |
+ ) |
61 |
+ !ssl? ( |
62 |
+ idn? ( dev-lang/php:*[ctype,filter,intl,unicode] ) |
63 |
+ !idn? ( dev-lang/php:*[ctype,filter] ) |
64 |
+ )" |
65 |
+DEPEND="${RDEPEND} |
66 |
+ doc? ( dev-php/phpDocumentor )" |
67 |
+ |
68 |
+src_compile(){ |
69 |
+ if use doc; then |
70 |
+ phpdoc --filename="class.*.php" \ |
71 |
+ --target="./html" \ |
72 |
+ --cache-folder="${T}" \ |
73 |
+ --title="${PN}" \ |
74 |
+ --sourcecode \ |
75 |
+ --force \ |
76 |
+ --progressbar \ |
77 |
+ || die "failed to generate API documentation" |
78 |
+ fi |
79 |
+} |
80 |
+ |
81 |
+src_install(){ |
82 |
+ # To help out the Composer kids, most of the documentation and |
83 |
+ # tests are missing from the release tarballs. |
84 |
+ insinto "/usr/share/php/${PN}" |
85 |
+ doins -r *.php language extras |
86 |
+ |
87 |
+ use examples && dodoc -r examples |
88 |
+ use doc && dodoc -r html/* |
89 |
+} |
90 |
+ |
91 |
+pkg_postinst(){ |
92 |
+ elog "${PN} has been installed in /usr/share/php/${PN}/." |
93 |
+ elog "To use it in a script, require('${PN}/${PN}Autoload.php')," |
94 |
+ elog "and then use the ${PN} class normally. Most of the examples in" |
95 |
+ elog "the documentation should work without further modification." |
96 |
+} |