packages: cherokee/cherokee.spec, cherokee/cherokee-methods.patch (NEW) - p...

jajcus jajcus at pld-linux.org
Fri Apr 9 11:43:33 CEST 2010


Author: jajcus                       Date: Fri Apr  9 09:43:33 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- patch to enable support for more WebDAV request method (needed by a reverse
  proxy to SVN)

---- Files affected:
packages/cherokee:
   cherokee.spec (1.31 -> 1.32) , cherokee-methods.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/cherokee/cherokee.spec
diff -u packages/cherokee/cherokee.spec:1.31 packages/cherokee/cherokee.spec:1.32
--- packages/cherokee/cherokee.spec:1.31	Fri Apr  9 09:04:32 2010
+++ packages/cherokee/cherokee.spec	Fri Apr  9 11:43:28 2010
@@ -24,6 +24,7 @@
 Patch0:		%{name}-config.patch
 Patch1:		%{name}-php-path.patch
 Patch2:		%{name}-panic_path.patch
+Patch3:		%{name}-methods.patch
 URL:		http://www.cherokee-project.com/
 %{?with_geoip:BuildRequires:	GeoIP-devel}
 BuildRequires:	autoconf
@@ -120,6 +121,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %{__libtoolize}
@@ -336,6 +338,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.32  2010/04/09 09:43:28  jajcus
+- patch to enable support for more WebDAV request method (needed by a reverse
+  proxy to SVN)
+
 Revision 1.31  2010/04/09 07:04:32  jajcus
 - Release: 2
 

================================================================
Index: packages/cherokee/cherokee-methods.patch
diff -u /dev/null packages/cherokee/cherokee-methods.patch:1.1
--- /dev/null	Fri Apr  9 11:43:34 2010
+++ packages/cherokee/cherokee-methods.patch	Fri Apr  9 11:43:28 2010
@@ -0,0 +1,69 @@
+--- cherokee-0.99.44/cherokee/header.c.orig	2010-03-20 14:48:22.000000000 +0100
++++ cherokee-0.99.44/cherokee/header.c	2010-04-09 11:01:11.000000000 +0200
+@@ -320,16 +320,28 @@
+ 		detect_method (line, "TRACE", trace)
+ 		break;
+ 	case 'C':
++		detect_method (line, "CHECKIN", checkin)
++		else
++		detect_method (line, "CHECKOUT", checkout)
++		else
+ 		detect_method (line, "CONNECT", connect)
+ 		else
+ 		detect_method (line, "COPY", copy)
+ 		break;
+ 	case 'L':
++		detect_method (line, "LABEL", label)
++	        break;
+ 		detect_method (line, "LOCK", lock)
+ 	        break;
+ 	case 'M':
++		detect_method (line, "MERGE", merge)
++		else
++		detect_method (line, "MKACTIVITY", mkactivity)
++		else
+ 		detect_method (line, "MKCOL", mkcol)
+ 		else
++		detect_method (line, "MKWORKSPACE", mkworkspace)
++		else
+ 		detect_method (line, "MOVE", move)
+ 	        break;
+ 	case 'N':
+@@ -341,6 +353,10 @@
+ 		detect_method (line, "SUBSCRIBE", subscribe)
+ 	        break;
+ 	case 'U':
++		detect_method (line, "UPDATE", update)
++		else
++		detect_method (line, "UNCHECKOUT", uncheckout)
++		else
+ 		detect_method (line, "UNLOCK", unlock)
+ 		else
+ 		detect_method (line, "UNSUBSCRIBE", unsubscribe)
+@@ -348,6 +364,15 @@
+ 	case 'R':
+ 		detect_method (line, "REPORT", report)
+ 	        break;
++	case 'V':
++		detect_method (line, "VERSION_CONTROL", version_control)
++	        break;
++	case 'B':
++		detect_method (line, "BASELINE_CONTROL", baseline_control)
++		break;
++	case 'I':
++		detect_method (line, "INVALID", invalid)
++		break;
+ 	}
+ 
+ 	return ret_error;
+--- cherokee-0.99.44/cherokee/http.h.orig	2010-03-20 14:41:49.000000000 +0100
++++ cherokee-0.99.44/cherokee/http.h	2010-04-09 11:14:38.000000000 +0200
+@@ -44,7 +44,7 @@
+ 
+ typedef enum {
+ 	http_unknown      = 0LL,
+-	http_all_methods  = 0xFFFFFFFLL,
++	http_all_methods  = 0x1FFFFFFFFLL,
+ 
+ 	http_get              = 1,
+ 	http_post             = 1LL << 1,
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cherokee/cherokee.spec?r1=1.31&r2=1.32&f=u



More information about the pld-cvs-commit mailing list