pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48273: www/ap2-subversion installs Apache modules in ${PREFIX}/libexec instead of ${PREFIX}/lib/httpd

>Number:         48273
>Category:       pkg
>Synopsis:       www/ap2-subversion installs Apache modules in 
>${PREFIX}/libexec instead of ${PREFIX}/lib/httpd
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 04 21:40:00 +0000 2013
>Originator:     Christopher M. Fuhrman
>Release:        pkgsrc-2013Q3
NetBSD 6.1.2 NetBSD 6.1.2 (PANIX-VC) #0: Thu Oct  3 13:47:44 
EDT 2013
Prior to pkgsrc-2013Q3, the www/ap2-subversion package installed modules in 
${PREFIX}/lib/httpd/.  As of pkgsrc-2013Q3, the package now installs modules in 
${PREFIX}/libexec instead, yet the MESSAGE file still has 
"lib/httpd/" hard-coded as the correct location.

There are one of two problems here:

 1) The www/ap2-subversion package installs modules in ${PREFIX}/libexec
    where it should install in ${PREFIX}/lib/httpd like other Apache 

 2) The MESSAGE file needs to be updated with the correct location of
    the file
Compile and install the www/ap2-subversion package and make note of the MESSAGE 
file that's generated.  Then, do a `pkg_info -L ap2[024]-subversion` for the 
installed package to see where the ap2-subversion package actually installs 


$ pkg_info -L ap22-subversion
Information for ap22-subversion-1.8.3nb1:


Depending on the problem, there are two solutions:

 1) Correct the www/ap2-subversion package such that Apache modules
    are installed in ${PREFIX}/lib/httpd/

 2) Correct the MESSAGE file as follows:

$NetBSD: MESSAGE,v 1.3 2007/12/13 20:03:36 epg Exp $

See ${PREFIX}/share/doc/subversion/INSTALL for details on making
a repository accessible via mod_dav_svn.  Basically, you need
something like this in httpd.conf:

    LoadModule dav_svn_module "libexec/"
    <Location /svn>
        DAV svn
        SVNPath "/path/to/repository"
        AuthType Basic
        AuthName "Subversion repository"
        AuthUserFile "/path/to/passwd-file"
        # Allow anonymous reads but require authentication for writes.
            Require valid-user


Home | Main Index | Thread Index | Old Index