1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/usr.sbin/pkg_install
Murray Stokely 1bb336ef80 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 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
version Drop maintainership. 2001-09-18 17:58:10 +00:00
Makefile exists(../../crypto) --> exists(${.CURDIR}/../../crypto) 2001-08-02 18:21:48 +00:00
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! :-)