Browse code

Bug 1836405: Updated the libevent to version 2.1.8

Change-Id: I1a175f9e8bbe1c931d398b67923695b56a588bb9
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2392
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
Tested-by: Anish Swaminathan <anishs@vmware.com>

harishspqr authored on 2017/04/13 03:28:00
Showing 1 changed files
... ...
@@ -1,16 +1,17 @@
1 1
 Summary:	An Event notification library.
2 2
 Name:		libevent
3
-Version:	2.0.22
4
-Release:	2%{?dist}
3
+Version:	2.1.8
4
+Release:	1%{?dist}
5 5
 License:	BSD
6 6
 URL:		http://libevent.org
7
-Source0:        https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/%{name}-%{version}-stable.tar.gz
8
-%define sha1 libevent=a586882bc93a208318c70fc7077ed8fca9862864
7
+Source0:	https://github.com/%{name}/%{name}/releases/download/release-%{version}-stable/%{name}-%{version}-stable.tar.gz
8
+%define sha1 libevent=2a1b8bb7a262d3fd0ed6a080a20991a6eed675ec
9 9
 Group:		System/Library
10 10
 Vendor:		VMware, Inc.
11 11
 Distribution:	Photon
12 12
 BuildRequires:  pkg-config
13 13
 BuildRequires:  openssl-devel
14
+Requires:       openssl
14 15
 
15 16
 %description
16 17
 The libevent API provides a mechanism to execute a callback function when a specific event 
... ...
@@ -34,12 +35,13 @@ make %{?_smp_mflags}
34 34
 
35 35
 %install
36 36
 %makeinstall
37
+find %{buildroot} -name '*.la' -delete
37 38
 
38 39
 %post -p /sbin/ldconfig
39 40
 
40 41
 %files
41 42
 %defattr(-,root,root)
42
-%{_libdir}/*
43
+%{_libdir}/*.so.*
43 44
 
44 45
 %files devel
45 46
 %defattr(-,root,root)
... ...
@@ -49,9 +51,18 @@ make %{?_smp_mflags}
49 49
 %{_libdir}/pkgconfig/libevent.pc
50 50
 %{_libdir}/pkgconfig/libevent_pthreads.pc
51 51
 %{_libdir}/pkgconfig/libevent_openssl.pc
52
+%{_libdir}/pkgconfig/libevent_core.pc
53
+%{_libdir}/pkgconfig/libevent_extra.pc
52 54
 
53 55
 %changelog
56
+*	Mon Apr 03 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.1.8-1
57
+-	Upgraded to version 2.1.8. (fixes CVE-2016-10195)
58
+*	Tue Jul 26 2016 Divya Thaluru <dthaluru@vmware.com> 2.0.22-4
59
+-	Removed packaging of debug files
60
+*	Wed Jul 13 2016 Alexey Makhalov <amakhalov@vmware.com> 2.0.22-3
61
+-	Added openssl runtime requirement
54 62
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.0.22-2
55 63
 -	GA - Bump release of all rpms
56 64
 *       Thu Apr 28 2016 Kumar Kaushik <kaushikk@vmware.com> 2.0.22-1
57 65
 -       Initial Version.
66
+