Change-Id: Iaf783f0a8d8e9c59e7e548930df592af355da92e
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5084
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Sharath George
| ... | ... |
@@ -3,7 +3,7 @@ |
| 3 | 3 |
Summary: Cassandra is a highly scalable, eventually consistent, distributed, structured key-value store |
| 4 | 4 |
Name: cassandra |
| 5 | 5 |
Version: 3.11.1 |
| 6 |
-Release: 2%{?dist}
|
|
| 6 |
+Release: 3%{?dist}
|
|
| 7 | 7 |
URL: http://cassandra.apache.org/ |
| 8 | 8 |
License: Apache License, Version 2.0 |
| 9 | 9 |
Group: Applications/System |
| ... | ... |
@@ -12,7 +12,6 @@ Distribution: Photon |
| 12 | 12 |
Source0: https://repo1.maven.org/maven2/org/apache/cassandra/apache-cassandra/%{version}/apache-%{name}-%{version}-src.tar.gz
|
| 13 | 13 |
%define sha1 apache-cassandra=f5e76a5007b947970e18142e6ba6e0b9d7cdaa29 |
| 14 | 14 |
Source1: cassandra.service |
| 15 |
-Patch0: fix-building-openjdk-1.8.0.162.patch |
|
| 16 | 15 |
BuildRequires: apache-ant |
| 17 | 16 |
BuildRequires: unzip zip |
| 18 | 17 |
BuildRequires: openjdk |
| ... | ... |
@@ -24,7 +23,6 @@ Cassandra is a highly scalable, eventually consistent, distributed, structured k |
| 24 | 24 |
|
| 25 | 25 |
%prep |
| 26 | 26 |
%setup -qn apache-%{name}-%{version}-src
|
| 27 |
-%patch0 -p1 |
|
| 28 | 27 |
sed -i 's#\"logback-core\" version=\"1.1.3\"#\"logback-core\" version=\"1.2.0\"#g' build.xml |
| 29 | 28 |
sed -i 's#\"logback-classic\" version=\"1.1.3\"#\"logback-classic\" version=\"1.2.0\"#g' build.xml |
| 30 | 29 |
rm lib/logback-* |
| ... | ... |
@@ -128,6 +126,8 @@ fi |
| 128 | 128 |
%exclude /var/opt/cassandra/build/lib |
| 129 | 129 |
|
| 130 | 130 |
%changelog |
| 131 |
+* Wed Apr 25 2018 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.11.1-3 |
|
| 132 |
+- Remove patch to build on openjdk-1.8.0.162, updated openjdk to 1.8.0.172 |
|
| 131 | 133 |
* Sat Jan 20 2018 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.11.1-2 |
| 132 | 134 |
- Add patch to build with openjdk-1.8.0.162 |
| 133 | 135 |
* Thu Dec 07 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.11.1-1 |
| 134 | 136 |
deleted file mode 100644 |
| ... | ... |
@@ -1,25 +0,0 @@ |
| 1 |
-diff --git a/src/java/org/apache/cassandra/utils/JMXServerUtils.java b/src/java/org/apache/cassandra/utils/JMXServerUtils.java |
|
| 2 |
-index e78ed01746..072f237049 100644 |
|
| 3 |
-+++ b/src/java/org/apache/cassandra/utils/JMXServerUtils.java |
|
| 4 |
-@@ -46,6 +46,7 @@ import org.slf4j.LoggerFactory; |
|
| 5 |
- import com.sun.jmx.remote.internal.RMIExporter; |
|
| 6 |
- import com.sun.jmx.remote.security.JMXPluggableAuthenticator; |
|
| 7 |
- import org.apache.cassandra.auth.jmx.AuthenticationProxy; |
|
| 8 |
-+import sun.misc.ObjectInputFilter; |
|
| 9 |
- import sun.rmi.registry.RegistryImpl; |
|
| 10 |
- import sun.rmi.server.UnicastServerRef2; |
|
| 11 |
- |
|
| 12 |
-@@ -308,10 +309,10 @@ public class JMXServerUtils |
|
| 13 |
- // to our custom Registry too. |
|
| 14 |
- private Remote connectorServer; |
|
| 15 |
- |
|
| 16 |
-- public Remote exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) |
|
| 17 |
-+ public Remote exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf, ObjectInputFilter filter) |
|
| 18 |
- throws RemoteException |
|
| 19 |
- {
|
|
| 20 |
-- Remote remote = new UnicastServerRef2(port, csf, ssf).exportObject(obj, null, true); |
|
| 21 |
-+ Remote remote = new UnicastServerRef2(port, csf, ssf, filter).exportObject(obj, null, true); |
|
| 22 |
- // Keep a reference to the first object exported, the JMXConnectorServer |
|
| 23 |
- if (connectorServer == null) |
|
| 24 |
- connectorServer = remote; |
| ... | ... |
@@ -2,7 +2,7 @@ |
| 2 | 2 |
%global security_hardening none |
| 3 | 3 |
Summary: OpenJDK |
| 4 | 4 |
Name: openjdk |
| 5 |
-Version: 1.8.0.162 |
|
| 5 |
+Version: 1.8.0.172 |
|
| 6 | 6 |
Release: 1%{?dist}
|
| 7 | 7 |
License: GNU GPL |
| 8 | 8 |
URL: https://openjdk.java.net |
| ... | ... |
@@ -10,7 +10,7 @@ Group: Development/Tools |
| 10 | 10 |
Vendor: VMware, Inc. |
| 11 | 11 |
Distribution: Photon |
| 12 | 12 |
Source0: http://www.java.net/download/openjdk/jdk8/promoted/b162/openjdk-%{version}.tar.gz
|
| 13 |
-%define sha1 openjdk=e639499b4e333ac4a9e0fe530af58a1a63dda32a |
|
| 13 |
+%define sha1 openjdk=c159933c1432409890dcfd7dcaad516b727669c7 |
|
| 14 | 14 |
Patch0: Awt_build_headless_only.patch |
| 15 | 15 |
Patch1: check-system-ca-certs.patch |
| 16 | 16 |
BuildRequires: pcre-devel |
| ... | ... |
@@ -231,6 +231,8 @@ rm -rf %{buildroot}/*
|
| 231 | 231 |
%{_libdir}/jvm/OpenJDK-%{version}/src.zip
|
| 232 | 232 |
|
| 233 | 233 |
%changelog |
| 234 |
+* Wed Apr 25 2018 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.8.0.172-1 |
|
| 235 |
+ Upgraded to version 1.8.0.172 |
|
| 234 | 236 |
* Fri Jan 19 2018 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.8.0.162-1 |
| 235 | 237 |
- Upgraded to version 1.8.0.162 |
| 236 | 238 |
* Fri Nov 03 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.8.0.151-2 |