From owner-freebsd-questions@FreeBSD.ORG Thu Nov 15 14:31:07 2007 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 B3C2716A421 for ; Thu, 15 Nov 2007 14:31:07 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from pollux.dfwlp.com (rrcs-64-183-212-244.sw.biz.rr.com [64.183.212.244]) by mx1.freebsd.org (Postfix) with ESMTP id 74C3D13C4BB for ; Thu, 15 Nov 2007 14:31:07 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from pollux.dfwlp.com (pollux.dfwlp.com [192.168.125.61]) by pollux.dfwlp.com (8.13.8/8.13.8) with ESMTP id lAFEUqur095956 for ; Thu, 15 Nov 2007 08:30:52 -0600 (CST) (envelope-from freebsd@dfwlp.com) Received: (from www@localhost) by pollux.dfwlp.com (8.13.8/8.13.8/Submit) id lAFEUqc2095955 for freebsd-questions@freebsd.org; Thu, 15 Nov 2007 08:30:52 -0600 (CST) (envelope-from freebsd@dfwlp.com) X-Authentication-Warning: pollux.dfwlp.com: www set sender to freebsd@dfwlp.com using -f Received: from 167.246.36.14 ([167.246.36.14]) by webmail.dfwlp.org (Horde MIME library) with HTTP; Thu, 15 Nov 2007 08:30:51 -0600 Message-ID: <20071115083051.3btz5di0gs8sw8ck@webmail.dfwlp.org> Date: Thu, 15 Nov 2007 08:30:51 -0600 From: Jonathan Horne To: freebsd-questions@freebsd.org References: <20071115082038.70ed3grmyok0480g@webmail.dfwlp.org> <473C5671.8060207@polands.org> In-Reply-To: <473C5671.8060207@polands.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.5) / FreeBSD-6.2 X-Spam-Status: No, score=-5.1 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on pollux.dfwlp.com Subject: Re: selfbuild packages repository 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: Thu, 15 Nov 2007 14:31:07 -0000 Quoting Doug Poland : > Jonathan Horne wrote: >> lately, ive been exclusively doing 'make package-recursive' and =20 >> 'portupgrade -apP', and have thus collected quite a lot of packages =20 >> over the past 6 months (which use to keep multiple systems updated). >> >> on my NFS server, my /usr/ports/packages/All directory has built up =20 >> many incrementing versions of the same packages. is there a way =20 >> to keep the ./All directory culled back match whatever is in =20 >> ./Latest? >> >> im not a programmer and am about as novice as you can get when it =20 >> comes to shell scripting, but im seeing somethign that could =20 >> compare ./Latest with ./All, and anything that is linked from =20 >> Latest to All would be kept, and anything that no longer has a =20 >> symlink, would be purged. >> >> can anyone help me out with a nice way of doing this? >> > I think that's what portsclean -P is all about. > > --=20 > Regards, > Doug perfect!! i knew there had to be an easy way, and im not surprised to =20 find out that portsclean takes care of the job. funny, that ive been =20 using -C and -D forever. :) cheers, --=20 Jonathan Horne http://dfwlpiki.dfwlp.org freebsd@dfwlp.com ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.