pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/php72



Module Name:    pkgsrc
Committed By:   jdolecek
Date:           Wed Jan 31 21:10:18 UTC 2018

Modified Files:
        pkgsrc/lang/php72: Makefile.php

Log Message:
add new option argon2 to compile in the support for Argon2 password hashes
(new in php 7.2.0)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/php72/Makefile.php

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/php72/Makefile.php
diff -u pkgsrc/lang/php72/Makefile.php:1.1 pkgsrc/lang/php72/Makefile.php:1.2
--- pkgsrc/lang/php72/Makefile.php:1.1  Wed Nov 15 08:56:12 2017
+++ pkgsrc/lang/php72/Makefile.php      Wed Jan 31 21:10:18 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.php,v 1.1 2017/11/15 08:56:12 jdolecek Exp $
+# $NetBSD: Makefile.php,v 1.2 2018/01/31 21:10:18 jdolecek Exp $
 # used by lang/php72/Makefile
 # used by www/ap-php/Makefile
 # used by www/php-fpm/Makefile
@@ -45,7 +45,7 @@ CONFIGURE_ARGS+=      --with-libxml-dir=${PRE
 .include "../../textproc/libxml2/buildlink3.mk"
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.${PHP_PKG_PREFIX}
-PKG_SUPPORTED_OPTIONS+=        inet6 ssl maintainer-zts readline
+PKG_SUPPORTED_OPTIONS+=        inet6 ssl maintainer-zts readline argon2
 PKG_SUGGESTED_OPTIONS+=        inet6 ssl readline
 
 .if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" || ${OPSYS} == "FreeBSD"
@@ -92,5 +92,10 @@ CONFIGURE_ARGS+=     --enable-dtrace
 INSTALL_MAKE_FLAGS+=   -r
 .endif
 
+.if !empty(PKG_OPTIONS:Margon2)
+CONFIGURE_ARGS+=       --with-password-argon2=${BUILDLINK_PREFIX.argon2}
+.include "../../security/argon2/buildlink3.mk"
+.endif
+
 DL_AUTO_VARS=          yes
 .include "../../mk/dlopen.buildlink3.mk"



Home | Main Index | Thread Index | Old Index