Change-Id: Ieb6f38ecde807e549c8da2e8a739f4b5dbbad839
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2456
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Xiaolin Li <xiaolinl@vmware.com>
| ... | ... |
@@ -1,52 +1,64 @@ |
| 1 | 1 |
Summary: Crypto Libraries |
| 2 | 2 |
Name: libgcrypt |
| 3 |
-Version: 1.6.5 |
|
| 4 |
-Release: 2%{?dist}
|
|
| 3 |
+Version: 1.7.6 |
|
| 4 |
+Release: 1%{?dist}
|
|
| 5 | 5 |
License: GPLv2+ and LGPLv2+ |
| 6 | 6 |
URL: http://www.gnu.org/software/libgcrypt/ |
| 7 |
-Source0: ftp://ftp.gnupg.org/gcrypt/libgcrypt/%{name}-%{version}.tar.gz
|
|
| 8 |
-%define sha1 libgcrypt=765370d9ee9e858c257dc06c3f0621bda8acaf69 |
|
| 7 |
+Source0: ftp://ftp.gnupg.org/gcrypt/libgcrypt/%{name}-%{version}.tar.bz2
|
|
| 8 |
+%define sha1 libgcrypt=d2b9e0f413064cfc67188f80d3cbda887c755a62 |
|
| 9 | 9 |
Group: System Environment/Libraries |
| 10 | 10 |
Vendor: VMware, Inc. |
| 11 | 11 |
BuildRequires: libgpg-error |
| 12 | 12 |
Requires: libgpg-error |
| 13 | 13 |
Distribution: Photon |
| 14 |
+ |
|
| 14 | 15 |
%description |
| 15 |
-The libgcrypt package contains a general purpose crypto library based on the code used in GnuPG. The library provides a high level interface to cryptographic building blocks using an extendable and flexible API. |
|
| 16 |
+The libgcrypt package contains a general purpose crypto library based on the |
|
| 17 |
+code used in GnuPG. The library provides a high level interface to |
|
| 18 |
+cryptographic building blocks using an extendable and flexible API. |
|
| 16 | 19 |
|
| 17 | 20 |
%package devel |
| 18 | 21 |
Summary: Development libraries and header files for libgcrypt |
| 19 | 22 |
Requires: libgcrypt |
| 20 | 23 |
|
| 21 | 24 |
%description devel |
| 22 |
-The package contains libraries and header files for |
|
| 23 |
-developing applications that use libgcrypt. |
|
| 25 |
+The package contains libraries and header files for developing applications |
|
| 26 |
+that use libgcrypt. |
|
| 24 | 27 |
|
| 25 | 28 |
%prep |
| 26 | 29 |
%setup -q |
| 30 |
+ |
|
| 27 | 31 |
%build |
| 28 | 32 |
./configure \ |
| 29 | 33 |
--prefix=%{_prefix}
|
| 30 | 34 |
make %{?_smp_mflags}
|
| 35 |
+ |
|
| 31 | 36 |
%install |
| 32 | 37 |
make DESTDIR=%{buildroot} install
|
| 33 | 38 |
rm %{buildroot}%{_infodir}/*
|
| 39 |
+ |
|
| 34 | 40 |
%check |
| 35 | 41 |
make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
|
| 42 |
+ |
|
| 36 | 43 |
%post -p /sbin/ldconfig |
| 37 | 44 |
%postun -p /sbin/ldconfig |
| 45 |
+ |
|
| 38 | 46 |
%files |
| 39 | 47 |
%defattr(-,root,root) |
| 40 | 48 |
%{_bindir}/*
|
| 41 | 49 |
%{_libdir}/*.so.*
|
| 42 | 50 |
%{_mandir}/man1/*
|
| 43 |
-%{_libdir}/*.la
|
|
| 44 |
-/usr/share/aclocal/libgcrypt.m4 |
|
| 51 |
+ |
|
| 45 | 52 |
%files devel |
| 46 | 53 |
%defattr(-,root,root) |
| 47 | 54 |
%{_includedir}/*.h
|
| 48 | 55 |
%{_libdir}/*.so
|
| 56 |
+%{_libdir}/*.la
|
|
| 57 |
+/usr/share/aclocal/libgcrypt.m4 |
|
| 58 |
+ |
|
| 49 | 59 |
%changelog |
| 60 |
+* Mon Apr 17 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.7.6-1 |
|
| 61 |
+- Update to 1.7.6 to fix CVE-2016-6313. |
|
| 50 | 62 |
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.6.5-2 |
| 51 | 63 |
- GA - Bump release of all rpms |
| 52 | 64 |
* Tue Feb 23 2016 Anish Swaminathan <anishs@vmware.com> 1.6.5-1 |