23 .ft R |
15 .ft R |
24 .fi |
16 .fi |
25 .. |
17 .. |
26 .\" Set up some character translations and predefined strings. \*(-- will |
18 .\" Set up some character translations and predefined strings. \*(-- will |
27 .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left |
19 .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left |
28 .\" double quote, and \*(R" will give a right double quote. | will give a |
20 .\" double quote, and \*(R" will give a right double quote. \*(C+ will |
29 .\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to |
21 .\" give a nicer C++. Capital omega is used to do unbreakable dashes and |
30 .\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C' |
22 .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, |
31 .\" expand to `' in nroff, nothing in troff, for use with C<>. |
23 .\" nothing in troff, for use with C<>. |
32 .tr \(*W-|\(bv\*(Tr |
24 .tr \(*W- |
33 .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' |
25 .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' |
34 .ie n \{\ |
26 .ie n \{\ |
35 . ds -- \(*W- |
27 . ds -- \(*W- |
36 . ds PI pi |
28 . ds PI pi |
37 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch |
29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch |
46 . ds PI \(*p |
38 . ds PI \(*p |
47 . ds L" `` |
39 . ds L" `` |
48 . ds R" '' |
40 . ds R" '' |
49 'br\} |
41 'br\} |
50 .\" |
42 .\" |
|
43 .\" Escape single quotes in literal strings from groff's Unicode transform. |
|
44 .ie \n(.g .ds Aq \(aq |
|
45 .el .ds Aq ' |
|
46 .\" |
51 .\" If the F register is turned on, we'll generate index entries on stderr for |
47 .\" If the F register is turned on, we'll generate index entries on stderr for |
52 .\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index |
48 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index |
53 .\" entries marked with X<> in POD. Of course, you'll have to process the |
49 .\" entries marked with X<> in POD. Of course, you'll have to process the |
54 .\" output yourself in some meaningful fashion. |
50 .\" output yourself in some meaningful fashion. |
55 .if \nF \{\ |
51 .ie \nF \{\ |
56 . de IX |
52 . de IX |
57 . tm Index:\\$1\t\\n%\t"\\$2" |
53 . tm Index:\\$1\t\\n%\t"\\$2" |
58 .. |
54 .. |
59 . nr % 0 |
55 . nr % 0 |
60 . rr F |
56 . rr F |
61 .\} |
57 .\} |
62 .\" |
58 .el \{\ |
63 .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
59 . de IX |
64 .\" way too many mistakes in technical documents. |
60 .. |
65 .hy 0 |
61 .\} |
66 .if n .na |
|
67 .\" |
62 .\" |
68 .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). |
63 .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). |
69 .\" Fear. Run. Save yourself. No user-serviceable parts. |
64 .\" Fear. Run. Save yourself. No user-serviceable parts. |
70 . \" fudge factors for nroff and troff |
65 . \" fudge factors for nroff and troff |
71 .if n \{\ |
66 .if n \{\ |
128 .rm #[ #] #H #V #F C |
123 .rm #[ #] #H #V #F C |
129 .\" ======================================================================== |
124 .\" ======================================================================== |
130 .\" |
125 .\" |
131 .IX Title "RELEASE 8" |
126 .IX Title "RELEASE 8" |
132 .TH RELEASE 8 "OpenPKG" "RELEASE(8)" "OpenPKG" |
127 .TH RELEASE 8 "OpenPKG" "RELEASE(8)" "OpenPKG" |
|
128 .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
|
129 .\" way too many mistakes in technical documents. |
|
130 .if n .ad l |
|
131 .nh |
133 .SH "NAME" |
132 .SH "NAME" |
134 \&\fBopenpkg release\fR \- OpenPKG Release Utility |
133 openpkg release \- OpenPKG Release Utility |
135 .SH "SYNOPSIS" |
134 .SH "SYNOPSIS" |
136 .IX Header "SYNOPSIS" |
135 .IX Header "SYNOPSIS" |
137 \&\fBopenpkg release\fR [\fB\-F\fR|\fB\-\-fmt\fR \fIformat\fR] |
136 \&\fBopenpkg release\fR [\fB\-F\fR|\fB\-\-fmt\fR \fIformat\fR] |
138 .SH "DESCRIPTION" |
137 .SH "DESCRIPTION" |
139 .IX Header "DESCRIPTION" |
138 .IX Header "DESCRIPTION" |
146 .IP "\fB\-F\fR, \fB\-\-fmt\fR \fIformat\fR" 4 |
145 .IP "\fB\-F\fR, \fB\-\-fmt\fR \fIformat\fR" 4 |
147 .IX Item "-F, --fmt format" |
146 .IX Item "-F, --fmt format" |
148 The output format specification. The argument \fIformat\fR is an arbitrary |
147 The output format specification. The argument \fIformat\fR is an arbitrary |
149 string which can contain the special expansion constructs "\f(CW%t\fR\*(L" for |
148 string which can contain the special expansion constructs "\f(CW%t\fR\*(L" for |
150 expanding the release tag, \*(R"\f(CW%u\fR\*(L" for expanding the distribution \s-1URL\s0 |
149 expanding the release tag, \*(R"\f(CW%u\fR\*(L" for expanding the distribution \s-1URL\s0 |
151 and \*(R"\f(CW\*(C`\en\*(C'\fR" for expanding an embedded newline character. |
150 and \*(R"\f(CW\*(C`\en\*(C'\fR" for expanding an embedded newline character. |
152 The instance \s-1UUID\s0 information is also availble by expanding |
151 The instance \s-1UUID\s0 information is also availble by expanding |
153 \&\f(CW%r\fR to \s-1UUID_REGISTRY\s0, \f(CW%i\fR to \s-1UUID_INSTANCE\s0, \f(CW%p\fR to \s-1UUID_PLATFORM\s0. |
152 \&\f(CW%r\fR to \s-1UUID_REGISTRY\s0, \f(CW%i\fR to \s-1UUID_INSTANCE\s0, \f(CW%p\fR to \s-1UUID_PLATFORM\s0. |
154 The default \fIformat\fR is "\f(CW\*(C`OpenPKG\-%t %u\*(C'\fR". |
153 The default \fIformat\fR is "\f(CW\*(C`OpenPKG\-%t %u\*(C'\fR". |
155 .IP "\fB\-r\fR, \fB\-\-release\fR \fIrelease\fR" 4 |
154 .IP "\fB\-r\fR, \fB\-\-release\fR \fIrelease\fR" 4 |
156 .IX Item "-r, --release release" |
155 .IX Item "-r, --release release" |
157 The package "\f(CW\*(C`Release\*(C'\fR" header value to use for deriving the release |
156 The package "\f(CW\*(C`Release\*(C'\fR" header value to use for deriving the release |
158 tag. The values in the \fI@l_prefix@/etc/openpkg/release\fR file and the |
157 tag. The values in the \fI\f(CI@l_prefix\fI@/etc/openpkg/release\fR file and the |
159 "\f(CW\*(C`Release\*(C'\fR" header of the bootstrap package \fBopenpkg\fR are ignored if |
158 "\f(CW\*(C`Release\*(C'\fR" header of the bootstrap package \fBopenpkg\fR are ignored if |
160 this option is used. |
159 this option is used. |
161 .SH "FILES" |
160 .SH "FILES" |
162 .IX Header "FILES" |
161 .IX Header "FILES" |
163 .IP "\fI@l_prefix@/etc/openpkg/release\fR" 4 |
162 .ie n .IP "\fI\fI@l_prefix\fI@/etc/openpkg/release\fR" 4 |
|
163 .el .IP "\fI\f(CI@l_prefix\fI@/etc/openpkg/release\fR" 4 |
164 .IX Item "@l_prefix@/etc/openpkg/release" |
164 .IX Item "@l_prefix@/etc/openpkg/release" |
165 This optional configuration file can be used to explicitly set values |
165 This optional configuration file can be used to explicitly set values |
166 for the OpenPKG release tag and distribution URLs. It consists of lines |
166 for the OpenPKG release tag and distribution URLs. It consists of lines |
167 with variable name/value pairs. The following configuration variables |
167 with variable name/value pairs. The following configuration variables |
168 are recognized: |
168 are recognized: |
176 .IP "\fBURL=\fR\fIurl\fR" 4 |
176 .IP "\fBURL=\fR\fIurl\fR" 4 |
177 .IX Item "URL=url" |
177 .IX Item "URL=url" |
178 The fully-qualified distribution \s-1URL\s0 based on either the "\f(CW\*(C`ftp\*(C'\fR\*(L", |
178 The fully-qualified distribution \s-1URL\s0 based on either the "\f(CW\*(C`ftp\*(C'\fR\*(L", |
179 \&\*(R"\f(CW\*(C`http\*(C'\fR\*(L" or \*(R"\f(CW\*(C`file\*(C'\fR" \s-1URL\s0 schemes. If \fIurl\fR contains a trailing |
179 \&\*(R"\f(CW\*(C`http\*(C'\fR\*(L" or \*(R"\f(CW\*(C`file\*(C'\fR" \s-1URL\s0 schemes. If \fIurl\fR contains a trailing |
180 "\f(CW\*(C`/*\*(C'\fR", this is expanded according to the \fItag\fR value of the \fB\s-1TAG\s0\fR |
180 "\f(CW\*(C`/*\*(C'\fR", this is expanded according to the \fItag\fR value of the \fB\s-1TAG\s0\fR |
181 variable and the corresponding filesystem layout on \f(CW\*(C`ftp.openpkg.org\*(C'\fR. |
181 variable and the corresponding filesystem layout on \f(CW\*(C`download.openpkg.org\*(C'\fR. |
182 The default \fIurl\fR is "\f(CW\*(C`ftp://ftp.openpkg.org/*\*(C'\fR". |
182 The default \fIurl\fR is "\f(CW\*(C`http://download.openpkg.org/stacks/*\*(C'\fR". |
|
183 .RE |
183 .RS 4 |
184 .RS 4 |
184 .RE |
185 .RE |
185 .RS 4 |
|
186 .SH "EXAMPLE" |
186 .SH "EXAMPLE" |
187 .IX Header "EXAMPLE" |
187 .IX Header "EXAMPLE" |
188 .Vb 2 |
188 .Vb 2 |
189 \& $ openpkg release |
189 \& $ openpkg release |
190 \& OpenPKG-CURRENT ftp://ftp.openpkg.org/current/SRC/ |
190 \& OpenPKG\-CURRENT http://download.openpkg.org/stacks/current/ |
191 .Ve |
191 \& |
192 .Sp |
192 \& $ openpkg release \-\-fmt=%t |
193 .Vb 2 |
|
194 \& $ openpkg release --fmt=%t |
|
195 \& CURRENT |
193 \& CURRENT |
196 .Ve |
194 \& |
197 .Sp |
195 \& $ openpkg release \-\-fmt=%u |
198 .Vb 2 |
196 \& http://download.openpkg.org/stacks/current/ |
199 \& $ openpkg release --fmt=%u |
197 \& |
200 \& ftp://ftp.openpkg.org/current/SRC/ |
198 \& $ openpkg release \-\-fmt="OpenPKG %t is located at:\e\en%u" |
201 .Ve |
|
202 .Sp |
|
203 .Vb 3 |
|
204 \& $ openpkg release --fmt="OpenPKG %t is located at:\e\en%u" |
|
205 \& OpenPKG CURRENT is located at: |
199 \& OpenPKG CURRENT is located at: |
206 \& ftp://ftp.openpkg.org/current/SRC/ |
200 \& http://download.openpkg.org/stacks/current/ |
207 .Ve |
201 \& |
208 .Sp |
202 \& $ openpkg release \-\-release=2.5.4 \-\-fmt=%t |
209 .Vb 2 |
203 \& 2.5\-RELEASE |
210 \& $ openpkg release --release=2.5.4 --fmt=%t |
204 \& |
211 \& 2.5-RELEASE |
|
212 .Ve |
|
213 .Sp |
|
214 .Vb 3 |
|
215 \& $ cat /openpkg/etc/openpkg/release |
205 \& $ cat /openpkg/etc/openpkg/release |
216 \& TAG=2-STABLE-20060622 |
206 \& TAG=CURRENT |
217 \& URL=ftp://ftp.example.com/mirror/openpkg.org/* |
207 \& URL=http://download.example.com/stack/current/ |
218 .Ve |
208 .Ve |
219 .SH "SEE ALSO" |
209 .SH "SEE ALSO" |
220 .IX Header "SEE ALSO" |
210 .IX Header "SEE ALSO" |
221 \&\fIuuid\fR\|(8) |
211 \&\fIuuid\fR\|(8) |
222 .SH "HISTORY" |
212 .SH "HISTORY" |