Fetch pkgsrc index with pkg_search

Matthias Schmidt schmidtm at mathematik.uni-marburg.de
Wed Dec 12 00:49:37 PST 2007


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 fixup PORTSDIR and PKGSUM for FreeBSD and other OSs.

Yeah, this was intended.  I provide a version for {Free,Net}BSD on my
website.  I thought the DragonFly version doesn't need any information
about other OSs.

>     There might also be issues with the Makefile we put in /usr which
>     has the ability to fetch the pkgsrc tree.

There could be two possibilities.  I could use the Makefile to fetch a
complete pkgsrc tree instead of the summary file or I could save the
summary file in another location.  If the user installs a pkgsrc tree
later, pkg_search prefers the tree instead of the summary file.
Comments?

Regards,

	Matthias

-- 
Dipl.-Inf. Matthias Schmidt <schmidtm at mathematik.uni-marburg.de>
Dept. of Mathematics and Computer Science, Distributed Systems Group
University of Marburg, Hans-Meerwein-Strasse, 35032 Marburg, Germany
Tel: +49.6421.28 21 591, Fax: +49.6421.28 21 573, Office C4347





More information about the Users mailing list