Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.7

Request #9168 Make mhash dependency optional
Submitted: 2006-10-26 13:55 UTC
From: nohn Assigned: fa
Status: Closed Package: Net_DNS (version 1.0.0)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 4 + 5 = ?

 
 [2006-10-26 13:55 UTC] nohn (Sebastian Nohn)
Description: ------------ Whatever TSIG is, I don't think a lot of people require it, but it seems to be the reason for the dependency to mhash extension which I doubt a lot of people have installed. So I'd love to see Net_DNS having TSIG (and such mhash) optional. Test script: --------------- $ find . -type f -print0 | xargs -0 grep mhash ./package.xml: <dep type="ext" rel="has" optional="no">mhash</dep> ./DNS/RR/TSIG.php: $this->mac = mhash(MHASH_MD5, $sigdata, $key); ./generate_package_xml.php:$e = $pkg->addDependency('mhash', null, 'has', 'ext');

Comments

 [2006-10-26 14:32 UTC] fa (Florian Anderiasch)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. dependency removed entirely