diff -Nru libssh2-1.4.3/debian/changelog libssh2-1.4.3/debian/changelog --- libssh2-1.4.3/debian/changelog 2013-12-04 20:49:50.000000000 +0000 +++ libssh2-1.4.3/debian/changelog 2014-05-19 08:24:06.000000000 +0000 @@ -1,3 +1,13 @@ +libssh2 (1.4.3-3) unstable; urgency=low + + * Do not expose private libraries nor link flags to users of libssh2 + (Closes: #747417). + * Rebuild with libgcrypt20 (Closes: #744829). + * Fix typos in manpages. + * Bump Standards-Version, no changes required. + + -- Mikhail Gusarov Mon, 19 May 2014 10:23:27 +0200 + libssh2 (1.4.3-2) unstable; urgency=medium * Make package multi-arch-aware (Closes: #731310). diff -Nru libssh2-1.4.3/debian/control libssh2-1.4.3/debian/control --- libssh2-1.4.3/debian/control 2013-12-04 20:49:50.000000000 +0000 +++ libssh2-1.4.3/debian/control 2014-05-19 08:24:06.000000000 +0000 @@ -2,8 +2,8 @@ Section: libs Priority: optional Maintainer: Mikhail Gusarov -Build-Depends: debhelper (>= 9), dh-autoreconf, libgcrypt11-dev, zlib1g-dev, chrpath -Standards-Version: 3.9.4 +Build-Depends: debhelper (>= 9), dh-autoreconf, libgcrypt20-dev, zlib1g-dev, chrpath +Standards-Version: 3.9.5 Homepage: http://libssh2.org/ Package: libssh2-1 @@ -21,7 +21,7 @@ Package: libssh2-1-dev Section: libdevel Architecture: any -Depends: libssh2-1 (= ${binary:Version}), ${misc:Depends}, libgcrypt11-dev +Depends: libssh2-1 (= ${binary:Version}), ${misc:Depends}, libgcrypt20-dev Multi-Arch: same Description: SSH2 client-side library (development headers) libssh2 is a client-side C library implementing the SSH2 protocol. diff -Nru libssh2-1.4.3/debian/patches/0001-Do-not-expose-private-libraries-nor-link-flags-to-us.patch libssh2-1.4.3/debian/patches/0001-Do-not-expose-private-libraries-nor-link-flags-to-us.patch --- libssh2-1.4.3/debian/patches/0001-Do-not-expose-private-libraries-nor-link-flags-to-us.patch 1970-01-01 00:00:00.000000000 +0000 +++ libssh2-1.4.3/debian/patches/0001-Do-not-expose-private-libraries-nor-link-flags-to-us.patch 2014-05-19 08:24:06.000000000 +0000 @@ -0,0 +1,26 @@ +From a5ba7bd8c57cf5362b1245b7de1c3cf3439e7176 Mon Sep 17 00:00:00 2001 +From: Mikhail Gusarov +Date: Mon, 19 May 2014 10:12:10 +0200 +Subject: [PATCH] Do not expose private libraries nor link flags to users of + libssh2 + +Reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747417 +--- + libssh2.pc.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libssh2.pc.in b/libssh2.pc.in +index 26d8a45..3a4f7b6 100644 +--- a/libssh2.pc.in ++++ b/libssh2.pc.in +@@ -12,6 +12,6 @@ URL: http://www.libssh2.org/ + Description: Library for SSH-based communication + Version: @LIBSSH2VER@ + Requires.private: @LIBSREQUIRED@ +-Libs: -L${libdir} -lssh2 @LDFLAGS@ @LIBS@ ++Libs: -L${libdir} -lssh2 + Libs.private: @LIBS@ + Cflags: -I${includedir} +-- +2.0.0.rc2 + diff -Nru libssh2-1.4.3/debian/patches/0002-Fix-typos-in-manpages.patch libssh2-1.4.3/debian/patches/0002-Fix-typos-in-manpages.patch --- libssh2-1.4.3/debian/patches/0002-Fix-typos-in-manpages.patch 1970-01-01 00:00:00.000000000 +0000 +++ libssh2-1.4.3/debian/patches/0002-Fix-typos-in-manpages.patch 2014-05-19 08:24:06.000000000 +0000 @@ -0,0 +1,39 @@ +From 99ec9bd93e5f87e0201599585ee02ab0cb29d618 Mon Sep 17 00:00:00 2001 +From: Mikhail Gusarov +Date: Mon, 19 May 2014 10:21:56 +0200 +Subject: [PATCH] Fix typos in manpages + +--- + docs/libssh2_base64_decode.3 | 2 +- + docs/libssh2_channel_get_exit_status.3 | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/docs/libssh2_base64_decode.3 b/docs/libssh2_base64_decode.3 +index 33e141c..932f03a 100644 +--- a/docs/libssh2_base64_decode.3 ++++ b/docs/libssh2_base64_decode.3 +@@ -19,7 +19,7 @@ The returned buffer is allocated by this function, but it is not clear how to + free that memory! + .SH BUGS + The memory that *dest points to is allocated by the malloc function libssh2 +-uses, but there's no way for an appliction to free this data in a safe and ++uses, but there's no way for an application to free this data in a safe and + reliable way! + .SH RETURN VALUE + 0 if successful, \-1 if any error occurred. +diff --git a/docs/libssh2_channel_get_exit_status.3 b/docs/libssh2_channel_get_exit_status.3 +index 08d5555..4a8c9e2 100644 +--- a/docs/libssh2_channel_get_exit_status.3 ++++ b/docs/libssh2_channel_get_exit_status.3 +@@ -8,7 +8,7 @@ int + libssh2_channel_get_exit_status(LIBSSH2_CHANNEL* channel) + + .SH DESCRIPTION +-\fIchannel\fP - Closed channel stream to retreive exit status from. ++\fIchannel\fP - Closed channel stream to retrieve exit status from. + + Returns the exit code raised by the process running on the remote host at + the other end of the named channel. Note that the exit status may not be +-- +2.0.0.rc2 + diff -Nru libssh2-1.4.3/debian/patches/series libssh2-1.4.3/debian/patches/series --- libssh2-1.4.3/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ libssh2-1.4.3/debian/patches/series 2014-05-19 08:24:06.000000000 +0000 @@ -0,0 +1,2 @@ +0001-Do-not-expose-private-libraries-nor-link-flags-to-us.patch +0002-Fix-typos-in-manpages.patch