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

Bug#684576: unblock: libssh2/1.4.2-1.1



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

Please unblock package libssh2

1.4.2-1.1 fixes two bugs:

  #675785 - FTBFS in packages linking with libssh2.
  #675782 - safe cosmetic fix bundled with the important change above.

Maintainer of libssh2 advised to proceed with NMU 
which was reviewed by Bart Martens who advised to file unblock request.

Changelog entry:

  * Non-maintainer upload.
  * Added patch to fix pkg-config/libgcrypt dependency (Closes: #675785).
  * Install upstream ChangeLog (Closes: #675782).
  * debian/control:
    + libssh2-1-dev to depend on libgcrypt11-dev.
    + added Homepage field.


See all the changes in the attached diff.

  unblock libssh2/1.4.2-1.1

Thank you.

Regards,
Dmitry.
diff -U2 -Nr libssh2-1.4.2-1/debian/changelog libssh2-1.4.2-1.1/debian/changelog
--- libssh2-1.4.2-1/debian/changelog	2012-05-29 01:42:24.000000000 +1000
+++ libssh2-1.4.2-1.1/debian/changelog	2012-08-06 18:29:39.000000000 +1000
@@ -1,2 +1,13 @@
+libssh2 (1.4.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Added patch to fix pkg-config/libgcrypt dependency (Closes: #675785).
+  * Install upstream ChangeLog (Closes: #675782).
+  * debian/control:
+    + libssh2-1-dev to depend on libgcrypt11-dev.
+    + added Homepage field.
+
+ -- Dmitry Smirnov <onlyjob@member.fsf.org>  Sat, 04 Aug 2012 19:13:21 +1000
+
 libssh2 (1.4.2-1) unstable; urgency=low
 
diff -U2 -Nr libssh2-1.4.2-1/debian/control libssh2-1.4.2-1.1/debian/control
--- libssh2-1.4.2-1/debian/control	2012-05-29 01:42:24.000000000 +1000
+++ libssh2-1.4.2-1.1/debian/control	2012-08-04 19:20:15.000000000 +1000
@@ -5,4 +5,5 @@
 Build-Depends: debhelper (>= 9), dh-autoreconf, libgcrypt11-dev, zlib1g-dev, chrpath
 Standards-Version: 3.9.3
+Homepage: http://libssh2.org/
 
 Package: libssh2-1
@@ -21,5 +22,5 @@
 Section: libdevel
 Architecture: any
-Depends: libssh2-1 (= ${binary:Version}), ${misc:Depends}
+Depends: libssh2-1 (= ${binary:Version}), ${misc:Depends}, libgcrypt11-dev
 Description: SSH2 client-side library (development headers)
  libssh2 is a client-side C library implementing the SSH2 protocol.
diff -U2 -Nr libssh2-1.4.2-1/debian/patches/series libssh2-1.4.2-1.1/debian/patches/series
--- libssh2-1.4.2-1/debian/patches/series	1970-01-01 10:00:00.000000000 +1000
+++ libssh2-1.4.2-1.1/debian/patches/series	2012-08-04 19:17:46.000000000 +1000
@@ -0,0 +1 @@
+with-libgcrypt.patch
diff -U2 -Nr libssh2-1.4.2-1/debian/patches/with-libgcrypt.patch libssh2-1.4.2-1.1/debian/patches/with-libgcrypt.patch
--- libssh2-1.4.2-1/debian/patches/with-libgcrypt.patch	1970-01-01 10:00:00.000000000 +1000
+++ libssh2-1.4.2-1.1/debian/patches/with-libgcrypt.patch	2012-08-11 21:01:22.000000000 +1000
@@ -0,0 +1,20 @@
+Last-Update: 2012-08-04
+Author: Dmitry Smirnov <onlyjob@member.fsf.org>
+Forwarded: 2012-08-11
+Bug-Debian: http://bugs.debian.org/675785
+Bug-Libssh2: http://trac.libssh2.org/ticket/225
+Description: Fixes pkg-config in libssh2-1-dev
+ This patch addresses the problem causing FTBFS
+ in packages linking with libssh2.
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -102,7 +102,7 @@
+ # Look for libgcrypt
+ if test "$ac_cv_libssl" != "yes" && test "$use_libgcrypt" != "no"; then
+   AC_LIB_HAVE_LINKFLAGS([gcrypt], [], [#include <gcrypt.h>])
+-  LIBSREQUIRED=libgcrypt
++  LIBS="$LIBS -lgcrypt"
+ fi
+ 
+ AC_SUBST(LIBSREQUIRED)
diff -U2 -Nr libssh2-1.4.2-1/debian/rules libssh2-1.4.2-1.1/debian/rules
--- libssh2-1.4.2-1/debian/rules	2012-05-29 01:42:24.000000000 +1000
+++ libssh2-1.4.2-1.1/debian/rules	2012-08-04 19:38:39.000000000 +1000
@@ -16,4 +16,7 @@
 	dh_installexamples -a -X .deps -X Makefile -X .gitignore
 
+override_dh_installchangelogs:
+	dh_installchangelogs NEWS
+
 #
 # mansyntax.sh test duplicates functionality of debhelper and requires presence

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: