From owner-freebsd-questions@FreeBSD.ORG Tue May 20 11:58:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DC041065670 for ; Tue, 20 May 2008 11:58:01 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id A41818FC14 for ; Tue, 20 May 2008 11:58:00 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1JyQTb-0004GQ-Jk; Tue, 20 May 2008 12:57:55 +0100 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id m4KBvq9C027874; Tue, 20 May 2008 12:57:53 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 7C0A1FCA4DF; Tue, 20 May 2008 12:57:47 +0100 (BST) Date: Tue, 20 May 2008 12:57:47 +0100 From: Frank Shute To: montag@activeattack.com Message-ID: <20080520115747.GA45838@melon.esperance-linux.co.uk> Mail-Followup-To: montag@activeattack.com, freebsd-questions@freebsd.org References: <60253.192.168.1.107.1211195138.squirrel@192.168.1.112> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <60253.192.168.1.107.1211195138.squirrel@192.168.1.112> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-RELEASE-p2 i386 X-Organisation: 'Esperance Linux' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Tue, 20 May 2008 12:57:53 +0100 (BST) Cc: freebsd-questions@freebsd.org Subject: Re: SVN Advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 11:58:01 -0000 On Mon, May 19, 2008 at 06:05:38AM -0500, montag@activeattack.com wrote: > > Hello all, > > I'm seeking to set up an SVN repository on my home machine. I've come > across the following two guides: > > http://www.bsdguides.org/guides/freebsd/misc/subversion.php > > http://www.onlamp.com/pub/a/bsd/2007/09/27/subversion-for-bsd-with-all-the-bells-and-whistles.html I guess you've looked at the svn book (which is what I used): http://svnbook.red-bean.com/nightly/en/index.html but I don't use Apache, I use the built in server for checking out stuff over my LAN. You could use this and use tcp wrappers to restrict checkout/checkin to your home IP. The line I've got in inetd.conf: svn stream tcp nowait frank /usr/local/bin/svnserve svnserve -i and in hosts.allow: svnserve: 192.168.0.0/255.255.255.0 : allow > > 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. I think the easiest method to add modules to Apache is rebuild but make sure you run: make config in the ports dir before building. If your source code is precious to you, then you can use svn over SSL, I believe. I don't think there is much to know about building/running svn on FreeBSD that is particular to FreeBSD - svn is just a load of perl scripts AFAIK. > > Appreciate the help, > > montag HTH a bit. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html