[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpms/ettercap/devel ettercap.spec,1.4,1.5



On Thu, 29 Mar 2007 10:47:03 +0200, Patrice Dumas wrote:

> On Thu, Mar 29, 2007 at 11:31:03AM +0300, Manuel Wolfshant wrote:
> > OK, I don't get it:
> > [wolfy wolfy ~]$ rpm -ql ssmtp --scripts
> > postinstall scriptlet (using /bin/sh):
> > /usr/sbin/alternatives  --install /usr/sbin/sendmail mta 
> > /usr/sbin/sendmail.ssmtp 30 \
> >    [other slave links removed]
> >    [etc stuff removed from paste]
> > /usr/bin/mailq.ssmtp
> > /usr/bin/newaliases.ssmtp
> > /usr/sbin/sendmail.ssmtp
> > /usr/sbin/ssmtp
> > 
> > [wolfy wolfy ~]$ rpm -qf /usr/sbin/sendmail
> > sendmail-8.13.1-3.RHEL4.5.i386
> > ssmtp-2.61-11.1.el4.i386
> > 
> > There is no %ghost here... where does the difference towards ettercap 
> > come from, since I have used the same postinstall scriptlet ?
> 
> Maybe it comes from the explicit Provides:
> 
> Provides:       MTA smtpdaemon %{_sbindir}/sendmail

Yes, it does.

$ rpm -q --whatprovides /usr/bin/mailq
sendmail-8.13.8-2
$ rpm -ql sendmail |grep mailq
/usr/bin/mailq.sendmail
/usr/share/man/man1/mailq.sendmail.1.gz

Making a file %ghost, when multiple packages use the alternatives system
for a shared set of paths, would be wrong.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]