PKGMK(8) | System Manager's Manual | PKGMK(8) |
pkgmk
— make an
installable software package
pkgmk |
[option ...] |
The pkgmk
utility makes an installable
software package to be used as input to the
pkgadd(8) command. The package itself
is an archive of files, and its contents have a directory structure
format.
The following archive formats are supported:
To prepare to use pkgmk
, you must write a
file named Pkgfile, that describes how the package
should be build. See Pkgfile(5) for
more information how-to write Pkgfile(s). Once a
suitable Pkgfile exists, each time you change some
source files, you simple execute pkgmk
to bring the
package up to date. The pkgmk
program uses
Pkgfile file and the last-modification times of the
source files to decide if the package needs to be updated. Global
configuration file is stored in /etc/pkgmk.conf.
This file is read by pkgmk
at startup.
The options are as follows:
-d
,
--download
-do
,
--download-only
-utd
,
--up-to-date
-uf
,
--update-footprint
-if
,
--ignore-footprint
-in
,
--ignore-new
-um
,
--update-md5sum
-im
,
--ignore-md5sum
-cm
,
--check-md5sum
-ns
,
--no-strip
-f
,
--force
-c
,
--clean
-kw
,
--keep-work
-cf
conffile,
--config-file
=conffile-af
format,
--archive-format
=formatSupported formats include “gnutar”, “pax”, “ustar”, and “v7”. See libarchive-formats(5) for more information about currently-supported formats.
-v
,
--version
-h
,
--help
Originally written by Per Lidén <per@fukt.bth.se> as part of “pkgutils” package for CRUX.
This implementation was extensively re-worked for Zeppe-Lin by
Alexandr Savca
<alexandr.savca89@gmail.com>.
January 8, 2025 | Zeppe-Lin |