Setting up Subversion access through HTTP is not that hard if not because of my specific situation. Apache 2 is needed here and I’m currently using Apache 1.3 and did not plan to switch to Apache 2. Installing both server and let Apache 2 being used only by Subversion on different port is possible. Here’s some notes:-
Install Apache 2 on different location. Something like this:-
# make PREFIX=/aur/apache2
Edit httpd.conf file to specify different listen port and pid file.
Install Subversion and let it know the location of apache2 binary:-
# make APXS=/aur/apache2/sbin/apxs -DWITH_MOD_DAV_SVN -DWITHOUT_BDB install
I need WITHOUT_BDB since I built apache2 without bdb support. And I also overwrote the variable APR_APU_DIR=/aur/apache2/lib/apache2 in Subversion’s ports Makefile. For the rest, you can just follow the guide in svnbook.