]> granicus.if.org Git - php/commitdiff
give up on gpg signing because of non-existent windows support for gpg signing lib
authorGreg Beaver <cellog@php.net>
Thu, 17 Jan 2008 03:19:44 +0000 (03:19 +0000)
committerGreg Beaver <cellog@php.net>
Thu, 17 Jan 2008 03:19:44 +0000 (03:19 +0000)
ext/phar/config.m4
ext/phar/config.w32
ext/phar/phar.c
ext/phar/phar_internal.h

index 5999c6d7473ec66c5bb7d563438cb7134b960b5d..a4ab9f2cb5f5687e822cbebf1f2a75ecdf7840f5 100644 (file)
@@ -13,6 +13,5 @@ if test "$PHP_PHAR" != "no"; then
   PHP_ADD_EXTENSION_DEP(phar, zlib, true)
   PHP_ADD_EXTENSION_DEP(phar, bz2, true)
   PHP_ADD_EXTENSION_DEP(phar, spl, true)
-  PHP_ADD_EXTENSION_DEP(phar, gnupg, true)
   PHP_ADD_MAKEFILE_FRAGMENT
 fi
index c5a9be4e6571e0319c74022e8da3e28aab325d4f..7c25c4ed47dade84cc5ed7abb16a68a891d41351 100644 (file)
@@ -19,5 +19,4 @@ if (PHP_PHAR != "no") {
        ADD_EXTENSION_DEP('phar', 'zlib', true);
        ADD_EXTENSION_DEP('phar', 'bz2', true);
        ADD_EXTENSION_DEP('phar', 'spl', true);
-       ADD_EXTENSION_DEP('phar', 'gnupg', true);
 }
index b49771046975ca33e2125a97968dcfe7977d86db..77c254e57eed7e798c5b277377772c4470cc6d59 100644 (file)
@@ -3225,7 +3225,6 @@ PHP_MINIT_FUNCTION(phar) /* {{{ */
        ZEND_INIT_MODULE_GLOBALS(phar, php_phar_init_globals_module, NULL);
        REGISTER_INI_ENTRIES();
 
-       phar_has_gnupg = zend_hash_exists(&module_registry, "gnupg", sizeof("gnupg"));
        phar_has_bz2 = zend_hash_exists(&module_registry, "bz2", sizeof("bz2"));
        phar_has_zlib = zend_hash_exists(&module_registry, "zlib", sizeof("zlib"));
        phar_has_zip = zend_hash_exists(&module_registry, "zip", sizeof("zip"));
@@ -3334,15 +3333,6 @@ PHP_MINFO_FUNCTION(phar) /* {{{ */
        }
 #else
        php_info_print_table_row(2, "bzip2 compression", "unavailable (install pecl/bz2)");
-#endif
-#if HAVE_GNUPGLIB
-  if (phar_has_gnupg) {
-               php_info_print_table_row(2, "GPG signature", "enabled");
-       } else {
-               php_info_print_table_row(2, "GPG signature", "disabled (install pecl/gnupg)");
-       }
-#else
-       php_info_print_table_row(2, "GPG signature", "unavailable (install pecl/gnupg)");
 #endif
        php_info_print_table_end();
 
@@ -3370,9 +3360,6 @@ static zend_module_dep phar_deps[] = {
 #if HAVE_BZ2
        ZEND_MOD_OPTIONAL("bz2")
 #endif
-#if HAVE_GNUPGLIB
-       ZEND_MOD_OPTIONAL("gnupg")
-#endif
 #if HAVE_SPL
        ZEND_MOD_REQUIRED("spl")
 #endif
index 4973b5ab2f76cba614d9cd86b2af0e5633cd4cda..7e718eaa4bdb1c9fa3e6f95a06ef8425730675dd 100755 (executable)
@@ -65,9 +65,6 @@
 #include "ext/spl/spl_exceptions.h"
 #include "ext/spl/spl_iterators.h"
 #endif
-#if HAVE_GNUPGLIB
-#include "ext/gnupg/php_gnupg.h"
-#endif
 #include "php_phar.h"
 #ifdef HAVE_STDINT_H
 #include <stdint.h>
@@ -172,7 +169,6 @@ ZEND_END_MODULE_GLOBALS(phar)
 ZEND_EXTERN_MODULE_GLOBALS(phar)
 
 int phar_has_bz2;
-int phar_has_gnupg;
 int phar_has_zlib;
 int phar_has_zip;