Date: Tue, 2 Apr 2002 04:47:10 -0800 (PST) From: Murray Stokely <murray@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pkg_install/add perform.c Message-ID: <200204021247.g32ClBZ82216@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
murray 2002/04/02 04:47:10 PST
Modified files:
usr.sbin/pkg_install/add perform.c
Log:
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
Revision Changes Path
1.70 +4 -3 src/usr.sbin/pkg_install/add/perform.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204021247.g32ClBZ82216>
