Browse code

update mesos to 1.5.2

Change-Id: If639bb471f21222ec45a1a7fae851ad7aab4e7b3
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/6809
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>

Priyesh Padmavilasom authored on 2019/03/01 08:57:46
Showing 2 changed files
1 1
deleted file mode 100644
... ...
@@ -1,22 +0,0 @@
1
-diff -Naur mesos-1.1.0.orig/src/linux/fs.cpp mesos-1.1.0/src/linux/fs.cpp
2
-+++ mesos-1.1.0/src/linux/fs.cpp	2017-03-24 23:17:15.332465310 -0700
3
-@@ -17,6 +17,7 @@
4
- #include <errno.h>
5
- #include <stdio.h>
6
- #include <string.h>
7
-+#include <sys/sysmacros.h>
8
- 
9
- #include <linux/limits.h>
10
- #include <linux/unistd.h>
11
-diff -Naur mesos-1.1.0.orig/src/slave/containerizer/mesos/isolators/gpu/isolator.cpp mesos-1.1.0/src/slave/containerizer/mesos/isolators/gpu/isolator.cpp
12
-+++ mesos-1.1.0/src/slave/containerizer/mesos/isolators/gpu/isolator.cpp	2017-03-25 00:12:23.657869169 -0700
13
-@@ -15,6 +15,7 @@
14
- // limitations under the License.
15
- 
16
- #include <stdint.h>
17
-+#include <sys/sysmacros.h>
18
- 
19
- #include <algorithm>
20
- #include <list>
... ...
@@ -2,16 +2,15 @@
2 2
 
3 3
 Summary:        Mesos
4 4
 Name:           mesos
5
-Version:        1.2.2
6
-Release:        2%{?dist}
5
+Version:        1.5.2
6
+Release:        1%{?dist}
7 7
 License:        Apache
8 8
 URL:            http://mesos.apache.org
9 9
 Group:          Applications/System
10 10
 Vendor:         VMware, Inc.
11 11
 Distribution:   Photon
12 12
 Source0:        http://www.apache.org/dist/%{name}/%{version}/%{name}-%{version}.tar.gz
13
-%define sha1    mesos=bbcec6f04bb629a16a5ea24a8cde3f3e9f75300e
14
-Patch0:         mesos-sysmacros.patch
13
+%define sha1    mesos=3709a2a8093493934e4c8e0d34114fc55cf22dfc
15 14
 BuildRequires:  openjre8 >= 1.8.0.45
16 15
 BuildRequires:  openjdk8 >= 1.8.0.45
17 16
 BuildRequires:  curl-devel
... ...
@@ -52,7 +51,6 @@ Requires:   %{name} = %{version}
52 52
 
53 53
 %prep
54 54
 %setup -q
55
-%patch0 -p1
56 55
 
57 56
 %build
58 57
 sed -i 's/gzip -d -c $^ | tar xf -/tar --no-same-owner -xf $^/' 3rdparty/Makefile.am
... ...
@@ -106,6 +104,8 @@ find %{buildroot}%{_libdir} -name '*.la' -delete
106 106
 %exclude %{_libdir}/debug/
107 107
 
108 108
 %changelog
109
+*   Wed Feb 27 2019 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.5.2-1
110
+-   Update to 1.5.2. Includes fix for CVE-2018-1330
109 111
 *   Tue Jan 23 2018 Xiaolin Li <xiaolinl@vmware.com> 1.2.2-2
110 112
 -   Add serf-devel to BuildRequires.
111 113
 *   Tue Oct 10 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.2.2-1