diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2007-07-26 16:10:17 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2007-07-26 16:10:17 +0000 |
commit | 828fe35b0dee0a24eae19e816e9f6bc05c720bc0 (patch) | |
tree | 2adb27efde016e50eadcf2e74892e19861268a25 /usr.bin/sudo/visudo | |
parent | eb13f7f0aa17caa3bf79e5518751b3f095fb2445 (diff) |
Update to sudo 1.6.9p1. Note that the environment handling in sudo
1.6.9 has changed relative to older versions. Sudo now starts
commands with a minimal environment containing the variables in the
env_keep and env_check lists. This behavior is configurable in the
sudoers file. Please see the "SECURITY NOTES" section in the sudo
manual.
Diffstat (limited to 'usr.bin/sudo/visudo')
-rw-r--r-- | usr.bin/sudo/visudo/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/usr.bin/sudo/visudo/Makefile b/usr.bin/sudo/visudo/Makefile index d71c0837d44..db29a20fd4e 100644 --- a/usr.bin/sudo/visudo/Makefile +++ b/usr.bin/sudo/visudo/Makefile @@ -1,11 +1,23 @@ -# $OpenBSD: Makefile,v 1.1 2004/01/15 21:32:03 millert Exp $ +# $OpenBSD: Makefile,v 1.2 2007/07/26 16:10:16 millert Exp $ .PATH: ${.CURDIR}/.. PROG= visudo BINDIR= /usr/sbin + +POD2MAN=/usr/bin/pod2man MAN= visudo.8 +VERSION!=uname -rs +MANDATE!=date '+%B %e, %Y' + +CLEANFILES+= ${MAN} + +visudo.8: visudo.pod + sed -f ${.CURDIR}/../varsub ${.ALLSRC} | ${POD2MAN} --quotes=none \ + --name="VISUDO" --section=8 --release="${VERSION}" \ + --date="${MANDATE}" --center="OpenBSD Reference Manual" | \ + sed '1s/^/.if n .ll 78n /' > $@ -SRCS= visudo.c +afterdepend: ${MAN} .include <bsd.prog.mk> |