ports/133121: [patch] enable also mod_authz_svn if defined(WITH_MOD_DAV_SVN)

olli hauer ohauer at gmx.de
Fri Mar 27 11:40:02 UTC 2009


>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:



More information about the freebsd-ports-bugs mailing list