Deleted Added
full compact
pkg_create.1 (179352) pkg_create.1 (179433)
1.\"
2.\" FreeBSD install - a package for the installation and maintainance
3.\" of non-core utilities.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\" notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\" notice, this list of conditions and the following disclaimer in the
12.\" documentation and/or other materials provided with the distribution.
13.\"
14.\" Jordan K. Hubbard
15.\"
16.\"
17.\" @(#)pkg_create.1
1.\"
2.\" FreeBSD install - a package for the installation and maintainance
3.\" of non-core utilities.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\" notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\" notice, this list of conditions and the following disclaimer in the
12.\" documentation and/or other materials provided with the distribution.
13.\"
14.\" Jordan K. Hubbard
15.\"
16.\"
17.\" @(#)pkg_create.1
18.\" $FreeBSD: head/usr.sbin/pkg_install/create/pkg_create.1 179352 2008-05-27 05:10:54Z keramida $
18.\" $FreeBSD: head/usr.sbin/pkg_install/create/pkg_create.1 179433 2008-05-30 14:26:09Z flz $
19.\"
20.\" hacked up by John Kohl for NetBSD--fixed a few bugs, extended keywords,
21.\" added dependency tracking, etc.
22.\"
23.\" [jkh] Took John's changes back and made some additional extensions for
24.\" better integration with FreeBSD's new ports collection.
25.\"
19.\"
20.\" hacked up by John Kohl for NetBSD--fixed a few bugs, extended keywords,
21.\" added dependency tracking, etc.
22.\"
23.\" [jkh] Took John's changes back and made some additional extensions for
24.\" better integration with FreeBSD's new ports collection.
25.\"
26.Dd May 27, 2008
26.Dd May 30, 2008
27.Dt PKG_CREATE 1
28.Os
29.Sh NAME
30.Nm pkg_create
31.Nd a utility for creating software package distributions
32.Sh SYNOPSIS
33.Nm
34.Op Fl YNOhjnvyz

--- 63 unchanged lines hidden (view full) ---

98.It Fl d Xo
99.Oo Fl Oc Ns Ar desc
100.Xc
101Fetch long description for package from file
102.Ar desc
103or, if preceded by
104.Cm - ,
105the argument itself.
27.Dt PKG_CREATE 1
28.Os
29.Sh NAME
30.Nm pkg_create
31.Nd a utility for creating software package distributions
32.Sh SYNOPSIS
33.Nm
34.Op Fl YNOhjnvyz

--- 63 unchanged lines hidden (view full) ---

98.It Fl d Xo
99.Oo Fl Oc Ns Ar desc
100.Xc
101Fetch long description for package from file
102.Ar desc
103or, if preceded by
104.Cm - ,
105the argument itself.
106.It Fl Y
106.It Fl Y , -yes
107Assume a default answer of `Yes' for any questions asked.
107Assume a default answer of `Yes' for any questions asked.
108.It Fl N
108.It Fl N , -no
109Assume a default answer of `No' for any questions asked.
109Assume a default answer of `No' for any questions asked.
110.It Fl O
110.It Fl O , -plist-only
111Go into a `packing list Only' mode.
112This is a custom hack for the
113.Fx
114.Em "Ports Collection"
115and is used to do `fake pkg_add' operations when a port is installed.
116In such cases, it is necessary to know what the final, adjusted packing
117list will look like.
111Go into a `packing list Only' mode.
112This is a custom hack for the
113.Fx
114.Em "Ports Collection"
115and is used to do `fake pkg_add' operations when a port is installed.
116In such cases, it is necessary to know what the final, adjusted packing
117list will look like.
118.It Fl v
118.It Fl v , -verbose
119Turn on verbose output.
120.It Fl h
121Force tar to follow symbolic links, so that the files they point to
122are dumped, rather than the links themselves.
123.It Fl i Ar iscript
124Set
125.Ar iscript
126to be the pre-install procedure for the package.

--- 47 unchanged lines hidden (view full) ---

174where optional
175.Ar pkgorigin
176element denotes origin of each dependency from the list and it is
177recorded into the packing list along with the
178.Ar pkgname
179using
180.Cm @comment
181directive.
119Turn on verbose output.
120.It Fl h
121Force tar to follow symbolic links, so that the files they point to
122are dumped, rather than the links themselves.
123.It Fl i Ar iscript
124Set
125.Ar iscript
126to be the pre-install procedure for the package.

--- 47 unchanged lines hidden (view full) ---

174where optional
175.Ar pkgorigin
176element denotes origin of each dependency from the list and it is
177recorded into the packing list along with the
178.Ar pkgname
179using
180.Cm @comment
181directive.
182.It Fl p Ar prefix
182.It Fl p , -prefix Ar prefix
183Set
184.Ar prefix
185as the initial directory
186.Dq base
187to start from in selecting files for
188the package.
189.It Fl k Ar dscript
190Set

--- 47 unchanged lines hidden (view full) ---

238will override the value of
239.Cm @cwd
240during package creation.
241.It Fl S Ar basedir
242.Ar basedir
243will be prefixed to all
244.Cm @cwd
245during package creation.
183Set
184.Ar prefix
185as the initial directory
186.Dq base
187to start from in selecting files for
188the package.
189.It Fl k Ar dscript
190Set

--- 47 unchanged lines hidden (view full) ---

238will override the value of
239.Cm @cwd
240during package creation.
241.It Fl S Ar basedir
242.Ar basedir
243will be prefixed to all
244.Cm @cwd
245during package creation.
246.It Fl t Ar template
246.It Fl t , -template Ar template
247Use
248.Ar template
249as the input to
250.Xr mktemp 3 .
251By default, this is the string
252.Pa /tmp/instmp.XXXXXX ,
253but it may be necessary to override it in the situation where
254space in your

--- 36 unchanged lines hidden (view full) ---

291.Fl e
292.Fl p
293.Pa prefix ,
294where
295.Pa prefix
296is the name of the first directory named by a
297.Cm @cwd
298directive.
247Use
248.Ar template
249as the input to
250.Xr mktemp 3 .
251By default, this is the string
252.Pa /tmp/instmp.XXXXXX ,
253but it may be necessary to override it in the situation where
254space in your

--- 36 unchanged lines hidden (view full) ---

291.Fl e
292.Fl p
293.Pa prefix ,
294where
295.Pa prefix
296is the name of the first directory named by a
297.Cm @cwd
298directive.
299.It Fl o Ar originpath
299.It Fl o , -origin Ar originpath
300Record an
301.Ar originpath ,
302as location of the port from which package has been created in the
303.Fx
304.Em "Ports Collection" .
305It should be in the form
306.Pa MASTERCATEGORY/PORTDIR .
307.It Fl j

--- 12 unchanged lines hidden (view full) ---

320.Pa .tar .
321.It Fl y
322Compatibility synonym for
323.Fl j .
324.It Fl z
325Use
326.Xr gzip 1
327utility to compress package tarball.
300Record an
301.Ar originpath ,
302as location of the port from which package has been created in the
303.Fx
304.Em "Ports Collection" .
305It should be in the form
306.Pa MASTERCATEGORY/PORTDIR .
307.It Fl j

--- 12 unchanged lines hidden (view full) ---

320.Pa .tar .
321.It Fl y
322Compatibility synonym for
323.Fl j .
324.It Fl z
325Use
326.Xr gzip 1
327utility to compress package tarball.
328.It Fl b Ar pkg-name
328.It Fl b , -backup Ar pkg-name
329Create package file from a locally installed package named
330.Ar pkg-name .
331If the
332.Ar pkg-filename
333is not specified, then resulting archive will be created in the
334current directory and named
335.Ar pkg-name
336with an appropriate extraction suffix applied.
329Create package file from a locally installed package named
330.Ar pkg-name .
331If the
332.Ar pkg-filename
333is not specified, then resulting archive will be created in the
334current directory and named
335.Ar pkg-name
336with an appropriate extraction suffix applied.
337.It Fl R
337.It Fl R , -recursive
338When creating package file from a locally installed package
339also create package files for all packages required by
340.Ar pkg-name .
341Resulting archive(s) will be created in the current directory
342and named using name of the respective package with appropriate
343extraction suffix applied.
338When creating package file from a locally installed package
339also create package files for all packages required by
340.Ar pkg-name .
341Resulting archive(s) will be created in the current directory
342and named using name of the respective package with appropriate
343extraction suffix applied.
344.It Fl x
344.It Fl x , -regex
345Use basic regular expressions for
346.Ar pkg-name .
345Use basic regular expressions for
346.Ar pkg-name .
347.It Fl E
347.It Fl E , -extended
348Use extended (modern) regular expressions for
349.Ar pkg-name .
348Use extended (modern) regular expressions for
349.Ar pkg-name .
350.It Fl G
350.It Fl G , -no-glob
351Use exact matching for
352.Ar pkg-name .
353.It Fl n
354Run in
355.Dq no clobber
356mode.
357If a package tarball exists, the
358.Nm

--- 294 unchanged lines hidden ---
351Use exact matching for
352.Ar pkg-name .
353.It Fl n
354Run in
355.Dq no clobber
356mode.
357If a package tarball exists, the
358.Nm

--- 294 unchanged lines hidden ---