Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Update man pages to add description of new -C 'case sensitive match' option.
Matthew Seaman committed 12 years ago
commit 14092ad6c3e37c339d8e1e20ae7d896089183f02
parent 68736e5
12 files changed +187 -31
modified docs/pkg-annotate.8
@@ -15,7 +15,7 @@
.\"     @(#)pkg.8
.\" $FreeBSD$
.\"
-
.Dd April 6, 2013
+
.Dd April 18, 2014
.Dt PKG-ANNOTATE 8
.Os
.Sh NAME
@@ -23,14 +23,16 @@
.Nd add, modify or delete arbitrary annotations from packages
.Sh SYNOPSIS
.Nm
-
.Op Fl giqxy
+
.Op Fl qy
.Fl A|M
+
.Op Fl Cgix
.Ar pkg-name
.Ar tag
.Op Ar value
.Nm
-
.Op Fl giqxy
+
.Op Fl qy
.Fl D
+
.Op Fl Cgix
.Ar pkg-name
.Ar tag
.Nm
@@ -75,6 +77,12 @@ cause
.Nm
to exit before attempting to apply the annotation to all remaining
matched packages.
+
.It Fl C
+
Make the standard or the regular expression
+
.Fl ( x )
+
matching against
+
.Ar pkg-name
+
case sensitive.
.It Fl D
The operation is to delete an annotation.
Only the
@@ -89,10 +97,15 @@ Treat
.Ar pkg-name
as a shell glob pattern.
.It Fl i
-
Make the default or the regular expression
+
Make the standard or the regular expression
.Fl ( x )
+
matching against
.Ar pkg-name
-
matching case insensitive.
+
case insensitive.
+
This is the default, unless modified by setting
+
.Ev CASE_SENSITIVE_MATCH
+
to true in
+
.Pa pkg.conf .
.It Fl M
The operation is to modify a previously existing annotation.
Functionally, this behaves similarly to
@@ -119,6 +132,7 @@ for further description.
.Bl -tag -width ".Ev NO_DESCRIPTIONS"
.It Ev PKG_DBDIR
.It Ev ASSUME_ALWAYS_YES
+
.It Ev CASE_SENSITIVE_MATCH
.El
.Sh FILES
See
modified docs/pkg-check.8
@@ -15,7 +15,7 @@
.\"     @(#)pkg.8
.\" $FreeBSD$
.\"
-
.Dd July 11, 2013
+
.Dd April 18, 2014
.Dt PKG-CHECK 8
.Os
.Sh NAME
@@ -25,7 +25,7 @@
.Nm
.Op Fl Bdsr
.Op Fl vyn
-
.Op Fl a | gix Ar pattern
+
.Op Fl a | Cgix Ar pattern
.Sh DESCRIPTION
.Nm
.Fl B
@@ -54,12 +54,22 @@ Be verbose.
Merely check for missing dependencies and do not install them.
.It Fl a
Process all packages.
+
.It Fl C
+
Make the standard or regular expression
+
.Fl ( x )
+
matching against
+
.Ar pattern
+
case sensitive.
.It Fl i
Make the standard or regular expression
.Fl ( x )
matching against
.Ar pattern
case insensitive.
+
This is the default, unless modified by setting
+
.Ev CASE_SENSITIVE_MATCH 
+
to true in
+
.Pa pkg.conf .
.It Fl g
Treat
.Ar pattern
@@ -79,6 +89,7 @@ See
for further description.
.Bl -tag -width ".Ev NO_DESCRIPTIONS"
.It Ev PKG_DBDIR
+
.It Ev CASE_SENSITIVE_MATCH
.El
.Sh FILES
See
modified docs/pkg-delete.8
@@ -15,7 +15,7 @@
.\"     @(#)pkg.8
.\" $FreeBSD$
.\"
-
.Dd February 25, 2013
+
.Dd April 18, 2014
.Dt PKG-DELETE 8
.Os
.Sh NAME
@@ -23,7 +23,8 @@
.Nd deletes packages from the database and the system
.Sh SYNOPSIS
.Nm
-
.Op Fl DfginqRxy
+
.Op Fl DfnqRy
+
.Op Fl Cgix
.Ar pkg-name ...
.Nm
.Op Fl Dnqy
@@ -55,6 +56,12 @@ The following options are supported by
.Bl -tag -width F1
.It Fl a
Deletes all installed packages from the system and empties the database.
+
.It Fl C
+
Make the standard or regular expression
+
.Fl ( x )
+
matching against
+
.Ar pkg-name
+
case sensitive.
.It Fl D
If a deinstallation script exists for a given package, do not execute it.
.It Fl f
@@ -67,6 +74,10 @@ Make the standard or regular expression
matching against
.Ar pkg-name
case insensitive.
+
This is the defalt, unless modified by setting
+
.Ev CASE_SENSITIVE_MATCH
+
to true in
+
.Pa pkg.conf .
.It Fl n
Dry run mode.
The list of packages to delete is always printed, but no packages are
@@ -96,6 +107,7 @@ for further description.
.It Ev ASSUME_ALWAYS_YES
.It Ev HANDLE_RC_SCRIPTS
.It Ev PKG_DBDIR
+
.It Ev CASE_SENSITIVE_MATCH
.El
.Sh FILES
See
modified docs/pkg-fetch.8
@@ -24,7 +24,8 @@
.Sh SYNOPSIS
.Nm
.Op Fl r Ar reponame
-
.Op Fl dgiqUxy
+
.Op Fl dqUy
+
.Op Fl Cgix
.Ar pkg-name
.Op ...
.Nm
@@ -58,6 +59,12 @@ The following options are supported by
.Bl -tag -width F1
.It Fl a
Fetch all packages.
+
.It Fl C
+
Make the standard or the regular expression
+
.Fl ( x )
+
matching against
+
.Ar pkg-name
+
case sensitive.
.It Fl d
Fetch the package and its dependencies as well.
.It Fl g
@@ -70,6 +77,10 @@ Make the standard or regular expression
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 .
.It Fl q
Quiet mode.
Show less output.
@@ -101,6 +112,7 @@ The following environment variables affect the execution of
.Nm :
.Bl -tag -width ".Ev NO_DESCRIPTIONS"
.It Ev PKG_DBDIR
+
.It Ev CASE_SENSITIVE_MATCH
.El
.Pp
See
modified docs/pkg-info.8
@@ -15,7 +15,7 @@
.\"     @(#)pkg.8
.\" $FreeBSD$
.\"
-
.Dd February 1, 2014
+
.Dd April 18, 2014
.Dt PKG-INFO 8
.Os
.Sh NAME
@@ -27,7 +27,8 @@
.Nm
.Fl a
.Nm
-
.Op Fl AbBDdefgiIklOqRrsx
+
.Op Fl AbBDdefIklOqRrs
+
.Op Fl Cgix
.Ar pkg-name
.Nm
.Op Fl AbBDdfIlqRrs
@@ -43,6 +44,12 @@ The following options are supported by
Display all installed packages.
.It Fl A
Display any annotations added to the package.
+
.It Fl C
+
Make the standard or the regular expression
+
.Fl ( x )
+
matching against
+
.Ar pkg-name
+
case sensitive.
.It Fl f
Display full information about the packages matching
.Ar pkg-name .
@@ -62,10 +69,15 @@ Treat
.Ar pkg-name
as a shell glob pattern.
.It Fl i
-
Make the default or the regular expression
+
Make the standard or the regular expression
.Fl ( x )
+
matching against
.Ar pkg-name
-
matching case insensitive.
+
case insensitive.
+
This is the default, unless modified by setting
+
.Ev CASE_SENSITIVE_MATCH
+
to true in
+
.Pa pkg.conf .
.It Fl x
Treat
.Ar pkg-name
@@ -136,6 +148,7 @@ See
for further description.
.Bl -tag -width ".Ev NO_DESCRIPTIONS"
.It Ev PKG_DBDIR
+
.It Ev CASE_SENSITIVE_MATCH
.El
.Sh FILES
See
modified docs/pkg-install.8
@@ -23,12 +23,14 @@
.Nd installs packages from remote package repositories or local archives
.Sh SYNOPSIS
.Nm
-
.Op Fl AfgIiMnFqRUxy
+
.Op Fl AfIMnFqRUy
.Op Fl r Ar reponame
+
.Op Fl Cgix
.Ar pkg-origin ...
.Sh DESCRIPTION
.Nm
-
is used for installation of packages from a package repository or local archives.
+
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
catalogues using shell globbing or regular expressions.
@@ -110,6 +112,12 @@ Mark the installed packages as orphan.
Will be automatically removed if no other packages depend on them.
For more information please refer to
.Xr pkg-autoremove 8
+
.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
@@ -125,6 +133,10 @@ Make the standard or the regular expression
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 .
.It Fl M
Force the installation of the package with missing dependencies.
.It Fl n
@@ -171,6 +183,7 @@ See
for further description.
.Bl -tag -width ".Ev NO_DESCRIPTIONS"
.It Ev ASSUME_ALWAYS_YES
+
.It Ev CASE_SENSITIVE_MATCH
.It Ev HANDLE_RC_SCRIPTS
.It Ev PACKAGESITE
.It Ev PKG_CACHEDIR
modified docs/pkg-lock.8
@@ -15,7 +15,7 @@
.\"     @(#)pkg.8
.\" $FreeBSD$
.\"
-
.Dd February 25, 2013
+
.Dd April 18, 2014
.Dt PKG-LOCK 8
.Os
.Sh NAME
@@ -27,13 +27,15 @@
.Op Fl qy
.Fl a
.Nm
-
.Op Fl giqxy
+
.Op Fl qy
+
.Op Fl Cgix
.Ar pkg-name
.Nm "pkg unlock"
.Op Fl qy
.Fl a
.Nm "pkg unlock"
-
.Op Fl giqxy
+
.Op Fl qy
+
.Op Fl Cgix
.Ar pkg-name
.Sh DESCRIPTION
.Nm
@@ -72,15 +74,26 @@ The following options are supported by
.Bl -tag -width F1
.It Fl a
Lock or unlock all installed packages.
+
.It Fl C
+
Make the standard or the regular expression
+
.Fl ( x )
+
matching against
+
.Ar pkg-name
+
case sensitive.
.It Fl g
Treat
.Ar pkg-name
as a shell glob pattern.
.It Fl i
-
Make the default or the regular expression
+
Make the standard or the regular expression
.Fl ( x )
+
matching against
.Ar pkg-name
-
matching case insensitive.
+
case insensitive.
+
This is the default, unless modified by setting
+
.Ev CASE_SENSITIVE_MATCH
+
to true in
+
.Pa pkg.conf .
.It Fl q
Operate quietly: do not output anything other than confirmatory questions.
.It Fl x
@@ -101,6 +114,7 @@ for further description.
.Bl -tag -width ".Ev NO_DESCRIPTIONS"
.It Ev PKG_DBDIR
.It Ev ASSUME_ALWAYS_YES
+
.It Ev CASE_SENSITIVE_MATCH
.El
.Sh FILES
See
modified docs/pkg-query.8
@@ -15,7 +15,7 @@
.\"     @(#)pkg.8
.\" $FreeBSD$
.\"
-
.Dd January 14, 2014
+
.Dd April 18, 2014
.Dt PKG-QUERY 8
.Os
.Sh NAME
@@ -43,6 +43,12 @@ The following options are supported by
.Bl -tag -width F1
.It Fl a
Match all packages from the database
+
.It Fl C
+
Make the standard or the regular expression
+
.Fl ( x )
+
matching against
+
.Ar pkg-name
+
case sensitive.
.It Fl e
Match packages using the given
.Ar evaluation-condition.
@@ -56,6 +62,10 @@ Make the standard or regular expression
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 .
.It Fl g
Treat
.Ao pattern Ac
@@ -293,6 +303,7 @@ See
for further description.
.Bl -tag -width ".Ev NO_DESCRIPTIONS"
.It Ev PKG_DBDIR
+
.It Ev CASE_SENSITIVE_MATCH
.El
.Sh FILES
See
modified docs/pkg-rquery.8
@@ -34,7 +34,8 @@
.Op Fl r Ar reponame
.Ao query-format Ac
.Nm
-
.Op Fl giUx
+
.Op Fl U
+
.Op Fl Cgix
.Op Fl r Ar reponame
.Ao query-format Ac Ao pattern Ac Ao ... Ac
.Sh DESCRIPTION
@@ -58,6 +59,12 @@ The following options are supported by
.Bl -tag -width F1
.It Fl a
Match all packages from the database
+
.It Fl C
+
Make the standard or the regular expression
+
.Fl ( x )
+
matching against
+
.Ar pkg-name
+
case sensitive.
.It Fl e
Match packages using the given
.Ar evaluation-condition.
@@ -81,6 +88,10 @@ Make the standard or regular expression
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 .
.It Fl U
Suppress the automatic update of the local copy of the repository catalogue
from remote.
@@ -266,6 +277,7 @@ See
for further description.
.Bl -tag -width ".Ev NO_DESCRIPTIONS"
.It Ev PKG_DBDIR
+
.It Ev CASE_SENSITIVE_MATCH
.El
.Sh FILES
See
modified docs/pkg-search.8
@@ -23,15 +23,17 @@
.Nd search package repository catalogues
.Sh SYNOPSIS
.Nm
-
.Op Fl egiUx
+
.Op Fl U
.Op Fl r Ar reponame
.Op Fl S Ar search
.Op Fl L Ar label
.Op Fl Q Ar query-modifier
+
.Op Fl Cegix
.Ar pattern
.Nm
-
.Op Fl cDdefgiopqRUx
+
.Op Fl cDdfopqRU
.Op Fl r Ar reponame
+
.Op Cegix
.Ar pattern
.Sh DESCRIPTION
.Nm
@@ -67,6 +69,14 @@ for details.
The following options are supported by
.Nm :
.Bl -tag -width F1
+
.It Fl C
+
Make the exact
+
.Fl ( e )
+
or the regular expression
+
.Fl ( x )
+
matching against
+
.Ar pkg-name
+
case sensitive.
.It Fl c
Search for packages with comment text matching
.Ar pattern .
@@ -101,6 +111,10 @@ or regular expression
matching against
.Ar pattern
case insensitive.
+
This is the default, unless modified by setting
+
.Ev CASE_SENSITIVE_MATCH
+
to true in
+
.Pa pkg.conf .
.It Fl L Ar label
Select which identifying label is printed for each matched package,
unless
@@ -426,8 +440,8 @@ See
.Xr pkg.conf 5
for further description.
.Bl -tag -width ".Ev NO_DESCRIPTIONS"
-
.It Ev PACKAGESITE
.It Ev PKG_DBDIR
+
.It Ev CASE_SENSITIVE_MATCH
.El
.Sh FILES
See
modified docs/pkg-set.8
@@ -15,7 +15,7 @@
.\"     @(#)pkg.8
.\" $FreeBSD$
.\"
-
.Dd May 18, 2013
+
.Dd April 18, 2014
.Dt PKG-SET 8
.Os
.Sh NAME
@@ -27,7 +27,7 @@
.Op Fl A Op Ar 01
.Op Fl o Ar oldorigin:neworigin
.Op Fl y
-
.Op Fl gix
+
.Op Fl Cgix
.Ar pkg-name
.Sh DESCRIPTION
.Nm
@@ -44,6 +44,12 @@ This affects the operation of
.Xr pkg-autoremove 8 .
.It Fl a
Match all installed packages.
+
.It Fl C
+
Make the standard or the regular expression
+
.Fl ( x )
+
matching against
+
.Ar pkg-name
+
case sensitive.
.It Fl g
Match
.Ar pkg-name
@@ -54,6 +60,10 @@ Make the standard or regular expression
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 .
.It Fl o Ar oldorigin:neworigin
Change the port origin of a given dependency from
.Ar oldorigin
@@ -115,6 +125,15 @@ Change a package from non-automatic to automatic, which will make
.Ic autoremove
allow it be removed once nothing depends on it:
.Dl % pkg set -A 1 perl-5.14
+
.Sh ENVIRONMENT
+
The following environment variables affect the execution of
+
.Nm .
+
See
+
.Xr pkg.conf 5
+
for further description.
+
.Bl -tag -width ".Ev NO_DESCRIPTIONS"
+
.It Ev CASE_SENSITIVE_MATCH
+
.El
.Sh SEE ALSO
.Xr pkg_printf 3 ,
.Xr pkg_repos 3 ,
modified docs/pkg-version.8
@@ -27,7 +27,7 @@
.Op Fl hoqvU
.Op Fl l Ar limchar
.Op Fl L Ar limchar
-
.Op Fl egix Ar pattern
+
.Op Fl Cegix Ar pattern
.Op Fl r Ar reponame
.Op Fl O Ar origin
.Op Ar index
@@ -99,6 +99,12 @@ with the corresponding entry in the index.
The following options are supported by
.Nm :
.Bl -tag -width F1
+
.It Fl C
+
Make the standard or the regular expression
+
.Fl ( x )
+
matching against
+
.Ar pkg-name
+
case sensitive.
.It Fl h
Displays usage information
.It Fl I Op Ar index
@@ -163,6 +169,10 @@ or regular expression
matching against
.Ar pattern
case insensitive.
+
This is the default, unless modified by setting
+
.Ev CASE_SENSITIVE_MATCH
+
to true in
+
.Pa pkg.conf .
.It Fl x Ar pattern
Only display the packages that match the regular expression.
Uses the "modern" or "extended" syntax of
@@ -202,9 +212,10 @@ See
.Xr pkg.conf 5
for further description.
.Bl -tag -width ".Ev NO_DESCRIPTIONS"
-
.It Ev PKG_DBDIR
-
.It Ev INDEXFILE
+
.It Ev CASE_SENSITIVE_MATCH
.It Ev INDEXDIR
+
.It Ev INDEXFILE
+
.It Ev PKG_DBDIR
.It Ev PORTSDIR
.El
.Pp