]> git.pld-linux.org Git - packages/php.git/blob - phar-hash-shared.patch
make phar to support SHA-256, SHA-512 hashes
[packages/php.git] / phar-hash-shared.patch
1 --- php-7.0.0RC6/ext/phar/config.m4~    2015-10-27 21:24:16.000000000 +0200
2 +++ php-7.0.0RC6/ext/phar/config.m4     2015-11-17 19:13:50.877662712 +0200
3 @@ -7,13 +7,13 @@
4  if test "$PHP_PHAR" != "no"; then
5    PHP_NEW_EXTENSION(phar, util.c tar.c zip.c stream.c func_interceptors.c dirstream.c phar.c phar_object.c phar_path_check.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
6    AC_MSG_CHECKING([for phar openssl support])
7 -  if test "$PHP_HASH_SHARED" != "yes"; then
8 -    if test "$PHP_HASH" != "no"; then
9 +dnl  if test "$PHP_HASH_SHARED" != "yes"; then
10 +dnl    if test "$PHP_HASH" != "no"; then
11        AC_DEFINE(PHAR_HASH_OK,1,[ ])
12 -    fi
13 -  else
14 +dnl    fi
15 +dnl  else
16      AC_MSG_WARN([Phar: sha256/sha512 signature support disabled if ext/hash is built shared])
17 -  fi
18 +dnl  fi
19    if test "$PHP_OPENSSL_SHARED" = "yes"; then
20      AC_MSG_RESULT([no (shared openssl)])
21    else
This page took 0.034954 seconds and 4 git commands to generate.