Active port install isssue

Bryan Blackburn blb at macports.org
Sat Jul 4 00:58:33 PDT 2009


On Sat, Jul 04, 2009 at 12:10:54AM -0700, Scott Haneda said:
> On Jul 3, 2009, at 11:35 PM, Bryan Blackburn wrote:
[...]
> >A quick test here shows p5-mail-spf to install spfquery as well as
> >spfd,
> >which p5-mail-spf-query also installs but in a different location
> >(bin vs.
> >sbin).
> >
> >It would appear these two ports are conflicting with one another
> >(and I note
> >FreeBSD has tagged them as such [1]) so it seems like they
> >shouldn't be
> >installed at the same time.
> 
> I can not find reference to this, can you point me to it, it may help
> me leverage some of the issues below that I am going to have to bring
> up with the ASSP developers.

A reference to which?

> 
> >Note that 1.8 will have a way to denote this,
> >but for now just use one, I'm guessing p5-mail-spf since it has
> >been updated
> >more recently (though that isn't the most scientific way to decide).
> 
> 
> Thank you Brian, I was not aware contents worked that way.  Thanks.
> Here is the problem...
> From the ASSP install requirements:
> 	Mail::SPF::Query version 1.999001
> 	Mail::SPF version 2.005
> 
> So for whatever reasons, the devs of ASSP have deemed them both
> needed, and specify the min versions as well.
> 
> How does CPAN deal with the installation of these two items if you
> had to guess?  ASSP comes with a bash script to do these installs,
> just calling out to CPAN, and I have not heard anyone have this issue
> of conflicts.

I don't know how CPAN handles it but note that the assp port in FreeBSD just
depends on Mail::SPF, no reference to Mail::SPF::Query [2].  That would
suggest someone thinks that's all that's needed.

> 
> I can try to talk to the developers about this, but there are many a
> working install, so I am going to get resistance.  I assume CPAN just
> writes over the other one?
> 
> I am going to have to confirm, but the code looks like it does this:
> if (! Mail::SPF::Query)
> 	die('please install Mail::SPF::Query')
> 
> if (! Mail::SPF)
> 	die('Mail::SPF')
> 
> If that is the case, what wold you suggest?

grepping through the 1.5.1.4 files, I don't see any actual use of
Mail::SPF::Query, just one reference to it in ASSP/assp.pl (for DebugSPF).
Unless there's something well hidden, Mail::SPF should be fine...

Bryan

[2] - <http://www.freebsd.org/cgi/cvsweb.cgi/ports/mail/assp/>


> -- 
> Scott * If you contact me off list replace talklists@ with scott@ *


More information about the macports-dev mailing list