View previous topic :: View next topic |
Author |
Message |
yentingchen n00b
Joined: 11 Aug 2005 Posts: 3
|
Posted: Tue Aug 16, 2005 1:50 pm Post subject: Some confusion about the vixie-cron ebuild... |
|
|
Dear all, I'am confusing why vixie-cron depends on ssmtp.
Code: | # emerge -pv vixie-cron
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] net-mail/mailbase-1 +pam 0 kB
[ebuild N ] mail-mta/ssmtp-2.61 +ipv6 -mailwrapper -md5sum +ssl 52 kB
[ebuild N ] sys-process/vixie-cron-4.1-r8 -debug +pam (-selinux) 57 kB
Total size of downloads: 109 kB |
I checked the ebuild of vixie-cron, but I didn't see the ssmtp in DEPEND or RDEPEND.
Could anyone help me?
I wish this is not a super FAQ
Best Regards. |
|
Back to top |
|
|
DaveArb Guru
Joined: 29 Apr 2004 Posts: 510 Location: Texas, USA
|
Posted: Tue Aug 16, 2005 2:36 pm Post subject: |
|
|
Cron mails its output to root, it needs some mail service installed. If none is installed, ssmtp is it's choice. I'm afraid I'm not a portage expert, but I believe the command that calls this in is the virtual/mta as below:
Code: | RDEPEND="!virtual/cron
>=sys-process/cronbase-0.2.1-r3
virtual/mta
selinux? ( sys-libs/libselinux )
pam? ( sys-libs/pam )" |
Dave |
|
Back to top |
|
|
yentingchen n00b
Joined: 11 Aug 2005 Posts: 3
|
Posted: Tue Aug 16, 2005 3:11 pm Post subject: |
|
|
DaveArb wrote: | Cron mails its output to root, it needs some mail service installed. If none is installed, ssmtp is it's choice. I'm afraid I'm not a portage expert, but I believe the command that calls this in is the virtual/mta as below:
Code: | RDEPEND="!virtual/cron
>=sys-process/cronbase-0.2.1-r3
virtual/mta
selinux? ( sys-libs/libselinux )
pam? ( sys-libs/pam )" |
Dave |
Hi,
But in my vixie-cron-4.1-r8.ebuild:
Code: | DEPEND=">=sys-apps/portage-2.0.47-r10
selinux? ( sys-libs/libselinux )
pam? ( virtual/pam )"
RDEPEND="selinux? ( sys-libs/libselinux )
pam? ( virtual/pam )"
|
There is nothing about cronbase
Cronbase dependency only appears in vixie-cron-3.0.1-r4.ebuild and vixie-cron-3.0.1-r5.ebuild, but Portage is trying to emerge vixie-cron-4.1-r8, isn't he? |
|
Back to top |
|
|
DaveArb Guru
Joined: 29 Apr 2004 Posts: 510 Location: Texas, USA
|
Posted: Tue Aug 16, 2005 5:30 pm Post subject: |
|
|
Hopefully someone who actually knows portage will chime in with an answer, I don't understand how it works.
I do know that if you have cron with no mail functionality, it's not going to be very happy.
Dave |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
Posted: Tue Aug 16, 2005 6:11 pm Post subject: |
|
|
yentingchen wrote: | But in my vixie-cron-4.1-r8.ebuild:
There is nothing about cronbase
Cronbase dependency only appears in vixie-cron-3.0.1-r4.ebuild and vixie-cron-3.0.1-r5.ebuild, but Portage is trying to emerge vixie-cron-4.1-r8, isn't he? |
The 4.1-r8 version uses the cron eclass, that is where the dependencies for cronbase and virtual/mta are. _________________ Search | Read | Answer | Report | Strip |
|
Back to top |
|
|
yentingchen n00b
Joined: 11 Aug 2005 Posts: 3
|
Posted: Wed Aug 17, 2005 3:56 am Post subject: |
|
|
tomk wrote: | yentingchen wrote: | But in my vixie-cron-4.1-r8.ebuild:
There is nothing about cronbase
Cronbase dependency only appears in vixie-cron-3.0.1-r4.ebuild and vixie-cron-3.0.1-r5.ebuild, but Portage is trying to emerge vixie-cron-4.1-r8, isn't he? |
The 4.1-r8 version uses the cron eclass, that is where the dependencies for cronbase and virtual/mta are. |
Oh, I see, thanks tomk and DaveArb.
I will read the documents about eclass. |
|
Back to top |
|
|
DaveArb Guru
Joined: 29 Apr 2004 Posts: 510 Location: Texas, USA
|
Posted: Wed Aug 17, 2005 4:01 am Post subject: |
|
|
Thanks from here too, tomk. I'm another one who needs to start studying up.
Dave |
|
Back to top |
|
|
|