Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Document -x flag.
Vsevolod Stakhov committed 13 years ago
commit 804d762569e68dcf42e3bad8ffd9a65f503348e7
parent b24e629
2 files changed +8 -4
modified pkg/audit.c
@@ -124,7 +124,7 @@ static size_t audit_entry_first_byte_idx[256];
void
usage_audit(void)
{
-
	fprintf(stderr, "usage: pkg audit [-Fq] <pattern>\n\n");
+
	fprintf(stderr, "usage: pkg audit [-Fqx] <pattern>\n\n");
	fprintf(stderr, "For more information see 'pkg help audit'.\n");
}

modified pkg/pkg-audit.8
@@ -15,7 +15,7 @@
.\"     @(#)pkg.8
.\" $FreeBSD$
.\"
-
.Dd February 25, 2013
+
.Dd April 18, 2013
.Dt PKG-AUDIT 8
.Os
.Sh NAME
@@ -23,7 +23,7 @@
.Nd Audits installed packages against known vulnerabilities.
.Sh SYNOPSIS
.Nm
-
.Op Fl Fq
+
.Op Fl Fqx
.Ar pkg-name
.Sh DESCRIPTION
.Nm
@@ -39,7 +39,7 @@ Note that a current ports tree (or any local copy of the ports tree) is not
required for operation.
.Pp
The URL that is used to fetch the database can be overridden via the PORTAUDIT_SITE
-
config variable.
+
config variable or by VULNXML_SITE if you use xml directly.
See
.Xr pkg.conf 5
for more information.
@@ -60,6 +60,9 @@ Fetch the database before checking.
Be ``quiet''.
Prints only the requested information without
displaying many hints.
+
.It Fl x
+
Use vulnxml directly instead of parsing prepared audit file. 
+
Database is fetched according to VULNXML_SITE config variable.
.El
.Sh ENVIRONMENT
The following environment variables affect the execution of
@@ -70,6 +73,7 @@ for further description.
.Bl -tag -width ".Ev NO_DESCRIPTIONS"
.It Ev PKG_DBDIR
.It Ev PORTAUDIT_SITE
+
.It Ev VULNXML_SITE
.El
.Sh FILES
See