From a6ab247c8acd228be2f2a61652387d30e47586ef Mon Sep 17 00:00:00 2001 From: Tomáš Mráz Date: Aug 22 2009 20:48:19 +0000 Subject: - rebuilt with new openssl --- diff --git a/gsoap-2.7-openssl.patch b/gsoap-2.7-openssl.patch new file mode 100644 index 0000000..443fb69 --- /dev/null +++ b/gsoap-2.7-openssl.patch @@ -0,0 +1,17 @@ +diff -up gsoap-2.7/gsoap/stdsoap2.cpp.openssl gsoap-2.7/gsoap/stdsoap2.cpp +--- gsoap-2.7/gsoap/stdsoap2.cpp.openssl 2008-10-02 19:36:28.000000000 +0200 ++++ gsoap-2.7/gsoap/stdsoap2.cpp 2009-08-22 22:20:49.000000000 +0200 +@@ -4153,7 +4153,12 @@ again: + { X509_EXTENSION *ext = X509_get_ext(peer, i); + const char *ext_str = OBJ_nid2sn(OBJ_obj2nid(X509_EXTENSION_get_object(ext))); + if (ext_str && !strcmp(ext_str, "subjectAltName")) +- { X509V3_EXT_METHOD *meth = X509V3_EXT_get(ext); ++ { ++#if (OPENSSL_VERSION_NUMBER >= 0x10000000L) ++ const X509V3_EXT_METHOD *meth = X509V3_EXT_get(ext); ++#else ++ X509V3_EXT_METHOD *meth = X509V3_EXT_get(ext); ++#endif + void *ext_data; + #if (OPENSSL_VERSION_NUMBER >= 0x0090800fL) + const unsigned char *data; diff --git a/gsoap.spec b/gsoap.spec index cfced46..39cf149 100644 --- a/gsoap.spec +++ b/gsoap.spec @@ -8,6 +8,7 @@ URL: http://gsoap2.sourceforge.net Source0: http://downloads.sourceforge.net/gsoap2/gsoap_2.7.12.tar.gz Patch0: use_libtool-2.7.12.patch Patch1: unused_args.patch +Patch2: gsoap-2.7-openssl.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: flex @@ -48,6 +49,7 @@ gSOAP generated stubs %patch1 -p1 +%patch2 -p1 # a number of ~ files are distribute, but we do not want them find . -name "*~" -exec rm {} \; @@ -249,7 +251,7 @@ make check %changelog -* Fri Aug 21 2009 Tomas Mraz - 2.7.12-5 +* Sat Aug 22 2009 Tomas Mraz - 2.7.12-5 - rebuilt with new openssl * Fri Jul 24 2009 Fedora Release Engineering - 2.7.12-4