selfbuild packages repository

Jonathan Horne freebsd at dfwlp.com
Thu Nov 15 06:31:07 PST 2007


Quoting Doug Poland <doug at polands.org>:

> Jonathan Horne wrote:
>> lately, ive been exclusively doing 'make package-recursive' and   
>> 'portupgrade -apP', and have thus collected quite a lot of packages  
>>  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  
>>  many incrementing versions of the same packages.  is there a way  
>> to  keep the ./All directory culled back match whatever is in  
>> ./Latest?
>>
>> im not a programmer and am about as novice as you can get when it   
>> comes to shell scripting, but im seeing somethign that could   
>> compare ./Latest with ./All, and anything that is linked from   
>> Latest to All would be kept, and anything that no longer has a   
>> 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.
>
> -- 
> Regards,
> Doug

perfect!!  i knew there had to be an easy way, and im not surprised to  
find out that portsclean takes care of the job.  funny, that ive been  
using -C and -D forever.  :)

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
freebsd at dfwlp.com

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the freebsd-questions mailing list