https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8522

            Bug ID: 8522
           Summary: t/dnsplatform.t dies with Net::DNS older than 1.18
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Regression Tests
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

Created attachment 6224
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=6224&action=edit
use answersize() in t/dnsplatform.t when Net::DNS has no size(); Net::DNS 1.10
in INSTALL

SpamAssassin requires Net::DNS 1.10 or newer, but t/dnsplatform.t calls
Net::DNS::Packet->size, which Net::DNS added in version 1.18.

AlmaLinux 8 packages 1.15.

The attached patch fixes the test on platforms with such old versions of
Net::DNS. It also corrects INSTALL, which still gives 0.69 as the minimum
version of Net::DNS.

This changes only a test and INSTALL, so I'm committing it without a vote.
It doesn't need to be in 4.0.3-rc3 if the release is cut before this
commit, but it can go in if that's convenient.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to