Req #18883 [Asn]: Consider upgrading to Net_DNS2

From: Date: Fri, 20 Apr 2012 05:40:35 +0000
Subject: Req #18883 [Asn]: Consider upgrading to Net_DNS2
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-8567@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=18883&edit=1 ID: 18883 Updated by: sebastian@nohn.net Reported By: daniel dot oconnor at gmail dot com Summary: Consider upgrading to Net_DNS2 Status: Assigned Type: Feature/Change Request Package: Net_DNSBL Package Version: 1.3.4 PHP Version: 5.3.8 -Assigned To: nohn +Assigned To: doconnor Roadmap Versions: New Comment: -Assigned To: nohn +Assigned To: doconnor Tests still fail: test_unit: [exec] PHPUnit 3.5.5 by Sebastian Bergmann. [exec] [exec] ...................E [exec] [exec] Time: 50 seconds, Memory: 11.50Mb [exec] [exec] There was 1 error: [exec] [exec] 1) NetDNSBLSURBLTest::testInvalidArguments [exec] InvalidArgumentException: empty query string provided [exec] [exec] /usr/share/php/Net/DNS2/Packet/Request.php:116 [exec] /usr/share/php/Net/DNS2/Packet/Request.php:80 [exec] /usr/share/php/Net/DNS2/Resolver.php:118 [exec] /home/project/pear/Net_DNSBL/trunk/Net/DNSBL.php:231 [exec] /home/project/pear/Net_DNSBL/trunk/tests/NetDNSBLSURBLTest.php:158 [exec] [exec] FAILURES! [exec] Tests: 20, Assertions: 93, Errors: 1. [exec] [exec] Writing code coverage data to XML file, this may take a moment. [exec] [exec] Generating code coverage report, this may take a moment. Previous Comments: ------------------------------------------------------------------------ [2012-04-01 16:52:25] doconnor -Assigned To: doconnor +Assigned To: nohn All tests passing - the SURBL url appears dead, so I've pointed it at the waybackmachine ------------------------------------------------------------------------ [2012-04-01 16:50:32] doconnor Added #patch bug:18883;patch:net_dns2;revision:1333295432;. ------------------------------------------------------------------------ [2012-04-01 16:23:58] doconnor File to patch: Net/DNSBL.php patching file Net/DNSBL.php Hunk #1 FAILED at 27. Hunk #2 succeeded at 216 (offset -1 lines). Hunk #3 succeeded at 240 (offset -1 lines). Hunk #4 succeeded at 263 (offset -1 lines). Hunk #5 FAILED at 304. 2 out of 5 hunks FAILED -- saving rejects to file Net/DNSBL.php.rej ------------------------------------------------------------------------ [2012-03-03 06:25:09] johnjohn Is there any timeline on when/if this patch will be applied? I'm already using the Net_DNS2 package, and I don't really want to install the Net_DNS package- especially since it's deprecated now. Thanks- John ------------------------------------------------------------------------ [2011-12-05 05:55:09] mikepultz I added a patch file that updates Net_DNSBL to use Net_DNS2; it's pretty straight forward- I tested all your examples and they all worked fine after the patch. The errors you were getting likely where from the exceptions not being caught. Mike ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://pear.php.net/bugs/bug.php?id=18883 -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=18883&edit=1

« previous php.pear.bugs (#8567) next »