Skip to content

Commit

Permalink
Update man pages -- document difference in behaviour between pkg and
Browse files Browse the repository at this point in the history
pkg-static
  • Loading branch information
infracaninophile committed Jun 24, 2012
1 parent 5d055da commit 7f9ffd7
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/Makefile
Expand Up @@ -79,5 +79,6 @@ MAN= pkg.8 \
pkg.conf.5

MLINKS= pkg-delete.8 pkg-remove.8
MLINKS= pkg.8 pkg-static.8

.include <bsd.prog.mk>
12 changes: 11 additions & 1 deletion pkg/pkg.8
Expand Up @@ -20,7 +20,8 @@
.Os
.\" ---------------------------------------------------------------------------
.Sh NAME
.Nm pkg
.Nm pkg ,
.Nm pkg-static
.Nd a utility for manipulating packages
.\" ---------------------------------------------------------------------------
.Sh SYNOPSIS
Expand All @@ -33,6 +34,15 @@
.Sh DESCRIPTION
provides an interface for manupulating packages - registering,
adding, removing and upgrading of packages.
.Nm pkg-static
is a staticly linked variant of
.Nm
typically only used for the initial installation of
.Nm .
There are some differences in functionality.
See
.Xr pkg.conf 5
for details.
.\" ---------------------------------------------------------------------------
.Sh OPTIONS
The following options are supported by
Expand Down
10 changes: 10 additions & 0 deletions pkg/pkg.conf.5
Expand Up @@ -104,10 +104,20 @@ This option is enabled by default, log all the
installation/deinstallation/upgrade operation via syslog(3)
.It Cm SHLIBS: boolean
Analyse elf and track all shared libraries needed by the packages.
This option is silently ignored by
.Xr pkg-static 8
since it relies on
.Xr dlopen 3
which is unavailable to staticly linked programs.
default: off
.It Cm AUTODEPS: boolean
Analyse the elf to add dependencies (shared libraries) that may have been
forgotten by the maintainer.
This option is silently ignored by
.Xr pkg-static 8
since it relies on
.Xr dlopen 3
which is unavailable to staticly linked programs.
default: off
.It Cm ABI: string
the abi of the package you want to install, by default the /bin/sh abi is used
Expand Down

0 comments on commit 7f9ffd7

Please sign in to comment.