From 5d2d195d21d9422d49311bb1b07cede6907dcdce Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Sat, 19 May 2012 09:57:21 +0200 Subject: update package ssh2 --- index.html | 2 +- src/libssh2-1-fixes.patch | 32 ++++++++++++++++++++++++++++++++ src/libssh2.mk | 3 ++- 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 src/libssh2-1-fixes.patch diff --git a/index.html b/index.html index 402e1b3..77d81c6 100644 --- a/index.html +++ b/index.html @@ -1515,7 +1515,7 @@ USE_OSGPLUGIN(<plugin2>) libssh2 - 1.4.1 + 1.4.2 libssh2 diff --git a/src/libssh2-1-fixes.patch b/src/libssh2-1-fixes.patch new file mode 100644 index 0000000..9fcee2b --- /dev/null +++ b/src/libssh2-1-fixes.patch @@ -0,0 +1,32 @@ +This file is part of MXE. +See index.html for further information. + +From 6b8a3edae23dc93cc02e6c9572d0796e338ddc4f Mon Sep 17 00:00:00 2001 +From: Mark Brand +Date: Sat, 19 May 2012 10:40:36 +0200 +Subject: [PATCH] libgcrypt does not provide pkg-config support + +Commits 04692445d4a32430610ccf8c256e18245cbb3e06 +and e887a8bd0f043fd49e9119756858e75e82dee504 add +'libgcrypt' to Requires.private of libssh2.pc +file, but libgcrypt does not provide a .pc file, so +this does not work. +--- + configure.ac | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index aa9d397..0d35a27 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -102,7 +102,6 @@ fi + # Look for libgcrypt + if test "$ac_cv_libssl" != "yes" && test "$use_libgcrypt" != "no"; then + AC_LIB_HAVE_LINKFLAGS([gcrypt], [], [#include ]) +- LIBSREQUIRED=libgcrypt + fi + + AC_SUBST(LIBSREQUIRED) +-- +1.7.9.2 + diff --git a/src/libssh2.mk b/src/libssh2.mk index 2a38afb..765c685 100644 --- a/src/libssh2.mk +++ b/src/libssh2.mk @@ -3,7 +3,7 @@ PKG := libssh2 $(PKG)_IGNORE := -$(PKG)_CHECKSUM := a5c59eac66f5686f3960f59dcb54b5bf3b339811 +$(PKG)_CHECKSUM := 7fc084254dabe14a9bc90fa3d569faa7ee943e19 $(PKG)_SUBDIR := libssh2-$($(PKG)_VERSION) $(PKG)_FILE := libssh2-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://www.libssh2.org/download/$($(PKG)_FILE) @@ -17,6 +17,7 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD + cd '$(1)' && ./buildconf cd '$(1)' && ./configure \ --host='$(TARGET)' \ --disable-shared \ -- cgit v0.12