Author: baggins Date: Wed Oct 19 19:31:39 2011 GMT Module: packages Tag: HEAD ---- Log message: - rel 3 - only run dav_svn__handler if POST request is for DAV SVN location
---- Files affected: packages/subversion: subversion.spec (1.323 -> 1.324) , subversion-mod_dav_svn-fix-hook.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/subversion/subversion.spec diff -u packages/subversion/subversion.spec:1.323 packages/subversion/subversion.spec:1.324 --- packages/subversion/subversion.spec:1.323 Sun Oct 16 07:23:10 2011 +++ packages/subversion/subversion.spec Wed Oct 19 21:31:34 2011 @@ -52,7 +52,7 @@ Summary(pt_BR.UTF-8): Sistema de versionamento concorrente Name: subversion Version: 1.7.0 -Release: 2 +Release: 3 License: Apache/BSD-like Group: Development/Version Control Source0: http://www.apache.org/dist/subversion/%{name}-%{version}.tar.bz2 @@ -69,6 +69,7 @@ Patch1: %{name}-DESTDIR.patch Patch2: %{name}-ruby-datadir-path.patch Patch3: %{name}-tests.patch +Patch4: %{name}-mod_dav_svn-fix-hook.patch URL: http://subversion.apache.org/ %{?with_apache:BuildRequires: apache-devel >= 2.2.0-8} BuildRequires: apr-devel >= 1:1.0.0 @@ -425,6 +426,7 @@ %patch1 -p1 %patch2 -p0 %patch3 -p1 +%patch4 -p1 sed -i -e 's#serf_prefix/lib#serf_prefix/%{_lib}#g' build/ac-macros/serf.m4 @@ -919,6 +921,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.324 2011/10/19 19:31:34 baggins +- rel 3 +- only run dav_svn__handler if POST request is for DAV SVN location + Revision 1.323 2011/10/16 05:23:10 qboosh - updated ruby bcond comment ================================================================ Index: packages/subversion/subversion-mod_dav_svn-fix-hook.patch diff -u /dev/null packages/subversion/subversion-mod_dav_svn-fix-hook.patch:1.1 --- /dev/null Wed Oct 19 21:31:39 2011 +++ packages/subversion/subversion-mod_dav_svn-fix-hook.patch Wed Oct 19 21:31:34 2011 @@ -0,0 +1,19 @@ +--- subversion-1.7.0/subversion/mod_dav_svn/mod_dav_svn.c.orig 2011-08-19 19:15:15.000000000 +0200 ++++ subversion-1.7.0/subversion/mod_dav_svn/mod_dav_svn.c 2011-10-19 21:27:58.273487075 +0200 +@@ -902,6 +902,7 @@ + /* Response handler for POST requests (protocol-v2 commits). */ + static int dav_svn__handler(request_rec *r) + { ++ if (dav_svn__get_root_dir(r)) { + /* HTTP-defined Methods we handle */ + r->allowed = 0 + | (AP_METHOD_BIT << M_POST); +@@ -909,7 +910,7 @@ + if (r->method_number == M_POST) { + return dav_svn__method_post(r); + } +- ++ } + return DECLINED; + } + ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/subversion/subversion.spec?r1=1.323&r2=1.324&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
