Sort sections in various manual pages.
[dragonfly.git] / usr.bin / pkg_search / pkg_search.1
CommitLineData
674a427d 1.\"-
b0ec74b2 2.\" Copyright (c) 2007-09 The DragonFly Project. All rights reserved.
4faa2bb3 3.\"
9765f86e 4.\" This code is derived from software contributed to The DragonFly Project
a016e194 5.\" by Matthias Schmidt <matthias@dragonflybsd.org>, University of Marburg.
4faa2bb3 6.\"
674a427d 7.\" All rights reserved.
466fc674
SW
8.\"
9.\" Redistribution and use in source and binary forms, with or without
674a427d 10.\" modification, are permitted provided that the following conditions are met:
466fc674
SW
11.\"
12.\" - Redistributions of source code must retain the above copyright notice,
674a427d 13.\" this list of conditions and the following disclaimer.
466fc674
SW
14.\" - Redistributions in binary form must reproduce the above copyright notice,
15.\" this list of conditions and the following disclaimer in the documentation
674a427d 16.\" and/or other materials provided with the distribution.
9765f86e
MS
17.\" - Neither the name of The DragonFly Project nor the names of its
18.\" contributors may be used to endorse or promote products derived
19.\" from this software without specific, prior written permission.
466fc674 20.\"
674a427d
MD
21.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22.\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24.\" A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
25.\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
26.\" EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
27.\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
28.\" PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
29.\" LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
30.\" NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31.\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
466fc674 32.\"
83cc1f74 33.\" $DragonFly: src/usr.bin/pkg_search/pkg_search.1,v 1.11 2008/09/04 10:33:50 matthias Exp $
466fc674 34.\"
b0ec74b2 35.Dd February 8, 2009
674a427d
MD
36.Dt PKG_SEARCH 1
37.Os
38.Sh NAME
39.Nm pkg_search
466fc674 40.Nd print information about a package
674a427d
MD
41.Sh SYNOPSIS
42.Nm
83cc1f74
MS
43.Op Fl kv
44.Ar package
45.Nm
46.Fl s
466fc674 47.Ar package
b0ec74b2
MS
48.Nm
49.Fl d
674a427d
MD
50.Sh DESCRIPTION
51.Nm
466fc674
SW
52queries the
53.Xr pkgsrc 7
54index for a given
55.Ar package .
a016e194
MS
56If the
57.Xr pkgsrc 7
58index is not available
59.Nm
60fetches the
61.Xr pkg_summary 5
fb2f1008
SW
62file.
63This file contains information about each package in a binary repository.
674a427d
MD
64.Pp
65The options are as follows:
466fc674 66.Bl -tag -width indent
b0ec74b2
MS
67.It Fl d
68Download the
69.Xr pkg_summary 5
70file.
71It gets overwritten if it is already installed.
674a427d
MD
72.It Fl k
73Also query the Info and WWW field.
4faa2bb3
MS
74.It Fl s
75Show the description of a package.
7896f28d
SW
76.It Fl v
77Print verbose information (Ports directory, URL, depencies)
674a427d
MD
78.El
79.Sh EXAMPLES
80The following is an example of a typical usage
81of the
82.Nm
83command:
84.Pp
a5da7f43 85.Dl "pkg_search -v fvwm"
674a427d
MD
86.Sh SEE ALSO
87.Xr pkg_add 1 ,
88.Xr pkg_create 1 ,
89.Xr pkg_delete 1 ,
466fc674 90.Xr pkg_info 1 ,
a016e194 91.Xr pkg_summary 5 ,
466fc674 92.Xr pkgsrc 7
9765f86e
MS
93.Sh HISTORY
94The
95.Nm
96utility first appeared in
ff144011 97.Dx 1.11 .
a68e0df0
SW
98.Sh AUTHORS
99.Nm
100was written by
101.An Matthias Schmidt Aq matthias@dragonflybsd.org .