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 1FCEA138335 for ; Wed, 23 Oct 2019 13:46:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 05861E0AB5; Wed, 23 Oct 2019 13:46:46 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 D001EE0AB5 for ; Wed, 23 Oct 2019 13:46:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 D1AA734C261 for ; Wed, 23 Oct 2019 13:46:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 99361891 for ; Wed, 23 Oct 2019 13:46:41 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1571838384.985a3531538b840678fd625cd4108c9dd17e267c.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-mcrypt/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/pecl-mcrypt/Manifest dev-php/pecl-mcrypt/pecl-mcrypt-1.0.3.ebuild X-VCS-Directories: dev-php/pecl-mcrypt/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 985a3531538b840678fd625cd4108c9dd17e267c X-VCS-Branch: master Date: Wed, 23 Oct 2019 13:46:41 +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: 97c27142-ad9a-48f0-bd56-b4f9d219db2d X-Archives-Hash: dd9b1f6fbab8d56b47f2fdd0f0e0458d commit: 985a3531538b840678fd625cd4108c9dd17e267c Author: Tomas Mozes gmail com> AuthorDate: Thu Oct 17 12:17:41 2019 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Oct 23 13:46:24 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=985a3531 dev-php/pecl-mcrypt: bump to 1.0.3 Thanks to Conrad Kostecki for testing with PHP 7.4 Closes: https://bugs.gentoo.org/696620 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Tomáš Mózes gmail.com> Closes: https://github.com/gentoo/gentoo/pull/13325 Signed-off-by: Joonas Niilola gentoo.org> dev-php/pecl-mcrypt/Manifest | 1 + dev-php/pecl-mcrypt/pecl-mcrypt-1.0.3.ebuild | 30 ++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/dev-php/pecl-mcrypt/Manifest b/dev-php/pecl-mcrypt/Manifest index d57637f5167..753352dd9b2 100644 --- a/dev-php/pecl-mcrypt/Manifest +++ b/dev-php/pecl-mcrypt/Manifest @@ -1,2 +1,3 @@ DIST mcrypt-1.0.1.tgz 33782 BLAKE2B db5f89fdbc64c81bd50c92301155527f40b28cd274312565c79327133baa20e14c488f8ad1f87e6ddfd3ced9706ca30f10dc69a08279c82c9ec83fb5f713e826 SHA512 1677202715499a41ac6999089257a059106e58cbac06ca8a7dd2e9edd28be5a4118234dd7468110e9e3d7f9de5d099367848fe84bcd06716ea56645c9015c578 DIST mcrypt-1.0.2.tgz 33698 BLAKE2B b79985455986ca28e7cb55d3f6f62f87e1112f57c4e26761a08a2d9ce7c702cf325fccb50f703cfe5c570c7e3abc473030742f098b10e709145f7ac9676f834a SHA512 bf3796b60f1d8d34185c3ad0d813653fe64ccfc883106ba544b01a8caa7bf9729978f44e0d481d28af9f8827803dcc5cd8bfc83e50dc950d26f851fabc868b18 +DIST mcrypt-1.0.3.tgz 33590 BLAKE2B 5de1108f53604fffea9e3cb64d9efdae2008da164acd47b27fd0df8f12a0f508345d63bee4d588c1eecd9a935f8be3b2db5c3d119c5b3013955c54085ebe9e9f SHA512 ef215b576b471d6e1ecac4bb097f518fa57fd551b678b7fdddd9d5058f6667b0ee757e887f00b61672b89cd86f1962cbfe0e355681fa47daba9873c3bf4db679 diff --git a/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.3.ebuild b/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.3.ebuild new file mode 100644 index 00000000000..33f6c20baba --- /dev/null +++ b/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PHP_EXT_NAME="mcrypt" +USE_PHP="php7-2 php7-3 php7-4" +MY_P="${PN/pecl-/}-${PV/_rc/RC}" +PHP_EXT_ECONF_ARGS=() +PHP_EXT_PECL_FILENAME="${MY_P}.tgz" +PHP_EXT_S="${WORKDIR}/${MY_P}" + +inherit php-ext-pecl-r3 + +DESCRIPTION="Bindings for the libmcrypt library" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-libs/libmcrypt" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # PHP Warning: Use of undefined constant MCRYPT_CBC - assumed 'MCRYPT_CBC' + sed -i '/MODE3/s/MCRYPT_CBC/"MCRYPT_CBC"/g' tests/bug8040.phpt || die + + php-ext-source-r3_src_prepare +}