Matthias Schmidt wrote a ‘pkg_search‘ utility that runs a bit more easily than ‘bmake search’ for finding packages in pkgsrc. It’s available from his site, which has a number of other utilities and papers on it worth reading.
and what about pkgfind?
âˆ’C Search in the â€œCOMMENTâ€ field, instead of looking at package
âˆ’c Do case sensitive searches.
âˆ’M Search in the â€œMAINTAINERâ€ field, instead of looking at package
Stop searching after number packages are found.
âˆ’q Donâ€™t show the comment in the output, only the package name.
âˆ’x Do exact word searches.
the only problem of pkgfind, that it has a lot of bsd-ism in the code, so i had to modfy it when i wanted to compile it on solaris without nbcompat.
i will try pkg_search if its a good alternative for pkgfind with pkgsrc
Is pkgfind the common tool used for the NetBSD’s pkgsrc to find software for a certain purpose?
I think it’s a tool you can add via pkgsrc, but it’s not installed by default. I daresay the most common tools at this point are find, locate, and ls.
(will not be published)
DragonFly BSD Digest