1 |
commit: ff686475b461a25b2125a82764874ba88f547be1 |
2 |
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Jan 17 09:23:12 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 19 03:21:46 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff686475 |
7 |
|
8 |
dev-php/pecl-mcrypt: bump to 1.0.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.55, Repoman-2.3.12 |
11 |
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/10854 |
13 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
14 |
|
15 |
dev-php/pecl-mcrypt/Manifest | 1 + |
16 |
dev-php/pecl-mcrypt/pecl-mcrypt-1.0.2.ebuild | 30 ++++++++++++++++++++++++++++ |
17 |
2 files changed, 31 insertions(+) |
18 |
|
19 |
diff --git a/dev-php/pecl-mcrypt/Manifest b/dev-php/pecl-mcrypt/Manifest |
20 |
index acfd97228a2..d57637f5167 100644 |
21 |
--- a/dev-php/pecl-mcrypt/Manifest |
22 |
+++ b/dev-php/pecl-mcrypt/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST mcrypt-1.0.1.tgz 33782 BLAKE2B db5f89fdbc64c81bd50c92301155527f40b28cd274312565c79327133baa20e14c488f8ad1f87e6ddfd3ced9706ca30f10dc69a08279c82c9ec83fb5f713e826 SHA512 1677202715499a41ac6999089257a059106e58cbac06ca8a7dd2e9edd28be5a4118234dd7468110e9e3d7f9de5d099367848fe84bcd06716ea56645c9015c578 |
25 |
+DIST mcrypt-1.0.2.tgz 33698 BLAKE2B b79985455986ca28e7cb55d3f6f62f87e1112f57c4e26761a08a2d9ce7c702cf325fccb50f703cfe5c570c7e3abc473030742f098b10e709145f7ac9676f834a SHA512 bf3796b60f1d8d34185c3ad0d813653fe64ccfc883106ba544b01a8caa7bf9729978f44e0d481d28af9f8827803dcc5cd8bfc83e50dc950d26f851fabc868b18 |
26 |
|
27 |
diff --git a/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.2.ebuild b/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..078d2acdae8 |
30 |
--- /dev/null |
31 |
+++ b/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.2.ebuild |
32 |
@@ -0,0 +1,30 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+PHP_EXT_NAME="mcrypt" |
39 |
+USE_PHP="php7-2 php7-3" |
40 |
+MY_P="${PN/pecl-/}-${PV/_rc/RC}" |
41 |
+PHP_EXT_ECONF_ARGS=() |
42 |
+PHP_EXT_PECL_FILENAME="${MY_P}.tgz" |
43 |
+PHP_EXT_S="${WORKDIR}/${MY_P}" |
44 |
+ |
45 |
+inherit php-ext-pecl-r3 |
46 |
+ |
47 |
+DESCRIPTION="Bindings for the libmcrypt library" |
48 |
+LICENSE="PHP-3.01" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64" |
51 |
+ |
52 |
+DEPEND="dev-libs/libmcrypt" |
53 |
+RDEPEND="${DEPEND}" |
54 |
+ |
55 |
+S="${WORKDIR}/${MY_P}" |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ # PHP Warning: Use of undefined constant MCRYPT_CBC - assumed 'MCRYPT_CBC' |
59 |
+ sed -i '/MODE3/s/MCRYPT_CBC/"MCRYPT_CBC"/g' tests/bug8040.phpt || die |
60 |
+ |
61 |
+ php-ext-source-r3_src_prepare |
62 |
+} |