From owner-freebsd-ports@FreeBSD.ORG Mon Nov 19 18:40:34 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A01B18B0; Mon, 19 Nov 2012 18:40:34 +0000 (UTC) (envelope-from prvs=663f0640a=pschmehl_lists@tx.rr.com) Received: from ip-002.utdallas.edu (ip-002.utdallas.edu [129.110.20.108]) by mx1.freebsd.org (Postfix) with ESMTP id 5F42A8FC1A; Mon, 19 Nov 2012 18:40:33 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsgEAAB8qlCBbgogTmdsb2JhbABFwmcBASNLgh4BAQQBOAI/EAsOOEMUBgESiAcGwCmMNIQsYQOIWqBz X-IronPort-AV: E=Sophos;i="4.83,280,1352095200"; d="scan'208";a="100638118" Received: from zxtm01.utdallas.edu (HELO utd71538.utdallas.edu) ([129.110.10.32]) by ip-002.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 Nov 2012 12:40:32 -0600 Date: Mon, 19 Nov 2012 12:40:30 -0600 From: Paul Schmehl To: Jeremy Chadwick , freebsd-ports@freebsd.org Subject: Re: Let's talk about subversion/svn Message-ID: In-Reply-To: <20121119071607.GA58307@icarus.home.lan> References: <20121119071607.GA58307@icarus.home.lan> X-Mailer: Mulberry/4.1.0a1 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline; size=2571 Cc: lev@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Paul Schmehl List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 18:40:34 -0000 --On November 18, 2012 11:16:07 PM -0800 Jeremy Chadwick wrote: > > And this is partially what it pulls down dependency-wise: > > root@icarus:~ # pkg_add -r -n subversion > Fetching > ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/Latest/su > bversion.tbz... Done. Package dependency sqlite3-3.7.14.1 for > ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/Latest/su > bversion.tbz not found! Package dependency gdbm-1.9.1 for > ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/Latest/su > bversion.tbz not found! Package dependency db42-4.2.52_5 for > ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/Latest/su > bversion.tbz not found! Package dependency neon29-0.29.6_4 for > ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/Latest/su > bversion.tbz not found! > > I say partially because due to use of -n, some of those packages weren't > downloaded, thus the recursive dependency nature is lost (I consider > this mostly a bug with -n when used with a remote package, but it could > also be deemed a feature). > It's not just subversion. I was working on a new port the other day, and one of it's dependencies triggered a lengthy traverse of numerous x11, x11-tookits, x11-fonts, etc., etc. Rather mind-boggling when you realize this is a program that generates graphs rather than a GUI-based program. When you're working on a headless server, it's rather irritating to see half or more of x11 installed just so a program can generate graphs. Frankly I think some of those dependencies wouldn't be necessary if someone took the time to figure out what library an app needs and simply built the library instead of the whole dern app. Maybe that's what we need - a library-only version of some of these ports that get reused over and over again. What I do is do a pkg_deinstall -iRP to preserve the libs and dump the rest. That's an interesting exercise as well. Uninstalling a number of ports recursively ends up uninstalling apache, perl, php, ruby and python. Not exactly what one has in mind. Bottom line? There has to be a better way. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell