]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Prevent the commands output of pkg_version.pl from being executed without the
authorbmah <bmah@FreeBSD.org>
Fri, 9 Feb 2001 20:07:06 +0000 (20:07 +0000)
committerbmah <bmah@FreeBSD.org>
Fri, 9 Feb 2001 20:07:06 +0000 (20:07 +0000)
commitfcdd10fefc48869cc1fbebf3946aa47c0bde6293
tree482264b2c0bfa22499ed9b87183f6f8a18547f61
parentc90a74625467e4820dd5d3ae10a6be8a81173e53
Prevent the commands output of pkg_version.pl from being executed without the
user actually editing the output.  Too many people were rampantly abusing
this feature via "pkg_version -c | sh" without really being cognizant
of the dangers involved (ports upgrade kits) or the fact that it
just plain wasn't designed for it (dependencies).  We'll try to keep
people from shooting themselves in the foot.

Will be MFC-ed to RELENG_4 and RELENG_3 after cooling-off period.
usr.sbin/pkg_install/version/pkg_version.pl