tags 676205 + pending
thanks

Dear maintainer,

I've prepared an NMU for ruby-ldap (versioned as 0.9.12-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Arlo Guthrie: Stealin'
diff -Nru ruby-ldap-0.9.12/debian/changelog ruby-ldap-0.9.12/debian/changelog
--- ruby-ldap-0.9.12/debian/changelog	2012-01-03 23:21:43.000000000 +0100
+++ ruby-ldap-0.9.12/debian/changelog	2012-06-22 16:37:11.000000000 +0200
@@ -1,3 +1,14 @@
+ruby-ldap (0.9.12-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: sslconn.c:103:7: error: format not a string literal and
+    no format arguments [-Werror=format-security]":
+    add patch rb_raise_format_string.patch from Johannes Brandstätter (adds
+    format strings).
+    (Closes: #676205)
+
+ -- gregor herrmann <gre...@debian.org>  Fri, 22 Jun 2012 16:36:36 +0200
+
 ruby-ldap (0.9.12-1) unstable; urgency=low
 
   * New upstream release
diff -Nru ruby-ldap-0.9.12/debian/patches/rb_raise_format_string.patch ruby-ldap-0.9.12/debian/patches/rb_raise_format_string.patch
--- ruby-ldap-0.9.12/debian/patches/rb_raise_format_string.patch	1970-01-01 01:00:00.000000000 +0100
+++ ruby-ldap-0.9.12/debian/patches/rb_raise_format_string.patch	2012-06-22 16:39:51.000000000 +0200
@@ -0,0 +1,29 @@
+--- a/conn.c
++++ b/conn.c
+@@ -674,7 +674,7 @@
+     }
+   else
+     {
+-      rb_raise (rb_eLDAP_Error, ldap_err2string (ldapdata->err));
++      rb_raise (rb_eLDAP_Error, "%s", ldap_err2string (ldapdata->err));
+     };
+ #else
+   rb_notimplement ();
+--- a/rbldap.h
++++ b/rbldap.h
+@@ -141,13 +141,13 @@
+ 
+ #define Check_LDAP_Result(err) { \
+   if( (err) != LDAP_SUCCESS && (err) != LDAP_SIZELIMIT_EXCEEDED ){ \
+-    rb_raise(rb_eLDAP_ResultError, ldap_err2string(err)); \
++    rb_raise(rb_eLDAP_ResultError, "%s", ldap_err2string(err)); \
+   } \
+ }
+ 
+ #define Check_LDAP_OPT_Result(err) { \
+   if( (err) != LDAP_OPT_SUCCESS ){ \
+-    rb_raise(rb_eLDAP_ResultError, ldap_err2string(err)); \
++    rb_raise(rb_eLDAP_ResultError, "%s", ldap_err2string(err)); \
+   } \
+ }
+ 
diff -Nru ruby-ldap-0.9.12/debian/patches/series ruby-ldap-0.9.12/debian/patches/series
--- ruby-ldap-0.9.12/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ ruby-ldap-0.9.12/debian/patches/series	2012-06-22 16:34:28.000000000 +0200
@@ -0,0 +1 @@
+rb_raise_format_string.patch

Attachment: signature.asc
Description: Digital signature

Reply via email to