History log of /freebsd-10-stable/usr.sbin/pkg_install/info/pkg_info.1
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 243554 26-Nov-2012 eadler

Provide an option to users to shoot themselves in the foot.

Reviewed by: bapt
Approved by: cperciva
MFC after: 1 month


# 179433 30-May-2008 flz

- Add long options to pkg_install.
- Remove check for '-?' as it's not listed in authorized options.
- Bump PKG_INSTALL_VERSION to 20080530.


# 174475 09-Dec-2007 krion

Backout previous commit, since it's done without maintainers
approval. These changes were approved by adding it as port to
ports/ tree, but not for src/. I talked to PR submitter and miwi@
some days ago and explained the reasons for it, the both were agree
to add it to ports/ only.


# 174472 09-Dec-2007 obrien

Add the 'pkg_search' script.
This makes it easier to figure what packages you want to install.

Submitted by: Matthias Schmidt <schmidtm @ mathematik . uni-marburg . de>


# 167202 04-Mar-2007 ru

The use of predefined strings such as \*[Ge] can be harmful here,
as some fonts (e.g., KOI8-R) have special symbols for displaying
them, and we want symbols ">=" literally here.


# 167201 04-Mar-2007 ru

Fix markup and clean up some of the wording.

(This English was hard to translate as it uses a language that is
far from a pure technical. It would definitely benefit from a
revision.)


# 167182 03-Mar-2007 grog

Clarify the meaning information printed by the -o option.
Clean up grammar, adding articles.


# 162806 29-Sep-2006 ru

Markup fixes.


# 154145 09-Jan-2006 flz

Add -K option to pkg_add and pkg_info.
This option saves packages to PKGDIR (if defined or current directory by default)
as they are downloaded.
Silent a warning when -n is used and package has a +DISPLAY file.

Approved by: krion
MFC after: 1 week


# 152711 23-Nov-2005 krion

Document PKG_PATH enviroment variable.

Prodded by: Mark Andrews <Mark_Andrews AT isc DOT org>
MFC after: 2 days


# 141846 13-Feb-2005 ru

Expand *n't contractions.


# 131531 03-Jul-2004 ru

Eliminated double whitespace.


# 131500 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


# 131280 29-Jun-2004 eik

- pkg_info: flag -r: (show packages this packages depends on (documentation change))

- pkg_info: new flag -j (show the requirements script)

- pkg_info: fix verbose output when used on packages

- better handling of corrupt entries in /var/db/pkg

- differ between corrupt entires and packages not installed

- various small fixes

PR: 56989, 57016, 57029, 26468


# 131275 29-Jun-2004 eik

- match package version numbers with relational operators

- use glob patterns when matching packages by origin

- csh-style {...} choices in glob matching

- pkg_info: new flag -E (list matching package names only)

- pkg_version: new flag -T (test if a given name matches a pattern)

- new flag -X (interpret pattern as an extended regular expression)

PR: 56961


# 127641 30-Mar-2004 cperciva

Synopsis fixes:
* `pkg_info -flags' needs either `-a' or a package name. [1]
* Add -Q option to manual page.
* Update `usage:' to match the manual page.

PR: misc/64786 [1]
Reviewed by: ru
MFC after: 3 days


# 115143 18-May-2003 ru

Fixed troff(1) and mdoc(7) warnings.

Approved by: re (blanket)


# 112579 24-Mar-2003 mdodd

- Add the 'b' option which causes BLOCKSIZE to be hornored when
the 'q' or 'Q' options are present.
- Document BLOCKSIZE.


# 112572 24-Mar-2003 mdodd

Implement the 'Q' option which is like 'q' (quiet output) except
that it prefaces the output with the package name.

This is useful for things like this:

# pkg_info -Qsa | awk -F : '{print $2 "\t" $1}' | sort -rn | expand -t 10


# 103149 09-Sep-2002 sobomax

Introduce notion of the package tools revision and allow to wrap all tools
included into pkg_install according to the content of /var/db/pkg_install.conf
file, which specifies version and alternative location of the tools. Format
of the said file is very simple: one line which specifies revision of the
alternative version of the tools and their location separated by space,
i.e.:

20030102 /usr/local/sbin

This would allow bsd.port.mk to install and use up to date version of tools
on older system from ports.

Also add new `-P' flag to pkg_info, which causes it to report currently
installed version of package tools.

Discussed with: will


# 96067 05-May-2002 sobomax

Update usage() and manpage to match reality (add -O into usage and adjust
both to make clear that -W and -O are stand-alone options).

MFC after: 6 days


# 96031 04-May-2002 sobomax

(forced)

Previous delta (pkg_info -O) is subject of:

MFC after: 1 week


# 96030 04-May-2002 sobomax

Add ability to query installed packages based on origin.


# 84750 10-Oct-2001 sobomax

- Introduce a notion of `packing list format version'. This allows making
non-backward compatible changes in the format of packing list and handle
them gracefully;
- fix a longstanding issue with symlinks handling. Instead of recording
checksum for the file symlink points to, record checksum for the value
returned by readlink(2). For backward compatibility increase packing list
format minor version number and provide a fallback to a previous behaviour,
if package in question was created with older version of pkg_* tools;

Submitted by: Alec Wolman <wolman@cs.washington.edu>, sobomax

- don't record MD5 checksum for device nodes, fifo's and other non-regular
files.

Submitted by: nbm
MFC in: 2 weeks


# 79755 15-Jul-2001 dd

Remove whitespace at EOL.


# 79537 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


# 74699 23-Mar-2001 sobomax

- Add which(1)-like functionality into pkg_info;
- fix a harmless bug in match_installed() function introduced in my last
commit;
- uniformely reorder includes across files.

Submitted by: Garrett Rooney <rooneg@electricjellyfish.net>
Not objected by: jkh, -ports


# 72776 20-Feb-2001 jkh

Use the more logical author syntax from pkg_version and quote
email addresses properly.


# 72202 09-Feb-2001 ru

mdoc(7) police: cosmetics.


# 72174 08-Feb-2001 sobomax

- By default treat supplied arguments as a shell globs to be matched against
names of installed packages;
- add new `-G' option to disable glob matching and revert to previous
behaviour (I have no idea why this could be necessary, though);
- add a new `-x' option, which instructs pkg_info(1) to treat supplied
arguments as a regular expressions.

For example:
$ pkg_info foo\* - displays information about all packages whose names start
from foo
$ pkg_info -G foo\*-1.1 - displays information about package named "foo*-1.1"
$ pkg_info -x ^foo.\* - displays information about all packages whose names
start from foo

Original idea submitted by: Edwin Groothuis <mavetju@chello.nl> (bin/24695)
Reviewed by: jkh, roam
Approved by: jkh


# 72126 07-Feb-2001 ru

mdoc(7) police: Change -filled displays (which just happen
to be the same as -ragged in the current implementation) to
-ragged. With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.


# 71965 03-Feb-2001 jkh

Add a -g flag for verifying an installed package against its recorded
checksums (to see if it's been modified post-installation). Naturally,
this mechanism is only as secure as the contents of /var/db/pkg if you're
using it for auditing purposes.

Submitted by: Roman Shterenzon <roman@xpert.com>


# 71898 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


# 70403 27-Dec-2000 ru

Prepare for mdoc(7)NG.


# 69623 05-Dec-2000 sobomax

Alphabetically reorder options in `.Op Fl' macro to be consistent with the
rest of the code.


# 68965 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


# 68716 14-Nov-2000 ru

Use Fx macro wherever possible.


# 67454 23-Oct-2000 sobomax

Add "-o" option to pkg_create(1) and pkg_info(1). This option intended to record
a path of the port from which package has been created within FreeBSD Ports
Collection and will be used to improve pkg_version(1) and similar tools.

Reviewed by: ports@FreeBSD.org, jkh
Approved by: jkh


# 66344 25-Sep-2000 marko

Fix typo


# 62775 07-Jul-2000 sobomax

New option "-s" to query size of the installed package(s).

PR: 19445
Submitted by: sobomax
Reviewed by: knu
Approved by: silence


# 57628 29-Feb-2000 jhb

Add cross references to pkg_version(1) in all the other pkg_* man pages.
Also, add a cross reference to pkg_info(1) in pkg_version(1). Finally,
in pkg_version(1), don't put a period at the end of the list of see also
man pages.

Noticed by: Matt Ayres <matta@fast.net>


# 55567 07-Jan-2000 phantom

Include -f and -t options to SYNOPSYS section (manpage) and usage information
(main.c)

PR: bin/5410
Submitted by: Frank Volf <volf@oasis.IAEhv.nl>


# 50741 01-Sep-1999 jkh

Use the appropriate macro for double quotes rather than using double
quotes.

Submitted by: Alexey Zelkin <phantom@cris.net>
PR: 13436


# 50479 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 49824 15-Aug-1999 mpp

Various man page cleanup:

- Sort xrefs.
- FreeBSD.ORG -> FreeBSD.org
- Be consistent with section names as outlined in mdoc(7).
- Other misc mdoc cleanup.

PR: doc/13144
Submitted by: Alexey M. Zelkin <phantom@cris.net>


# 42214 31-Dec-1998 obrien

change wording slightly to match other pkg_*.1


# 37634 14-Jul-1998 jkoshy

Add $Id$.

PR: 7251
Submitted by: Norihiro Kumagai <kuma@jp.freebsd.org>


# 37410 06-Jul-1998 jkoshy

Document `-I' and `-R' options to `pkg_info'.

PR: 7155


# 37166 26-Jun-1998 jkoshy

Document environment variables used by pkg_{add,create,info}. These
include PKG_TMPDIR, TMPDIR, PKG_DBDIR. Add a FILES section to these
manual pages.

PR: docs/7064


# 34809 23-Mar-1998 charnier

.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.


# 30221 08-Oct-1997 charnier

Use err(3). Cosmetics in usage string and man page.


# 29889 27-Sep-1997 hoek

Document pkg_add's dependency auto-install. While I'm here, fix
a couple typos, and consistent double-spacing after sentences.

This is actually a spinoff from the "ports-current discontinued"
blow-up some time ago.

Ack'd by: jkh


# 26745 19-Jun-1997 jkh

Fix multiple documentation bogons.
PR: 3798
Submitted by: Jan Kuriyama <kuriyama@opt.phys.waseda.ac.jp>


# 14045 12-Feb-1996 mpp

Another round of man page cleanups.

Down to only about 100 items left to cleanup! :-)


# 8423 10-May-1995 jkh

Fix a long-standing bug that broke pkg_info utterly and probably made
pkg_add a little wiggy too. Document the fact that pkg_info can also
take a URL.


# 5410 05-Jan-1995 jkh

Whoops! How embarassing. Just now noticed that I forget to update the .Os
lines. Done.


# 5409 05-Jan-1995 jkh

Fix a bad formatting directive.


# 4997 05-Dec-1994 jkh

More changes from John T. Kohl. Man pages, mostly.
Submitted by: jtkohl


# 4996 05-Dec-1994 jkh

Many of John T. Kohl's patches from NetBSD. Thanks, John!
Submitted by: jkohl


# 411 07-Sep-1993 jkh

Added two new options, one of which is fairly far reaching:

-q turns on "quiet" mode, where informational headers and such are not
dumped, just the information.

-L Shows full pathnames of files comprising a package. With -q,
this can be useful for doing fileset operations, such as
"du -s `pkg_info -q -L foo_bin`" to see how much space package
"foo_bin" is taking up.


# 392 05-Sep-1993 jkh

Added -e flag to pkg_info. Now you can test to see whether a package
is installed or not rather easily (useful for install scripts that want
to check for prerequisite packages). See man page for details.


# 383 05-Sep-1993 jkh

Made staging area configurable rather than assuming /tmp (-t)


# 379 03-Sep-1993 jkh

Lots of misc tweaks, support for arbitrary separators in pkg_info, more
intelligent name handling in pkg_create. Most of these files are changed
because of rcsid's being different in my cvs tree and freefall's (foo).


# 328 25-Aug-1993 jkh

This commit was generated by cvs2svn to compensate for changes in r327,
which included commits to RCS files with non-trunk default branches.


# 327 25-Aug-1993 jkh

The release version of my package install suite. Please see man pages
for info.