Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Merge pull request #49 from dnaeon/docs-branch
Julien Laffaye committed 14 years ago
commit bc6527d65593af96bfd8846977a6dbdebbc0605f
parent 39d8801
4 files changed +91 -6
modified pkg/Makefile
@@ -34,6 +34,7 @@ MAN= pkg.1 \
	pkg-update.1 \
	pkg-upgrade.1 \
	pkg-version.1 \
-
	pkg-which.1
+
	pkg-which.1 \
+
	pkg.conf.5

.include <bsd.prog.mk>
modified pkg/pkg-create.1
@@ -178,9 +178,9 @@ Specifies an alternative location for the installed package database.
.Sh FILES
.Bl -tag -width ".Pa /etc/pkg.conf"
.It Pa /etc/pkg.conf
-
Systemwide configuration file. This file format and available configuration
+
System-wide configuration file. This file format and available configuration
options are described in
-
.Xr pkg_config 5 .
+
.Xr pkg.conf 5 .
.El
.\" ---------------------------------------------------------------------------
.\" .Sh EXAMPLES
@@ -196,7 +196,7 @@ options are described in
.Xr pkg-upgrade 1 ,
.Xr pkg-version 1 ,
.Xr pkg-which 1 ,
-
.Xr pkg_config 5
+
.Xr pkg.conf 5
.\" ---------------------------------------------------------------------------
.Sh HISTORY
The
modified pkg/pkg.1
@@ -73,7 +73,15 @@ The following envrioment variables affect the execution of
.El
.Sh FILES
.Sh SEE ALSO
-
pkg-add(1), pkg-create(1), pkg-delete(1), pkg-info(1), pkg-register(1), pkg-repo(1),
-
pkg-update(1), pkg-upgrade(1), pkg-version(1), pkg-which(1)
+
.Xr pkg 1,
+
.Xr pkg-create 1,
+
.Xr pkg-add 1,
+
.Xr pkg-info 1,
+
.Xr pkg-register 1,
+
.Xr pkg-update 1,
+
.Xr pkg-upgrade 1,
+
.Xr pkg-version 1,
+
.Xr pkg-which 1,
+
.Xr pkg.conf 5
.Sh AUTHORS AND CONTRIBUTORS
.Sh BUGS
added pkg/pkg.conf.5
@@ -0,0 +1,76 @@
+
.\"
+
.\" FreeBSD pkg - a next generation package for the installation and maintenance
+
.\" of non-core utilities.
+
.\"
+
.\" Redistribution and use in source and binary forms, with or without
+
.\" modification, are permitted provided that the following conditions
+
.\" are met:
+
.\" 1. Redistributions of source code must retain the above copyright
+
.\"    notice, this list of conditions and the following disclaimer.
+
.\" 2. Redistributions in binary form must reproduce the above copyright
+
.\"    notice, this list of conditions and the following disclaimer in the
+
.\"    documentation and/or other materials provided with the distribution.
+
.\"
+
.\"
+
.\"     @(#)pkg.1
+
.\" $FreeBSD$
+
.\"
+
.Dd Jul 20, 2011
+
.Dt PKG.CONF 5
+
.Os
+
.Sh NAME
+
.Nm "pkg.conf"
+
.Nd System-wide configuration file for
+
.Xr pkg 1
+
.Sh DESCRIPTION
+
.Nm
+
is the system-wide configuration file used by the
+
.Xr pkg 1
+
tools.
+
.Pp
+
The location of this file is
+
.Fa /etc/pkg.conf
+
.Pp
+
Lines in the file beginning with a "#" or ";" are comments
+
and are ignored.
+
.Pp
+
An option in the file is defined in the form of
+
.Fa name = value
+
.Sh OPTIONS
+
The following options can be defined in
+
.Nm :
+
.Bl -tag -width F1
+
.It Cm PACKAGESITE
+
Specifies the remote location to use
+
when fetching a database file. 
+
.It Cm PKG_DBDIR
+
Specifies the directory to use for storing the package
+
database files. The default value for this option is
+
.Fa /var/db/pkg
+
.It Cm PKG_CACHEDIR
+
Specifies the cache directory for packages. The default value
+
for this option is
+
.Fa /var/cache/pkg
+
.El
+
.Sh WARNING
+
.Sh ENVRIOMENT
+
The following envrioment variables affect the execution of
+
.Xr pkg 1
+
.Bl -tag -width ".Ev PACKAGESITE"
+
.It Ev PACKAGESITE
+
Specifies an alternative location to use when fetching a remote
+
package database file.
+
.El
+
.Sh FILES
+
.Sh SEE ALSO
+
.Xr pkg 1,
+
.Xr pkg-create 1,
+
.Xr pkg-add 1,
+
.Xr pkg-info 1,
+
.Xr pkg-register 1,
+
.Xr pkg-update 1,
+
.Xr pkg-upgrade 1,
+
.Xr pkg-version 1,
+
.Xr pkg-which 1
+
.Sh AUTHORS AND CONTRIBUTORS
+
.Sh BUGS