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

Bug#699099: unblock: gpa/0.9.0-4



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Please unblock package gpa

In the discussion of #634930 a new issue showed up, a segmentation fault
when running gpa 0.9.0-3 in daemon mode (-d). This bug is known as #699096.
Upstrean pointed to the fix which has been included in the package. Further
the upload containes the minor fix for #696826 - updating the Homepage
field in debian/control.

debdiff attached

unblock gpa/0.9.0-4

- -- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (850, 'unstable'), (700, 'testing'), (560, 'stable'), (110, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlEFSEUACgkQm0bx+wiPa4ydhACeIOIuuse2kuydMa5IRg2k7uI+
EHEAnimDCXxPdoBW2F+Z1NmIMzHrRPIq
=JChd
-----END PGP SIGNATURE-----
diff -Nru gpa-0.9.0/debian/changelog gpa-0.9.0/debian/changelog
--- gpa-0.9.0/debian/changelog	2013-01-13 19:48:10.000000000 +0100
+++ gpa-0.9.0/debian/changelog	2013-01-27 16:20:59.000000000 +0100
@@ -1,3 +1,11 @@
+gpa (0.9.0-4) unstable; urgency=low
+
+  * debian/control (Homepage): Updated (closes: #696826).
+  * debian/patches/628305_build_with_libassuan_v2.patch: Updated.
+    - src/server.c (gpa_start_server): Call assuan_sock_init (closes: #699096).
+
+ -- Daniel Leidert (dale) <daniel.leidert@wgdd.de>  Sun, 27 Jan 2013 16:20:46 +0100
+
 gpa (0.9.0-3) unstable; urgency=low
 
   * debian/gpa.1: Added hidden options and missing references.
diff -Nru gpa-0.9.0/debian/control gpa-0.9.0/debian/control
--- gpa-0.9.0/debian/control	2012-06-23 17:04:43.000000000 +0200
+++ gpa-0.9.0/debian/control	2013-01-27 16:20:42.000000000 +0100
@@ -13,7 +13,7 @@
                libgpgme11-dev (>> 1.2.0),
                libgtk2.0-dev (>> 2.10.0)
 Standards-Version: 3.9.3
-Homepage: http://gpa.wald.intevation.org
+Homepage: http://www.gnupg.org/related_software/gpa/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-gnupg/gpa/trunk/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-gnupg/gpa/trunk/
 DM-Upload-Allowed: yes
diff -Nru gpa-0.9.0/debian/patches/628305_build_with_libassuan_v2.patch gpa-0.9.0/debian/patches/628305_build_with_libassuan_v2.patch
--- gpa-0.9.0/debian/patches/628305_build_with_libassuan_v2.patch	2012-06-23 16:05:54.000000000 +0200
+++ gpa-0.9.0/debian/patches/628305_build_with_libassuan_v2.patch	2013-01-27 16:20:42.000000000 +0100
@@ -1,12 +1,14 @@
 Author: Marcus Brinkmann  <marcus@g10code.de>
 Reviewed-By: gregor herrmann <gregoa@debian.org>
+Bug-Debian: http://bugs.debian.org/628305
 Origin: http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpa.git;a=commitdiff;h=a27c69e99c5b29b618fc90d8ade6a81d89784e58
-Description: Fix FTBFS with libassuan series 2.
+Bug-Debian: http://bugs.debian.org/699096
+Origin: http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpa.git;a=commitdiff;h=de5ed61012cfc76d8ef0ebff81625331d43b8b28
+Description: Fix FTBFS and segfault with libassuan series 2.
  * configure.ac: Set NEED_LIBASSUAN_VERSION and NEED_LIBASSUAN_API
    to 1.1.0 and 2 resp.
- * server.c: Update to new assuan interface.
+ * server.c: Update to new assuan interface. Call assuan_sock_init.
 Forwarded: not-needed
-Bug-Debian: http://bugs.debian.org/628305
 
 --- a/configure.ac
 +++ b/configure.ac
@@ -369,16 +371,31 @@
    return TRUE; /* Keep the listen_fd in the event loop.  */
  }
  
-@@ -1929,7 +1949,7 @@
+@@ -1922,6 +1942,7 @@
+ gpa_start_server (void)
+ {
+   char *socket_name;
++  gpg_error_t err;
+   int rc;
+   assuan_fd_t fd;
+   struct sockaddr_un serv_addr;
+@@ -1929,7 +1950,14 @@
    GIOChannel *channel;
    unsigned int source_id;
  
 -  assuan_set_assuan_err_source (GPG_ERR_SOURCE_DEFAULT);
 +  assuan_set_gpg_err_source (GPG_ERR_SOURCE_DEFAULT);
++  err = assuan_sock_init ();
++  if (err)
++    {
++      g_debug ("assuan_sock_init failed: %s <%s>",
++               gpg_strerror (err), gpg_strsource (err));
++      return;
++    }
    
    socket_name = g_build_filename (gnupg_homedir, "S.uiserver", NULL);
    if (strlen (socket_name)+1 >= sizeof serv_addr.sun_path ) 
-@@ -1974,14 +1994,14 @@
+@@ -1974,14 +2002,14 @@
    g_free (socket_name);
    socket_name = NULL;
  

Reply to: