Newer
Older
NetAddr-IP / Changes
@Michael Robinton Michael Robinton on 21 Oct 2014 6 KB Import of MIKER/NetAddr-IP-4.020 from CPAN.
  1. Revision history for Perl extension NetAddr::IP
  2.  
  3. 4.020 Tue Dec 9 16:25:46 PST 2008
  4. cleaned up various typo's with good patch from
  5. Rob Riepel <riepel@networking.Stanford.EDU>
  6. thanks Rob.
  7.  
  8. revised UtilPP v1.7 to work around perl 5.8.4
  9. failures with certain @_ operations of goto &sub...
  10. see perl bug [ 23429]. Unfortunately, perl-5.8.4 is
  11. the distribution of choice for many solaris boxes
  12.  
  13. 4.019 Sat Nov 29 15:15:30 PST 2008
  14. in Lite/Util, add pure perl testing to XS build
  15.  
  16. 4.018 Fri Nov 28 23:19:01 PST 2008
  17. revised XS code to be full re-entrant, thread safe in Util.xs v1.26
  18. removed all traces of mutex locks in Util.xs v1.26
  19. removed function 'threads' here an in UtilPP v1.6
  20.  
  21. 4.017 Sun Nov 23 19:32:59 PST 2008
  22. Extended the capability of 'splitref' to allow splitting of
  23. objects into multiple pieces with differing CIDR masks.
  24. Returned object list can be split from bottom to top
  25. or from top to bottom depending on which method is called
  26.  
  27. split, rsplit, splitref, rsplitref
  28.  
  29. Thanks to kashmish <kashmish@gmail.com> for the idea on
  30. improving functionality of 'split'.
  31.  
  32. Thanks to Rob Riepel <riepel@networking.Stanford.EDU>
  33. for a faster and more accurate _compV6 function.
  34.  
  35. in UtitPP v1.5
  36. correct documentation error
  37. add threads reporting (empty string)
  38.  
  39. in Util v1.25
  40. add threads reporting that returns a comma separated
  41. string of build headers.
  42.  
  43. added what is hopefully thread safe operation via
  44. serialization. Must be invoked by "--with-threads"
  45.  
  46. in Lite v1.12
  47. corrected missing Zeros subroutine
  48. Zeros and Zero both will work
  49.  
  50. in Lite v1.12
  51. added minus (-) overloading to allow the subtraction
  52. of two NetAddr::IP objects to get the difference between
  53. the object->{addr}'s as a numeric value
  54. Thanks to Rob Riepel <riepel@networking.Stanford.EDU>
  55. for the initial code and inspiration for this enhancement
  56.  
  57. 4.016 Wed Nov 5 18:13:20 PST 2008
  58. in Util/ version 1.24
  59. Clean up Makefile.PL to check actual required link
  60. libraries against the perl build for consistency
  61.  
  62. 4.015 Sun Nov 2 10:10:38 PST 2008
  63. in Util v1.23 add missing headers in configure and localconf.h
  64. for Solaris inet_xton
  65. thanks to Karl Bunch <karl@digilink.net> for spotting the bug.
  66.  
  67. 4.014 Sat Nov 1 15:13:48 PST 2008
  68. in Lite.pm v1.11, add test for characters not allowed by
  69. rfc952 before the call to gethostbyname in sub new() for those
  70. people that insist on using deprecated functionality :aton
  71. and OS's that fail to notice calls to gethostbyname with
  72. binary arguments.
  73.  
  74. 4.013 Wed Oct 22 15:04:49 PDT 2008
  75. In Lite.pm v1.10, add new no octal method for
  76. improperly formatted ipV4 addresses
  77.  
  78. In Util.pm v1.22, eliminated dependence on PL_sawampersand
  79. thanks to Mark Martinec <Mark.Martinec@ijs.si>
  80. for spotting this and submitting a patch.
  81.  
  82. In Util.pm v1.22, force -noxs mode for Win32
  83.  
  84. In Util.pm v1.22, use autoconf to configure 'C' build
  85.  
  86. 4.012 Thu Oct 16 19:35:33 PDT 2008
  87. clear build bug for Win32 in Util.pm v 1.21
  88.  
  89. 4.011 released Oct 6 13:10
  90.  
  91. 4.010 Sat Sep 27 17:00:28 PDT 2008
  92. in NetAddr::IP::Util v0.19
  93. updated test for ENDIANess in siteconf
  94.  
  95. add test in inet_aton to detect overange IP dot quad values
  96. missed by some broken Socket implementations
  97. i.e. 256.1.1.1 would fail to return undef
  98.  
  99. NOTE: Versions 4.008 and 4.009 had limited release to tester only
  100. and were not uploaded to CPAN. All of the v4.008, 4.009
  101. changes are incorporated in v4.010
  102.  
  103. 4.009 Tue Sep 2 19:09:57 PDT 2008
  104. In NetAddr::IP::Lite v1.07,
  105. in the off chance that NetAddr::IP::Lite objects are created
  106. and the caller later loads NetAddr::IP and expects to use
  107. those objects, let the AUTOLOAD routine find and redirect
  108. NetAddr::IP::Lite method and subroutine calls to NetAddr::IP.
  109.  
  110. updated Lite/t/v4-wnew.t so that non-existent
  111. domains are "really" not there
  112.  
  113. 4.008 Sat Jun 7 14:01:55 PDT 2008
  114. inherit method "new_from_aton" from NetAddr::IP::Lite
  115. add related documentation
  116.  
  117. Inherited methods from Lite.pm updated as follows:
  118.  
  119. comparisons of the form <, >, <=, >=
  120. 10.0.0.0/24 {operator} 10.0.0.0/16
  121. return now return the comparison of the cidr value
  122. when the address portion is equal.
  123. NOTE: this comparison returns the comparison of the NUMERIC
  124. value of the CIDR. This produces the counter intuitive result
  125. that /24 > /16. There is logic to this, really! For proper
  126. operation of commands like "Compact" and "Coalesce", lists of
  127. netaddr objects must sort in ascending order. However, this
  128. conflicts with the requirement for larger netblocks to sort
  129. FIRST so as to include smaller ones. This logic extends to
  130. any requirement for a sort of netaddr objects. It should be
  131. further noted that the mixing of netaddr objects with varying
  132. IP addresses and CIDR allocations can lead to unexpected
  133. results since the comparisons done first on the IP portion
  134. and then on the CIDR portion. The documentation has been
  135. updated appropriately.
  136. Thanks to Peter DeVries for spotting this discrepancy
  137.  
  138. 4.007 Wed Jun 6 16:41:11 VET 2007
  139. Update copyright dates
  140.  
  141. 4.006 Wed Jun 6 15:58:04 VET 2007
  142.  
  143. A patch from Michael got rid of $& and $` as reported by Daryl
  144. O'Shea and documented at
  145. http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5312
  146.  
  147. 4.004 Wed Aug 16 16:01:54 PDT 2006
  148. update to include/exclude files in corrupted distro
  149.  
  150. 4.003 Sun Aug 6 10:48:25 PDT 2006
  151. correct SYNOPSIS documentation
  152. add :old_nth
  153.  
  154. update Lite.pm documentation
  155. update Util.pm documentation
  156. Imported into distribution CVS tree - Some revision number
  157. mismatches are to be expected
  158. Latin-1 is back
  159. Fixed some angle brackets so that they show up in the docs
  160.  
  161. 4.002 Fri Aug 4 14:14:16 PDT 2006
  162. remove unused global variable $isV6
  163.  
  164. update Lite.pm to v1.02
  165. $isV6 global converted to a lexical variable within sub "_xnew"
  166. $Class global removed and replaced by calls to UNIVERSAL::isa
  167. Thanks to julian@mehnle.net for spotting problems related to
  168. using the Lite.pm with mod_perl
  169.  
  170. 4.001 Thu Jul 6 14:09:01 PDT 2006
  171. various bug fixes courtesy of Luis Munoz:
  172. changes to Lite.pm v1.01, Util.pm v0.17 see Changes in those distros.
  173. update t/v6-re.t, addconst called as a scalar, should be called to
  174. return the address value ()[1]
  175.  
  176. 4.000 Mon Jun 19 21:51:10 PDT 2006
  177. initial release of version 4.000 which includes
  178. full support of ipV6 addresses and drops the requirement
  179. for Math::BigInt and will run on older versions of Perl
  180. at least back to 5.005_03
  181.