From owner-freebsd-stable@FreeBSD.ORG Sat Jan 26 06:17:10 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5F136DF9 for ; Sat, 26 Jan 2013 06:17:10 +0000 (UTC) (envelope-from areilly@bigpond.net.au) Received: from nskntqsrv01p.mx.bigpond.com (nskntqsrv01p.mx.bigpond.com [61.9.168.231]) by mx1.freebsd.org (Postfix) with ESMTP id CC34B12A for ; Sat, 26 Jan 2013 06:17:09 +0000 (UTC) Received: from nskntcmgw06p ([61.9.169.166]) by nskntmtas06p.mx.bigpond.com with ESMTP id <20130126033547.VDLO10884.nskntmtas06p.mx.bigpond.com@nskntcmgw06p>; Sat, 26 Jan 2013 03:35:47 +0000 Received: from johnny.reilly.home ([124.188.162.192]) by nskntcmgw06p with BigPond Outbound id sTbm1k00R49NTNc01TbmrA; Sat, 26 Jan 2013 03:35:47 +0000 X-Authentication-Info: Submitted using ID areilly@bigpond.net.au X-Authority-Analysis: v=2.0 cv=FNSZNpUs c=1 sm=1 a=E3UA96qjU4/DKYBP5EH6OA==:17 a=wom5GMh1gUkA:10 a=kj9zAlcOel0A:10 a=Sv2sojjTAAAA:8 a=KTtz0Dv9PsYA:10 a=60P2lXSZAAAA:8 a=mV9VRH-2AAAA:8 a=8pif782wAAAA:8 a=mMZxJx_t10ntbSmk6HoA:9 a=CjuIK1q_8ugA:10 a=JgZtFJAWQycA:10 a=ajx38_Lg6RgA:10 a=E3UA96qjU4/DKYBP5EH6OA==:117 Date: Sat, 26 Jan 2013 14:35:46 +1100 From: Andrew Reilly To: Ben Morrow Subject: Re: svn - but smaller? Message-ID: <20130126033546.GA85346@johnny.reilly.home> References: <20130123144050.GG51786@e-Gitt.NET> <20130124093846.5e683474@laptop> <20130124093503.GA87735@anubis.morrow.me.uk> <20130124104553.GA69019@anubis.morrow.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130124104553.GA69019@anubis.morrow.me.uk> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: jdc@koitsu.org, freebsd-stable@freebsd.org 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: Sat, 26 Jan 2013 06:17:10 -0000 On Thu, Jan 24, 2013 at 10:45:53AM +0000, Ben Morrow wrote: > At 9AM +0000 on 24/01/13 you (Ben Morrow) wrote: > > 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: > > > > * 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 > > Correction: expat is in base already, as libbsdxml (rather confusingly > built under lib/libexpat). > > So AFAICS the only remaining piece is APR (and svn itself), and I > suspect that if only the bits required for a svn client were brought in > (assuming the licence is deemed acceptable) that would be a lot smaller > than a full APR build. (Again, this would need to be built as libbsdapr > to avoid conflicts with real APR from ports.) If APR is only used for HTTP fetching, I wonder how hard it would be to replace those pieces with fetch(3), which is in base, or wrap fetch(3) in an APR-compatability shim? (Some work required, obviously.) No, I'm not volunteering: svn from ports works OK for me, and I'm in the process of investigating freebsd-update+portsnap to keep the source trees up to date... Took me a while to notice that freebsd-update can be told to *not* update executables and what-not, but I haven't tried it myself. Call me a massochist, but I like that my FreeBSD system is running code built from the source that's there... Part of FreeBSD's charm, in my opinion. Cheers, -- Andrew