The following approach seems to be successful on my upgraded Mountain Lion:
1) Download and extract the SVN sources from subversion.apache.org:
subversion-1.6.18.tar.bz2
subversion-deps-1.6.18.tar.bz2
2) Configure SVN with the following command
./configure
3) Compile SVN:
make
4) Copy the two module sources into apache's directory:
sudo cp subversion/mod_authz_svn/.libs/mod_authz_svn.so /usr/libexec/apache2/
sudo cp subversion/mod_dav_svn/.libs/mod_dav_svn.so /usr/libexec/apache2/
I uploaded the compiled modules to my server and you can grab them from there (I obviously don't take any responsibility if this doesn't work for you…)
http://minitu.es/files/ML_Server/mod_authz_svn.so
http://minitu.es/files/ML_Server/mod_dav_svn.so
I use my server in combination with LDAP Auth and my config is:
LoadModule dav_svn_module libexec/apache2/mod_dav_svn.so
LoadModule authz_svn_module libexec/apache2/mod_authz_svn.so
<Location "/svn">
DAV svn
SVNParentPath "/Volumes/HDD.1.0/ps/svn/repos/"
AuthzSVNAccessFile "/Volumes/HDD.1.0/ps/svn/repos/s4q/conf/authz"
AuthType Basic
AuthName "subversion"
Require valid-user
</Location>
Which is located in /Library/Server/Web/Config/apache2/http-subversion.conf
In /Library/Server/Web/Config/apache2/httpd_server.app.conf Include this line at the end:
Include /Library/Server/Web/Config/apache2/http-subversion.conf
If you want access by any site, of use the site's config that you want to handle your svn entry point.
Thanks for inspiration:
- Andreas:
https://discussions.apple.com/thread/4181495?start=15&tstart=0
- janhellevik:
http://janhellevik.com/?tag=subversion
- Thom DeCarlo:
http://stackoverflow.com/questions/11712294/os-x-10-8-is-missing-mod-svn-so-libr aries