tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: "sa-update" in SpamAssassin 3.4.0



On Sat, Apr 26, 2014 at 04:30:12PM -0400, D'Arcy J.M. Cain wrote:
> > I'm currently leaning toward using "TOOLS.curl" or "TOOLS.fetch" if
> > set and otherwise use the "wget" package (which has less dependences
> > than the "curl" package").
> 
> Why not patch it so that it just always uses the builtin method?

Because I suspected that there is a reason for that. And I found in
the release notes ...

        ... , native IPv6 support, ...

... and another comment in "sa-update.raw":

    # LWP module has no support for IPv6.  Use hotpatching,
    # copying IO::Socket::IP or IO::Socket::INET6 to IO::Socket::INET.
    # 'Borrowed' from Net::INET6Glue::INET_is_INET6 :

So basically they use "curl", "wget" or "fetch" to allow updates
over IPv6 which seems like a reasonable goal.

        Kind regards

-- 
Matthias Scheler                                 https://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index