Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/usr.sbin/pkg_install/create Pull up revisions 1.24-1.26...



details:   https://anonhg.NetBSD.org/src/rev/8d1f402aa9ad
branches:  netbsd-1-5
changeset: 490914:8d1f402aa9ad
user:      he <he%NetBSD.org@localhost>
date:      Tue Mar 20 18:01:22 2001 +0000

description:
Pull up revisions 1.24-1.26 (requested by hubertf):
  Various changes / updates:
   o add -V option to determine version
   o various minor bugfixes and spelling fixes

diffstat:

 usr.sbin/pkg_install/create/pkg_create.1 |  108 +++++++++++++++---------------
 1 files changed, 55 insertions(+), 53 deletions(-)

diffs (185 lines):

diff -r da152de02625 -r 8d1f402aa9ad usr.sbin/pkg_install/create/pkg_create.1
--- a/usr.sbin/pkg_install/create/pkg_create.1  Tue Mar 20 18:00:37 2001 +0000
+++ b/usr.sbin/pkg_install/create/pkg_create.1  Tue Mar 20 18:01:22 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pkg_create.1,v 1.23 2000/03/13 23:22:55 soren Exp $
+.\" $NetBSD: pkg_create.1,v 1.23.4.1 2001/03/20 18:01:22 he Exp $
 .\"
 .\" FreeBSD install - a package for the installation and maintainance
 .\" of non-core utilities.
@@ -32,7 +32,7 @@
 .Nd a utility for creating software package distributions
 .Sh SYNOPSIS
 .Nm ""
-.Op Fl ORhvl
+.Op Fl hlORVv
 .Bk -words
 .Op Fl B Ar build-info-file
 .Ek
@@ -115,56 +115,6 @@
 to be retained in a binary package and viewed wherever it is installed,
 using
 .Xr pkg_info 1 .
-.It Fl C Ar cpkgs
-Set the initial package conflict list to
-.Ar cpkgs .
-This is assumed to be a whitespace separated list of package names
-and is meant as a convenient shorthand for specifying multiple
-.Cm @pkgcfl
-directives in the packing list (see PACKING LIST DETAILS section below).
-.It Fl D Ar displayfile
-Display the file after installing the package. Useful for things like
-legal notices on almost-free software, etc.
-.It Fl L Ar SrcDir
-This sets the package's @src directive; see below for a description
-of what this does.
-.It Fl O
-Go into a `packing list Only' mode.
-This is used to do `fake pkg_add' operations when a package is installed.
-In such cases, it is necessary to know what the final, adjusted packing
-list will look like.
-.It Fl P Ar dpkgs
-Set the initial package dependency list to
-.Ar dpkgs .
-This is assumed to be a whitespace separated list of package names
-and is meant as a convenient shorthand for specifying multiple
-.Cm @pkgdep
-directives in the packing list (see PACKING LIST DETAILS section below).
-.It Fl R
-Re-order any directories in the pkg/PLIST file into reverse alphabetic
-order, so that child directories will automatically be removed before
-parent directories.
-.It Fl S Ar size-all-file
-Store the given file for later querying with the
-.Xr pkg_info 1 
-.Ar -S
-flag. The file is expected to contain the size (in bytes) of all files of
-this package plus any required packages added up and stored as a
-ASCII string, terminated by a newline.
-.It Fl X Ar excludefile
-Pass
-.Ar excludefile
-as a
-.Fl -exclude-from
-argument to
-.Cm tar
-when creating final package.  See
-.Cm tar
-man page (or run
-.Cm tar
-with
-.Fl -help
-flag) for further information on using this flag.
 .It Fl b Ar build-version-file
 Install the file
 .Ar build-version-file
@@ -174,6 +124,13 @@
 to be retained in a binary package and viewed wherever it is installed,
 using
 .Xr pkg_info 1 .
+.It Fl C Ar cpkgs
+Set the initial package conflict list to
+.Ar cpkgs .
+This is assumed to be a whitespace separated list of package names
+and is meant as a convenient shorthand for specifying multiple
+.Cm @pkgcfl
+directives in the packing list (see PACKING LIST DETAILS section below).
 .It Fl c Ar [-]desc
 Fetch package ``one line description'' from file
 .Ar desc
@@ -182,6 +139,9 @@
 the argument itself.  This string should also
 give some idea of which version of the product (if any) the package
 represents.
+.It Fl D Ar displayfile
+Display the file after installing the package. Useful for things like
+legal notices on almost-free software, etc.
 .It Fl d Ar [-]desc
 Fetch long description for package from file
 .Ar desc
@@ -213,6 +173,9 @@
 to be the de-install procedure for the package.  This can be any
 executable program (or shell script).  It will be invoked automatically
 when the package is later (if ever) de-installed.
+.It Fl L Ar SrcDir
+This sets the package's @src directive; see below for a description
+of what this does.
 .It Fl l
 Check that any symbolic links which are to be placed in the package are
 relative to the current prefix. This means using
@@ -239,11 +202,27 @@
 is the name of the first directory named by a
 .Cm @cwd
 directive.
+.It Fl O
+Go into a `packing list Only' mode.
+This is used to do `fake pkg_add' operations when a package is installed.
+In such cases, it is necessary to know what the final, adjusted packing
+list will look like.
+.It Fl P Ar dpkgs
+Set the initial package dependency list to
+.Ar dpkgs .
+This is assumed to be a whitespace separated list of package names
+and is meant as a convenient shorthand for specifying multiple
+.Cm @pkgdep
+directives in the packing list (see PACKING LIST DETAILS section below).
 .It Fl p Ar prefix
 Set
 .Ar prefix
 as the initial directory ``base'' to start from in selecting files for
 the package.
+.It Fl R
+Re-order any directories in the pkg/PLIST file into reverse alphabetic
+order, so that child directories will automatically be removed before
+parent directories.
 .It Fl r Ar rscript
 Set
 .Ar rscript
@@ -251,6 +230,13 @@
 executable program (or shell script).  It will be invoked automatically
 at installation/deinstallation time to determine whether or not
 installation/deinstallation should proceed.
+.It Fl S Ar size-all-file
+Store the given file for later querying with the
+.Xr pkg_info 1 
+.Ar -S
+flag. The file is expected to contain the size (in bytes) of all files of
+this package plus any required packages added up and stored as a
+ASCII string, terminated by a newline.
 .It Fl s Ar size-pkg-file
 Store the given file for later querying with the
 .Xr pkg_info 1 
@@ -271,8 +257,24 @@
 for
 .Xr mktemp 3
 to fill in with a unique ID.
+.It Fl V
+Print version number and exit.
 .It Fl v
 Turn on verbose output.
+.It Fl X Ar excludefile
+Pass
+.Ar excludefile
+as a
+.Fl -exclude-from
+argument to
+.Cm tar
+when creating final package.  See
+.Cm tar
+man page (or run
+.Cm tar
+with
+.Fl -help
+flag) for further information on using this flag.
 .El
 .Pp
 .Sh PACKING LIST DETAILS
@@ -456,7 +458,7 @@
 .Xr pkg_admin 1 ,
 .Xr pkg_delete 1 ,
 .Xr pkg_info 1 ,
-.Xr sysconf 3 .
+.Xr sysconf 3
 .Sh HISTORY
 The
 .Nm



Home | Main Index | Thread Index | Old Index