the example at the end of the pkgdb(1) manual recommends to use the following command to get a list of files in /usr/local and /usr/X11R6 which don't belong to any package: find /usr/local /usr/X11R6 -type f | xargs pkg_which -v | fgrep '?' this command however will fail. the example should look like this: find /usr/local /usr/X11R6 -print0 -type f | xargs -0 pkg_which -v | fgrep '?'
Responsible Changed From-To: freebsd-ports-bugs->sem Over to maintainer (via the GNATS Auto Assign Tool)
Responsible Changed From-To: sem->ruby sem@ has turned over maintainership of portupgrade to the ruby mailing list.
State Changed From-To: open->closed Committed. Thanks!
stas 2009-10-26 13:37:59 UTC FreeBSD projects repository Modified files: pkgtools/man pkgdb.1 Log: - Use whitespace-tolerant version of example in pkgdb.1 manual page. PR: ports/135691 Submitted by: Alexander Best <alexbestms@math.uni-muenster.de> Revision Changes Path 1.5 +2 -2 projects/pkgtools/man/pkgdb.1 _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
thanks for committing the change request i issued in that pr. just noticed that you might want to change the directories in the example too since nowadays /usr/X11R6 is linked to /usr/local. so running the current example probably returns all files not installed by a package twice. maybe this example makes more sense: find /usr/local/lib /usr/local/include -print0 -type f | xargs -0 pkg_which -v | fgrep '?' cheers. alex
this change still hasn't been committed to HEAD or any other branch. in fact it's only in cvs/projects. the sources hosted on SF are also missing this commit. cheers. -- Alexander Best
State Changed From-To: closed->open Problem hasn't been fixed yet.
pleas also see my previous post, where i mentioned that using /usr/X11R6 and /usr/local as search directories isn't really a good example any longer. cheers. alex -- a13x
Responsible Changed From-To: ruby->pgollucci I will take it
Responsible Changed From-To: pgollucci->freebsd-ports-bugs going to have enotime for the next 2 weeks, sorry
Responsible Changed From-To: freebsd-ports-bugs->ruby Over to maintainer(s).
Responsible Changed From-To: ruby->swills I'll take it.
State Changed From-To: open->closed This change appears to be in the latest portupgrade and portupgrade-devel. Closing PR.