summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-11-17 11:20:25 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-11-17 11:20:25 +0000
commit1815fd66be7847284fd93750bef227b33c09491a (patch)
treefc0c468b6af52e7c0ae1f0299e12741e39c11b56
parentd06ef69f7e5fbe2510a5e02c77b1e4c744a79f62 (diff)
finally get around to documenting the alternate call to pkg_create.
-rw-r--r--usr.sbin/pkg_add/pkg_create.115
1 files changed, 14 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pkg_create.1 b/usr.sbin/pkg_add/pkg_create.1
index 31a16ae445a..ccdf991fbb9 100644
--- a/usr.sbin/pkg_add/pkg_create.1
+++ b/usr.sbin/pkg_add/pkg_create.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_create.1,v 1.26 2005/10/10 09:38:29 espie Exp $
+.\" $OpenBSD: pkg_create.1,v 1.27 2005/11/17 11:20:24 espie Exp $
.\"
.\" FreeBSD install - a package for the installation and maintenance
.\" of non-core utilities.
@@ -54,6 +54,8 @@
.Fl f Ar packinglist
.Ar pkg-name
.Ek
+.Nm pkg_create
+.Fl f Ar packinglist
.Sh DESCRIPTION
The
.Nm
@@ -197,6 +199,17 @@ Specify a
.Cm @wantlib
requirement on the command line.
.El
+.Pp
+.Nm
+can also be invoked with only the packing-list from an installed package.
+It will recreate the corresponding binary package in the current directory
+from the installation, or error out if any problem is found, e.g.,
+.Bd -literal
+ pkg_create -f /var/db/pkg/kdelibs-3.4.3/+CONTENTS
+.Ed
+will recreate a
+.Pa kdelibs-3.4.3.tgz
+package.
.Sh PACKING LIST DETAILS
The
.Dq packing list