|
|
|
|
@ -22,7 +22,7 @@
|
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_openssl 1.0.2d |
|
|
|
|
%define V_openssl 1.0.2e |
|
|
|
|
%define V_zlib 1.2.8 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
@ -36,7 +36,7 @@ Class: CORE
|
|
|
|
|
Group: SSL |
|
|
|
|
License: BSD-style |
|
|
|
|
Version: %{V_openssl} |
|
|
|
|
Release: 20150709 |
|
|
|
|
Release: 20151205 |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%option with_zlib no |
|
|
|
|
@ -99,10 +99,10 @@ PreReq: zlib
|
|
|
|
|
-e 's;test "$OSTYPE" = msdosdjgpp;true;' \ |
|
|
|
|
util/point.sh |
|
|
|
|
%{l_shtool} subst \ |
|
|
|
|
-e 's;^\(#define DEVRANDOM_EGD\);\1 "%{l_prefix}/var/prngd/prngd.socket",;' \ |
|
|
|
|
-e 's;^\(# *define *DEVRANDOM_EGD\);\1 "%{l_prefix}/var/prngd/prngd.socket",;' \ |
|
|
|
|
e_os.h |
|
|
|
|
%{l_shtool} subst \ |
|
|
|
|
-e 's;^\(my $openssl\)\;;\1 = "%{l_prefix}/bin/openssl"\;;' \ |
|
|
|
|
-e 's;"openssl";"%{l_prefix}/bin/openssl";' \ |
|
|
|
|
tools/c_rehash.in |
|
|
|
|
%if "%{with_zlib}" == "yes" |
|
|
|
|
%{l_shtool} subst \ |
|
|
|
|
@ -163,6 +163,7 @@ PreReq: zlib
|
|
|
|
|
--openssldir=%{l_prefix}/etc/openssl \ |
|
|
|
|
--libdir=lib \ |
|
|
|
|
$options |
|
|
|
|
( cd crypto/idea && %{l_make} %{l_mflags} links ) || exit $? |
|
|
|
|
%{l_make} %{l_mflags} |
|
|
|
|
|
|
|
|
|
%install |
|
|
|
|
|