Johannes Winkelmann wrote:
Hi,
On Wed, Feb 16, 2005 at 00:40:27 -0500, Victor wrote:
Johannes Winkelmann wrote:
[...]
Ideas for such proposals are: - define a naming scheme for perl related ports (p5- vs- perl-); from Jukka
the more I hit perl with ports, the more I think perl sucks. I think it's just too easy to hit dependency hell with perl ports. Case and point: spamassassin, in crux terms, I would need something like 10 perl ports.
I'm glad you mention this, since it only requires two modules to build
Hmm, when I went to CPAN and installed spamassassin perl part, it installed way more than two modules. It is true that those two are the required ones, although if you consult the readme, you'd see that "Storable" is also required. To make spamassassin a little more useful, there are also key optional requirements: MIME::Base64 (increases speed of spamassassin significantly) Net::DNS (without it, none of the DNS tests will work) Net::SMTP (required for Spam-Cop communications) Mail::SPF::Query (Used to check DNS Sender Policy Framework) DBI *and* DBD driver/modules for your database (more listed in the INSTALL doc for spamassassin) Keep in mind that some of these have dependencies of their own. While not STRICTLY required, most of these are just too useful to ignore, and I don't recall most of these in the ports tree. I really do not think that the purpose of crux ports should be to recreate CPAN and that is what I meant about ease of dependency hell. In any case, I can update the spamassassin port to reflect the two modules you listed. However, I think the point about perl not fitting into our model well is a legitimate one. There are just too many things in CPAN and I do not think it is very useful to recreate it, especially when there are so many other ports we could be maintaining. Just my opinion.
fine and match the footprint (I did this on a pretty fresh install lately). Those modules are p5-html-parser and perl-digest-sha1; the former is available in contrib (thanks Matt), and the later is in Jukka's httpup repository, but he doesn't mind maintaining it in contrib according to my knowledge. Using those two ports, installing spamassassin works fine the CRUX way (and non CPAN way, even though CPAN itself is a great thing; it's just not tracked in the package database).
I guess I should have made it more clear that those modules exist as ports in http://clc.morpheus.net:6999/clc/tktview?tn=60 ;-)
Kind regards, Johannes