Browse Source

update libssh

master
parent
commit
b2a59a6833
  1. 18
      libssh2/libssh2.patch
  2. 4
      libssh2/libssh2.spec

18
libssh2/libssh2.patch

@ -1,6 +1,6 @@
Index: libssh-0.5.0/cmake/Modules/DefineCompilerFlags.cmake
--- libssh-0.5.0/cmake/Modules/DefineCompilerFlags.cmake.orig 2011-05-31 16:29:52.000000000 +0200
+++ libssh-0.5.0/cmake/Modules/DefineCompilerFlags.cmake 2011-06-02 09:15:26.000000000 +0200
Index: libssh-0.5.1/cmake/Modules/DefineCompilerFlags.cmake
--- libssh-0.5.1/cmake/Modules/DefineCompilerFlags.cmake.orig 2011-05-31 16:29:52.000000000 +0200
+++ libssh-0.5.1/cmake/Modules/DefineCompilerFlags.cmake 2011-06-02 09:15:26.000000000 +0200
@@ -20,11 +20,6 @@
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
endif (WITH_FPIC)
@ -13,9 +13,9 @@ Index: libssh-0.5.0/cmake/Modules/DefineCompilerFlags.cmake
check_c_compiler_flag("-D_FORTIFY_SOURCE=2" WITH_FORTIFY_SOURCE)
if (WITH_FORTIFY_SOURCE)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_FORTIFY_SOURCE=2")
Index: libssh-0.5.0/include/libssh/priv.h
--- libssh-0.5.0/include/libssh/priv.h.orig 2011-05-31 16:29:52.000000000 +0200
+++ libssh-0.5.0/include/libssh/priv.h 2011-06-02 09:15:26.000000000 +0200
Index: libssh-0.5.1/include/libssh/priv.h
--- libssh-0.5.1/include/libssh/priv.h.orig 2011-05-31 16:29:52.000000000 +0200
+++ libssh-0.5.1/include/libssh/priv.h 2011-06-02 09:15:26.000000000 +0200
@@ -276,5 +276,9 @@
}
#endif
@ -26,9 +26,9 @@ Index: libssh-0.5.0/include/libssh/priv.h
+
#endif /* _LIBSSH_PRIV_H */
/* vim: set ts=2 sw=2 et cindent: */
Index: libssh-0.5.0/src/messages.c
--- libssh-0.5.0/src/messages.c.orig 2011-05-31 16:29:52.000000000 +0200
+++ libssh-0.5.0/src/messages.c 2011-06-02 09:17:22.000000000 +0200
Index: libssh-0.5.1/src/messages.c
--- libssh-0.5.1/src/messages.c.orig 2011-05-31 16:29:52.000000000 +0200
+++ libssh-0.5.1/src/messages.c 2011-06-02 09:17:22.000000000 +0200
@@ -41,9 +41,7 @@
#include "libssh/keys.h"
#include "libssh/dh.h"

4
libssh2/libssh2.spec

@ -24,7 +24,7 @@
# package version
%define V_libssh2 1.2.8
%define V_libssh_dir 0.5
%define V_libssh 0.5.0
%define V_libssh 0.5.1
# package information
Name: libssh2
@ -37,7 +37,7 @@ Class: PLUS
Group: SSH
License: BSD-style
Version: %{V_libssh2}
Release: 20110602
Release: 20110810
# package options
%option with_perl no

Loading…
Cancel
Save