]> git.pld-linux.org Git - packages/openssl.git/blobdiff - openssl.spec
- updated to 1.0.0h (fixes CVE-2012-0884 CVE-2011-4619)
[packages/openssl.git] / openssl.spec
index 55fca376358a2a6d800f93134f05fa181d1582f8..7ef131f0ef5b86a2a1e4c802afc11b742d3d61d6 100644 (file)
@@ -16,12 +16,12 @@ Summary(pt_BR.UTF-8):       Uma biblioteca C que fornece vários algoritmos e protocol
 Summary(ru.UTF-8):     Библиотеки и утилиты для соединений через Secure Sockets Layer
 Summary(uk.UTF-8):     Бібліотеки та утиліти для з'єднань через Secure Sockets Layer
 Name:          openssl
-Version:       1.0.0a
+Version:       1.0.0h
 Release:       1
 License:       Apache-like
 Group:         Libraries
 Source0:       ftp://ftp.openssl.org/source/%{name}-%{version}.tar.gz
-# Source0-md5: e3873edfffc783624cfbdb65e2249cbd
+# Source0-md5: a5bc483c570f2ac3758ce5c19b667fab
 Source2:       %{name}.1.pl
 Source3:       %{name}-ssl-certificate.sh
 Source4:       %{name}-c_rehash.sh
@@ -255,7 +255,7 @@ touch Makefile.*
 
 %{__perl} util/perlpath.pl %{__perl}
 
-OPTFLAGS="%{rpmcflags} %{?with_purify:-DPURIFY}" \
+OPTFLAGS="%{rpmcflags} %{rpmcppflags} %{?with_purify:-DPURIFY}" \
 ./Configure \
 %if "%{pld_release}" == "ti"
        --openssldir=%{_var}/lib/%{name} \
@@ -263,10 +263,13 @@ OPTFLAGS="%{rpmcflags} %{?with_purify:-DPURIFY}" \
        --openssldir=%{_sysconfdir}/%{name} \
 %endif
        --libdir=%{_lib} \
-       shared threads \
+       shared \
+       threads \
+       zlib \
        enable-tlsext \
        enable-seed \
        enable-rfc3779 \
+       enable-camelia \
        enable-cms \
        enable-idea \
        enable-mdc2 \
@@ -304,6 +307,9 @@ OPTFLAGS="%{rpmcflags} %{?with_purify:-DPURIFY}" \
 %ifarch sparc64
        linux64-sparcv9
 %endif
+%ifarch armv4 armv5 armv5t armv5te armv5tel
+       linux-armv4
+%endif
 
 %{__make} -j1 all rehash %{?with_tests:tests} \
        CC="%{__cc}" \
@@ -357,7 +363,7 @@ rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/misc
 # not installed as individual utilities (see openssl dgst instead)
 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/{md2,md4,md5,mdc2,ripemd160,sha,sha1}.1
 
-cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/pl/man1/openssl.1
+cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/pl/man1/openssl.1
 install -p %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/ssl-certificate
 install -p %{SOURCE4} $RPM_BUILD_ROOT%{_bindir}/c_rehash.sh
 
@@ -435,7 +441,6 @@ fi
 %attr(755,root,root) %{_libdir}/%{name}/c_info
 %attr(755,root,root) %{_libdir}/%{name}/c_issuer
 %attr(755,root,root) %{_libdir}/%{name}/c_name
-%attr(755,root,root) %{_libdir}/%{name}/tsget
 
 %{_mandir}/man1/openssl.1*
 %{_mandir}/man1/openssl_asn1parse.1*
@@ -488,6 +493,7 @@ fi
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/c_rehash
 %attr(755,root,root) %{_libdir}/%{name}/CA.pl
+%attr(755,root,root) %{_libdir}/%{name}/tsget
 %{_mandir}/man1/openssl_CA.pl.1*
 
 %files devel
This page took 0.061178 seconds and 4 git commands to generate.