Print this page
6205 onbld manuals should be declared as 1onbld
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>


   7 .\" (the "License").  You may not use this file except in compliance
   8 .\" with the License.
   9 .\"
  10 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  11 .\" or http://www.opensolaris.org/os/licensing.
  12 .\" See the License for the specific language governing permissions
  13 .\" and limitations under the License.
  14 .\"
  15 .\" When distributing Covered Code, include this CDDL HEADER in each
  16 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  17 .\" If applicable, add the following below this CDDL HEADER, with the
  18 .\" fields enclosed by brackets "[]" replaced with your own identifying
  19 .\" information: Portions Copyright [yyyy] [name of copyright owner]
  20 .\"
  21 .\" CDDL HEADER END
  22 .\"
  23 .\"
  24 .\" Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
  25 .\" Use is subject to license terms.
  26 .\"
  27 .TH MAKE_PKG_DB 1 "Nov 2, 2000"
  28 .SH "NAME"
  29 make_pkg_db \- create a Perl DBM database of installed software
  30 .SH "SYNOPSIS"
  31 .PP
  32 .nf
  33 \fBmake_pkg_db\fR \-\fBdbdir\fR \fIdbm_database_pathname\fR\ [-\fBh\fR]
  34             [-\fBifiles\fR \fIfilename\fR\&...]
  35             [-\fBpkgdef\fR \fIpackage_pool_pathname\fR]
  36 .fi
  37 .SH "DESCRIPTION"
  38 .PP
  39 The \fBmake_pkg_db\fR command (a Perl script) generates a Perl DBM database of
  40 software installed on a system based on \fB/var/sadm/install/contents\fR or the
  41 contents of a package pool directory\&. The Perl DBM database files are used by
  42 \fBget_depend_info\fR(1)\&.
  43 .PP
  44 The Perl DBM database files contain information keyed on a file name\&. Some
  45 files, for example, list the package in which a file is included and the
  46 permissions of the file\&.
  47 .PP
  48 If you run \fBmake_pkg_db\ -dbdir\ \fIdbm_database_pathname\fR\fR, an error
  49 message such as:
  50 .PP
  51 \fB***CANNOT RESOLVE ABSOLUTE PATH /usr/java/bin/appletviewer\fR
  52 .PP
  53 is generated because the script cannot resolve symbolic links based on the
  54 information in \fB/var/sadm/install/contents\fR\&. In
  55 \fB/var/sadm/install/contents\fR, for example, \fBappletviewer\fR is specified
  56 as a symbolic link:
  57 .sp
  58 .nf
  59 \f(CW/usr/bin/appletviewer=\&.\&./java/bin/appletviewer s none SUNWj2dev\fR
  60 .fi
  61 .sp
  62 .PP


 170 .sp
 171 .sp 1
 172 .in -24n
 173 .SH "ATTRIBUTES"
 174 .PP
 175 See \fBattributes\fR(5) for descriptions of the following attributes:
 176 .sp
 177 .TS
 178 box;
 179 cw | cw
 180 lw | lw .
 181 ATTRIBUTE TYPE  ATTRIBUTE VALUE
 182 Availability    SUNWonbld
 183 CSI     Enabled
 184 Interface Stability     Evolving
 185 MT-Level        Unsafe
 186 .TE
 187 .sp
 188 .SH "SEE ALSO"
 189 .PP
 190 \fBget_depend_info\fR(1), \fBattributes\fR(5)
 191 .SH "NOTES"
 192 .PP
 193 DBM database files are platform dependent\&. DBM database files you generate on
 194 a SPARC machine, for example, do not work on an IA machine (and vice-versa)\&.
 195 .PP
 196 This script might not resolve all symbolic links\&.


   7 .\" (the "License").  You may not use this file except in compliance
   8 .\" with the License.
   9 .\"
  10 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  11 .\" or http://www.opensolaris.org/os/licensing.
  12 .\" See the License for the specific language governing permissions
  13 .\" and limitations under the License.
  14 .\"
  15 .\" When distributing Covered Code, include this CDDL HEADER in each
  16 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  17 .\" If applicable, add the following below this CDDL HEADER, with the
  18 .\" fields enclosed by brackets "[]" replaced with your own identifying
  19 .\" information: Portions Copyright [yyyy] [name of copyright owner]
  20 .\"
  21 .\" CDDL HEADER END
  22 .\"
  23 .\"
  24 .\" Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
  25 .\" Use is subject to license terms.
  26 .\"
  27 .TH MAKE_PKG_DB 1ONBLD "Nov 2, 2000"
  28 .SH "NAME"
  29 make_pkg_db \- create a Perl DBM database of installed software
  30 .SH "SYNOPSIS"
  31 .PP
  32 .nf
  33 \fBmake_pkg_db\fR \-\fBdbdir\fR \fIdbm_database_pathname\fR\ [-\fBh\fR]
  34             [-\fBifiles\fR \fIfilename\fR\&...]
  35             [-\fBpkgdef\fR \fIpackage_pool_pathname\fR]
  36 .fi
  37 .SH "DESCRIPTION"
  38 .PP
  39 The \fBmake_pkg_db\fR command (a Perl script) generates a Perl DBM database of
  40 software installed on a system based on \fB/var/sadm/install/contents\fR or the
  41 contents of a package pool directory\&. The Perl DBM database files are used by
  42 \fBget_depend_info\fR(1ONBLD)\&.
  43 .PP
  44 The Perl DBM database files contain information keyed on a file name\&. Some
  45 files, for example, list the package in which a file is included and the
  46 permissions of the file\&.
  47 .PP
  48 If you run \fBmake_pkg_db\ -dbdir\ \fIdbm_database_pathname\fR\fR, an error
  49 message such as:
  50 .PP
  51 \fB***CANNOT RESOLVE ABSOLUTE PATH /usr/java/bin/appletviewer\fR
  52 .PP
  53 is generated because the script cannot resolve symbolic links based on the
  54 information in \fB/var/sadm/install/contents\fR\&. In
  55 \fB/var/sadm/install/contents\fR, for example, \fBappletviewer\fR is specified
  56 as a symbolic link:
  57 .sp
  58 .nf
  59 \f(CW/usr/bin/appletviewer=\&.\&./java/bin/appletviewer s none SUNWj2dev\fR
  60 .fi
  61 .sp
  62 .PP


 170 .sp
 171 .sp 1
 172 .in -24n
 173 .SH "ATTRIBUTES"
 174 .PP
 175 See \fBattributes\fR(5) for descriptions of the following attributes:
 176 .sp
 177 .TS
 178 box;
 179 cw | cw
 180 lw | lw .
 181 ATTRIBUTE TYPE  ATTRIBUTE VALUE
 182 Availability    SUNWonbld
 183 CSI     Enabled
 184 Interface Stability     Evolving
 185 MT-Level        Unsafe
 186 .TE
 187 .sp
 188 .SH "SEE ALSO"
 189 .PP
 190 \fBget_depend_info\fR(1ONBLD), \fBattributes\fR(5)
 191 .SH "NOTES"
 192 .PP
 193 DBM database files are platform dependent\&. DBM database files you generate on
 194 a SPARC machine, for example, do not work on an IA machine (and vice-versa)\&.
 195 .PP
 196 This script might not resolve all symbolic links\&.