freebsd-dev/usr.sbin/pkg_install
Giorgos Keramidas bea08b23d3 Add a -n option to pkg_create(1), to inhibit duplicate work.
When run without this option, multiple runs of `pkg_create -Rb' will
recreate common packages multiple times.  This can take a lot of time
for large packages.  With the -n option `pkg_create -b' checks with
stat(2) and skips packages that already exist.

Note that this may *not* be safe of the existing output file is not
really a package, or if it has been corrupted, modified or otherwise
tinkered with between subsequent pkg_create runs.  For this and POLA
reasons, the default behavior is to *rebuild* the packages, and the -n
option can be used when we know it is `safe' to run in no-regenerate
mode.

Inspired by:	A post to freebsd-questions
	 	by Matthias Apitz < matthias.apitz at oclc.org >
Reviewed by:	marcus, flz
Approved by:	marcus
MFC after:	2 weeks
2008-05-27 05:10:54 +00:00
..
add - Restore functionality broken in previous commit; we need to be able to report 2008-05-03 22:56:50 +00:00
create Add a -n option to pkg_create(1), to inhibit duplicate work. 2008-05-27 05:10:54 +00:00
delete - Restore functionality broken in previous commit; we need to be able to report 2008-05-03 22:56:50 +00:00
info Fix pkg_info when specifying a remote package. 2008-04-16 13:05:35 +00:00
lib - Restore functionality broken in previous commit; we need to be able to report 2008-05-03 22:56:50 +00:00
updating Backout previous commit, since it's done without maintainers 2007-12-09 11:01:58 +00:00
version - Adjust INDEX file name to INDEX-8 so that it matches the major FreeBSD 2007-12-20 20:02:16 +00:00
Makefile Add a distfile target to generate a distfile to be used by the 2008-04-09 15:08:31 +00:00
Makefile.inc - Backout 1.15, it was committed by accident 2008-05-03 23:17:37 +00:00
README
tkpkg

This is the pkg_install suite of tools for doing maintainance of
software "packages".  More documentation is available in the man pages
for each individual command.

This code was written by Jordan Hubbard for FreeBSD, snatched and
mildly reshaped by John Kohl in NetBSD and the changes taken back into
FreeBSD again by Jordan, who then proceeded to add another couple
of dozen features on top.  Whee! :-)