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 60D44138334 for ; Wed, 10 Oct 2018 11:37:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C582E088C; Wed, 10 Oct 2018 11:37:51 +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 B9CF6E089E for ; Wed, 10 Oct 2018 11:37:50 +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 BD7C733C84E for ; Wed, 10 Oct 2018 11:37:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 045E23D3 for ; Wed, 10 Oct 2018 11:37:47 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1539171167.6555dec457ba20ebd7a5ab5f0e65bf8b14831976.mgorny@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/metadata.xml dev-php/pecl-mcrypt/pecl-mcrypt-1.0.1.ebuild X-VCS-Directories: dev-php/pecl-mcrypt/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6555dec457ba20ebd7a5ab5f0e65bf8b14831976 X-VCS-Branch: master Date: Wed, 10 Oct 2018 11:37:47 +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-Archives-Salt: 1ca58b9f-7e30-4727-ad0c-1c9baf65ff8f X-Archives-Hash: bad1fea77130e7b38e3e30d153d16857 commit: 6555dec457ba20ebd7a5ab5f0e65bf8b14831976 Author: Tomas Mozes gmail com> AuthorDate: Fri Sep 21 11:13:35 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Oct 10 11:32:47 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6555dec4 dev-php/pecl-mcrypt: php bindings for the libmcrypt library Closes: https://bugs.gentoo.org/664718 Signed-off-by: Tomáš Mózes gmail.com> Package-Manager: Portage-2.3.49, Repoman-2.3.10 Signed-off-by: Michał Górny gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/9932 dev-php/pecl-mcrypt/Manifest | 1 + dev-php/pecl-mcrypt/metadata.xml | 12 ++++++++++++ dev-php/pecl-mcrypt/pecl-mcrypt-1.0.1.ebuild | 29 ++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/dev-php/pecl-mcrypt/Manifest b/dev-php/pecl-mcrypt/Manifest new file mode 100644 index 00000000000..acfd97228a2 --- /dev/null +++ b/dev-php/pecl-mcrypt/Manifest @@ -0,0 +1 @@ +DIST mcrypt-1.0.1.tgz 33782 BLAKE2B db5f89fdbc64c81bd50c92301155527f40b28cd274312565c79327133baa20e14c488f8ad1f87e6ddfd3ced9706ca30f10dc69a08279c82c9ec83fb5f713e826 SHA512 1677202715499a41ac6999089257a059106e58cbac06ca8a7dd2e9edd28be5a4118234dd7468110e9e3d7f9de5d099367848fe84bcd06716ea56645c9015c578 diff --git a/dev-php/pecl-mcrypt/metadata.xml b/dev-php/pecl-mcrypt/metadata.xml new file mode 100644 index 00000000000..1b662aaef98 --- /dev/null +++ b/dev-php/pecl-mcrypt/metadata.xml @@ -0,0 +1,12 @@ + + + + + hydrapolic@gmail.com + Tomáš Mózes + + + proxy-maint@gentoo.org + Proxy Maintainers + + diff --git a/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.1.ebuild b/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.1.ebuild new file mode 100644 index 00000000000..133d25ed4e6 --- /dev/null +++ b/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_EXT_NAME="mcrypt" +USE_PHP="php7-2" +MY_P="${PN/pecl-/}-${PV/_rc/RC}" +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 +}