OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 25-Aug-2006 10:58:50
Branch: HEAD Handle: 2006082509584900
Modified files:
openpkg-src/openpkg dot.bash_login lsync.8 openpkg.1 rc.8 rc.pod
release.8 rpm-config.8 rpmtool.8 uuid.8
Log:
more <prefix>/etc/rc to <prefix>/bin/openpkg rc changes (except for
rc.conf because I don't want to produce .rpmsave files at this time)
Summary:
Revision Changes Path
1.6 +1 -1 openpkg-src/openpkg/dot.bash_login
1.8 +1 -1 openpkg-src/openpkg/lsync.8
1.4 +1 -1 openpkg-src/openpkg/openpkg.1
1.8 +39 -39 openpkg-src/openpkg/rc.8
1.10 +26 -26 openpkg-src/openpkg/rc.pod
1.2 +1 -1 openpkg-src/openpkg/release.8
1.5 +1 -1 openpkg-src/openpkg/rpm-config.8
1.11 +1 -1 openpkg-src/openpkg/rpmtool.8
1.3 +1 -1 openpkg-src/openpkg/uuid.8
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/dot.bash_login
============================================================================
$ cvs diff -u -r1.5 -r1.6 dot.bash_login
--- openpkg-src/openpkg/dot.bash_login 5 Feb 2004 14:33:35 -0000
1.5
+++ openpkg-src/openpkg/dot.bash_login 25 Aug 2006 08:58:49 -0000
1.6
@@ -20,7 +20,7 @@
# activate the bootstrapping Bourne-Shell
# environment of the OpenPKG hierarchy
-eval [EMAIL PROTECTED]@/etc/rc --eval openpkg env`
+eval [EMAIL PROTECTED]@/bin/openpkg rc --eval openpkg env`
# make sure some non-standard but usually
# important executable directories are active
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/lsync.8
============================================================================
$ cvs diff -u -r1.7 -r1.8 lsync.8
--- openpkg-src/openpkg/lsync.8 21 Jun 2006 15:22:49 -0000 1.7
+++ openpkg-src/openpkg/lsync.8 25 Aug 2006 08:58:49 -0000 1.8
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.3
+.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
.\"
.\" Standard preamble:
.\" ========================================================================
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/openpkg.1
============================================================================
$ cvs diff -u -r1.3 -r1.4 openpkg.1
--- openpkg-src/openpkg/openpkg.1 21 Jun 2006 15:22:49 -0000 1.3
+++ openpkg-src/openpkg/openpkg.1 25 Aug 2006 08:58:49 -0000 1.4
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.3
+.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
.\"
.\" Standard preamble:
.\" ========================================================================
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/rc.8
============================================================================
$ cvs diff -u -r1.7 -r1.8 rc.8
--- openpkg-src/openpkg/rc.8 21 Jun 2006 15:22:49 -0000 1.7
+++ openpkg-src/openpkg/rc.8 25 Aug 2006 08:58:49 -0000 1.8
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.3
+.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
.\"
.\" Standard preamble:
.\" ========================================================================
@@ -131,23 +131,23 @@
.IX Title "RC 8"
.TH RC 8 "OpenPKG" "RC(8)" "OpenPKG"
.SH "NAME"
-\&[EMAIL PROTECTED]@/etc/rc\fR \- OpenPKG Run\-Command Processor
+\&[EMAIL PROTECTED]@/bin/openpkg rc\fR \- OpenPKG Run\-Command Processor
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
-\&[EMAIL PROTECTED]@/etc/rc\fR [\fB\-s\fR|\fB\-\-silent\fR]
[\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-d\fR|\fB\-\-debug\fR]
[\fB\-k\fR|\fB\-\-keep\fR] \fIpackage\fR \fIcommand\fR [\fIcommand\fR ...]
+\&[EMAIL PROTECTED]@/bin/openpkg rc\fR [\fB\-s\fR|\fB\-\-silent\fR]
[\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-d\fR|\fB\-\-debug\fR]
[\fB\-k\fR|\fB\-\-keep\fR] \fIpackage\fR \fIcommand\fR [\fIcommand\fR ...]
.PP
-\&[EMAIL PROTECTED]@/etc/rc\fR \fB\-p\fR|\fB\-\-print\fR \fIpackage\fR
\fIcommand\fR [\fIcommand\fR ...]
+\&[EMAIL PROTECTED]@/bin/openpkg rc\fR \fB\-p\fR|\fB\-\-print\fR
\fIpackage\fR \fIcommand\fR [\fIcommand\fR ...]
.PP
-eval [EMAIL PROTECTED]@/etc/rc\fR \fB\-e\fR|\fB\-\-eval\fR \fIpackage\fR
\fIcommand\fR [\fIcommand\fR ...]`
+eval [EMAIL PROTECTED]@/bin/openpkg rc\fR \fB\-e\fR|\fB\-\-eval\fR
\fIpackage\fR \fIcommand\fR [\fIcommand\fR ...]`
.PP
-\&[EMAIL PROTECTED]@/etc/rc\fR \fB\-q\fR|\fB\-\-query\fR \fIvariable\fR
[\fIvariable\fR ...]
+\&[EMAIL PROTECTED]@/bin/openpkg rc\fR \fB\-q\fR|\fB\-\-query\fR
\fIvariable\fR [\fIvariable\fR ...]
.PP
-\&[EMAIL PROTECTED]@/etc/rc\fR \fB\-c\fR|\fB\-\-config\fR
+\&[EMAIL PROTECTED]@/bin/openpkg rc\fR \fB\-c\fR|\fB\-\-config\fR
.PP
-\&[EMAIL PROTECTED]@/etc/rc\fR \fB\-h\fR|\fB\-\-help\fR
+\&[EMAIL PROTECTED]@/bin/openpkg rc\fR \fB\-h\fR|\fB\-\-help\fR
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
-The [EMAIL PROTECTED]@/etc/rc\fR program is the run-command (rc) processor
+The [EMAIL PROTECTED]@/bin/openpkg rc\fR program is the run-command (rc)
processor
of the \fBOpenPKG\fR instance \f(CW\*([EMAIL PROTECTED]@\*(C'\fR. It allows
querying the rc
configuration variables and the execution of rc command scripts of one
or more installed \fBOpenPKG\fR packages. The implemented run-command
@@ -157,8 +157,8 @@
procedures with periodical procedures into a single approach.
.SH "USAGE"
.IX Header "USAGE"
-.IP "[EMAIL PROTECTED]@/etc/rc\fR [\fB\-s\fR|\fB\-\-silent\fR]
[\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-d\fR|\fB\-\-debug\fR]
[\fB\-k\fR|\fB\-\-keep\fR] \fIpackage\fR \fIcommand\fR [\fIcommand\fR ...]" 4
-.IX Item "@l_prefix@/etc/rc [-s|--silent] [-v|--verbose] [-d|--debug]
[-k|--keep] package command [command ...]"
+.IP "[EMAIL PROTECTED]@/bin/openpkg rc\fR [\fB\-s\fR|\fB\-\-silent\fR]
[\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-d\fR|\fB\-\-debug\fR]
[\fB\-k\fR|\fB\-\-keep\fR] \fIpackage\fR \fIcommand\fR [\fIcommand\fR ...]" 4
+.IX Item "@l_prefix@/bin/openpkg rc [-s|--silent] [-v|--verbose]
[-d|--debug] [-k|--keep] package command [command ...]"
\&\fBRun-Command Execution.\fR This executes one or more specified
\&\fIcommand\fRs in a particular \fIpackage\fR or in all installed packages
if
\&\fIpackage\fR is "\f(CW\*(C`all\*(C'\fR". Option \fB\-\-silent\fR can be
used to explicitly
@@ -168,15 +168,15 @@
or not depending on whether \f(CW\*(C`stderr\*(C'\fR is connected to a
terminal device.
Option \fB\-\-keep\fR can be used for debugging purposes to keep the
temporary files were generated during internal processing.
-.IP "[EMAIL PROTECTED]@/etc/rc\fR \fB\-p\fR|\fB\-\-print\fR \fIpackage\fR
\fIcommand\fR [\fIcommand\fR ...]" 4
-.IX Item "@l_prefix@/etc/rc -p|--print package command [command ...]"
+.IP "[EMAIL PROTECTED]@/bin/openpkg rc\fR \fB\-p\fR|\fB\-\-print\fR
\fIpackage\fR \fIcommand\fR [\fIcommand\fR ...]" 4
+.IX Item "@l_prefix@/bin/openpkg rc -p|--print package command [command ...]"
\&\fBRun-Command Printing.\fR This is like the run-command execution (see
above), but instead of immediately executing all involved individual
run-command scripts, they are concatenated (but with all configuration
parts reduced to a single configuration part) and printed to
\f(CW\*(C`stdout\*(C'\fR.
Use this for debugging or post-processing purposes.
-.IP "eval [EMAIL PROTECTED]@/etc/rc\fR \fB\-e\fR|\fB\-\-eval\fR
\fIpackage\fR \fIcommand\fR [\fIcommand\fR ...]`" 4
-.IX Item "eval [EMAIL PROTECTED]@/etc/rc -e|--eval package command [command
...]`"
+.IP "eval [EMAIL PROTECTED]@/bin/openpkg rc\fR \fB\-e\fR|\fB\-\-eval\fR
\fIpackage\fR \fIcommand\fR [\fIcommand\fR ...]`" 4
+.IX Item "eval [EMAIL PROTECTED]@/bin/openpkg rc -e|--eval package command
[command ...]`"
\&\fBRun-Command Evaluation.\fR This is like the run-command execution
(see above), but the resulting exported shell environment variables
are output to a temporary file as a (Bourne\-Shell or C\-Shell syntax)
@@ -187,31 +187,31 @@
\&\f(CW\*(C`stdout\*(C'\fR, because not all shell implementations like to
"\fBeval\fR\*(L"
large multi-line scripts. Hence, use this for executing the
\*(R"\f(CW\*(C`env\*(C'\fR"
run-commands within the current shell.
-.IP "[EMAIL PROTECTED]@/etc/rc\fR \fB\-q\fR|\fB\-\-query\fR \fIvariable\fR
[\fIvariable\fR ...]" 4
-.IX Item "@l_prefix@/etc/rc -q|--query variable [variable ...]"
+.IP "[EMAIL PROTECTED]@/bin/openpkg rc\fR \fB\-q\fR|\fB\-\-query\fR
\fIvariable\fR [\fIvariable\fR ...]" 4
+.IX Item "@l_prefix@/bin/openpkg rc -q|--query variable [variable ...]"
\&\fBConfiguration Variable Querying.\fR This queries the effective values
(see \fBRUN-COMMAND \s-1CONFIGURATION\s0\fR section below) of one or more
run-command configuration \fIvariable\fRs. Use this within a shell script
to selectively query a particular variable.
-.IP "[EMAIL PROTECTED]@/etc/rc\fR \fB\-c\fR|\fB\-\-config\fR" 4
-.IX Item "@l_prefix@/etc/rc -c|--config"
+.IP "[EMAIL PROTECTED]@/bin/openpkg rc\fR \fB\-c\fR|\fB\-\-config\fR" 4
+.IX Item "@l_prefix@/bin/openpkg rc -c|--config"
\&\fBConfiguration Variable Summary.\fR This displays on
\f(CW\*(C`stdout\*(C'\fR a
three-column table showing the name, default and effective values of
all run-command configuration variables. If \f(CW\*(C`stdout\*(C'\fR is
connected to
terminal device, variables where the default and effective values differ
are shown in bold mode.
-.IP "[EMAIL PROTECTED]@/etc/rc\fR \fB\-h\fR|\fB\-\-help\fR" 4
-.IX Item "@l_prefix@/etc/rc -h|--help"
+.IP "[EMAIL PROTECTED]@/bin/openpkg rc\fR \fB\-h\fR|\fB\-\-help\fR" 4
+.IX Item "@l_prefix@/bin/openpkg rc -h|--help"
\&\fBRequesting Help.\fR This just displays a short summary of
the usage for this program.
.SH "FILES"
.IX Header "FILES"
-.ie n .Sh "RUN-COMMAND \s-1FILES\s0 (\*([EMAIL
PROTECTED]@/etc/rc.d/rc.*\*(C')"
-.el .Sh "RUN-COMMAND \s-1FILES\s0 (\f(CW\*([EMAIL
PROTECTED]@/etc/rc.d/rc.*\*(C'\fP)"
-.IX Subsection "RUN-COMMAND FILES (@l_prefix@/etc/rc.d/rc.*)"
+.ie n .Sh "RUN-COMMAND \s-1FILES\s0 (\*([EMAIL PROTECTED]@/bin/openpkg
rc.d/rc.*\*(C')"
+.el .Sh "RUN-COMMAND \s-1FILES\s0 (\f(CW\*([EMAIL PROTECTED]@/bin/openpkg
rc.d/rc.*\*(C'\fP)"
+.IX Subsection "RUN-COMMAND FILES (@l_prefix@/bin/openpkg rc.d/rc.*)"
The foundation of the \fBOpenPKG\fR run-command facility are the individual
run-command files \f(CW\*(C`rc.*\*(C'\fR of the installed packages. They are
all
-located in the directory \f(CW\*([EMAIL PROTECTED]@/etc/rc.d/\*(C'\fR and
are named
+located in the directory \f(CW\*([EMAIL PROTECTED]@/bin/openpkg
rc.d/\*(C'\fR and are named
"\f(CW\*(C`rc.\*(C'\fR\fIpackage\fR\*(L". They consist of one or more
sections, each starting
with a section header \*(R"\f(CW\*(C`%\*(C'\fR\fIname\fR [\fIoptions\fR]"
and following a \s-1GNU\s0
Bash compatible shell script. There are three classes of sections:
@@ -340,18 +340,18 @@
package. Some often seen sections are \f(CW%reload\fR (just reload the
configuration without full stop and start procedure), \f(CW%info\fR (output
arbitrary information about package), etc.
-.ie n .Sh "RUN-COMMAND \s-1CONFIGURATION\s0 (\*([EMAIL
PROTECTED]@/etc/rc.conf\*(C')"
-.el .Sh "RUN-COMMAND \s-1CONFIGURATION\s0 (\f(CW\*([EMAIL
PROTECTED]@/etc/rc.conf\*(C'\fP)"
-.IX Subsection "RUN-COMMAND CONFIGURATION (@l_prefix@/etc/rc.conf)"
+.ie n .Sh "RUN-COMMAND \s-1CONFIGURATION\s0 (\*([EMAIL
PROTECTED]@/bin/openpkg rc.conf\*(C')"
+.el .Sh "RUN-COMMAND \s-1CONFIGURATION\s0 (\f(CW\*([EMAIL
PROTECTED]@/bin/openpkg rc.conf\*(C'\fP)"
+.IX Subsection "RUN-COMMAND CONFIGURATION (@l_prefix@/bin/openpkg rc.conf)"
The run-command configuration variables defined in the "\f(CW%config\fR"
sections of all installed packages can be overridden by the
-administrator in the global file \f(CW\*([EMAIL
PROTECTED]@/etc/rc.conf\*(C'\fR. This file is
+administrator in the global file \f(CW\*([EMAIL PROTECTED]@/bin/openpkg
rc.conf\*(C'\fR. This file is
usually empty, but can be filled with Bourne-Shell compatible variable
assignment statements like
"\fIpackage\fR\f(CW\*(C`_\*(C'\fR\fIvariable\fR=\fIvalue\fR".
-.ie n .Sh "RUN-COMMAND \s-1FUNCTIONS\s0 (\*([EMAIL
PROTECTED]@/etc/rc.func\*(C')"
-.el .Sh "RUN-COMMAND \s-1FUNCTIONS\s0 (\f(CW\*([EMAIL
PROTECTED]@/etc/rc.func\*(C'\fP)"
-.IX Subsection "RUN-COMMAND FUNCTIONS (@l_prefix@/etc/rc.func)"
-The file \f(CW\*([EMAIL PROTECTED]@/etc/rc.func\*(C'\fR is prepended to the
scripts of all
+.ie n .Sh "RUN-COMMAND \s-1FUNCTIONS\s0 (\*([EMAIL PROTECTED]@/bin/openpkg
rc.func\*(C')"
+.el .Sh "RUN-COMMAND \s-1FUNCTIONS\s0 (\f(CW\*([EMAIL
PROTECTED]@/bin/openpkg rc.func\*(C'\fP)"
+.IX Subsection "RUN-COMMAND FUNCTIONS (@l_prefix@/bin/openpkg rc.func)"
+The file \f(CW\*([EMAIL PROTECTED]@/bin/openpkg rc.func\*(C'\fR is prepended
to the scripts of all
executed run-command sections and provides reusable functions.
Currently the following functions are defined:
.IP "\fBrcMsg\fR [\fB\-e\fR] [\fB\-w\fR] \fImessage\fR" 4
@@ -394,7 +394,7 @@
0 if value is one of these positive ones, else returns 1.
.SH "EXAMPLES"
.IX Header "EXAMPLES"
-First, an example run-command script \f(CW\*([EMAIL
PROTECTED]@/etc/rc.d/rc.foo\*(C'\fR for a
+First, an example run-command script \f(CW\*([EMAIL PROTECTED]@/bin/openpkg
rc.d/rc.foo\*(C'\fR for a
fictional daemon package "\f(CW\*(C`foo\*(C'\fR":
.PP
.Vb 8
@@ -485,34 +485,34 @@
default values and their effective values of package "\f(CW\*(C`foo\*(C'\fR":
.PP
.Vb 1
-\& $ @l_prefix@/etc/rc --config | grep "^foo_"
+\& $ @l_prefix@/bin/openpkg rc --config | grep "^foo_"
.Ve
.PP
Override the default value of a run-command configuration
variable \f(CW\*(C`foo_listen\*(C'\fR:
.PP
.Vb 1
-\& $ echo 'foo_listen="192.168.0.1"' >>@l_prefix@/etc/rc.conf
+\& $ echo 'foo_listen="192.168.0.1"' >>@l_prefix@/bin/openpkg rc.conf
.Ve
.PP
Stop and start from scratch the package "\f(CW\*(C`foo\*(C'\fR":
.PP
.Vb 1
-\& $ @l_prefix@/etc/rc foo stop start
+\& $ @l_prefix@/bin/openpkg rc foo stop start
.Ve
.PP
Query the effective value of run-command configuration
variable \f(CW\*(C`foo_enable\*(C'\fR in a script:
.PP
.Vb 1
-\& if [ "[EMAIL PROTECTED]@/etc/rc -q foo_enable`" = .yes ]; then ...
+\& if [ "[EMAIL PROTECTED]@/bin/openpkg rc -q foo_enable`" = .yes ]; then ...
.Ve
.PP
Import all environment settings from all (including "\f(CW\*(C`foo\*(C'\fR")
installed
packages into the current Bourne-Shell environment:
.PP
.Vb 2
-\& $ eval [EMAIL PROTECTED]@/etc/rc --eval all env`
+\& $ eval [EMAIL PROTECTED]@/bin/openpkg rc --eval all env`
\& $ echo $FOO_HOME
.Ve
.SH "SEE ALSO"
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/rc.pod
============================================================================
$ cvs diff -u -r1.9 -r1.10 rc.pod
--- openpkg-src/openpkg/rc.pod 1 Jan 2006 13:17:51 -0000 1.9
+++ openpkg-src/openpkg/rc.pod 25 Aug 2006 08:58:49 -0000 1.10
@@ -26,25 +26,25 @@
=head1 NAME
-B<@l_prefix@/etc/rc> - OpenPKG Run-Command Processor
+B<@l_prefix@/bin/openpkg rc> - OpenPKG Run-Command Processor
=head1 SYNOPSIS
-B<@l_prefix@/etc/rc> [B<-s>|B<--silent>] [B<-v>|B<--verbose>]
[B<-d>|B<--debug>] [B<-k>|B<--keep>] I<package> I<command> [I<command> ...]
+B<@l_prefix@/bin/openpkg rc> [B<-s>|B<--silent>] [B<-v>|B<--verbose>]
[B<-d>|B<--debug>] [B<-k>|B<--keep>] I<package> I<command> [I<command> ...]
-B<@l_prefix@/etc/rc> B<-p>|B<--print> I<package> I<command> [I<command> ...]
+B<@l_prefix@/bin/openpkg rc> B<-p>|B<--print> I<package> I<command>
[I<command> ...]
-eval `B<@l_prefix@/etc/rc> B<-e>|B<--eval> I<package> I<command> [I<command>
...]`
+eval `B<@l_prefix@/bin/openpkg rc> B<-e>|B<--eval> I<package> I<command>
[I<command> ...]`
-B<@l_prefix@/etc/rc> B<-q>|B<--query> I<variable> [I<variable> ...]
+B<@l_prefix@/bin/openpkg rc> B<-q>|B<--query> I<variable> [I<variable> ...]
-B<@l_prefix@/etc/rc> B<-c>|B<--config>
+B<@l_prefix@/bin/openpkg rc> B<-c>|B<--config>
-B<@l_prefix@/etc/rc> B<-h>|B<--help>
+B<@l_prefix@/bin/openpkg rc> B<-h>|B<--help>
=head1 DESCRIPTION
-The B<@l_prefix@/etc/rc> program is the run-command (rc) processor
+The B<@l_prefix@/bin/openpkg rc> program is the run-command (rc) processor
of the B<OpenPKG> instance C<@l_prefix@>. It allows querying the rc
configuration variables and the execution of rc command scripts of one
or more installed B<OpenPKG> packages. The implemented run-command
@@ -57,7 +57,7 @@
=over 4
-=item B<@l_prefix@/etc/rc> [B<-s>|B<--silent>] [B<-v>|B<--verbose>]
[B<-d>|B<--debug>] [B<-k>|B<--keep>] I<package> I<command> [I<command> ...]
+=item B<@l_prefix@/bin/openpkg rc> [B<-s>|B<--silent>] [B<-v>|B<--verbose>]
[B<-d>|B<--debug>] [B<-k>|B<--keep>] I<package> I<command> [I<command> ...]
B<Run-Command Execution.> This executes one or more specified
I<command>s in a particular I<package> or in all installed packages if
@@ -69,7 +69,7 @@
Option B<--keep> can be used for debugging purposes to keep the
temporary files were generated during internal processing.
-=item B<@l_prefix@/etc/rc> B<-p>|B<--print> I<package> I<command>
[I<command> ...]
+=item B<@l_prefix@/bin/openpkg rc> B<-p>|B<--print> I<package> I<command>
[I<command> ...]
B<Run-Command Printing.> This is like the run-command execution (see
above), but instead of immediately executing all involved individual
@@ -77,7 +77,7 @@
parts reduced to a single configuration part) and printed to C<stdout>.
Use this for debugging or post-processing purposes.
-=item eval `B<@l_prefix@/etc/rc> B<-e>|B<--eval> I<package> I<command>
[I<command> ...]`
+=item eval `B<@l_prefix@/bin/openpkg rc> B<-e>|B<--eval> I<package>
I<command> [I<command> ...]`
B<Run-Command Evaluation.> This is like the run-command execution
(see above), but the resulting exported shell environment variables
@@ -90,14 +90,14 @@
large multi-line scripts. Hence, use this for executing the "C<env>"
run-commands within the current shell.
-=item B<@l_prefix@/etc/rc> B<-q>|B<--query> I<variable> [I<variable> ...]
+=item B<@l_prefix@/bin/openpkg rc> B<-q>|B<--query> I<variable> [I<variable>
...]
B<Configuration Variable Querying.> This queries the effective values
(see B<RUN-COMMAND CONFIGURATION> section below) of one or more
run-command configuration I<variable>s. Use this within a shell script
to selectively query a particular variable.
-=item B<@l_prefix@/etc/rc> B<-c>|B<--config>
+=item B<@l_prefix@/bin/openpkg rc> B<-c>|B<--config>
B<Configuration Variable Summary.> This displays on C<stdout> a
three-column table showing the name, default and effective values of
@@ -105,7 +105,7 @@
terminal device, variables where the default and effective values differ
are shown in bold mode.
-=item B<@l_prefix@/etc/rc> B<-h>|B<--help>
+=item B<@l_prefix@/bin/openpkg rc> B<-h>|B<--help>
B<Requesting Help.> This just displays a short summary of
the usage for this program.
@@ -114,11 +114,11 @@
=head1 FILES
-=head2 RUN-COMMAND FILES (C<@l_prefix@/etc/rc.d/rc.*>)
+=head2 RUN-COMMAND FILES (C<@l_prefix@/bin/openpkg rc.d/rc.*>)
The foundation of the B<OpenPKG> run-command facility are the individual
run-command files C<rc.*> of the installed packages. They are all
-located in the directory C<@l_prefix@/etc/rc.d/> and are named
+located in the directory C<@l_prefix@/bin/openpkg rc.d/> and are named
"C<rc.>I<package>". They consist of one or more sections, each starting
with a section header "C<%>I<name> [I<options>]" and following a GNU
Bash compatible shell script. There are three classes of sections:
@@ -250,17 +250,17 @@
=back
-=head2 RUN-COMMAND CONFIGURATION (C<@l_prefix@/etc/rc.conf>)
+=head2 RUN-COMMAND CONFIGURATION (C<@l_prefix@/bin/openpkg rc.conf>)
The run-command configuration variables defined in the "C<%config>"
sections of all installed packages can be overridden by the
-administrator in the global file C<@l_prefix@/etc/rc.conf>. This file is
+administrator in the global file C<@l_prefix@/bin/openpkg rc.conf>. This
file is
usually empty, but can be filled with Bourne-Shell compatible variable
assignment statements like "I<package>C<_>I<variable>=I<value>".
-=head2 RUN-COMMAND FUNCTIONS (C<@l_prefix@/etc/rc.func>)
+=head2 RUN-COMMAND FUNCTIONS (C<@l_prefix@/bin/openpkg rc.func>)
-The file C<@l_prefix@/etc/rc.func> is prepended to the scripts of all
+The file C<@l_prefix@/bin/openpkg rc.func> is prepended to the scripts of all
executed run-command sections and provides reusable functions.
Currently the following functions are defined:
@@ -313,7 +313,7 @@
=head1 EXAMPLES
-First, an example run-command script C<@l_prefix@/etc/rc.d/rc.foo> for a
+First, an example run-command script C<@l_prefix@/bin/openpkg rc.d/rc.foo>
for a
fictional daemon package "C<foo>":
%config
@@ -387,26 +387,26 @@
Now, show all run-command configuration variables, their
default values and their effective values of package "C<foo>":
- $ @l_prefix@/etc/rc --config | grep "^foo_"
+ $ @l_prefix@/bin/openpkg rc --config | grep "^foo_"
Override the default value of a run-command configuration
variable C<foo_listen>:
- $ echo 'foo_listen="192.168.0.1"' >>@l_prefix@/etc/rc.conf
+ $ echo 'foo_listen="192.168.0.1"' >>@l_prefix@/bin/openpkg rc.conf
Stop and start from scratch the package "C<foo>":
- $ @l_prefix@/etc/rc foo stop start
+ $ @l_prefix@/bin/openpkg rc foo stop start
Query the effective value of run-command configuration
variable C<foo_enable> in a script:
- if [ "[EMAIL PROTECTED]@/etc/rc -q foo_enable`" = .yes ]; then ...
+ if [ "[EMAIL PROTECTED]@/bin/openpkg rc -q foo_enable`" = .yes ]; then ...
Import all environment settings from all (including "C<foo>") installed
packages into the current Bourne-Shell environment:
- $ eval [EMAIL PROTECTED]@/etc/rc --eval all env`
+ $ eval [EMAIL PROTECTED]@/bin/openpkg rc --eval all env`
$ echo $FOO_HOME
=head1 SEE ALSO
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/release.8
============================================================================
$ cvs diff -u -r1.1 -r1.2 release.8
--- openpkg-src/openpkg/release.8 21 Jun 2006 15:21:05 -0000 1.1
+++ openpkg-src/openpkg/release.8 25 Aug 2006 08:58:49 -0000 1.2
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.3
+.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
.\"
.\" Standard preamble:
.\" ========================================================================
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/rpm-config.8
============================================================================
$ cvs diff -u -r1.4 -r1.5 rpm-config.8
--- openpkg-src/openpkg/rpm-config.8 21 Jun 2006 15:22:50 -0000 1.4
+++ openpkg-src/openpkg/rpm-config.8 25 Aug 2006 08:58:49 -0000 1.5
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.3
+.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
.\"
.\" Standard preamble:
.\" ========================================================================
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/rpmtool.8
============================================================================
$ cvs diff -u -r1.10 -r1.11 rpmtool.8
--- openpkg-src/openpkg/rpmtool.8 21 Jun 2006 15:22:50 -0000 1.10
+++ openpkg-src/openpkg/rpmtool.8 25 Aug 2006 08:58:49 -0000 1.11
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.3
+.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
.\"
.\" Standard preamble:
.\" ========================================================================
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/uuid.8
============================================================================
$ cvs diff -u -r1.2 -r1.3 uuid.8
--- openpkg-src/openpkg/uuid.8 21 Jun 2006 15:22:50 -0000 1.2
+++ openpkg-src/openpkg/uuid.8 25 Aug 2006 08:58:49 -0000 1.3
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.3
+.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
.\"
.\" Standard preamble:
.\" ========================================================================
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]