Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Am I wrong?..
Date: Thu, 01 Oct 2009 23:54:56
Message-Id: A3239D29-D73E-45A4-9CF9-2233F1D74B95@stellar.eclipse.co.uk
In Reply to: Re: [gentoo-user] Am I wrong?.. by Neil Bothwick
1 On 1 Oct 2009, at 23:53, Neil Bothwick wrote:
2
3 > On Thu, 01 Oct 2009 23:12:36 +0300, Arthur D. wrote:
4 >
5 >> I think it's most reasonably to omit that hardcoding line from
6 >> ebuild.
7 >
8 > I think you need to re-read the ebuild. sudo depends on virtual/
9 > editor,
10 > not nano. Nowhere is nano hardcoded to be a requirement of sudo. On
11 > the
12 > other hand, if you went with the upstream settings, you'd need to
13 > add vim
14 > as a dependency, even for those that don't wish to use it. Forcing
15 > such
16 > things on the user is most definitely not the Gentoo Way.
17
18 You appear to be demonstrating that you don't fully understand the
19 problem:
20
21 828 ~ $ grep nano /usr/portage/app-admin/sudo/sudo-1.7.2_p1.ebuild
22 # XXX: /bin/vi may not be available, make nano visudo's default.
23 --with-editor=/bin/nano \
24 829 ~ $
25
26 Stroller.

Replies

Subject Author
Re: [gentoo-user] Am I wrong?.. Neil Bothwick <neil@××××××××××.uk>