Files
gentoo/dev-php/scrypt/scrypt-1.4.2.ebuild
Vladimir Pavljuchenkov (SpiderX) 755af4f267 dev-php/scrypt: new ebuild
This is a PHP library providing a wrapper
to Colin Percival's scrypt implementation.
Scrypt is a key derivation function designed
to be far more secure against hardware brute-force
attacks than alternative functions
such as PBKDF2 or bcrypt.

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Vladimir Pavljuchenkov <spiderx@spiderx.dp.ua>
Closes: https://github.com/gentoo/gentoo/pull/10657
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2021-02-01 15:22:48 +02:00

21 lines
395 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PHP_EXT_ECONF_ARGS="--enable-scrypt"
USE_PHP="php7-3 php7-4 php8-0"
inherit php-ext-pecl-r3
DESCRIPTION="A PHP wrapper fo the scrypt hashing algorithm"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-util/re2c"
PATCHES=( "${FILESDIR}"/"${P}"-php8-0.patch )