lreid at cs.okstate.edu
Fri May 23 21:15:17 UTC 2008
Written by montag at activeattack.com on 05/19/08 06:05>>
> Hello all,
> I'm seeking to set up an SVN repository on my home machine. I've come
> across the following two guides:
> The second one is certainly overkill for what I need (I just want to use
> it to manage my personal projects, since I work remotely a lot). I'd
> definitely like a password protected web interface though. My issue is
> the following. In both guides (and in all the other ones I've come
> across) Apache is compiled with options that I did not select when I
> installed Apache a while ago. I'd rather not have to redo everything I've
> set up with my web server. Is there any way I get include those modules
> (namely WITH_BERKELEYDB) without having to recompile? Also, any advice
> relating to setting up Subversion on FreeBSD in general.
> Appreciate the help,
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
For the repo, I usually use exclusively svn+ssh protocol and DSA keys
for authentication. It's a lot simpler to just let ssh do authentication
than it is to futz with wrapping subversion up in apache, you don't have
to mess with a separate auth database, and you get security and
authorization (which users can use what repositories) as a side effect.
I usually make my repo owned by group svn, change permissions so the
group has write access to the db, and invite my svn users to that group.
Since svn+ssh is basically local access through an ssh tunnel, there's
no service to configure, and I can immediate connect remotely.
For a web interface, trac's repository browser is very nice. You can
front it through fastcgi on apache or lighttpd. Trac has a nice wiki
link feature that lets you link in to the repository browser. For
example,  on any wiki page will be rendered as a link to the
browser that shows information for changeset 123.
More information about the freebsd-questions