pkg_create.1 (37166) | pkg_create.1 (41866) |
---|---|
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.\" $Id: pkg_create.1,v 1.25 1998/05/24 03:11:17 steve Exp $ | 18.\" $Id: pkg_create.1,v 1.26 1998/06/26 07:15:37 jkoshy Exp $ |
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 April 21, 1995 --- 4 unchanged lines hidden (view full) --- 31.Nd a utility for creating software package distributions 32.Sh SYNOPSIS 33.Nm 34.Op Fl YNOhv 35.Op Fl P Ar pkgs 36.Op Fl p Ar prefix 37.Op Fl f Ar contents 38.Op Fl i Ar iscript | 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 April 21, 1995 --- 4 unchanged lines hidden (view full) --- 31.Nd a utility for creating software package distributions 32.Sh SYNOPSIS 33.Nm 34.Op Fl YNOhv 35.Op Fl P Ar pkgs 36.Op Fl p Ar prefix 37.Op Fl f Ar contents 38.Op Fl i Ar iscript |
39.Op Fl I Ar piscript |
|
39.Op Fl k Ar dscript | 40.Op Fl k Ar dscript |
41.Op Fl K Ar pdscript |
|
40.Op Fl r Ar rscript 41.Op Fl s Ar srcdir 42.Op Fl t Ar template 43.Op Fl X Ar excludefile 44.Op Fl D Ar displayfile 45.Op Fl m Ar mtreefile 46.Fl c Ar comment 47.Fl d Ar description --- 49 unchanged lines hidden (view full) --- 97.It Fl v 98Turn on verbose output. 99.It Fl h 100Force tar to follow symbolic links, so that the files they point to 101are dumped, rather than the links themselves. 102.It Fl i Ar iscript 103Set 104.Ar iscript | 42.Op Fl r Ar rscript 43.Op Fl s Ar srcdir 44.Op Fl t Ar template 45.Op Fl X Ar excludefile 46.Op Fl D Ar displayfile 47.Op Fl m Ar mtreefile 48.Fl c Ar comment 49.Fl d Ar description --- 49 unchanged lines hidden (view full) --- 99.It Fl v 100Turn on verbose output. 101.It Fl h 102Force tar to follow symbolic links, so that the files they point to 103are dumped, rather than the links themselves. 104.It Fl i Ar iscript 105Set 106.Ar iscript |
105to be the install procedure for the package. This can be any | 107to be the pre-install procedure for the package. This can be any executable 108program (or shell script). It will be invoked automatically when the 109package is later installed. It will be passed the package's name as the 110first argument. 111 112.Cm Note: 113if the 114.Cm Fl I 115option is not given, this script will serve as both the pre-install and the 116post-install script for the package, differentiating between the 117functionality by passing the keywords 118.Ar PRE-INSTALL 119and 120.Ar POST-INSTALL 121respectively, along with the package's name. 122.It Fl I Ar piscript 123Set 124.Ar piscript 125to be the post-install procedure for the package. This can be any |
106executable program (or shell script). It will be invoked automatically | 126executable program (or shell script). It will be invoked automatically |
107when the package is later installed. | 127when the package is later installed. It will be passed the package's name as 128the first argument. |
108.It Fl P Ar pkgs 109Set the initial package dependency list to 110.Ar pkgs . 111This is assumed to be a whitespace separated list of package names 112and is meant as a convenient shorthand for specifying multiple 113.Cm @pkgdep 114directives in the packing list (see PACKING LIST DETAILS section below). 115.It Fl p Ar prefix 116Set 117.Ar prefix 118as the initial directory ``base'' to start from in selecting files for 119the package. 120.It Fl k Ar dscript 121Set 122.Ar dscript | 129.It Fl P Ar pkgs 130Set the initial package dependency list to 131.Ar pkgs . 132This is assumed to be a whitespace separated list of package names 133and is meant as a convenient shorthand for specifying multiple 134.Cm @pkgdep 135directives in the packing list (see PACKING LIST DETAILS section below). 136.It Fl p Ar prefix 137Set 138.Ar prefix 139as the initial directory ``base'' to start from in selecting files for 140the package. 141.It Fl k Ar dscript 142Set 143.Ar dscript |
123to be the de-install procedure for the package. This can be any 124executable program (or shell script). It will be invoked automatically 125when the package is later (if ever) de-installed. | 144to be the de-install procedure for the package. This can be any executable 145program (or shell script). It will be invoked automatically when the 146package is later (if ever) de-installed. It will be passed the package's 147name as the first argument. 148 149.Cm Note: 150if the 151.Cm Fl K 152option is not given, this script will serve as both the de-install and the 153post-deinstall script for the package, differentiating between the 154functionality by passing the keywords 155.Ar DEINSTALL 156and 157.Ar POST-DEINSTALL 158respectively, along with the package's name. 159.It Fl K Ar pdscript 160Set 161.Ar pdscript 162to be the post-deinstall procedure for the package. This can be any 163executable program (or shell script). It will be invoked automatically when 164the package is later de-installed. It will be passed the package's name as 165the first argument. 166 |
126.It Fl r Ar rscript 127Set 128.Ar rscript 129to be the ``requirements'' procedure for the package. This can be any 130executable program (or shell script). It will be invoked automatically 131at installation/deinstallation time to determine whether or not 132installation/deinstallation should proceed. 133.It Fl s Ar srcdir --- 288 unchanged lines hidden --- | 167.It Fl r Ar rscript 168Set 169.Ar rscript 170to be the ``requirements'' procedure for the package. This can be any 171executable program (or shell script). It will be invoked automatically 172at installation/deinstallation time to determine whether or not 173installation/deinstallation should proceed. 174.It Fl s Ar srcdir --- 288 unchanged lines hidden --- |