Newer
Older
NetAddr-IP / Changes
@Michael Robinton Michael Robinton on 21 Oct 2014 8 KB Import of MIKER/NetAddr-IP-4.034 from CPAN.
  1. Revision history for Perl extension NetAddr::IP
  2.  
  3. 4.034 Mon Oct 25 16:22:01 PDT 2010
  4. Updated Lite::_xnew v1.20 to properly handle ipV6 notation of the form
  5. xxxx:xxxx:xxxx:xxxx:xxxx:xxxx, DDD
  6.  
  7. Thanks to Dusty Mabe <Dusty.Mabe@tekelec.com> for spotting this bug
  8.  
  9. 4.033 Wed Sep 29 10:32:50 PDT 2010
  10. Conditionalize import of AF_INET6 in Util.pm
  11. NetAddr::IP::UtilPolluted
  12.  
  13. 4.032 Wed Sep 22 13:39:08 PDT 2010
  14. Added overload => 'ne' and '!=' to Lite.pm v1.18
  15.  
  16. 4.031 Tue Sep 21 19:21:04 PDT 2010
  17. Pull Socket6 stuff out of Lite 1.17 and put into
  18. NetAddr::IP::Util.pm 1.33 in its own namespace
  19.  
  20. 4.030 Tue Jul 20 15:32:23 PDT 2010
  21. Resolve named hosts in Lite.pm using gethostbyname, followed by
  22. gethostbyname6 to determine whether to set ipV6 flag
  23.  
  24. Thanks to Dusty Mabe <Dusty.Mabe@tekelec.com> for spotting this bug
  25.  
  26. 4.029 Thu Jul 8 18:17:38 PDT 2010
  27. In NetAddr::IP::Lite,
  28. added support for the sub "new" to resolve host6 names
  29. if the OPTIONAL perl Socket6 module is available
  30.  
  31. Thanks to "Mabe, Dusty" <Dusty.Mabe@tekelec.com> for spotting
  32. this and suggesting a fix.
  33.  
  34. 4.028 Wed May 12 14:18:20 PDT 2010
  35. In /Lite/Util/Util.xs v1.32,
  36. changed netswap() to postincrement
  37. *a++ = to *a and added increment after save to mollify some
  38. picky compilers that return possible undefined behavior.
  39.  
  40. changed type of _128x10 to 'void'
  41.  
  42. Thanks to David Bolt <dbolt@davjam.org> for the above two patches
  43.  
  44. 4.027 Tue Jun 9 10:31:11 PDT 2009
  45. In NetAddr::IP::Util v1.31,
  46. ferret out shell value for Makefile.PL when calling
  47. ./configure for systems where the 'x' bit gets lost
  48. due to bug in Archive::Tar
  49.  
  50. 4.026 Sat Mar 7 16:35:33 PST 2009
  51. make the compiler test check the environment for
  52. CC before using Perl's default compiler
  53.  
  54. 4.025 Sat Mar 7 16:15:18 PST 2009
  55. revised compiler test in Makefile.PL for Util v1.29
  56. to accomodate picky Solaris "cc"
  57.  
  58. 4.024 Mon Jan 26 00:27:32 PST 2009
  59. documentation update
  60.  
  61. 4.023 Fri Jan 16 14:30:40 PST 2009
  62. added the capability to set the CASE of ipV6 text return
  63. values to either upper or lower. Thanks to
  64. Rob Riepel <riepel@networking.Stanford.EDU> for developing
  65. this improvement and providing a comprehensive patch
  66.  
  67. 4.022 Sat Dec 20 13:05:01 PST 2008
  68. In Util.xs 1.28
  69. set uninitialized "carry" in XS bin2bcd to zero
  70.  
  71. This insidious bug only showed up on 64 bit hosts running perl 5.6.2
  72. Thanks to Oliver Paukstadt <pstadt@sourcentral.org> for taking the
  73. time to do the testing for me on his s390 system.
  74.  
  75. 4.021 Wed Dec 10 11:09:36 PST 2008
  76. Removed test code that produces a warning about all perl versions,
  77. OOPS!! instead of just the buggy 5.8.0 - 5.8.5 versions.
  78. Thanks to paul@city-fan.org for reporting this.
  79.  
  80. 4.020 Tue Dec 9 16:25:46 PST 2008
  81. cleaned up various typo's with good patch from
  82. Rob Riepel <riepel@networking.Stanford.EDU>
  83. thanks Rob.
  84.  
  85. revised UtilPP v1.7 to work around perl 5.8.4
  86. failures with certain @_ operations of goto &sub...
  87. see perl bug [ 23429]. Unfortunately, perl-5.8.4 is
  88. the distribution of choice for many solaris boxes
  89.  
  90. 4.019 Sat Nov 29 15:15:30 PST 2008
  91. in Lite/Util, add pure perl testing to XS build
  92.  
  93. 4.018 Fri Nov 28 23:19:01 PST 2008
  94. revised XS code to be full re-entrant, thread safe in Util.xs v1.26
  95. removed all traces of mutex locks in Util.xs v1.26
  96. removed function 'threads' here an in UtilPP v1.6
  97.  
  98. 4.017 Sun Nov 23 19:32:59 PST 2008
  99. Extended the capability of 'splitref' to allow splitting of
  100. objects into multiple pieces with differing CIDR masks.
  101. Returned object list can be split from bottom to top
  102. or from top to bottom depending on which method is called
  103.  
  104. split, rsplit, splitref, rsplitref
  105.  
  106. Thanks to kashmish <kashmish@gmail.com> for the idea on
  107. improving functionality of 'split'.
  108.  
  109. Thanks to Rob Riepel <riepel@networking.Stanford.EDU>
  110. for a faster and more accurate _compV6 function.
  111.  
  112. in UtitPP v1.5
  113. correct documentation error
  114. add threads reporting (empty string)
  115.  
  116. in Util v1.25
  117. add threads reporting that returns a comma separated
  118. string of build headers.
  119.  
  120. added what is hopefully thread safe operation via
  121. serialization. Must be invoked by "--with-threads"
  122.  
  123. in Lite v1.12
  124. corrected missing Zeros subroutine
  125. Zeros and Zero both will work
  126.  
  127. in Lite v1.12
  128. added minus (-) overloading to allow the subtraction
  129. of two NetAddr::IP objects to get the difference between
  130. the object->{addr}'s as a numeric value
  131. Thanks to Rob Riepel <riepel@networking.Stanford.EDU>
  132. for the initial code and inspiration for this enhancement
  133.  
  134. 4.016 Wed Nov 5 18:13:20 PST 2008
  135. in Util/ version 1.24
  136. Clean up Makefile.PL to check actual required link
  137. libraries against the perl build for consistency
  138.  
  139. 4.015 Sun Nov 2 10:10:38 PST 2008
  140. in Util v1.23 add missing headers in configure and localconf.h
  141. for Solaris inet_xton
  142. thanks to Karl Bunch <karl@digilink.net> for spotting the bug.
  143.  
  144. 4.014 Sat Nov 1 15:13:48 PST 2008
  145. in Lite.pm v1.11, add test for characters not allowed by
  146. rfc952 before the call to gethostbyname in sub new() for those
  147. people that insist on using deprecated functionality :aton
  148. and OS's that fail to notice calls to gethostbyname with
  149. binary arguments.
  150.  
  151. 4.013 Wed Oct 22 15:04:49 PDT 2008
  152. In Lite.pm v1.10, add new no octal method for
  153. improperly formatted ipV4 addresses
  154.  
  155. In Util.pm v1.22, eliminated dependence on PL_sawampersand
  156. thanks to Mark Martinec <Mark.Martinec@ijs.si>
  157. for spotting this and submitting a patch.
  158.  
  159. In Util.pm v1.22, force -noxs mode for Win32
  160.  
  161. In Util.pm v1.22, use autoconf to configure 'C' build
  162.  
  163. 4.012 Thu Oct 16 19:35:33 PDT 2008
  164. clear build bug for Win32 in Util.pm v 1.21
  165.  
  166. 4.011 released Oct 6 13:10
  167.  
  168. 4.010 Sat Sep 27 17:00:28 PDT 2008
  169. in NetAddr::IP::Util v0.19
  170. updated test for ENDIANess in siteconf
  171.  
  172. add test in inet_aton to detect overange IP dot quad values
  173. missed by some broken Socket implementations
  174. i.e. 256.1.1.1 would fail to return undef
  175.  
  176. NOTE: Versions 4.008 and 4.009 had limited release to tester only
  177. and were not uploaded to CPAN. All of the v4.008, 4.009
  178. changes are incorporated in v4.010
  179.  
  180. 4.009 Tue Sep 2 19:09:57 PDT 2008
  181. In NetAddr::IP::Lite v1.07,
  182. in the off chance that NetAddr::IP::Lite objects are created
  183. and the caller later loads NetAddr::IP and expects to use
  184. those objects, let the AUTOLOAD routine find and redirect
  185. NetAddr::IP::Lite method and subroutine calls to NetAddr::IP.
  186.  
  187. updated Lite/t/v4-wnew.t so that non-existent
  188. domains are "really" not there
  189.  
  190. 4.008 Sat Jun 7 14:01:55 PDT 2008
  191. inherit method "new_from_aton" from NetAddr::IP::Lite
  192. add related documentation
  193.  
  194. Inherited methods from Lite.pm updated as follows:
  195.  
  196. comparisons of the form <, >, <=, >=
  197. 10.0.0.0/24 {operator} 10.0.0.0/16
  198. return now return the comparison of the cidr value
  199. when the address portion is equal.
  200. NOTE: this comparison returns the comparison of the NUMERIC
  201. value of the CIDR. This produces the counter intuitive result
  202. that /24 > /16. There is logic to this, really! For proper
  203. operation of commands like "Compact" and "Coalesce", lists of
  204. netaddr objects must sort in ascending order. However, this
  205. conflicts with the requirement for larger netblocks to sort
  206. FIRST so as to include smaller ones. This logic extends to
  207. any requirement for a sort of netaddr objects. It should be
  208. further noted that the mixing of netaddr objects with varying
  209. IP addresses and CIDR allocations can lead to unexpected
  210. results since the comparisons done first on the IP portion
  211. and then on the CIDR portion. The documentation has been
  212. updated appropriately.
  213. Thanks to Peter DeVries for spotting this discrepancy
  214.  
  215. 4.007 Wed Jun 6 16:41:11 VET 2007
  216. Update copyright dates
  217.  
  218. 4.006 Wed Jun 6 15:58:04 VET 2007
  219.  
  220. A patch from Michael got rid of $& and $` as reported by Daryl
  221. O'Shea and documented at
  222. http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5312
  223.  
  224. 4.004 Wed Aug 16 16:01:54 PDT 2006
  225. update to include/exclude files in corrupted distro
  226.  
  227. 4.003 Sun Aug 6 10:48:25 PDT 2006
  228. correct SYNOPSIS documentation
  229. add :old_nth
  230.  
  231. update Lite.pm documentation
  232. update Util.pm documentation
  233. Imported into distribution CVS tree - Some revision number
  234. mismatches are to be expected
  235. Latin-1 is back
  236. Fixed some angle brackets so that they show up in the docs
  237.  
  238. 4.002 Fri Aug 4 14:14:16 PDT 2006
  239. remove unused global variable $isV6
  240.  
  241. update Lite.pm to v1.02
  242. $isV6 global converted to a lexical variable within sub "_xnew"
  243. $Class global removed and replaced by calls to UNIVERSAL::isa
  244. Thanks to julian@mehnle.net for spotting problems related to
  245. using the Lite.pm with mod_perl
  246.  
  247. 4.001 Thu Jul 6 14:09:01 PDT 2006
  248. various bug fixes courtesy of Luis Munoz:
  249. changes to Lite.pm v1.01, Util.pm v0.17 see Changes in those distros.
  250. update t/v6-re.t, addconst called as a scalar, should be called to
  251. return the address value ()[1]
  252.  
  253. 4.000 Mon Jun 19 21:51:10 PDT 2006
  254. initial release of version 4.000 which includes
  255. full support of ipV6 addresses and drops the requirement
  256. for Math::BigInt and will run on older versions of Perl
  257. at least back to 5.005_03
  258.