Clean up the english a little, having made the mistake of reading it.
This commit is contained in:
parent
9d6a993656
commit
d17e19f475
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17719
@ -99,9 +99,10 @@ by this flag. Note that only the first
|
|||||||
directive will be replaced, since
|
directive will be replaced, since
|
||||||
.Nm
|
.Nm
|
||||||
has no way of knowing which directory settings are relative and
|
has no way of knowing which directory settings are relative and
|
||||||
which are absolute. It is rare, in any case, to see more than one
|
which are absolute. It is rare in any case to see more than one
|
||||||
directory transition made, but when such is the case you
|
directory transition made, but when such does happen and you wish
|
||||||
may then wish to look into the use of the
|
to have control over *all* directory transitions, then you
|
||||||
|
may then wish to look into the use of
|
||||||
.Cm MASTER
|
.Cm MASTER
|
||||||
and
|
and
|
||||||
.Cm SLAVE
|
.Cm SLAVE
|
||||||
@ -167,7 +168,8 @@ in the staging area, the location of which is read as a string
|
|||||||
from stdin. The complete packing list is also read from stdin,
|
from stdin. The complete packing list is also read from stdin,
|
||||||
and the contents then acted on as normal.
|
and the contents then acted on as normal.
|
||||||
.El
|
.El
|
||||||
On or more
|
.Pp
|
||||||
|
One or more
|
||||||
.Ar pkg-name
|
.Ar pkg-name
|
||||||
arguments may be specified, each being either a file containing the
|
arguments may be specified, each being either a file containing the
|
||||||
package (these usually ending with the ``.tgz'' suffix) or a
|
package (these usually ending with the ``.tgz'' suffix) or a
|
||||||
@ -196,7 +198,7 @@ ftp.
|
|||||||
.Sh TECHNICAL DETAILS
|
.Sh TECHNICAL DETAILS
|
||||||
.Nm
|
.Nm
|
||||||
is fairly simple. It extracts each packages' "packing list"
|
is fairly simple. It extracts each packages' "packing list"
|
||||||
into a special staging directory in /tmp (or $PKG_TMPDIR), parses it,
|
into a special staging directory in /tmp (or $PKG_TMPDIR if set), parses it,
|
||||||
then runs through the following sequence to fully extract the contents:
|
then runs through the following sequence to fully extract the contents:
|
||||||
.Bl -enum -indent indent
|
.Bl -enum -indent indent
|
||||||
.It
|
.It
|
||||||
@ -229,27 +231,28 @@ file (see
|
|||||||
.Xr pkg_create 1 ),
|
.Xr pkg_create 1 ),
|
||||||
then execute it with the following arguments:
|
then execute it with the following arguments:
|
||||||
.Bd -filled -offset indent -compact
|
.Bd -filled -offset indent -compact
|
||||||
.Ar <pkg-name>
|
.Ar pkg-name
|
||||||
.Ar INSTALL
|
.Ar INSTALL
|
||||||
.Ed
|
.Ed
|
||||||
where
|
where
|
||||||
.Ar <pkg-name>
|
.Ar pkg-name
|
||||||
is the name of the package in question and
|
is the name of the package in question and the
|
||||||
.Ar INSTALL
|
.Ar INSTALL
|
||||||
is simply a keyword denoting that this is an installation requirements check.
|
keyword denotes this as an installation requirements check (useful if
|
||||||
|
you want to have one script serving multiple functions).
|
||||||
.It
|
.It
|
||||||
If an
|
If an
|
||||||
.Ar install
|
.Ar install
|
||||||
script exists for the package, it is then executed with the following arguments:
|
script exists for the package, it is then executed with the following arguments:
|
||||||
.Bd -filled -offset indent -compact
|
.Bd -filled -offset indent -compact
|
||||||
.Ar <pkg-name>
|
.Ar pkg-name
|
||||||
.Ar PRE-INSTALL
|
.Ar PRE-INSTALL
|
||||||
.Ed
|
.Ed
|
||||||
where
|
where
|
||||||
.Ar <pkg-name>
|
.Ar pkg-name
|
||||||
is the name of the package in question and
|
is the name of the package in question and
|
||||||
.Ar PRE-INSTALL
|
.Ar PRE-INSTALL
|
||||||
is a keyword denoting that this is the preinstallation phase.
|
is a keyword denoting this as the preinstallation phase.
|
||||||
.It
|
.It
|
||||||
If
|
If
|
||||||
.Cm @option extract-in-place
|
.Cm @option extract-in-place
|
||||||
@ -260,11 +263,9 @@ the staging area into their final locations.
|
|||||||
.It
|
.It
|
||||||
If the package contains an
|
If the package contains an
|
||||||
.Ar mtreefile
|
.Ar mtreefile
|
||||||
file (see the
|
file (see
|
||||||
.Fl m
|
|
||||||
option to
|
|
||||||
.Xr pkg_create 1 ),
|
.Xr pkg_create 1 ),
|
||||||
then mtree is invoked as
|
then mtree is invoked as:
|
||||||
.Bd -filled -offset indent -compact
|
.Bd -filled -offset indent -compact
|
||||||
.Cm mtree
|
.Cm mtree
|
||||||
.Fl u
|
.Fl u
|
||||||
@ -289,8 +290,8 @@ If an
|
|||||||
.Ar install
|
.Ar install
|
||||||
script exists for the package, it is then executed as
|
script exists for the package, it is then executed as
|
||||||
.Bd -filled -offset indent -compact
|
.Bd -filled -offset indent -compact
|
||||||
.Cm <script>
|
.Cm script
|
||||||
.Ar <pkg-name>
|
.Ar pkg-name
|
||||||
.Ar POST-INSTALL
|
.Ar POST-INSTALL
|
||||||
.Ed
|
.Ed
|
||||||
This all allows you to write a single
|
This all allows you to write a single
|
||||||
@ -333,9 +334,9 @@ flag to
|
|||||||
.Sh AUTHORS
|
.Sh AUTHORS
|
||||||
.Bl -tag -width indent -compact
|
.Bl -tag -width indent -compact
|
||||||
.It "Jordan Hubbard"
|
.It "Jordan Hubbard"
|
||||||
most of the work
|
Initial work and ongoing development.
|
||||||
.It "John Kohl"
|
.It "John Kohl"
|
||||||
refined it for NetBSD
|
NetBSD refinements.
|
||||||
.El
|
.El
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
Hard links between files in a distribution are only preserved if either
|
Hard links between files in a distribution are only preserved if either
|
||||||
|
Loading…
Reference in New Issue
Block a user