Re: [gentoo-user] ssmtp - what wants to install it?

2005-06-14 Thread Neil Bothwick
On Mon, 13 Jun 2005 15:31:21 -0700, Zac Medico wrote:

 Yep, that's probably it.  I ran into this a while back.  Unfortunately
 equery is unreasonably slow with such queries.  The fastest way I've
 found: find /var/db/pkg -path '*DEPEND' | xargs grep virtual/mta

qpkg is orders of magnitude faster than equery. It may be deprecated but
it works.


-- 
Neil Bothwick

You summoned me, Captain?! said Earl Grey, hotly.


pgpuIDZNUoYVz.pgp
Description: PGP signature


Re: [gentoo-user] ssmtp - what wants to install it?

2005-06-14 Thread Zac Medico
Neil Bothwick wrote:
 Zac Medico wrote:
  Yep, that's probably it.  I ran into this a while back.  Unfortunately
  equery is unreasonably slow with such queries.  The fastest way I've
  found: find /var/db/pkg -path '*DEPEND' | xargs grep virtual/mta
 qpkg is orders of magnitude faster than equery. It may be deprecated but
 it works.

Thanks for the tip.  I thought qpkg was gone but then I found it hidden along 
with etcat.  Qpkg definitely is much faster but it doesn't seem to work for a 
virtual depend.  Even with equery, I needed to specify virtual/mta rather than 
mail-mta/ssmtp in order to get results.  It seems that our portage query tools 
need some work. :-(

Zac
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] ssmtp - what wants to install it?

2005-06-13 Thread Mark Shields
Trying to remove any MTAs from my system, so I did an emerge -C ssmtp,
which unmerged it just fine.  But, doing a emerge -DNtpvu world
returns:

[EMAIL PROTECTED] ~ $ sudo emerge -DNtpvu world

These are the packages that I would merge, in reverse order:

Calculating world dependencies ...done!
[nomerge  ] x11-terms/xterm-200-r3  -Xaw3d -debug -toolbar
+truetype +unicode
[nomerge  ]  sys-apps/utempter-0.5.5.5-r1  -debug
[ebuild  N]   mail-mta/ssmtp-2.61  +ipv6 -mailwrapper -md5sum +ssl 0 kB

Total size of downloads: 0 kB
[EMAIL PROTECTED] ~ $

I assume either xterm or utempter is requiring ssmtp, but I don't
understand why.  Any ideas?
-- 
- Mark Shields

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssmtp - what wants to install it?

2005-06-13 Thread Matthew Cline
 I assume either xterm or utempter is requiring ssmtp, but I don't
 understand why.  Any ideas?

Looking at the ebuilds themselves, neither ebuild has a dependency
upon ssmtp or an other mta.

Matt

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] ssmtp - what wants to install it?

2005-06-13 Thread Dave Nebinger

 Trying to remove any MTAs from my system...

Normal unix OS's require an MTA to be defined.  Portage has virtual mta
placeholders that define the MTA that is installed on the system (i.e. I'm
using postfix).

If you don't have an MTA installed (which you don't), portage knows that the
MTA is missing and wants to install ssmtp as the default mta.

The question I have is why would you want to remove all MTAs?



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssmtp - what wants to install it?

2005-06-13 Thread A. Khattri
On Mon, 13 Jun 2005, Mark Shields wrote:

 Trying to remove any MTAs from my system, so I did an emerge -C ssmtp,
 which unmerged it just fine.

Its a virtual dependency.

ssmtp is not really an MTA, but a wrapper for a script that emulates
sendmail. Its harmless and uses very little space so you should keep it
(besides, you might need it if you want output from cron scripts emailed
to you).


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssmtp - what wants to install it?

2005-06-13 Thread Mark Shields
A. Khattri,

Ah yes, I remember reading it's not a full-fledged MTA.  I was just
curious as to why it was trying to install.  And to answer the first
reply's question: The question I have is why would you want to remove
all MTAs?.  Why have something on your system when you don't use it? 
This is a personal server; I have ssh setup, I check the log files
myself.

On 6/13/05, A. Khattri [EMAIL PROTECTED] wrote:
 On Mon, 13 Jun 2005, Mark Shields wrote:
 
  Trying to remove any MTAs from my system, so I did an emerge -C ssmtp,
  which unmerged it just fine.
 
 Its a virtual dependency.
 
 ssmtp is not really an MTA, but a wrapper for a script that emulates
 sendmail. Its harmless and uses very little space so you should keep it
 (besides, you might need it if you want output from cron scripts emailed
 to you).
 
 
 --
 
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
- Mark Shields

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssmtp - what wants to install it?

2005-06-13 Thread Bryan Whitehead

My reason,

Disk space is too cheap to waste time keeping a small tiny place-holder 
MTA inactive... The fact you and others have emailed about this has 
already not been worth the cost in disk space... ;)


On Mon, 13 Jun 2005, Mark Shields wrote:


A. Khattri,

Ah yes, I remember reading it's not a full-fledged MTA.  I was just
curious as to why it was trying to install.  And to answer the first
reply's question: The question I have is why would you want to remove
all MTAs?.  Why have something on your system when you don't use it?
This is a personal server; I have ssh setup, I check the log files
myself.

On 6/13/05, A. Khattri [EMAIL PROTECTED] wrote:

On Mon, 13 Jun 2005, Mark Shields wrote:


Trying to remove any MTAs from my system, so I did an emerge -C ssmtp,
which unmerged it just fine.


Its a virtual dependency.

ssmtp is not really an MTA, but a wrapper for a script that emulates
sendmail. Its harmless and uses very little space so you should keep it
(besides, you might need it if you want output from cron scripts emailed
to you).


--

--
gentoo-user@gentoo.org mailing list








--
Bryan Whitehead
Email:[EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssmtp - what wants to install it?

2005-06-13 Thread Neil Bothwick
On Mon, 13 Jun 2005 17:17:11 -0400, Mark Shields wrote:

 Ah yes, I remember reading it's not a full-fledged MTA.  I was just
 curious as to why it was trying to install.  And to answer the first
 reply's question: The question I have is why would you want to remove
 all MTAs?.  Why have something on your system when you don't use it? 
 This is a personal server; I have ssh setup, I check the log files
 myself.

Do you have a cron daemon installed? They all require an MTA.


-- 
Neil Bothwick

In 1750 Issac Newton became discouraged when he fell up a flight of
stairs.


pgpFEiL6yDNpn.pgp
Description: PGP signature


Re: [gentoo-user] ssmtp - what wants to install it?

2005-06-13 Thread Zac Medico
Neil Bothwick wrote:
 On Mon, 13 Jun 2005 17:17:11 -0400, Mark Shields wrote:
 
 
Ah yes, I remember reading it's not a full-fledged MTA.  I was just
curious as to why it was trying to install.  And to answer the first
reply's question: The question I have is why would you want to remove
all MTAs?.  Why have something on your system when you don't use it? 
This is a personal server; I have ssh setup, I check the log files
myself.
 
 
 Do you have a cron daemon installed? They all require an MTA.
 
 

Yep, that's probably it.  I ran into this a while back.  Unfortunately equery 
is unreasonably slow with such queries.  The fastest way I've found: find 
/var/db/pkg -path '*DEPEND' | xargs grep virtual/mta

Zac
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssmtp - what wants to install it?

2005-06-13 Thread Mark Shields
Yeah, that's what it is.

On 6/13/05, Neil Bothwick [EMAIL PROTECTED] wrote:
 On Mon, 13 Jun 2005 17:17:11 -0400, Mark Shields wrote:
 
  Ah yes, I remember reading it's not a full-fledged MTA.  I was just
  curious as to why it was trying to install.  And to answer the first
  reply's question: The question I have is why would you want to remove
  all MTAs?.  Why have something on your system when you don't use it?
  This is a personal server; I have ssh setup, I check the log files
  myself.
 
 Do you have a cron daemon installed? They all require an MTA.
 
 
 --
 Neil Bothwick
 
 In 1750 Issac Newton became discouraged when he fell up a flight of
 stairs.
 
 
 


-- 
- Mark Shields

-- 
gentoo-user@gentoo.org mailing list