From owner-freebsd-stable@FreeBSD.ORG Thu Jan 24 09:35:16 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 787F798B for ; Thu, 24 Jan 2013 09:35:16 +0000 (UTC) (envelope-from mauzo@anubis.morrow.me.uk) Received: from isis.morrow.me.uk (isis.morrow.me.uk [204.109.63.142]) by mx1.freebsd.org (Postfix) with ESMTP id 572DA246 for ; Thu, 24 Jan 2013 09:35:16 +0000 (UTC) Received: from anubis.morrow.me.uk (host109-150-212-220.range109-150.btcentralplus.com [109.150.212.220]) (Authenticated sender: mauzo) by isis.morrow.me.uk (Postfix) with ESMTPSA id B8B24450D8; Thu, 24 Jan 2013 09:35:08 +0000 (UTC) X-DKIM: OpenDKIM Filter v2.4.1 isis.morrow.me.uk B8B24450D8 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=morrow.me.uk; s=dkim201101; t=1359020109; bh=BMh4i5yTs8sLgPPWPnTgBNdgjkDlZbpbMGkHUjj6K1U=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=W7bvPwxdfWNTBRwTjxvzBGpmcogRHVfcnZdQn4v2pwIaM4cFpm9n2qViHP58LOmY3 Di08bCbpdIxIqIQNcn4pImJtqd89KDrKgUvF1TOzKnjEjtejp84iY1HR1Ip9F8TMQf 4gsn/14ECO7GIAGUEVx6opvj9jRci9ALLLiKtOc0= X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.5 at isis.morrow.me.uk Received: by anubis.morrow.me.uk (Postfix, from userid 5001) id 64A91888B; Thu, 24 Jan 2013 09:35:03 +0000 (GMT) Date: Thu, 24 Jan 2013 09:35:03 +0000 From: Ben Morrow To: jdc@koitsu.org, freebsd-stable@freebsd.org Subject: Re: svn - but smaller? Message-ID: <20130124093503.GA87735@anubis.morrow.me.uk> References: <20130123144050.GG51786@e-Gitt.NET> <20130124093846.5e683474@laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130124085717.GA26673@icarus.home.lan> X-Newsgroups: gmane.os.freebsd.stable Organization: morrow.me.uk User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2013 09:35:16 -0000 Quoth 'Jeremy Chadwick' : > > Regarding your "svn-lite" theory of having that added to src/contrib/, > let me introduce you to Subversion's actual dependencies, and I'll > explain why these would have to remain enabled (for a "base system" > Subversion) as well: > > * SQLite3 (used for bits/pieces in .svn/ directories) > -- License: http://www.sqlite.org/copyright.html > -- Not in the base system It is in HEAD, because the new Heimdal needs it. (The library is currently called libheimsqlite, and is built under kerberos5/lib, but both of those could be changed if necessary.) > * APR (used for HTTP fetching (not necessarily HTTPS)) > -- License: http://www.apache.org/licenses/LICENSE-2.0.html > -- Not in the base system > > * Expat 2.x (XML parsing/generation library > -- License: http://en.wikipedia.org/wiki/MIT_License > -- Not in the base system So these could potentially be brought in? I'm not sure if the Apache license is considered sufficiently BSDish? > * Neon or Serf (used for HTTPS fetching) This could be considered optional, for a base-system svn, as long as the repository is available over HTTP. If necessary the binary could be renamed to bsdsvn so as not to conflict with a full-featured svn installed from ports. (Of course, HTTPS would be *nice*.) > * gettext and libintl (used for character set support) > -- gettext license: GPL (not sure what version) > -- libintl license: LGPL (not sure what version) > -- Neither are in the base system Don't know about these, but I'd be surprised if it wasn't possible to build svn without them. That means losing i18n, but I'm fairly sure csup didn't have i18n either. > * libiconv (used for character set conversion) > -- License: LGPL (not sure what version) > -- Not in the base system There is a BSD-licensed libiconv in HEAD, though it currently isn't built by default. So, it looks to me as though it would be possible, in principle, to bring svn into the base. I'm not at all sure I think that would be a good idea (in particular, bringing in both APR and Expat just to download a few files seems excessive), but it could perhaps be provided as a make.conf option for those who are concerned. (Personally I would not willingly use svn again for any reason, so I'm keeping my source up-to-date using the github mirror. I wonder whether a BSD-licensed checkout-only git client would be easier to write than svnsup? I'm certain the wire protocol is more efficient.) Ben