rpms/jetty/F-11 jetty-webdefault.patch, NONE, 1.1 jetty.spec, 1.15, 1.16

Jeff Johnston jjohnstn at fedoraproject.org
Thu May 21 20:10:40 UTC 2009


Author: jjohnstn

Update of /cvs/pkgs/rpms/jetty/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12714

Modified Files:
	jetty.spec 
Added Files:
	jetty-webdefault.patch 
Log Message:

* Thu May 21 2009 Jeff Johnston <jjohnstn at redhat.com> 5.1.15-3
- Do not allow directory listings.



jetty-webdefault.patch:

--- NEW FILE jetty-webdefault.patch ---
diff -up ./etc/webdefault.xml.fix ./etc/webdefault.xml
--- ./etc/webdefault.xml.fix	2009-05-20 17:05:52.000000000 -0400
+++ ./etc/webdefault.xml	2009-05-20 17:06:10.000000000 -0400
@@ -96,7 +96,7 @@
     </init-param>
     <init-param>
       <param-name>dirAllowed</param-name>
-      <param-value>true</param-value>
+      <param-value>false</param-value>
     </init-param>
     <init-param>
       <param-name>putAllowed</param-name>
diff -up ./src/org/mortbay/jetty/servlet/webdefault.xml.fix ./src/org/mortbay/jetty/servlet/webdefault.xml
--- ./src/org/mortbay/jetty/servlet/webdefault.xml.fix	2009-05-20 17:06:36.000000000 -0400
+++ ./src/org/mortbay/jetty/servlet/webdefault.xml	2009-05-20 17:06:47.000000000 -0400
@@ -96,7 +96,7 @@
     </init-param>
     <init-param>
       <param-name>dirAllowed</param-name>
-      <param-value>true</param-value>
+      <param-value>false</param-value>
     </init-param>
     <init-param>
       <param-name>putAllowed</param-name>


Index: jetty.spec
===================================================================
RCS file: /cvs/pkgs/rpms/jetty/F-11/jetty.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- jetty.spec	19 May 2009 21:31:31 -0000	1.15
+++ jetty.spec	21 May 2009 20:10:09 -0000	1.16
@@ -56,7 +56,7 @@
 
 Name:           jetty
 Version:        5.1.15
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        The Jetty Webserver and Servlet Container
 
 Group:          Applications/Internet
@@ -80,6 +80,7 @@ Patch0:         jetty-extra-j2ee-build_x
 Patch1:         jetty-PostFileFilter.patch
 Patch2:         jetty-libgcj-bad-serialization.patch
 Patch3:         jetty-TestRFC2616-libgcj-bad-date-parser.patch
+Patch4:		jetty-webdefault.patch
 Patch5:		jetty-unix.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -255,7 +256,7 @@ rm src/org/mortbay/util/jmx/MX4JHttpAdap
 %patch1 -b .sav
 %patch2 -b .sav
 %patch3 -b .sav
-
+%patch4
 %patch5
 
 # Delete this Sun specific file.
@@ -605,6 +606,9 @@ fi
 %endif
 
 %changelog
+* Thu May 21 2009 Jeff Johnston <jjohnstn at redhat.com> 5.1.15-3
+- Do not allow directory listings.
+
 * Tue May 19 2009 Jeff Johnston <jjohnstn at redhat.com> 5.1.15-2
 - Update OSGI manifest file.
 




More information about the scm-commits mailing list