-.\" $OpenBSD: package.5,v 1.13 2014/01/03 12:54:59 espie Exp $
+.\" $OpenBSD: package.5,v 1.14 2014/01/03 13:10:04 espie Exp $
.\" Copyright (c) 2005-2006 Marc Espie <espie@openbsd.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.Fl A Ar arches
of
.Xr pkg_create 1
+.Pp
.It Cm @comment pkgpath=path cdrom=yes/no ftp=yes/no
Historical accident.
This specific comment encodes the actual
of
.Xr pkg_create 1 .
.Pp
+.It Xo
+.Cm @digital-signature
+.Sm off
+.Ar style :
+.Ar date :
+.Ar b64sig
+.Sm on
+.Xc
+Record a digital signature of the packing-list, corresponding
+to
+.Xr pkg_create 1 Ns 's
+.Fl s
+option.
+.Pp
+.It Cm @link Ar name
+Added after a file entry by
+.Nm
+to record that the entry is actually a hard link.
+.Pp
+.It Cm @localbase Ar base
+Used internally to record the settings of
+.Fl L
+option.
+.Pp
+.It Cm @name Ar pkgname
+Set the name of the package.
+This name is potentially different than the name of
+the file it came in, and is used when keeping track of the package
+for later deinstallation.
+.Xr pkg_create 1
+will derive this field from the package file name.
+.Pp
+.It Cm @option Ar name
+Some options are automatically inserted by the package tools:
+.Bl -tag -width indent
+.It Ar manual-installation
+Record that a package has been explicitly installed by the user,
+and not as a result of a dependency look-up.
+Refer to
+.Xr pkg_add 1 Ns 's
+.Fl a
+option for details.
+.El
+.Pp
+.It Cm @sha
+Added after a file entry by
+.Xr pkg_create 1
+to record the files's cryptographic checksum,
+as a sha256 digest encoded in base64.
+.Pp
+.It Cm @size
+Added after a file entry by
+.Xr pkg_create 1
+to record a file size.
+.Pp
+.It Cm @symlink Ar name
+Added after a file entry by
+.Xr pkg_create 1
+to record that the entry is actually a symbolic link.
+.Pp
+.It Cm @url
+Original location of the package, automatically recorded in installed packages
+by
+.Xr pkg_add 1 .
+.Pp
+.It Cm @vendor
+Internal annotation corresponding to
+.Xr pkg_create 1 Ns 's
+.Fl D Ar VENDOR
+option.
.Pp
.It Cm @wantlib Ar libspec
Record a library requirement declared using the option
-.\" $OpenBSD: pkg_create.1,v 1.85 2014/01/03 12:54:59 espie Exp $
+.\" $OpenBSD: pkg_create.1,v 1.86 2014/01/03 13:10:04 espie Exp $
.\"
.\" Documentation and design originally from FreeBSD. All the code has
.\" been rewritten since. We keep the documentation's notice:
Use without an arg to set back to default (extraction)
group ownership.
.Pp
-.It Cm @ignore
-Was used internally to tell extraction to ignore the next file.
-No longer needed.
-.Pp
.It Cm @info Ar filename
Specialized version of
.Cm @file ,
.Sq VARIABLE SUBSTITUTION AND FRAGMENT INCLUSION
for some details.
.Pp
-.It Cm @link Ar name
-Added after a file entry by
-.Nm
-to record that the entry is actually a hard link.
-.Pp
-.It Cm @localbase Ar base
-Used internally to record the settings of
-.Fl L
-option.
-.Pp
.It Cm @man Ar filename
Specialized version of
.Cm @file ,
.Xr apropos 1
database when needed.
.Pp
-.It Cm @md5
-Added after a file entry by
-.Nm
-to record the files's cryptographic checksum.
-Replaced by
-.Cm @sha
-since
-.Ox 4.5 .
-.Pp
.It Cm @mode Ar mode
Set default permission for all subsequently extracted files to
.Ar mode .
command.
Use without an arg to set back to default (extraction) permissions.
.Pp
-.It Cm @name Ar pkgname
-Set the name of the package.
-This name is potentially different than the name of
-the file it came in, and is used when keeping track of the package
-for later deinstallation.
-Note that
-.Nm
-will derive this field from the package name and add it automatically
-if none is given.
-.Pp
.It Cm @newgroup Ar name : Ns Ar gid
During
.Xr pkg_add 1 ,
.It Cm @option Ar name
Effects vary depending on
.Ar name .
-Some options are not documented yet.
+These are the user settable options
.Bl -tag -width indent
.It Ar always-update
By default,
ends with a slash,
it refers to a configuration directory instead.
.Pp
-.It Cm @sha
-Added after a file entry by
-.Nm
-to record the files's cryptographic checksum,
-as a sha256 digest encoded in base64.
-.Pp
.It Cm @shell Ar filename
Specialized version of
.Cm @file ,
See
.Xr shells 5 .
.Pp
-.It Cm @size
-Added after a file entry by
-.Nm
-to record a file size.
-.Pp
-.It Cm @symlink Ar name
-Added after a file entry by
-.Nm
-to record that the entry is actually a symbolic link.
-.Pp
.It Cm @sysctl Ar var Ns = Ns Ar val
.It Cm @sysctl Ar var Ns \*(Ge Ns Ar val
During
.Cm @unexec ,
except it only gets executed while removing an old package during updates,
and not during true deletions.
-.Pp
-.It Cm @url
-Original location of the package, automatically recorded in installed packages
-by
-.Xr pkg_add 1 .
.El
+.Pp
See
.Xr package 5
for other internal annotations that are automatically added by the