Browse code

Update openssl to 1.0.2l

Change-Id: Iaa48492d1e049df7ab261713fd390e430d4cf286
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3510
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Priyesh Padmavilasom <ppadmavilasom@vmware.com>

suezzelur authored on 2017/08/12 09:23:44
Showing 1 changed files
... ...
@@ -1,19 +1,19 @@
1
-Summary:	Management tools and libraries relating to cryptography
2
-Name:		openssl
3
-Version:	1.0.2k
4
-Release:	3%{?dist}
5
-License:	OpenSSL
6
-URL:		http://www.openssl.org
7
-Group:		System Environment/Security
8
-Vendor:		VMware, Inc.
9
-Distribution:	Photon
10
-Source0:	http://www.openssl.org/source/%{name}-%{version}.tar.gz
11
-%define sha1 openssl=5f26a624479c51847ebd2f22bb9f84b3b44dcb44
12
-Patch0:		c_rehash.patch
13
-Patch1:         openssl-1.0.2f-ipv6apps.patch
14
-Patch2:         openssl-init-conslidate.patch
15
-Patch3:         openssl-drbg-default-read-system-fips.patch
16
-Requires:	bash glibc libgcc 
1
+Summary:    Management tools and libraries relating to cryptography
2
+Name:       openssl
3
+Version:    1.0.2l
4
+Release:    1%{?dist}
5
+License:    OpenSSL
6
+URL:        http://www.openssl.org
7
+Group:      System Environment/Security
8
+Vendor:     VMware, Inc.
9
+Distribution:   Photon
10
+Source0:    http://www.openssl.org/source/%{name}-%{version}.tar.gz
11
+%define sha1 openssl=b58d5d0e9cea20e571d903aafa853e2ccd914138
12
+Patch0:     c_rehash.patch
13
+Patch1:     openssl-1.0.2f-ipv6apps.patch
14
+Patch2:     openssl-init-conslidate.patch
15
+Patch3:     openssl-drbg-default-read-system-fips.patch
16
+Requires:   bash glibc libgcc 
17 17
 
18 18
 %description
19 19
 The OpenSSL package contains management tools and libraries relating
... ...
@@ -57,13 +57,13 @@ Perl scripts that convert certificates and keys to various formats.
57 57
 %build
58 58
 export CFLAGS="%{optflags}"
59 59
 ./config \
60
-	--prefix=%{_prefix} \
61
-	--libdir=lib \
62
-	--openssldir=/%{_sysconfdir}/ssl \
63
-	shared \
64
-	zlib-dynamic \
60
+    --prefix=%{_prefix} \
61
+    --libdir=lib \
62
+    --openssldir=/%{_sysconfdir}/ssl \
63
+    shared \
64
+    zlib-dynamic \
65 65
         %{?_with_fips} \
66
-	-Wa,--noexecstack "${CFLAGS}" "${LDFLAGS}"
66
+    -Wa,--noexecstack "${CFLAGS}" "${LDFLAGS}"
67 67
 # does not support -j yet
68 68
 make
69 69
 %install
... ...
@@ -74,8 +74,8 @@ ln -sf %{_libdir}/libcrypto.so.1.0.0 %{buildroot}%{_libdir}/libcrypto.so.1.0.2
74 74
 
75 75
 %check
76 76
 make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
77
-%post	-p /sbin/ldconfig
78
-%postun	-p /sbin/ldconfig
77
+%post   -p /sbin/ldconfig
78
+%postun -p /sbin/ldconfig
79 79
 %clean
80 80
 rm -rf %{buildroot}/*
81 81
 
... ...
@@ -112,6 +112,8 @@ rm -rf %{buildroot}/*
112 112
 /%{_bindir}/c_rehash
113 113
 
114 114
 %changelog
115
+*   Fri Aug 11 2017 Anish Swaminathan <anishs@vmware.com> 1.0.2l-1
116
+-   Upgrade to 1.0.2l
115 117
 *   Fri Jul 28 2017 Anish Swaminathan <anishs@vmware.com> 1.0.2k-3
116 118
 -   Allow system file take precedence over kernel parameter for FIPS
117 119
 *   Fri Jul 28 2017 Anish Swaminathan <anishs@vmware.com> 1.0.2k-2
... ...
@@ -146,5 +148,5 @@ rm -rf %{buildroot}/*
146 146
 -   Split perl scripts to a different package.
147 147
 *   Fri Jul 24 2015 Chang Lee <changlee@vmware.com> 1.0.2d-1
148 148
 -   Update new version.
149
-*	Wed Mar 25 2015 Divya Thaluru <dthaluru@vmware.com> 1.0.2a-1
150
--	Initial build.	First version
149
+*   Wed Mar 25 2015 Divya Thaluru <dthaluru@vmware.com> 1.0.2a-1
150
+-   Initial build.  First version