rpms/jetty/F-9 jetty-webdefault.patch,NONE,1.1 jetty.spec,1.7,1.8

Jeff Johnston jjohnstn at fedoraproject.org
Thu May 21 19:25:46 UTC 2009


Author: jjohnstn

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

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.
- Bump up release number.



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-9/jetty.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- jetty.spec	19 May 2009 21:23:53 -0000	1.7
+++ jetty.spec	21 May 2009 19:25:16 -0000	1.8
@@ -56,7 +56,7 @@
 
 Name:           jetty
 Version:        5.1.15
-Release:        1%{?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,10 @@ fi
 %endif
 
 %changelog
+* Thu May 21 2009 Jeff Johnston <jjohnstn at redhat.com> 5.1.15-3
+- Do not allow directory listings.
+- Bump up release number.
+
 * Tue May 19 2009 Jeff Johnston <jjohnstn at redhat.com> 5.1.15-1
 - Upgrade to 5.1.15 source tarball for Fedora.
 




More information about the scm-commits mailing list