Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2009 11:39:32 GMT
From:      olli hauer <ohauer@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/133121: [patch] enable also mod_authz_svn if defined(WITH_MOD_DAV_SVN)
Message-ID:  <200903271139.n2RBdWc1025123@www.freebsd.org>
Resent-Message-ID: <200903271140.n2RBe1sW071534@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         133121
>Category:       ports
>Synopsis:       [patch] enable also mod_authz_svn if defined(WITH_MOD_DAV_SVN)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 27 11:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     olli hauer
>Release:        FreeBSD 7.1-RELEASE-p4
>Organization:
>Environment:
>Description:
mod_authz_svn is not enabled if subversion builds with apache dav, 
but the module will be disabled during pkg_delete.


>How-To-Repeat:
install subversion and make use of the following config lines in httpd.conf

<Location /repos>
 DAV svn
 SVNParentPath /svnroot/repos/
 ...
 AuthzSVNAccessFile /svnroot/conf/authz
 ...
</Location>

it will fail since the directive AuthzSVNAccessFile is unknown
>Fix:


Patch attached with submission follows:

--- Makefile    2009/03/21 17:20:38     1.1
+++ Makefile    2009/03/27 11:26:37
@@ -159,6 +159,7 @@
 .if defined(WITH_MOD_DAV_SVN)
 pre-install:
        ${APXS} -e -S LIBEXECDIR=${PREFIX}/${APACHEMODDIR} -a -n dav ${PREFIX}/${APACHEMODDIR}/mod_dav.so
+       ${APXS} -e -S LIBEXECDIR=${PREFIX}/${APACHEMODDIR} -a -n authz_svn ${PREFIX}/${APACHEMODDIR}/mod_authz_svn.so
 .endif

 post-install:  ${MKREPOS_TARGET}


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903271139.n2RBdWc1025123>