Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2007 08:30:51 -0600
From:      Jonathan Horne <freebsd@dfwlp.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: selfbuild packages repository
Message-ID:  <20071115083051.3btz5di0gs8sw8ck@webmail.dfwlp.org>
In-Reply-To: <473C5671.8060207@polands.org>
References:  <20071115082038.70ed3grmyok0480g@webmail.dfwlp.org> <473C5671.8060207@polands.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Doug Poland <doug@polands.org>:

> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071115083051.3btz5di0gs8sw8ck>