mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-23 18:38:08 -07:00
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>
21 lines
395 B
Bash
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 )
|