- rebuilt with new openssl

This commit is contained in:
Tomáš Mráz 2009-08-26 15:31:37 +00:00
parent f05869e137
commit fbbcf0fa79
2 changed files with 18 additions and 1 deletions

15
znc-0.075-openssl.patch Normal file
View File

@ -0,0 +1,15 @@
diff -up znc-0.075/Csocket.h.openssl znc-0.075/Csocket.h
--- znc-0.075/Csocket.h.openssl 2009-06-30 11:56:01.000000000 +0200
+++ znc-0.075/Csocket.h 2009-08-26 17:29:37.000000000 +0200
@@ -990,7 +990,11 @@ private:
CS_STRING m_sSSLBuffer;
SSL *m_ssl;
SSL_CTX *m_ssl_ctx;
+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+ const SSL_METHOD *m_ssl_method;
+#else
SSL_METHOD *m_ssl_method;
+#endif
unsigned int m_iRequireClientCertFlags;
FPCertVerifyCB m_pCerVerifyCB;

View File

@ -7,6 +7,7 @@ Group: System Environment/Daemons
URL: http://znc.sf.net/
# SVN 1608 from https://znc.svn.sourceforge.net/svnroot/znc/trunk/
Source0: znc-0.075.svn1608.tar.bz2
Patch1: znc-0.075-openssl.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: perl
@ -43,6 +44,7 @@ Extra modules for ZNC
%prep
%setup -q
%patch1 -p1 -b .openssl
%__perl -pi.add_release -e 's|(?<="ZNC \%1\.3f)|-%{release}|' znc.cpp
#chmod -x modules/q.cpp
@ -126,7 +128,7 @@ Extra modules for ZNC
%{_libdir}/znc/send_raw.so
%changelog
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.075-6.svn1608
* Wed Aug 26 2009 Tomas Mraz <tmraz@redhat.com> - 0.075-6.svn1608
- rebuilt with new openssl
* Thu Aug 20 2009 Nick Bebout <nb@fedoraproject.org> - 0.075-5.svn1608