On Wed, Oct 01, 2003, Bill Campbell wrote:

> On Wed, Oct 01, 2003, Steffen Weinreich wrote:
> >
> >--On Mittwoch, Oktober 01, 2003 13:28:14 -0400 Dennis McRitchie 
> ><[EMAIL PROTECTED]> wrote:
> ...
> >>2) MTA
> >>
> >>I assume that this is referring to a Mail Transport Agent. [...]
> >
> >MTA is a virtual package [...]
> 
> This brings up a topic I've been meaning to address for a while.
> 
> The MTA package gets in the way when bootstrapping OpenPKG if one wants to
> do the build as a non-root user using ``sudo'' since ``sudo'' depends on
> MTA.  [...]
> 
Bill,
i understand this problem.

It is annoying to have the MTA requirement because the default
configuration of sudo does not even make use of the MTA. Also, the build
time decision whether to use an MTA or not is not enforced by sudo as it
can be configured in the sudoers file at any time. So we decided to drop
this requirement entirely, see http://cvs.openpkg.org/chngview?cn=12561.

For CURRENT, this means that the sendmail program is now hardcoded to
[/usr]/bin/true in order not to break sudo functionality. Those who want
to send mail need to configure "mailerpath" in the sudoers(5) file and
can no longer depend on the buildtime configuration. A small price to
pay, i think.

As soon as time permits, we'll try to further reduce sudo's indirect
requirements by removing the gcc dependency from fsl. In the meantime
you can bootstrap "with_fsl=no" and add it later if you wish.

Unless i hear complaints i'll MFC similar behavior into a sudo...-1.3.x
upgrade package next week. Countrary to CURRENT, the RELEASE update
should behave as much like the original version as possible. Maybe i
have to retain the execution of %{l_prefix}/sbin/sendmail and include a
[/usr]/bin/true binary called "sendmail" as a ghost file in case someone
really has MTA omitted. I have to think about that.

--
[EMAIL PROTECTED], Cable & Wireless
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to