summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2006-03-04 13:00:44 +0000
committerMarc Espie <espie@cvs.openbsd.org>2006-03-04 13:00:44 +0000
commite29dcc1025183eea55d10a3c8876046f9b13b709 (patch)
tree04104571a171583353eafc3a2777ab1060f3f155
parent1e808c7378799a7c3dc61940de832c233bcefdd1 (diff)
accurate description of script execution.
-rw-r--r--usr.sbin/pkg_add/pkg_add.118
1 files changed, 3 insertions, 15 deletions
diff --git a/usr.sbin/pkg_add/pkg_add.1 b/usr.sbin/pkg_add/pkg_add.1
index 449c6e944d7..f3aa57d16c6 100644
--- a/usr.sbin/pkg_add/pkg_add.1
+++ b/usr.sbin/pkg_add/pkg_add.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_add.1,v 1.57 2006/03/04 11:56:57 espie Exp $
+.\" $OpenBSD: pkg_add.1,v 1.58 2006/03/04 13:00:43 espie Exp $
.\"
.\" FreeBSD install - a package for the installation and maintenance
.\" of non-core utilities.
@@ -621,26 +621,14 @@ Complete rewrite.
Package extraction does need a temporary area that
can hold executable scripts.
.Pp
-.Nm
-looks through
-.Ev ${PKG_TMPDIR} ,
-.Ev ${TMPDIR} ,
-.Pa /var/tmp ,
-.Pa /tmp ,
-and
-.Pa /usr/tmp
-for such an area, in sequence.
.Pp
If
-.Ev ${TMPDIR}
-and
.Pa /var/tmp
-are mounted noexec, you must currently set
+is mounted noexec, you must currently set
.Ev PKG_TMPDIR
to a suitable area, as
.Nm
-does not check for noexec status except by failing to run installation
-scripts.
+will refuse to install any package that contains executable scripts.
.Sh BUGS
.Xr scp 1
processes do not die like they should when their pipe is closed,