From 047514163bb8951bc4a0e439e7faf6f25b11deab Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Thu, 9 Feb 2012 14:27:25 +0100 Subject: [PATCH] Fix libssl loading --- openwsman-2.2.7-libssl.patch | 12 ++++++++++++ openwsman.spec | 7 ++++++- sources | 1 - 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 openwsman-2.2.7-libssl.patch diff --git a/openwsman-2.2.7-libssl.patch b/openwsman-2.2.7-libssl.patch new file mode 100644 index 0000000..717e88e --- /dev/null +++ b/openwsman-2.2.7-libssl.patch @@ -0,0 +1,12 @@ +diff -up openwsman-2.2.7/src/server/shttpd/compat_unix.h.orig openwsman-2.2.7/src/server/shttpd/compat_unix.h +--- openwsman-2.2.7/src/server/shttpd/compat_unix.h.orig 2012-02-09 13:04:47.528527681 +0100 ++++ openwsman-2.2.7/src/server/shttpd/compat_unix.h 2012-02-09 13:05:31.582568867 +0100 +@@ -21,7 +21,7 @@ + #include + #include + #ifndef SSL_LIB +-#define SSL_LIB "libssl.so" ++#define SSL_LIB "libssl.so.10" + #endif + #define DIRSEP '/' + #define IS_DIRSEP_CHAR(c) ((c) == '/') diff --git a/openwsman.spec b/openwsman.spec index 7e2f55a..f896b47 100644 --- a/openwsman.spec +++ b/openwsman.spec @@ -14,7 +14,7 @@ BuildRequires: python python-devel perl BuildRequires: perl-devel pkgconfig openssl-devel BuildRequires: cmake Version: 2.2.7 -Release: 3%{?dist} +Release: 4%{?dist} Url: http://www.openwsman.org/ License: BSD Group: Applications/System @@ -25,6 +25,7 @@ Source1: openwsmand.8.gz Patch0: %{name}-sitelibdir.patch Patch1: openwsman-2.2.3-initscript.patch Patch2: openwsman-2.2.7-disable-ruby.patch +Patch3: openwsman-2.2.7-libssl.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXXX) %description @@ -139,6 +140,7 @@ This package provides Perl bindings to access the openwsman client API. %patch0 -p1 %patch1 -p1 -b .initscript %patch2 -p1 +%patch3 -p1 -b .libssl %build # Removing executable permissions on .c and .h files to fix rpmlint warnings. @@ -285,6 +287,9 @@ fi %changelog +* Thu Feb 09 2012 Vitezslav Crhonek - 2.2.7-4 +- Fix libssl loading + * Thu Feb 09 2012 Vitezslav Crhonek - 2.2.7-3 - Temporarily disable ruby subpackage diff --git a/sources b/sources index 153c22d..6a2d2ad 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -3958e97476aa94c506075e3cd165240d openwsman-2.2.5.tar.bz2 c72e3b34e25f393be8fd1ead6b4a5bae openwsman-2.2.7.tar.bz2