Bug#600468: unblock: sbnc/1.2-20
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package sbnc
debdiff:
diff -Nru sbnc-1.2/debian/changelog sbnc-1.2/debian/changelog
--- sbnc-1.2/debian/changelog 2010-06-03 21:38:52.000000000 +0200
+++ sbnc-1.2/debian/changelog 2010-10-12 18:19:34.000000000 +0200
@@ -1,3 +1,13 @@
+sbnc (1.2-20) unstable; urgency=low
+
+ * Add patch 15-savecert-path-parsing.diff. The internal function BuildPath
+ was used in a wrong way with the consequence that the client certificate
+ could not be saved on the disk.
+ Closes: #599827
+ * Bump Standards-Version to 3.9.1 (no changes needed).
+
+ -- Patrick Matthäi <pmatthaei@debian.org> Tue, 12 Oct 2010 18:19:30 +0200
+
sbnc (1.2-19) unstable; urgency=low
* Add spanish debconf translation from Camaleón.
diff -Nru sbnc-1.2/debian/control sbnc-1.2/debian/control
--- sbnc-1.2/debian/control 2010-06-03 21:38:52.000000000 +0200
+++ sbnc-1.2/debian/control 2010-10-12 18:19:34.000000000 +0200
@@ -6,7 +6,7 @@
Build-Depends: debhelper (>= 5), automake, chrpath, libc-ares-dev,
libltdl3-dev, libmysqlclient-dev, libssl-dev, tcl8.5-dev, po-debconf,
autotools-dev
-Standards-Version: 3.8.4
+Standards-Version: 3.9.1
Package: sbnc
Architecture: any
diff -Nru sbnc-1.2/debian/patches/15-savecert-path-parsing.diff sbnc-1.2/debian/patches/15-savecert-path-parsing.diff
--- sbnc-1.2/debian/patches/15-savecert-path-parsing.diff 1970-01-01 01:00:00.000000000 +0100
+++ sbnc-1.2/debian/patches/15-savecert-path-parsing.diff 2010-10-12 18:19:33.000000000 +0200
@@ -0,0 +1,18 @@
+# BuildPath was used in a wrong way with the consequence that savecert
+# could not save the certificate to disk.
+# Closes: #599827
+
+diff -Naur sbnc-1.2.orig//src/User.cpp sbnc-1.2/src/User.cpp
+--- sbnc-1.2.orig//src/User.cpp 2010-10-11 19:35:39.000000000 +0200
++++ sbnc-1.2/src/User.cpp 2010-10-11 19:45:29.000000000 +0200
+@@ -1685,8 +1685,8 @@
+ const char *Filename;
+ FILE *CertFile;
+
+- asprintf(&TempFilename, "/var/lib/sbnc/users/%s.pem", m_Name);
+- Filename = g_Bouncer->BuildPath(TempFilename);
++ asprintf(&TempFilename, "%s.pem", m_Name);
++ Filename = g_Bouncer->BuildPath(TempFilename, "/var/lib/sbnc/users");
+ free(TempFilename);
+
+ CHECK_ALLOC_RESULT(Filename, asprintf) {
diff -Nru sbnc-1.2/debian/patches/series sbnc-1.2/debian/patches/series
--- sbnc-1.2/debian/patches/series 2010-06-03 21:38:52.000000000 +0200
+++ sbnc-1.2/debian/patches/series 2010-10-12 18:19:33.000000000 +0200
@@ -12,3 +12,4 @@
12-debianize-ssl.diff
13-basepath_parsing.diff
14-fix-sign-extension.diff
+15-savecert-path-parsing.diff
unblock sbnc/1.2-20
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.35-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Reply to: