1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/openpkg/license.8 Tue Jul 31 12:23:42 2012 +0200 1.3 @@ -0,0 +1,210 @@ 1.4 +.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.22) 1.5 +.\" 1.6 +.\" Standard preamble: 1.7 +.\" ======================================================================== 1.8 +.de Sp \" Vertical space (when we can't use .PP) 1.9 +.if t .sp .5v 1.10 +.if n .sp 1.11 +.. 1.12 +.de Vb \" Begin verbatim text 1.13 +.ft CW 1.14 +.nf 1.15 +.ne \\$1 1.16 +.. 1.17 +.de Ve \" End verbatim text 1.18 +.ft R 1.19 +.fi 1.20 +.. 1.21 +.\" Set up some character translations and predefined strings. \*(-- will 1.22 +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left 1.23 +.\" double quote, and \*(R" will give a right double quote. \*(C+ will 1.24 +.\" give a nicer C++. Capital omega is used to do unbreakable dashes and 1.25 +.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, 1.26 +.\" nothing in troff, for use with C<>. 1.27 +.tr \(*W- 1.28 +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' 1.29 +.ie n \{\ 1.30 +. ds -- \(*W- 1.31 +. ds PI pi 1.32 +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch 1.33 +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch 1.34 +. ds L" "" 1.35 +. ds R" "" 1.36 +. ds C` 1.37 +. ds C' 1.38 +'br\} 1.39 +.el\{\ 1.40 +. ds -- \|\(em\| 1.41 +. ds PI \(*p 1.42 +. ds L" `` 1.43 +. ds R" '' 1.44 +'br\} 1.45 +.\" 1.46 +.\" Escape single quotes in literal strings from groff's Unicode transform. 1.47 +.ie \n(.g .ds Aq \(aq 1.48 +.el .ds Aq ' 1.49 +.\" 1.50 +.\" If the F register is turned on, we'll generate index entries on stderr for 1.51 +.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index 1.52 +.\" entries marked with X<> in POD. Of course, you'll have to process the 1.53 +.\" output yourself in some meaningful fashion. 1.54 +.ie \nF \{\ 1.55 +. de IX 1.56 +. tm Index:\\$1\t\\n%\t"\\$2" 1.57 +.. 1.58 +. nr % 0 1.59 +. rr F 1.60 +.\} 1.61 +.el \{\ 1.62 +. de IX 1.63 +.. 1.64 +.\} 1.65 +.\" 1.66 +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). 1.67 +.\" Fear. Run. Save yourself. No user-serviceable parts. 1.68 +. \" fudge factors for nroff and troff 1.69 +.if n \{\ 1.70 +. ds #H 0 1.71 +. ds #V .8m 1.72 +. ds #F .3m 1.73 +. ds #[ \f1 1.74 +. ds #] \fP 1.75 +.\} 1.76 +.if t \{\ 1.77 +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) 1.78 +. ds #V .6m 1.79 +. ds #F 0 1.80 +. ds #[ \& 1.81 +. ds #] \& 1.82 +.\} 1.83 +. \" simple accents for nroff and troff 1.84 +.if n \{\ 1.85 +. ds ' \& 1.86 +. ds ` \& 1.87 +. ds ^ \& 1.88 +. ds , \& 1.89 +. ds ~ ~ 1.90 +. ds / 1.91 +.\} 1.92 +.if t \{\ 1.93 +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" 1.94 +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' 1.95 +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' 1.96 +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' 1.97 +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' 1.98 +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' 1.99 +.\} 1.100 +. \" troff and (daisy-wheel) nroff accents 1.101 +.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' 1.102 +.ds 8 \h'\*(#H'\(*b\h'-\*(#H' 1.103 +.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] 1.104 +.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' 1.105 +.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' 1.106 +.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] 1.107 +.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] 1.108 +.ds ae a\h'-(\w'a'u*4/10)'e 1.109 +.ds Ae A\h'-(\w'A'u*4/10)'E 1.110 +. \" corrections for vroff 1.111 +.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' 1.112 +.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' 1.113 +. \" for low resolution devices (crt and lpr) 1.114 +.if \n(.H>23 .if \n(.V>19 \ 1.115 +\{\ 1.116 +. ds : e 1.117 +. ds 8 ss 1.118 +. ds o a 1.119 +. ds d- d\h'-1'\(ga 1.120 +. ds D- D\h'-1'\(hy 1.121 +. ds th \o'bp' 1.122 +. ds Th \o'LP' 1.123 +. ds ae ae 1.124 +. ds Ae AE 1.125 +.\} 1.126 +.rm #[ #] #H #V #F C 1.127 +.\" ======================================================================== 1.128 +.\" 1.129 +.IX Title "LICENSE 8" 1.130 +.TH LICENSE 8 "OpenPKG" "LICENSE(8)" "OpenPKG" 1.131 +.\" For nroff, turn off justification. Always turn off hyphenation; it makes 1.132 +.\" way too many mistakes in technical documents. 1.133 +.if n .ad l 1.134 +.nh 1.135 +.SH "NAME" 1.136 +openpkg license \- OpenPKG License Utility 1.137 +.SH "SYNOPSIS" 1.138 +.IX Header "SYNOPSIS" 1.139 +\&\fBopenpkg license\fR \fBhelp\fR 1.140 +.PP 1.141 +\&\fBopenpkg license\fR \fBinstall\fR \fIid\fR \fIfile\fR|\fIurl\fR|\f(CW\*(C`\-\*(C'\fR 1.142 +.PP 1.143 +\&\fBopenpkg license\fR \fBupdate\fR \fIid\fR \fIfile\fR|\fIurl\fR|\f(CW\*(C`\-\*(C'\fR 1.144 +.PP 1.145 +\&\fBopenpkg license\fR \fBuninstall\fR \fIid\fR 1.146 +.PP 1.147 +\&\fBopenpkg license\fR \fBactivate\fR \fIid\fR 1.148 +.PP 1.149 +\&\fBopenpkg license\fR \fBview\fR \fIid\fR 1.150 +.PP 1.151 +\&\fBopenpkg license\fR \fBlist\fR 1.152 +.PP 1.153 +\&\fBopenpkg license\fR \fBactive\fR 1.154 +.PP 1.155 +\&\fBopenpkg license\fR \fBsanity\fR 1.156 +.SH "DESCRIPTION" 1.157 +.IX Header "DESCRIPTION" 1.158 +The \fBopenpkg license\fR command is the maintenance utility for OpenPKG 1.159 +Framework licenses. 1.160 +.SH "COMMANDS" 1.161 +.IX Header "COMMANDS" 1.162 +.IP "\fBopenpkg license\fR \fBhelp\fR" 4 1.163 +.IX Item "openpkg license help" 1.164 +This command just displays a short usage help information. 1.165 +.ie n .IP "\fBopenpkg license\fR \fBinstall\fR \fIid\fR \fIfile\fR|\fIurl\fR|\*(C`\-\*(C'" 4 1.166 +.el .IP "\fBopenpkg license\fR \fBinstall\fR \fIid\fR \fIfile\fR|\fIurl\fR|\f(CW\*(C`\-\*(C'\fR" 4 1.167 +.IX Item "openpkg license install id file|url|-" 1.168 +This command installs the license contained in \fIfile\fR or at \fIurl\fR or 1.169 +provided on \fIstdin\fR under the identifier \fIid\fR. The \fIid\fR can be an 1.170 +arbitrary string, but the convention is that \fIid\fR is a short upper-case 1.171 +identifier. 1.172 +.ie n .IP "\fBopenpkg license\fR \fBupdate\fR \fIid\fR \fIfile\fR|\fIurl\fR|\*(C`\-\*(C'" 4 1.173 +.el .IP "\fBopenpkg license\fR \fBupdate\fR \fIid\fR \fIfile\fR|\fIurl\fR|\f(CW\*(C`\-\*(C'\fR" 4 1.174 +.IX Item "openpkg license update id file|url|-" 1.175 +This command updates an already installed license with the license 1.176 +contained in \fIfile\fR or at \fIurl\fR or provided on \fIstdin\fR under the 1.177 +identifier \fIid\fR. 1.178 +.IP "\fBopenpkg license\fR \fBuninstall\fR \fIid\fR" 4 1.179 +.IX Item "openpkg license uninstall id" 1.180 +This command uninstalls the license which is installed under \fIid\fR. 1.181 +A license can be uninstalled only if it is not currently activated (see 1.182 +\&\fBopenpkg license activate\fR command). 1.183 +.IP "\fBopenpkg license\fR \fBactivate\fR \fIid\fR" 4 1.184 +.IX Item "openpkg license activate id" 1.185 +This command activates the license which is installed under \fIid\fR. 1.186 +Only one installed license can be active at any time, so this command 1.187 +implicitly deactivates the currently activate license. 1.188 +.IP "\fBopenpkg license\fR \fBview\fR \fIid\fR" 4 1.189 +.IX Item "openpkg license view id" 1.190 +This command shows the license which is installed under \fIid\fR. 1.191 +.IP "\fBopenpkg license\fR \fBlist\fR" 4 1.192 +.IX Item "openpkg license list" 1.193 +This command lists the identifiers of all installed licenses. 1.194 +.IP "\fBopenpkg license\fR \fBactive\fR" 4 1.195 +.IX Item "openpkg license active" 1.196 +This command outputs the identifier of the currently activated license. 1.197 +.IP "\fBopenpkg license\fR \fBsanity\fR" 4 1.198 +.IX Item "openpkg license sanity" 1.199 +This command sanity checks the current license configuration. 1.200 +.SH "FILES" 1.201 +.IX Header "FILES" 1.202 +.ie n .IP "\fI\fI@l_prefix\fI@/etc/license\fR" 4 1.203 +.el .IP "\fI\f(CI@l_prefix\fI@/etc/license\fR" 4 1.204 +.IX Item "@l_prefix@/etc/license" 1.205 +The name of the currently activated license file under 1.206 +\&\fI\f(CI@l_prefix\fI@/etc/license.d/\fR. 1.207 +.ie n .IP "\fI\fI@l_prefix\fI@/etc/license.d/*\fR" 4 1.208 +.el .IP "\fI\f(CI@l_prefix\fI@/etc/license.d/*\fR" 4 1.209 +.IX Item "@l_prefix@/etc/license.d/*" 1.210 +The directory containing all installed license files. 1.211 +.SH "HISTORY" 1.212 +.IX Header "HISTORY" 1.213 +The \fBopenpkg license\fR command first appeared in \fBOpenPKG 4.0\fR.