summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2020-01-24 21:10:46 +0000
committerschwarze <schwarze@openbsd.org>2020-01-24 21:10:46 +0000
commit7cf1e51a1002fffdc455ce4b6060f6524c6d9f20 (patch)
treeac07862b9bc7e40158c2a03298857b26c99fb48f /usr.sbin/pkg_add
parentsimplify, no need to make a copy of the filename, pointer is fine (diff)
downloadwireguard-openbsd-7cf1e51a1002fffdc455ce4b6060f6524c6d9f20.tar.xz
wireguard-openbsd-7cf1e51a1002fffdc455ce4b6060f6524c6d9f20.zip
Add FILES sections; OK espie@ solene@.
Triggered because Claus Assmann observed on ports@ that the pkg_add(1) manual page didn't mention pkg-readmes.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/pkg_add.120
-rw-r--r--usr.sbin/pkg_add/pkg_info.113
2 files changed, 29 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/pkg_add.1 b/usr.sbin/pkg_add/pkg_add.1
index cb6bb2b6357..276dd15d747 100644
--- a/usr.sbin/pkg_add/pkg_add.1
+++ b/usr.sbin/pkg_add/pkg_add.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_add.1,v 1.162 2020/01/04 15:13:54 schwarze Exp $
+.\" $OpenBSD: pkg_add.1,v 1.163 2020/01/24 21:10:46 schwarze Exp $
.\"
.\" Documentation and design originally from FreeBSD. All the code has
.\" been rewritten since. We keep the documentation's notice:
@@ -15,7 +15,7 @@
.\" Jordan K. Hubbard
.\"
.\"
-.Dd $Mdocdate: January 4 2020 $
+.Dd $Mdocdate: January 24 2020 $
.Dt PKG_ADD 1
.Os
.Sh NAME
@@ -820,6 +820,22 @@ but it is searched before
.Ev PKG_PATH
and waives any kind of signature checking.
.El
+.Sh FILES
+.Bl -tag -width /etc/installurl
+.It Pa /etc/installurl
+default mirror server for package download
+.It Pa /etc/signify/*-pkg.pub
+public keys for package verification with
+.Xr signify 1
+.It Pa /usr/local/
+default file system to install packages in
+.It Pa /usr/local/share/doc/pkg-readmes/
+.Ox Ns -specific
+information about individual packages
+.It Pa /var/db/pkg/
+database of installed
+.Xr packages 7
+.El
.Sh SEE ALSO
.Xr ftp 1 ,
.Xr pkg_create 1 ,
diff --git a/usr.sbin/pkg_add/pkg_info.1 b/usr.sbin/pkg_add/pkg_info.1
index a03f30e373a..6e875557247 100644
--- a/usr.sbin/pkg_add/pkg_info.1
+++ b/usr.sbin/pkg_add/pkg_info.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_info.1,v 1.60 2019/07/04 15:25:16 tb Exp $
+.\" $OpenBSD: pkg_info.1,v 1.61 2020/01/24 21:10:46 schwarze Exp $
.\"
.\" Documentation and design originally from FreeBSD. All the code has
.\" been rewritten since. We keep the documentation's notice:
@@ -15,7 +15,7 @@
.\" Jordan K. Hubbard
.\"
.\"
-.Dd $Mdocdate: July 4 2019 $
+.Dd $Mdocdate: January 24 2020 $
.Dt PKG_INFO 1
.Os
.Sh NAME
@@ -269,6 +269,15 @@ but it is searched before
.Ev PKG_PATH
and waives any kind of signature checking.
.El
+.Sh FILES
+.Bl -tag -width /var/db/pkg/
+.It Pa /usr/local/share/doc/pkg-readmes/
+.Ox Ns -specific
+information about individual packages
+.It Pa /var/db/pkg/
+database of installed
+.Xr packages 7
+.El
.Sh TECHNICAL DETAILS
Package info is either extracted from package files named on the
command line, or from already installed package information