Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Jun 2009 12:25:24 -0400
From:      Eitan Adler <eitanadlerlist@gmail.com>
To:        vmagerya@gmail.com
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Automatically generate symlinks for virtual categories.
Message-ID:  <4A2946F4.2010501@gmail.com>
In-Reply-To: <accd96830906050556m660e63cw3c14edfb7f526796@mail.gmail.com>
References:  <4A28590D.101@gmail.com>	 <accd96830906050419k7ef2469tb1bb22aad4956fe0@mail.gmail.com> <accd96830906050556m660e63cw3c14edfb7f526796@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Vitaly Magerya wrote:
> And here [1] is a new version that does the same thing,
> but uses INDEX file instead of traversing the ports tree.
> It's quite faster this way (assuming your INDEX is up to date,
> maybe it's better to allow both algorithms?).
I'll added your script to mine as a option.
> 
> Disclaimer: I did not test it properly.
> 
> The thing that looks strange to me is that the original script
> appends main category to the name of port when symlinking.
> I copied that behavior for safety, but are there really
> naming conflicts in the ports tree?

Yes. A lot of programs have category/name and language/name for
localized versions.
> 
> [1] http://tx97.net/pub/files/auto-symlink-virtual.sh
> 

Current version:
http://isis.poly.edu/~eitan/files/auto-symlink-virtual-2.sh
I'll be making a port of this soon ;)	


-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen



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