Bug 135691 - ports-mgmt/portupgrade Wrong example in man page of pkgdb(1)
Summary: ports-mgmt/portupgrade Wrong example in man page of pkgdb(1)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-18 09:30 UTC by Alexander Best
Modified: 2011-08-21 22:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Best 2009-06-18 09:30:01 UTC
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 '?'
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-06-18 13:18:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sem

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2009-07-25 02:50:03 UTC
Responsible Changed
From-To: sem->ruby

sem@ has turned over maintainership of portupgrade to the ruby mailing list.
Comment 3 Stanislav Sedov freebsd_committer freebsd_triage 2009-10-26 13:38:10 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2009-10-26 13:38:13 UTC
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"
Comment 5 Alexander Best 2009-11-11 01:46:18 UTC
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
Comment 6 alexbestms 2010-05-31 21:54:33 UTC
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
Comment 7 Alexander Best freebsd_committer freebsd_triage 2010-08-24 10:15:16 UTC
State Changed
From-To: closed->open

Problem hasn't been fixed yet.
Comment 8 Alexander Best freebsd_committer freebsd_triage 2010-08-25 11:35:02 UTC
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
Comment 9 Philip M. Gollucci freebsd_committer freebsd_triage 2010-09-10 00:11:29 UTC
Responsible Changed
From-To: ruby->pgollucci

I will take it
Comment 10 Philip M. Gollucci freebsd_committer freebsd_triage 2010-09-24 07:22:22 UTC
Responsible Changed
From-To: pgollucci->freebsd-ports-bugs

going to have enotime for the next 2 weeks, sorry
Comment 11 Steve Price freebsd_committer freebsd_triage 2011-01-03 17:23:27 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

Over to maintainer(s).
Comment 12 Steve Wills freebsd_committer freebsd_triage 2011-08-21 22:24:22 UTC
Responsible Changed
From-To: ruby->swills

I'll take it.
Comment 13 Steve Wills freebsd_committer freebsd_triage 2011-08-21 22:24:49 UTC
State Changed
From-To: open->closed

This change appears to be in the latest portupgrade and 
portupgrade-devel. Closing PR.