]> git.pld-linux.org Git - packages/openssl.git/blobdiff - openssl.spec
up to 1.0.2i-snap
[packages/openssl.git] / openssl.spec
index 21e1a12b9b4072c876b4f1d775e947f16b038515..23ccce135194e2c5398e82aa409480251c103833 100644 (file)
@@ -24,15 +24,15 @@ Name:               openssl
 # 1.0.2 will be LTS release
 # Version 1.0.2 will be supported until 2019-12-31.
 # https://www.openssl.org/about/releasestrat.html
-Version:       1.0.2f
+Version:       1.0.2i
 Release:       1
 License:       Apache-like
 Group:         Libraries
 %if %{without snap}
-Source0:       ftp://ftp.openssl.org/source/%{name}-%{version}.tar.gz
-# Source0-md5: b3bf73f507172be9292ea2a8c28b659d
+Source0:       https://www.openssl.org/source/%{name}-%{version}.tar.gz
+# Source0-md5: 9392e65072ce4b614c1392eefc1f23d0
 %else
-Source1:       https://github.com/openssl/openssl/archive/OpenSSL_1_0_2-stable.tar.gz
+Source1:       https://github.com/openssl/openssl/archive/OpenSSL_1_0_2-stable/%{name}-%{version}-dev.tar.gz
 %endif
 Source2:       %{name}.1.pl
 Source3:       %{name}-ssl-certificate.sh
@@ -274,7 +274,9 @@ mv %{name}-OpenSSL_1_0_2-stable/* .
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%ifarch x32
 %patch10 -p1
+%endif
 
 sed -i -e 's|\$prefix/\$libdir/engines|/%{_lib}/engines|g' Configure
 
@@ -290,8 +292,8 @@ PERL="%{__perl}" \
        --libdir=%{_lib} \
        shared \
        threads \
-       %{!?with_sslv2:no-ssl2} \
-       %{!?with_sslv3:no-ssl3} \
+       %{?with_sslv2:enable-ssl2}%{!?with_sslv2:no-ssl2} \
+       %{?with_sslv3:enable-ssl3}%{!?with_sslv3:no-ssl3} \
        %{!?with_zlib:no-}zlib \
        enable-camelia \
        enable-cms \
@@ -428,7 +430,7 @@ fi
 %attr(755,root,root) /%{_lib}/libssl.so.*.*.*
 %dir %{_sysconfdir}/%{name}
 %dir %{_sysconfdir}/%{name}/certs
-%dir %{_sysconfdir}/%{name}/private
+%dir %attr(700,root,root) %{_sysconfdir}/%{name}/private
 %dir %{_datadir}/ssl
 
 %files engines
This page took 0.082172 seconds and 4 git commands to generate.