1*a824f5a1SJean-Baptiste Boric.\" $NetBSD: pkg_summary.5,v 1.4 2012/02/19 17:49:09 tron Exp $ 2*a824f5a1SJean-Baptiste Boric.\" 3*a824f5a1SJean-Baptiste Boric.\" Copyright (c) 2006 The NetBSD Foundation 4*a824f5a1SJean-Baptiste Boric.\" 5*a824f5a1SJean-Baptiste Boric.\" Redistribution and use in source and binary forms, with or without 6*a824f5a1SJean-Baptiste Boric.\" modification, are permitted provided that the following conditions 7*a824f5a1SJean-Baptiste Boric.\" are met: 8*a824f5a1SJean-Baptiste Boric.\" 1. Redistributions of source code must retain the above copyright 9*a824f5a1SJean-Baptiste Boric.\" notice, this list of conditions and the following disclaimer. 10*a824f5a1SJean-Baptiste Boric.\" 2. Redistributions in binary form must reproduce the above copyright 11*a824f5a1SJean-Baptiste Boric.\" notice, this list of conditions and the following disclaimer in the 12*a824f5a1SJean-Baptiste Boric.\" documentation and/or other materials provided with the distribution. 13*a824f5a1SJean-Baptiste Boric.\" 3. Neither the name of the NetBSD Foundation nor the names of its 14*a824f5a1SJean-Baptiste Boric.\" contributors may be used to endorse or promote products derived from 15*a824f5a1SJean-Baptiste Boric.\" this software without specific prior written permission. 16*a824f5a1SJean-Baptiste Boric.\" 17*a824f5a1SJean-Baptiste Boric.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION AND ITS CONTRIBUTORS 18*a824f5a1SJean-Baptiste Boric.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT 19*a824f5a1SJean-Baptiste Boric.\" NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 20*a824f5a1SJean-Baptiste Boric.\" FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT 21*a824f5a1SJean-Baptiste Boric.\" SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 22*a824f5a1SJean-Baptiste Boric.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23*a824f5a1SJean-Baptiste Boric.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24*a824f5a1SJean-Baptiste Boric.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25*a824f5a1SJean-Baptiste Boric.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26*a824f5a1SJean-Baptiste Boric.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27*a824f5a1SJean-Baptiste Boric.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28*a824f5a1SJean-Baptiste Boric.\" SUCH DAMAGE. 29*a824f5a1SJean-Baptiste Boric.\" 30*a824f5a1SJean-Baptiste Boric.Dd April 11, 2009 31*a824f5a1SJean-Baptiste Boric.Dt PKG_SUMMARY 5 32*a824f5a1SJean-Baptiste Boric.Os 33*a824f5a1SJean-Baptiste Boric.Sh NAME 34*a824f5a1SJean-Baptiste Boric.Nm pkg_summary 35*a824f5a1SJean-Baptiste Boric.Nd summary of binary package repository 36*a824f5a1SJean-Baptiste Boric.Sh DESCRIPTION 37*a824f5a1SJean-Baptiste BoricThe file 38*a824f5a1SJean-Baptiste Boric.Nm 39*a824f5a1SJean-Baptiste Boriccontains information about each package in a binary package 40*a824f5a1SJean-Baptiste Boricrepository as a list of variable-value pairs. 41*a824f5a1SJean-Baptiste BoricThe variables describing different packages are separated by one empty 42*a824f5a1SJean-Baptiste Boricline. 43*a824f5a1SJean-Baptiste BoricEach line has the format 44*a824f5a1SJean-Baptiste Boric.Ev VARIABLE=VALUE . 45*a824f5a1SJean-Baptiste BoricIf the value consists of more than one line, each line is prefixed with 46*a824f5a1SJean-Baptiste Boric.Ev VARIABLE= . 47*a824f5a1SJean-Baptiste BoricMulti-line variables are guaranteed to be in consecutive lines. 48*a824f5a1SJean-Baptiste Boric.Pp 49*a824f5a1SJean-Baptiste BoricThe following variables are used: 50*a824f5a1SJean-Baptiste Boric.Bl -tag -width indent 51*a824f5a1SJean-Baptiste Boric.It Ev BUILD_DATE 52*a824f5a1SJean-Baptiste Boric(required) The date and time when the package was built. 53*a824f5a1SJean-Baptiste Boric.It Ev CATEGORIES 54*a824f5a1SJean-Baptiste Boric(required) A list of categories which this package fits in, separated by 55*a824f5a1SJean-Baptiste Boricspace. 56*a824f5a1SJean-Baptiste Boric.It Ev COMMENT 57*a824f5a1SJean-Baptiste Boric(required) A one-line description of the package. 58*a824f5a1SJean-Baptiste Boric.It Ev CONFLICTS 59*a824f5a1SJean-Baptiste Boric(optional) A list of dewey patterns of packages the package conflicts 60*a824f5a1SJean-Baptiste Boricwith, one per line. 61*a824f5a1SJean-Baptiste BoricIf missing, this package has no conflicts. 62*a824f5a1SJean-Baptiste Boric.It Ev DEPENDS 63*a824f5a1SJean-Baptiste Boric(optional) A list of dewey patterns of packages the package depends 64*a824f5a1SJean-Baptiste Boricon, one per line. 65*a824f5a1SJean-Baptiste BoricIf missing, this package has no dependencies. 66*a824f5a1SJean-Baptiste Boric.It Ev DESCRIPTION 67*a824f5a1SJean-Baptiste Boric(required) A more detailed description of the package. 68*a824f5a1SJean-Baptiste Boric.\" DIGEST 69*a824f5a1SJean-Baptiste Boric.It Ev FILE_CKSUM 70*a824f5a1SJean-Baptiste Boric(optional) A checksum type supported by 71*a824f5a1SJean-Baptiste Boric.Xr digest 1 72*a824f5a1SJean-Baptiste Boricand checksum separated by space character. 73*a824f5a1SJean-Baptiste Boric.It Ev FILE_NAME 74*a824f5a1SJean-Baptiste Boric(optional) The name of the binary package file. 75*a824f5a1SJean-Baptiste BoricIf not given, 76*a824f5a1SJean-Baptiste Boric.Pa PKGNAME.tgz 77*a824f5a1SJean-Baptiste Boriccan be assumed. 78*a824f5a1SJean-Baptiste Boric.It Ev FILE_SIZE 79*a824f5a1SJean-Baptiste Boric(optional) The size of the binary package file, in bytes. 80*a824f5a1SJean-Baptiste Boric.It Ev HOMEPAGE 81*a824f5a1SJean-Baptiste Boric(optional) A URL where more information about the package can be found. 82*a824f5a1SJean-Baptiste Boric.It Ev LICENSE 83*a824f5a1SJean-Baptiste Boric(optional) The type of license this package is distributed under. 84*a824f5a1SJean-Baptiste BoricIf empty or missing, it is OSI-approved. 85*a824f5a1SJean-Baptiste Boric.It Ev MACHINE_ARCH 86*a824f5a1SJean-Baptiste Boric(required) The architecture on which the package was compiled. 87*a824f5a1SJean-Baptiste Boric.It Ev OPSYS 88*a824f5a1SJean-Baptiste Boric(required) The operating system on which the package was compiled. 89*a824f5a1SJean-Baptiste Boric.It Ev OS_VERSION 90*a824f5a1SJean-Baptiste Boric(required) The version of the operating system on which the package 91*a824f5a1SJean-Baptiste Boricwas compiled. 92*a824f5a1SJean-Baptiste Boric.It Ev PKG_OPTIONS 93*a824f5a1SJean-Baptiste Boric(optional) Any options selected to compile this package. 94*a824f5a1SJean-Baptiste BoricIf missing, the package does not support options. 95*a824f5a1SJean-Baptiste Boric.It Ev PKGNAME 96*a824f5a1SJean-Baptiste Boric(required) The name of the package. 97*a824f5a1SJean-Baptiste Boric.It Ev PKGPATH 98*a824f5a1SJean-Baptiste Boric(required) The path of the package directory within pkgsrc. 99*a824f5a1SJean-Baptiste Boric.It Ev PKGTOOLS_VERSION 100*a824f5a1SJean-Baptiste Boric(required) The version of the package tools used to create the package. 101*a824f5a1SJean-Baptiste Boric.It Ev PREV_PKGPATH 102*a824f5a1SJean-Baptiste Boric(optional) The previous path of the package directory within pkgsrc when 103*a824f5a1SJean-Baptiste Borica package was moved. 104*a824f5a1SJean-Baptiste Boric(See 105*a824f5a1SJean-Baptiste Boric.Ev SUPERSEDES 106*a824f5a1SJean-Baptiste Boricbelow for a renamed package.) 107*a824f5a1SJean-Baptiste Boric.It Ev PROVIDES 108*a824f5a1SJean-Baptiste Boric(optional) A list of shared libraries provided by the package, 109*a824f5a1SJean-Baptiste Boricincluding major version number, one per line. 110*a824f5a1SJean-Baptiste BoricIf missing, this package does not provide shared libraries. 111*a824f5a1SJean-Baptiste Boric.It Ev REQUIRES 112*a824f5a1SJean-Baptiste Boric(optional) A list of shared libraries needed by the package, including 113*a824f5a1SJean-Baptiste Boricmajor version number, one per line. 114*a824f5a1SJean-Baptiste BoricIf missing, this package does not require shared libraries. 115*a824f5a1SJean-Baptiste Boric.It Ev SIZE_PKG 116*a824f5a1SJean-Baptiste Boric(required) The size of the package when installed, in bytes. 117*a824f5a1SJean-Baptiste Boric.It Ev SUPERSEDES 118*a824f5a1SJean-Baptiste Boric(optional) A list of dewey patterns of previous packages this 119*a824f5a1SJean-Baptiste Boricpackage replaces, one per line. 120*a824f5a1SJean-Baptiste BoricThis is used for package renaming. 121*a824f5a1SJean-Baptiste Boric.El 122*a824f5a1SJean-Baptiste Boric.Pp 123*a824f5a1SJean-Baptiste BoricThe 124*a824f5a1SJean-Baptiste Boric.Nm pkg_summary 125*a824f5a1SJean-Baptiste Boricfile can be generated using the 126*a824f5a1SJean-Baptiste Boric.Xr pkg_info 1 127*a824f5a1SJean-Baptiste Boric.Fl X 128*a824f5a1SJean-Baptiste Boricoption. 129*a824f5a1SJean-Baptiste BoricFor example, the following will list this data for all installed packages: 130*a824f5a1SJean-Baptiste Boric.Pp 131*a824f5a1SJean-Baptiste Boric.Dl "pkg_info -X -a" 132*a824f5a1SJean-Baptiste Boric.Sh SEE ALSO 133*a824f5a1SJean-Baptiste Boric.Xr digest 1 , 134*a824f5a1SJean-Baptiste Boric.Xr pkg_info 1 135*a824f5a1SJean-Baptiste Boric.Sh HISTORY 136*a824f5a1SJean-Baptiste BoricThe 137*a824f5a1SJean-Baptiste Boric.Nm pkg_summary 138*a824f5a1SJean-Baptiste Boricformat was first officially documented in April 2006. 139