Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2014 23:04:21 +0400
From:      Can0r <can0r@yandex.ru>
To:        freebsd-lists@be-well.ilk.org
Cc:        "www@freebsd.org" <www@freebsd.org>
Subject:   Re: Ports search issue
Message-ID:  <520271411499061@web15m.yandex.ru>
In-Reply-To: <44egv28khn.fsf@lowell-desk.lan>
References:  <2963931411478988@web4m.yandex.ru> <44egv28khn.fsf@lowell-desk.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
The thing is that such query

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

provides the full content of ports directory by string 'php5', while this one

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

doesn't show any of main php5 language ports in 'lang' category. Not a single one!

Isn't there anyone in FBSD community, who knows perl well enough to find out what's up?

23.09.2014, 18:44, "Lowell Gilbert" <freebsd-lists@be-well.ilk.org>:
> 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?520271411499061>