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(1) 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-v
,
--version
-h
,
--help
The original implementation of pkgmk
was
done by Per Lidén
<per@fukt.bth.se>, the
author of CRUX, as part of
“pkgutils” package, and was maintained for years (and still
maintaining) by CRUX team.
This implementation was extensively re-worked for Zeppe-Lin by Alexandr Savca <alexandr.savca89@gmail.com>.
September 6, 2023 | Zeppe-Lin |