1 |
< |
### RPM external openssl 0.9.7d-CMS18 |
1 |
> |
### RPM external openssl 0.9.7m |
2 |
|
Source: http://www.openssl.org/source/%n-%realversion.tar.gz |
3 |
+ |
Patch0: openssl-0.9.7m-gcc43-m486 |
4 |
|
|
5 |
|
%prep |
6 |
|
%setup -n %n-%{realversion} |
7 |
+ |
case %gccver in |
8 |
+ |
4.3.* | 4.4.*) |
9 |
+ |
%patch0 -p1 |
10 |
+ |
;; |
11 |
+ |
esac |
12 |
+ |
|
13 |
+ |
# in the online environment, the gccver is set to 434, not to 4.3.4, so we use a different case ... :( |
14 |
+ |
case %cmsplatf in |
15 |
+ |
slc5onl*gcc4*) |
16 |
+ |
%patch0 -p1 |
17 |
+ |
;; |
18 |
+ |
esac |
19 |
|
|
20 |
|
%build |
21 |
|
./config --prefix=%i shared |
27 |
|
make |
28 |
|
%install |
29 |
|
make install |
30 |
+ |
# MacOSX is case insensitive and the man page structure has case sensitive logic |
31 |
+ |
case %cmsplatf in |
32 |
+ |
osx* ) |
33 |
+ |
rm -rf %{i}/ssl/man |
34 |
+ |
;; |
35 |
+ |
esac |
36 |
|
perl -p -i -e "s|^#!.*perl|#!/usr/bin/env perl|" %{i}/ssl/misc/CA.pl %{i}/ssl/misc/der_chop %{i}/bin/c_rehash |
37 |
|
# |
38 |
|
# SCRAM ToolBox toolfile |