1 GET_DEPEND_INFO(1ONBLD) illumos Build Tools GET_DEPEND_INFO(1ONBLD) 2 3 4 5 NAME 6 get_depend_info - get dependency information about a package or a file 7 8 SYNOPSIS 9 get_depend_info [-cons] -dbdir dbm_database_pathname 10 [-f | -p] [-h] [-root root_pathname] 11 [-s] [-pkg SUN_package | filename ...] 12 13 DESCRIPTION 14 The get_depend_info command prints dependency information about a 15 package, a file, or a set of files on the standard output. 16 17 OPTIONS 18 The following options are supported: 19 20 -cons 21 Turns on conservative mode, that is, refrains from 22 using /usr/bin/strings. 23 24 25 -dbdir 26 Specifies the directory in which the Perl DBM databases 27 generated by make_pkg_db(1ONBLD) are located. 28 29 30 -f 31 Outputs file dependencies only. 32 33 34 -h 35 Displays help. 36 37 38 -p 39 Outputs package dependencies only. 40 41 42 -pkg 43 Specifies a particular package on which you want to run 44 the dependency analysis. You must specify this option 45 if you specify either a Sun software package or a 46 third-party software package that conforms with the Sun 47 package format (SUN_package). 48 49 50 -root 51 Specifies an alternate root. You must also use the -pkg 52 option if you use this option. 53 54 55 -s 56 Outputs symbolic links for files or packages only. 57 58 59 OPERANDS 60 The following operands are supported: 61 62 dbm_database_pathname 63 Specifies the path name of the directory in 64 which the Perl DBM databases generated by 65 make_pkg_db are located. 66 67 68 filename 69 Specifies the name of a file or files on which 70 you want to run the dependency analysis. 71 72 73 root_pathname 74 Specifies the path name of an alternate root 75 you want to use. 76 77 78 SUN_package 79 Specifies the name of a particular Sun software 80 package (or any third-party software package 81 that conforms with the Sun package format) on 82 which you want to run the dependency analysis. 83 You must use the -pkg option if you specify 84 this operand. 85 86 87 You can specify either a Sun software package or a file name, but not 88 both. 89 90 EXAMPLES 91 Example 1: To Get a Dependency Analysis of Two Particular Files 92 93 % get_depend_info -dbdir MyDir /usr/bin/ls /usr/bin/man 94 95 Example 2: To Get a Dependency Analysis of Files Using a Wild Card 96 97 % get_depend_info -dbdir MyDir /usr/sbin/* 98 99 Example 3: To Get a Dependency Analysis of a Package in Sun Format 100 101 % get_depend_info -dbdir MyDir -pkg NSCPcom 102 % get_depend_info -dbdir MyDir -pkg SUNWnisu 103 104 Example 4: To Display Help 105 106 % get_depend_info -h 107 108 ATTRIBUTES 109 See attributes(5) for descriptions of the following attributes: 110 111 112 +--------------------+-----------------+ 113 | ATTRIBUTE TYPE | ATTRIBUTE VALUE | 114 +--------------------+-----------------+ 115 |Availability | SUNWonbld | 116 |CSI | Enabled | 117 |Interface Stability | Evolving | 118 |MT-Level | Unsafe | 119 +--------------------+-----------------+ 120 121 SEE ALSO 122 make_pkg_db(1ONBLD), attributes(5) 123 124 125 126 November 2, 2000 GET_DEPEND_INFO(1ONBLD)