Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Update manual pages.
Vsevolod Stakhov committed 12 years ago
commit 8d5b25bc9056a73959364883a90585f4d4862d09
parent e5254dc
2 files changed +37 -5
modified docs/pkg-install.8
@@ -15,7 +15,7 @@
.\"     @(#)pkg.8
.\" $FreeBSD$
.\"
-
.Dd April 18, 2014
+
.Dd May 05, 2014
.Dt PKG-INSTALL 8
.Os
.Sh NAME
@@ -26,13 +26,13 @@
.Op Fl AfIMnFqRUy
.Op Fl r Ar reponame
.Op Fl Cgix
-
.Ar pkg-origin ...
+
.Ar <pkg-origin|pkg-name|pkg-name-version> ...
.Sh DESCRIPTION
.Nm
is used for installation of packages from a package repository or
local archives.
Multiple package names can be specified on the command line, either
-
explicitly or by matching against package names in the repository
+
explicitly or by matching against package names (or origins) in the repository
catalogues using shell globbing or regular expressions.
.Pp
.Nm
modified docs/pkg-upgrade.8
@@ -15,7 +15,7 @@
.\"     @(#)pkg.8
.\" $FreeBSD$
.\"
-
.Dd April 18, 2014
+
.Dd May 05, 2014
.Dt PKG-UPGRADE 8
.Os
.Sh NAME
@@ -25,14 +25,26 @@
.Nm
.Op Fl fInFqUy
.Op Fl r Ar reponame
+
.Op Fl Cgix
+
.Op Ar <pkg-origin|pkg-name|pkg-name-version> ...
.Sh DESCRIPTION
.Nm
is used for upgrading packaged software distributions.
.Pp
.Nm
-
compares the versions of all of the packages installed on the system
+
compares the versions of all or specific packages installed on the system
to what is available in the configured package repositories.
Any out-of-date packages are added to a work list for processing.
+
The difference to 
+
.Xr pkg-install 8
+
is that
+
.Nm
+
tries to upgrade dependencies of packages matched as well while
+
.Xr pkg-install 8
+
is more conservative during dependencies upgrade. Moreover,
+
.Nm
+
cannot install new packages, so a caller should ensure that patterns specified
+
as arguments have installed candidates for matching.
If the
.Fl f
(force) flag is given, all installed packages are added to the work
@@ -136,6 +148,26 @@ status from
.Pa repo.conf .
.It Fl y
Assume yes when asked for confirmation before package installation.
+
.It Fl C
+
Make the standard or the regular expression
+
.Fl ( x )
+
matching against
+
.Ar pkg-name
+
case sensitive.
+
.It Fl f
+
Force the reinstallation of the package if already installed.
+
.It Fl g
+
Treat the package names as shell glob patterns.
+
.It Fl i
+
Make the standard or the regular expression
+
.Fl ( x )
+
matching against
+
.Ar pkg-name
+
case insensitive.
+
This is the default, unless modified by setting
+
.Ev CASE_SENSITIVE_MATCH
+
to true in
+
.Pa pkg.conf .
.El
.Sh ENVIRONMENT
The following environment variables affect the execution of