Compare commits
No commits in common. "9c945aaa6316bec223302fa727c40c896ba093379d67409797ea3dd38d4802b6" and "b9806a6b0503f96fa2edd92d5176a4fbb4963136814326f5cca46f2fd23700d9" have entirely different histories.
9c945aaa63
...
b9806a6b05
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 11 16:51:57 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Added patch:
|
||||
* jetty-port-to-servlet-4.0.patch
|
||||
+ Fix build against the javax.servlet-api 4.x
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 17 12:27:25 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
@ -28,6 +28,7 @@ License: Apache-2.0 OR EPL-1.0
|
||||
Group: Productivity/Networking/Web/Servers
|
||||
URL: https://www.eclipse.org/jetty/
|
||||
Source0: https://github.com/eclipse/%{base_name}.project/archive/%{base_name}-%{version}%{addver}.tar.gz#/%{src_name}.tar.gz
|
||||
Patch0: jetty-port-to-servlet-4.0.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: maven-local
|
||||
@ -278,6 +279,7 @@ Group: Productivity/Networking/Web/Servers
|
||||
|
||||
%prep
|
||||
%setup -q -n %{src_name}
|
||||
%patch -P 0 -p1
|
||||
|
||||
find . -name "*.?ar" -exec rm {} \;
|
||||
find . -name "*.class" -exec rm {} \;
|
||||
|
48
jetty-port-to-servlet-4.0.patch
Normal file
48
jetty-port-to-servlet-4.0.patch
Normal file
@ -0,0 +1,48 @@
|
||||
--- jetty.project-jetty-9.4.56.v20240826/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java 2024-11-11 17:39:19.269641330 +0100
|
||||
+++ jetty.project-jetty-9.4.56.v20240826/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java 2024-11-11 17:46:58.312710664 +0100
|
||||
@@ -2971,6 +2971,45 @@
|
||||
{
|
||||
return null;
|
||||
}
|
||||
+
|
||||
+ public void setResponseCharacterEncoding(String charset)
|
||||
+ {
|
||||
+ LOG.warn(UNIMPLEMENTED_USE_SERVLET_CONTEXT_HANDLER, "setResponseCharacterEncoding(String...)");
|
||||
+ }
|
||||
+
|
||||
+ public String getResponseCharacterEncoding()
|
||||
+ {
|
||||
+ LOG.warn(UNIMPLEMENTED_USE_SERVLET_CONTEXT_HANDLER, "getResponseCharacterEncoding()");
|
||||
+ return null;
|
||||
+ }
|
||||
+
|
||||
+ public void setRequestCharacterEncoding(String charset)
|
||||
+ {
|
||||
+ LOG.warn(UNIMPLEMENTED_USE_SERVLET_CONTEXT_HANDLER, "setRequestCharacterEncoding(String...)");
|
||||
+ }
|
||||
+
|
||||
+ public String getRequestCharacterEncoding()
|
||||
+ {
|
||||
+ LOG.warn(UNIMPLEMENTED_USE_SERVLET_CONTEXT_HANDLER, "getRequestCharacterEncoding()");
|
||||
+ return null;
|
||||
+ }
|
||||
+
|
||||
+ public void setSessionTimeout(int sessionTimeout)
|
||||
+ {
|
||||
+ LOG.warn(UNIMPLEMENTED_USE_SERVLET_CONTEXT_HANDLER, "setSessionTimeout(int...)");
|
||||
+ }
|
||||
+
|
||||
+ public int getSessionTimeout()
|
||||
+ {
|
||||
+ LOG.warn(UNIMPLEMENTED_USE_SERVLET_CONTEXT_HANDLER, "getSessionTimeout()");
|
||||
+ return 0;
|
||||
+ }
|
||||
+
|
||||
+ public ServletRegistration.Dynamic addJspFile(String servletName, String jspFile)
|
||||
+ {
|
||||
+ LOG.warn(UNIMPLEMENTED_USE_SERVLET_CONTEXT_HANDLER, "addJspFile(String..., String...)");
|
||||
+ return null;
|
||||
+ }
|
||||
}
|
||||
|
||||
/**
|
Loading…
Reference in New Issue
Block a user