Re: Fetch pkgsrc index with pkg_search

2007-12-12 Thread Matthias Schmidt
He, * Matthew Dillon wrote: There were some ordering issues with the PKGSUM assignment in that patch. I made some modifications and got it to work, but your You're right. I fine with your patch. patch also removed the FreeBSD case so you'd have to put that back in and

Fetch pkgsrc index with pkg_search

2007-12-11 Thread Matthias Schmidt
Hi guys, after an upcoming discussion on FreeBSD cvs-src list [1] I modified pkg_search to create a ports directory and fetch the appropriate INDEX file from the server if both are not installed. This enables pkg_search to work out-of-the-box and without the need to install a complete ports

Re: Fetch pkgsrc index with pkg_search

2007-12-11 Thread reed
On Tue, 11 Dec 2007, Matthias Schmidt wrote: Would it be possible to add the pkgsrc INDEX to an official server? This enables users to use pkg_search on DragonFly without the need to download the whole tree and only install binary packages. We have a documented data file -- see pkg_summary(5)

Re: Fetch pkgsrc index with pkg_search

2007-12-11 Thread Matthias Schmidt
Hi, * [EMAIL PROTECTED] wrote: On Tue, 11 Dec 2007, Matthias Schmidt wrote: Would it be possible to add the pkgsrc INDEX to an official server? This enables users to use pkg_search on DragonFly without the need to download the whole tree and only install binary packages. We have a

Re: Fetch pkgsrc index with pkg_search

2007-12-11 Thread Matthew Dillon
:Thanks, I wasn't aware of this file. The file is not very parser :friendly, compared with the INDEX file :) : :I could use it as a workaround: If no pkgsrc tree is found, check for :the pkg_summary file and download it if necessary. Then pkg_search :could perform a only basic search. Maybe