Fix libssl loading
This commit is contained in:
parent
4e5ae91a5a
commit
047514163b
12
openwsman-2.2.7-libssl.patch
Normal file
12
openwsman-2.2.7-libssl.patch
Normal file
@ -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 <dirent.h>
|
||||
#include <dlfcn.h>
|
||||
#ifndef SSL_LIB
|
||||
-#define SSL_LIB "libssl.so"
|
||||
+#define SSL_LIB "libssl.so.10"
|
||||
#endif
|
||||
#define DIRSEP '/'
|
||||
#define IS_DIRSEP_CHAR(c) ((c) == '/')
|
@ -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 <vcrhonek@redhat.com> - 2.2.7-4
|
||||
- Fix libssl loading
|
||||
|
||||
* Thu Feb 09 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.2.7-3
|
||||
- Temporarily disable ruby subpackage
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user