Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Merge pull request #270 from infracaninophile/static-compile
Baptiste Daroussin committed 13 years ago
commit fec730c4390beed0e11c01467e68fb5947825df1
parent 933c24b
3 files changed +22 -1
modified pkg/Makefile
@@ -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>
modified pkg/pkg.8
@@ -20,7 +20,8 @@
.Os
.\" ---------------------------------------------------------------------------
.Sh NAME
-
.Nm pkg
+
.Nm pkg ,
+
.Nm pkg-static
.Nd a utility for manipulating packages
.\" ---------------------------------------------------------------------------
.Sh SYNOPSIS
@@ -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
modified pkg/pkg.conf.5
@@ -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