From owner-freebsd-questions@FreeBSD.ORG Tue May 20 17:20:50 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 274B01065678 for ; Tue, 20 May 2008 17:20:50 +0000 (UTC) (envelope-from rambiusparkisanius@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.249]) by mx1.freebsd.org (Postfix) with ESMTP id D8A988FC0C for ; Tue, 20 May 2008 17:20:49 +0000 (UTC) (envelope-from rambiusparkisanius@gmail.com) Received: by hs-out-0708.google.com with SMTP id m63so2222423hsc.11 for ; Tue, 20 May 2008 10:20:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=1Oac7URu3lzhhIe/PyqQJ3E5CYgTVlyYBphfWIfbt7k=; b=AZ1T7kQAoc3O9KUjnAGGRjCc+DonuqDo6qPZrve30ZzboAZnU1h6SqpcgqqOdVHdPLceBfPGUAdW/d149ikAtKyLREvEOOhQZIRJlCr6C5FQNM9aPPeffFWGKn7nrGfarIac4YIuPMFBO+mfVrc5KFaxfrY/S9URTypOpUQ7ISc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=j0QYDbtTJsmFTz4lI0vxEpf1Nrhv8gMFFGkFFxkdRR9MgC+9hX9E51necSg87uzvSJdrRaBnGHAWJhMXye5Vinip+QJJ8+duj62I7zCMswJV+6l6FKh9NB3uN+3xUSr814qu+z7TEk4StpSKJKTE79IGLGmZ35R48nqRPqnV7Bo= Received: by 10.90.29.17 with SMTP id c17mr11872450agc.26.1211302401699; Tue, 20 May 2008 09:53:21 -0700 (PDT) Received: by 10.90.99.11 with HTTP; Tue, 20 May 2008 09:53:21 -0700 (PDT) Message-ID: <89ce7f740805200953j14b2130fjb2f769c6215667eb@mail.gmail.com> Date: Tue, 20 May 2008 12:53:21 -0400 From: "Ivan \"Rambius\" Ivanov" To: montag@activeattack.com In-Reply-To: <60253.192.168.1.107.1211195138.squirrel@192.168.1.112> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <60253.192.168.1.107.1211195138.squirrel@192.168.1.112> Cc: freebsd-questions@freebsd.org Subject: Re: SVN Advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 17:20:50 -0000 Hello Montag, On Mon, May 19, 2008 at 7:05 AM, 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 For a quick start on Subversion you can see Dru Lavigne's articles Setting up a Secure Subversion Server [1] and Accessing Secure Subversion Servers [2]. They discuss how to use Subversion over ssh, that is svn+ssh:// scheme. I myself prefer subversion over http(s) and I have written a tutorial here [3] and more concretely here. > > 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. You have two options then. -) use subversion over http(s) and you can access your repository both with a svn client and from a browser. -) use whatever access scheme you want and install viewvc [5]. > 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? As far as I remember you do not need berkleydb option. Subversion supports two backends for its repositories - BDB and FSFS. FSFS is a file format developed by Subversion and when you create the repository it is used by default. For a comparison between the two formats see [6]. So you may compile Subversion with Berkley DB - you should provide WITHOUT_BDB option or similar when you install the Subversion port. > Also, any advice relating to setting up Subversion on FreeBSD in general. Well, the Subversion Book contains everything you need to set it up and use it. And the link below should help you as well. Regards Rambius [1] http://www.onlamp.com/pub/a/bsd/2005/05/12/FreeBSD_Basics.html [2] http://www.onlamp.com/pub/a/bsd/2005/08/11/FreeBSD_Basics.html [3] http://vania.sourceforge.net/svnnotes-en/ [4] http://vania.sourceforge.net/svnnotes-en/node10.html [5] http://www.viewvc.org/ [6] http://svnbook.red-bean.com/en/1.4/svn.reposadmin.planning.html#svn.reposadmin.basics.backends -- Tangra Mega Rock: http://www.radiotangra.com