Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2014 10:44:20 -0400
From:      Lowell Gilbert <freebsd-lists@be-well.ilk.org>
To:        Can0r <can0r@yandex.ru>
Cc:        www@freebsd.org
Subject:   Re: Ports search issue
Message-ID:  <44egv28khn.fsf@lowell-desk.lan>
In-Reply-To: <2963931411478988@web4m.yandex.ru> (can0r@yandex.ru's message of "Tue, 23 Sep 2014 17:29:48 %2B0400")
References:  <2963931411478988@web4m.yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Can0r <can0r@yandex.ru> writes:

> There is a strange issue with search engine in ports collection.
> When I type 'php55', it finds just 3 ports:
> http://www.freebsd.org/cgi/ports.cgi?query=php55&stype=all&sektion=all
> However there are lots of ports with this query in their names - all
> php55 extensions and php55 itself are not displayed in results.
> It is really uncomfortable to use search in this way.
> Is there any solution for this issue?

Hmm. Interesting. I don't understand perl well enough to figure out
exactly how that search is implemented, but if you select "Package Name"
from pull-down menu to the right of the text field where you entered
"php5", you get this:

  https://www.freebsd.org/cgi/ports.cgi?query=php5&stype=name

This seems to be the same output you would get from 

  $ make -C /usr/ports search name=php5

(although it's in a different order, so I'm not completely sure).


If you want to search on package name, specify it explicitly. 


As far as fixing the default search (or at least figuring out what it's
supposed to do): somebody who reads perl better than me want to take a
look at it?



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