* [Buildroot] [PATCH 2/2] package/php: libargon2 support
@ 2019-11-21 8:13 Pascal de Bruijn
2019-11-26 22:26 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Pascal de Bruijn @ 2019-11-21 8:13 UTC (permalink / raw)
To: buildroot
Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
---
package/php/Config.ext | 6 ++++++
package/php/php.mk | 5 +++++
2 files changed, 11 insertions(+)
diff --git a/package/php/Config.ext b/package/php/Config.ext
index 0c6ed4b..d5c723c 100644
--- a/package/php/Config.ext
+++ b/package/php/Config.ext
@@ -70,6 +70,12 @@ config BR2_PACKAGE_PHP_EXT_HASH
help
HASH message digest framework
+config BR2_PACKAGE_PHP_EXT_LIBARGON2
+ bool "libargon2"
+ select BR2_PACKAGE_LIBARGON2
+ help
+ libargon2 support
+
config BR2_PACKAGE_PHP_EXT_LIBSODIUM
bool "libsodium"
select BR2_PACKAGE_LIBSODIUM
diff --git a/package/php/php.mk b/package/php/php.mk
index 85bf207..007b8a6 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -122,6 +122,11 @@ PHP_CONF_OPTS += \
$(if $(BR2_PACKAGE_PHP_EXT_MBSTRING),--enable-mbstring) \
$(if $(BR2_PACKAGE_PHP_EXT_PHAR),--enable-phar)
+ifeq ($(BR2_PACKAGE_PHP_EXT_LIBARGON2),y)
+PHP_CONF_OPTS += --with-password-argon2=$(STAGING_DIR)/usr
+PHP_DEPENDENCIES += libargon2
+endif
+
ifeq ($(BR2_PACKAGE_PHP_EXT_LIBSODIUM),y)
PHP_CONF_OPTS += --with-sodium=$(STAGING_DIR)/usr
PHP_DEPENDENCIES += libsodium
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 2/2] package/php: libargon2 support
2019-11-21 8:13 [Buildroot] [PATCH 2/2] package/php: libargon2 support Pascal de Bruijn
@ 2019-11-26 22:26 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-11-26 22:26 UTC (permalink / raw)
To: buildroot
On Thu, 21 Nov 2019 09:13:04 +0100
Pascal de Bruijn <p.debruijn@unilogic.nl> wrote:
> Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
> ---
> package/php/Config.ext | 6 ++++++
> package/php/php.mk | 5 +++++
> 2 files changed, 11 insertions(+)
Applied to next, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-11-26 22:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-21 8:13 [Buildroot] [PATCH 2/2] package/php: libargon2 support Pascal de Bruijn
2019-11-26 22:26 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox