freebsd-skq/usr.sbin/pkg_install
murray d4697121d1 DTRT for packages read from STDIN:
$ cat pkg.tgz | pkg_add -

The above command line will fail on -CURRENT or -STABLE, and
therefore, so will sysinstall if you try to install additional
packages through the network (FTP) from a multiuser system.  Because
of the different environment during installation (wrt the playpen),
this bug does not manifest itself during initial installs, and users
may install packages from the network just fine at that time.

This bug was fixed in OpenBSD 4 years ago.

----------------------------
revision 1.4
date: 1998/04/07 05:56:13;  author: marc;  state: Exp;  lines: +13 -8
fix package input from standard input -- the program tried to process
stdin twice.  Note: it assumes stdin is a compressed tar file.
----------------------------

PR:		conf/36606
Obtained from:	OpenBSD
MFC after:	2 weeks
2002-04-02 12:47:10 +00:00
..
add DTRT for packages read from STDIN: 2002-04-02 12:47:10 +00:00
create Fix SCM ID's. 2002-04-01 09:39:07 +00:00
delete Fix SCM ID's. 2002-04-01 09:39:07 +00:00
info Fix SCM ID's. 2002-04-01 09:39:07 +00:00
lib Fix SCM ID's. 2002-04-01 09:39:07 +00:00
sign Fix SCM ID's. 2002-04-01 09:39:07 +00:00
update
version
Makefile
Makefile.inc Use some black make(1) magic to make pkg_install build even without 2002-02-27 19:03:15 +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! :-)