php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #60916 Need to force gpg path (when gpg2 is the default)
Submitted: 2012-01-28 09:56 UTC Modified: 2012-01-29 02:43 UTC
From: fedora at famillecollet dot com Assigned: rasmus (profile)
Status: Closed Package: gnupg (PECL)
PHP Version: 5.4.0RC6 OS: GNU/Linux (Fedora 16)
Private report: No CVE-ID: None
 [2012-01-28 09:56 UTC] fedora at famillecollet dot com
Description:
------------
If gpgme is build to use gpg2 as the default, this extension can't run.

So, we need a way to force the configuration to use gpg v1 instead.

The attached patch, which could be improved by add an option to configure, allow to define GNUPG_PATH at build time (-DGNUPG_PATH='\"/usr/bin/gpg\"')

Tested on fedora 11 to 16 and RHEL-5, all tests succed.




Patches

gnupg-gpg1.patch (last revision 2012-01-28 09:56 UTC by fedora at famillecollet dot com)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-01-29 02:42 UTC] rasmus@php.net
Automatic comment from SVN on behalf of rasmus
Revision: http://svn.php.net/viewvc/?view=revision&revision=322912
Log: Fix bug #60916
 [2012-01-29 02:43 UTC] rasmus@php.net
Fixed in subversion, thanks.

You should apply for a php.net account so you can commit these yourself.
Go to http://www.php.net/svn-php.php and fill in the little form there.
 [2012-01-29 02:43 UTC] rasmus@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: rasmus
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC