diff options
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/sudo/ChangeLog | 5 | ||||
-rw-r--r-- | app-admin/sudo/sudo-1.6.8_p8-r3.ebuild | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/app-admin/sudo/ChangeLog b/app-admin/sudo/ChangeLog index c144e285575d..d023bcc33f06 100644 --- a/app-admin/sudo/ChangeLog +++ b/app-admin/sudo/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-admin/sudo # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/ChangeLog,v 1.51 2005/06/08 23:58:29 taviso Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/ChangeLog,v 1.52 2005/06/09 00:56:14 taviso Exp $ + + 09 Jun 2005; Tavis Ormandy <taviso@gentoo.org> sudo-1.6.8_p8-r3.ebuild: + nano should be the default editor. 09 Jun 2005; Tavis Ormandy <taviso@gentoo.org> sudo-1.6.8_p8-r3.ebuild: ROOTPATH does not contain /usr/local prefixed directories in recent diff --git a/app-admin/sudo/sudo-1.6.8_p8-r3.ebuild b/app-admin/sudo/sudo-1.6.8_p8-r3.ebuild index 1ee08a14e693..eb281bd014e5 100644 --- a/app-admin/sudo/sudo-1.6.8_p8-r3.ebuild +++ b/app-admin/sudo/sudo-1.6.8_p8-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.6.8_p8-r3.ebuild,v 1.3 2005/06/09 00:26:20 taviso Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.6.8_p8-r3.ebuild,v 1.4 2005/06/09 00:56:14 taviso Exp $ inherit eutils pam @@ -94,7 +94,11 @@ src_compile() { einfo "...done." - econf --with-secure-path="${ROOTPATH}" --with-env-editor \ + # XXX: --disable-path-info closes an info leak, but may be confusing. + # XXX: /bin/vi may not be available, make nano visudo's default. + econf --with-secure-path="${ROOTPATH}" \ + --with-editor=/bin/nano \ + --with-env-editor \ $(use_with offensive insults) \ $(use_with offensive all-insults) \ $(use_with pam) \ @@ -114,7 +118,6 @@ src_install() { insinto /etc doins ${FILESDIR}/sudoers - fperms 0440 /etc/sudoers } |