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 |
|
|
|
# French policy is to not use ciphers stronger than 128 bits |
|
|
%define french_policy 0 |
|
|
|
|
13 |
%define with_krb5 %{?_with_krb5:1}%{!?_with_krb5:0} |
%define with_krb5 %{?_with_krb5:1}%{!?_with_krb5:0} |
14 |
|
|
15 |
Summary: Secure Sockets Layer communications libs & utils |
Summary: Secure Sockets Layer communications libs & utils |
25 |
Source3: make-dummy-cert |
Source3: make-dummy-cert |
26 |
Source4: openssl-thread-test.c |
Source4: openssl-thread-test.c |
27 |
Source5: README.pkcs11 |
Source5: README.pkcs11 |
|
# (gb) 0.9.6b-5mdk: Limit available SSL ciphers to 128 bits |
|
|
Patch0: openssl-0.9.6b-mdkconfig.patch |
|
28 |
# (gb) 0.9.7b-4mdk: Handle RPM_OPT_FLAGS in Configure |
# (gb) 0.9.7b-4mdk: Handle RPM_OPT_FLAGS in Configure |
29 |
Patch2: openssl-optflags.diff |
Patch2: openssl-optflags.diff |
30 |
# (oe) support Brazilian Government OTHERNAME X509v3 field (#14158) |
# (oe) support Brazilian Government OTHERNAME X509v3 field (#14158) |
117 |
%prep |
%prep |
118 |
|
|
119 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
|
%if %{french_policy} |
|
|
%patch0 -p1 -b .frenchpolicy |
|
|
%endif |
|
120 |
%patch2 -p1 -b .optflags |
%patch2 -p1 -b .optflags |
121 |
%patch6 -p0 -b .icpbrasil |
%patch6 -p0 -b .icpbrasil |
122 |
%patch7 -p1 -b .defaults |
%patch7 -p1 -b .defaults |