Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Some confusion about the vixie-cron ebuild...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
yentingchen
n00b
n00b


Joined: 11 Aug 2005
Posts: 3

PostPosted: Tue Aug 16, 2005 1:50 pm    Post subject: Some confusion about the vixie-cron ebuild... Reply with quote

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 :oops:

Best Regards. :D
Back to top
View user's profile Send private message
DaveArb
Guru
Guru


Joined: 29 Apr 2004
Posts: 510
Location: Texas, USA

PostPosted: Tue Aug 16, 2005 2:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
yentingchen
n00b
n00b


Joined: 11 Aug 2005
Posts: 3

PostPosted: Tue Aug 16, 2005 3:11 pm    Post subject: Reply with quote

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 8O
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
View user's profile Send private message
DaveArb
Guru
Guru


Joined: 29 Apr 2004
Posts: 510
Location: Texas, USA

PostPosted: Tue Aug 16, 2005 5:30 pm    Post subject: Reply with quote

Hopefully someone who actually knows portage will chime in with an answer, I don't understand how it works. :oops:

I do know that if you have cron with no mail functionality, it's not going to be very happy. ;)

Dave
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Tue Aug 16, 2005 6:11 pm    Post subject: Reply with quote

yentingchen wrote:
But in my vixie-cron-4.1-r8.ebuild:
There is nothing about cronbase 8O
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
View user's profile Send private message
yentingchen
n00b
n00b


Joined: 11 Aug 2005
Posts: 3

PostPosted: Wed Aug 17, 2005 3:56 am    Post subject: Reply with quote

tomk wrote:
yentingchen wrote:
But in my vixie-cron-4.1-r8.ebuild:
There is nothing about cronbase 8O
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. :D
Back to top
View user's profile Send private message
DaveArb
Guru
Guru


Joined: 29 Apr 2004
Posts: 510
Location: Texas, USA

PostPosted: Wed Aug 17, 2005 4:01 am    Post subject: Reply with quote

Thanks from here too, tomk. I'm another one who needs to start studying up.

Dave
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum