packages: php-pecl-gnupg/php-pecl-gnupg.spec, php-pecl-gnupg/php-pecl-gnupg...

baggins baggins at pld-linux.org
Mon Dec 7 11:40:43 CET 2009


Author: baggins                      Date: Mon Dec  7 10:40:43 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 4
- fix runtime problems with gpgme 1.2.x (segfaults)

---- Files affected:
packages/php-pecl-gnupg:
   php-pecl-gnupg.spec (1.17 -> 1.18) , php-pecl-gnupg-gpgme12.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/php-pecl-gnupg/php-pecl-gnupg.spec
diff -u packages/php-pecl-gnupg/php-pecl-gnupg.spec:1.17 packages/php-pecl-gnupg/php-pecl-gnupg.spec:1.18
--- packages/php-pecl-gnupg/php-pecl-gnupg.spec:1.17	Wed Nov 18 17:48:06 2009
+++ packages/php-pecl-gnupg/php-pecl-gnupg.spec	Mon Dec  7 11:40:36 2009
@@ -5,11 +5,12 @@
 Summary(pl.UTF-8):	%{_modname} - wrapper biblioteki gpgme
 Name:		php-pecl-%{_modname}
 Version:	1.3.1
-Release:	3
+Release:	4
 License:	BSD, revised
 Group:		Development/Languages/PHP
 Source0:	http://pecl.php.net/get/%{_modname}-%{version}.tgz
 # Source0-md5:	75881c633d7a53065d281e8a4a9a2cdf
+Patch0:		%{name}-gpgme12.patch
 URL:		http://pecl.php.net/package/gnupg/
 BuildRequires:	gpgme-devel
 BuildRequires:	php-devel >= 3:5.0.0
@@ -34,6 +35,7 @@
 
 %prep
 %setup -q -c
+%patch0 -p0
 
 %build
 CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64" ; export CFLAGS
@@ -75,6 +77,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2009/12/07 10:40:36  baggins
+- rel 4
+- fix runtime problems with gpgme 1.2.x (segfaults)
+
 Revision 1.17  2009/11/18 16:48:06  baggins
 - rel 3
 

================================================================
Index: packages/php-pecl-gnupg/php-pecl-gnupg-gpgme12.patch
diff -u /dev/null packages/php-pecl-gnupg/php-pecl-gnupg-gpgme12.patch:1.1
--- /dev/null	Mon Dec  7 11:40:43 2009
+++ packages/php-pecl-gnupg/php-pecl-gnupg-gpgme12.patch	Mon Dec  7 11:40:36 2009
@@ -0,0 +1,10 @@
+--- gnupg-1.3.1.orig/gnupg.c	2007-05-04 15:23:41.000000000 +0200
++++ gnupg-1.3.1/gnupg.c	2009-12-04 15:46:22.668179511 +0100
+@@ -136,6 +136,7 @@
+ static void gnupg_res_init(gnupg_object *intern TSRMLS_DC){
+ 	/* init the gpgme-lib and set the default values */
+ 	gpgme_ctx_t	ctx;
++	gpgme_check_version                             (0);
+ 	gpgme_new					(&ctx);
+ 	gpgme_set_armor				(ctx,1);
+ 	intern->ctx				=	ctx;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pecl-gnupg/php-pecl-gnupg.spec?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list