10 |
# Number of threads to spawn when testing some threading fixes. |
# Number of threads to spawn when testing some threading fixes. |
11 |
#define thread_test_threads %{?threads:%{threads}}%{!?threads:1} |
#define thread_test_threads %{?threads:%{threads}}%{!?threads:1} |
12 |
|
|
13 |
%define with_krb5 %{?_with_krb5:1}%{!?_with_krb5:0} |
%define with_krb5 1 |
14 |
|
|
15 |
Summary: Secure Sockets Layer communications libs & utils |
Summary: Secure Sockets Layer communications libs & utils |
16 |
Name: openssl |
Name: openssl |
37 |
Patch12: openssl-0.9.6-x509.patch |
Patch12: openssl-0.9.6-x509.patch |
38 |
Patch13: openssl-0.9.8j-version-add-engines.patch |
Patch13: openssl-0.9.8j-version-add-engines.patch |
39 |
Patch16: openssl-1.0.0-beta5-enginesdir.patch |
Patch16: openssl-1.0.0-beta5-enginesdir.patch |
40 |
|
Patch17: openssl-1.0.1-pkgconfig-krb5.patch |
41 |
|
|
42 |
# MIPS and ARM support |
# MIPS and ARM support |
43 |
Patch300: openssl-1.0.1c-mips.patch |
Patch300: openssl-1.0.1c-mips.patch |
45 |
Requires: %{libname} = %{version}-%{release} |
Requires: %{libname} = %{version}-%{release} |
46 |
Requires: perl-base |
Requires: perl-base |
47 |
Requires: rootcerts |
Requires: rootcerts |
48 |
%{?_with_krb5:BuildRequires: krb5-devel} |
BuildRequires: krb5-devel |
49 |
BuildRequires: multiarch-utils >= 1.0.3 |
BuildRequires: multiarch-utils >= 1.0.3 |
50 |
BuildRequires: chrpath |
BuildRequires: chrpath |
51 |
BuildRequires: zlib-devel |
BuildRequires: zlib-devel |
118 |
%patch2 -p1 -b .optflags |
%patch2 -p1 -b .optflags |
119 |
%patch6 -p0 -b .icpbrasil |
%patch6 -p0 -b .icpbrasil |
120 |
%patch7 -p1 -b .defaults |
%patch7 -p1 -b .defaults |
|
%{?_with_krb5:%patch8 -p1 -b .krb5} |
|
121 |
%patch12 -p1 -b .x509 |
%patch12 -p1 -b .x509 |
122 |
%patch13 -p1 -b .version-add-engines |
%patch13 -p1 -b .version-add-engines |
123 |
%patch15 -p1 -b .crt |
%patch15 -p1 -b .crt |
124 |
%patch16 -p1 -b .engines |
%patch16 -p1 -b .engines |
125 |
|
%patch17 -p1 -b .krb5 |
126 |
|
|
127 |
%patch300 -p1 -b .mips |
%patch300 -p1 -b .mips |
128 |
%patch301 -p1 -b .arm |
%patch301 -p1 -b .arm |
167 |
--openssldir=%{_sysconfdir}/pki/tls ${sslflags} \ |
--openssldir=%{_sysconfdir}/pki/tls ${sslflags} \ |
168 |
--enginesdir=%{_libdir}/openssl-%{version}/engines \ |
--enginesdir=%{_libdir}/openssl-%{version}/engines \ |
169 |
--libdir=%{_lib}/ \ |
--libdir=%{_lib}/ \ |
170 |
%{?_with_krb5:--with-krb5-flavor=MIT -I%{_prefix}/kerberos/include -L%{_prefix}/kerberos/%{_lib}} \ |
--with-krb5-flavor=MIT --with-krb5-dir=%{_prefix} \ |
171 |
zlib no-idea no-rc5 enable-camellia shared enable-tlsext ${sslarch} |
zlib no-idea no-rc5 enable-camellia shared enable-tlsext ${sslarch} |
172 |
|
|
173 |
# Add -Wa,--noexecstack here so that libcrypto's assembler modules will be |
# Add -Wa,--noexecstack here so that libcrypto's assembler modules will be |