Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664718 - dev-php/pecl-mcrypt: bindings for libmcrypt
Summary: dev-php/pecl-mcrypt: bindings for libmcrypt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-28 05:22 UTC by Tomáš Mózes
Modified: 2018-10-10 11:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2018-08-28 05:22:10 UTC
I know this should not be used nowadays, but some algorithms we chose to use 10+ years ago cannot be replaced with openssl. Can we please add this, either via php team or I doing it via proxy maint? I don't expect much updating here, it's legacy code.

I'm currently using something like this for php 7.2 (borrowed from some other php ebuild):


# 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"

S="${WORKDIR}/${MY_P}"
Comment 1 Larry the Git Cow gentoo-dev 2018-10-10 11:37:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6555dec457ba20ebd7a5ab5f0e65bf8b14831976

commit 6555dec457ba20ebd7a5ab5f0e65bf8b14831976
Author:     Tomas Mozes <hydrapolic@gmail.com>
AuthorDate: 2018-09-21 11:13:35 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-10-10 11:32:47 +0000

    dev-php/pecl-mcrypt: php bindings for the libmcrypt library
    
    Closes: https://bugs.gentoo.org/664718
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Package-Manager: Portage-2.3.49, Repoman-2.3.10
    Signed-off-by: Michał Górny <mgorny@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(+)