Newer
Older
NetAddr-IP / Lite / Util / Changes
@Michael Robinton Michael Robinton on 21 Oct 2014 8 KB Import of MIKER/NetAddr-IP-4.069 from CPAN.
  1.  
  2. 1.50 Tue Apr 9 12:02:34 PDT 2013
  3. changed Makefile.PL to check for config.h when building for XS
  4. with 'gcc', try building with 'cc', and check again.
  5. If config.h is not found, force Pure Perl mode.
  6.  
  7. Kill XS in winduhs and Darwin, both of which misbehave when compiling XS code
  8.  
  9. 1.49 Wed Apr 3 10:52:24 PDT 2013
  10. modify Makefile.PL to better detect 'winduhs'
  11.  
  12. 1.48 Tue Oct 2 12:36:11 PDT 2012
  13. correct incorrect format for IPv6 embedded IPv4 addresses
  14. in InetBase v0.8
  15.  
  16. 1.47 Fri Aug 10 11:46:18 PDT 2012
  17. correct typo in documentation POD
  18. Thanks to Gregor Herrmann, Debian Perl Group
  19.  
  20. Updated GPL text and address
  21.  
  22. 1.46 Fri Nov 11 19:23:11 PST 2011
  23. update documentation in InetBase v0.06
  24.  
  25. 1.45 Fri Nov 11 13:20:32 PST 2011
  26. break out the code in InetBase v0.05 that expands short IPv4
  27. addresses into dotquad format to account for broken BSD
  28. implementations of inet_aton and gethostbyname that do
  29. not recognize the short format. EXPORT this as sub 'fillIPv4'
  30.  
  31. in Util.pm, add 'fillIPv4' to calls to gethostbyname to
  32. work around broken inet_aton and gethostbyname implementations
  33. in certain BSD implementations
  34.  
  35. 1.44 Wed Nov 2 19:15:31 PDT 2011
  36. improve inet_aton in InetBase v0.04 to overcome broken
  37. gethostbyname found in NetBSD and OpenBSD
  38.  
  39. 1.43 Mon Oct 24 13:25:09 PDT 2011
  40. remove reference to Config{osname} in InetBase.pm v0.03
  41.  
  42. 1.42 Fri Oct 21 10:34:46 PDT 2011
  43. Socket6 prior to version 0.23 does not have AF_INET6 in the
  44. EXPORT_OK array, modify InetBase.pm v0.02 to work around this.
  45.  
  46. 1.41 Sat Oct 15 17:26:21 PDT 2011
  47. add inet_pton, inet_ntop, AF_INET, AF_INET6
  48.  
  49. modify inet_n2dx and inet_n2ad to
  50. recognize the new 128 bit IPv4 format
  51. ::FFFF:FFFF:0:0
  52.  
  53. replace isIPv4 with a pure perl version for portablity
  54.  
  55. split the following into NetAddr::IP::InetBase v0.01
  56. to provide better long term support for IPv6
  57. inet_aton
  58. inet_ntoa
  59. ipv6_aton
  60. ipv6_n2x
  61. ipv6_n2d
  62. inet_any2n
  63. inet_n2dx
  64. inet_n2ad
  65. inet_ntop
  66. inet_pton
  67. packzeros
  68. isIPv4
  69. isNewIPv4
  70. isAnyIPv4
  71. AF_INET
  72. AF_INET6
  73.  
  74. 1.40 Sat Oct 8 01:33:44 PDT 2011
  75. remove debug print statement from Util.pm
  76.  
  77. 1.39 Thu Oct 6 23:41:42 PDT 2011
  78. really correct missing internal reference
  79.  
  80. 1.38 Thu Oct 6 20:20:33 PDT 2011
  81. corrected missing internal reference to inet_4map6
  82.  
  83. 1.37 Thu Oct 6 18:23:04 PDT 2011
  84. addid isAnyIPv4, isNewIPv4, inet_4map6
  85. revised naip_gethostbyname
  86. to conform to Perl's gethostbyname output
  87.  
  88. 1.36 Sat Feb 19 10:04:00 PST 2011
  89. correction to use of package lexicals
  90.  
  91. thanks to mishikal@yahoo.com for spotting the bug and to
  92. Mark Martinec mark.martinec+ama...@ijs.si for the solution.
  93.  
  94. 1.35 Tue Nov 16 16:28:37 PST 2010
  95. naip_gethostbyname modified to return undef instead of
  96. 0 (zero) on failure
  97.  
  98. thanks to Terry Cassidy enaudishaylee@tc17.com for the bug report
  99.  
  100. move sub's ipv6_n2d and ipv6_n2x to non-autosplit portion
  101. of module to eliminate warnings during autosplit of "our" variables
  102.  
  103. thanks to Nicholas Bamber <nicholas@periapt.co.uk>
  104. Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517361
  105.  
  106. 1.34 Wed Sep 29 10:32:50 PDT 2010
  107. Conditionalize import of AF_INET6 in Util.pm
  108. NetAddr::IP::UtilPolluted
  109.  
  110. 1.33 Tue Sep 21 17:50:50 PDT 2010
  111. Add UtilPolluted namespace to contain name space pollution
  112. created by "use Socket" when invoking Socket6.
  113.  
  114. 1.32 Wed May 12 14:18:20 PDT 2010
  115. In Util.xs,
  116. changed netswap() to postincrement
  117. *a++ = to *a and added increment after save to mollify some
  118. picky compilers that return possible undefined behavior.
  119.  
  120. changed type of _128x10 to 'void'
  121.  
  122. 1.31 Tue Jun 9 10:31:11 PDT 2009
  123. ferret out shell value for Makefile.PL when calling
  124. ./configure for systems where the 'x' bit gets lost
  125. due to bug in Archive::Tar
  126.  
  127. 1.30 Sat Mar 7 16:35:33 PST 2009
  128. make the compiler test check the environment for
  129. CC before using Perl's default compiler
  130.  
  131. 1.29 Sat Mar 7 16:15:18 PST 2009
  132. revised compiler test in Makefile.PL for Util v1.29
  133. to accomodate picky Solaris "cc"
  134.  
  135. 1.28 Wed Dec 17 14:14:06 PST 2008
  136. set uninitialized "carry" in XS bin2bcd to zero
  137.  
  138. 1.27 Tue Dec 9 12:00:08 PST 2008
  139. revised UtilPP v1.7 to work around perl 5.8.4
  140. failures with certain @_ operations of goto &sub...
  141. see perl bug [ 23429]. Unfortunately, perl-5.8.4 is
  142. the distribution of choice for many solaris boxes
  143.  
  144. 1.26 Fri Nov 28 23:19:01 PST 2008
  145. revised XS code to be full re-entrant... thread safe.
  146. removed all traces of mutex locks
  147. removed function 'threads' here an in UtilPP v1.6
  148.  
  149. 1.25 Tue Nov 18 19:08:56 PST 2008
  150. correct documentation error in Util_PP v1.5
  151.  
  152. add threads reporting to Util.xs and UtilPP
  153.  
  154. added what is hopefully thread safe operation via
  155. serialization. Must be invoked by "--with-threads"
  156.  
  157. 1.24 Wed Nov 5 18:13:20 PST 2008
  158. Clean up Makefile.PL to check actual required link
  159. libraries against the perl build for consistency
  160.  
  161. 1.23 Sun Nov 2 10:10:38 PST 2008
  162. add missing headers in configure and localconf.h for Solaris inet_xton
  163. thanks to Karl Bunch <karl@digilink.net> for spotting the bug.
  164.  
  165. 1.22 Wed Oct 22 14:54:12 PDT 2008
  166. eliminated dependence on PL_sawampersand
  167. thanks to Mark Martinec <Mark.Martinec@ijs.si>
  168. for spotting this and submitting a patch.
  169.  
  170. force -noxs mode for Win32
  171.  
  172. use autoconf to configure 'C' build
  173.  
  174. 1.21 Thu Oct 16 19:35:33 PDT 2008
  175. again... clear build bug for Win32
  176. and lets get the version number right since it appears
  177. that it was up-rev'd at some point to 1.xx
  178.  
  179. 0.20 Mon Oct 6 13:07:34 PDT 2008
  180. clear build bug for Win32
  181.  
  182. 0.19 Sat Sep 27 13:36:58 PDT 2008
  183. updated test for ENDIANess in siteconf
  184.  
  185. add test in inet_aton to detect overange IP dot quad values
  186. missed by some broken Socket implementations
  187. i.e. 256.1.1.1
  188.  
  189. 0.18 Sun Aug 6 10:48:25 PDT 2006
  190. correct shiftleft documentation
  191. correct mask4to6 documentation
  192.  
  193. 0.17 Thu Jul 6 10:46:48 PDT 2006
  194. update 'siteconf line 1608' to fix empty variable in inet_aton test
  195. update 'siteconf line 1636' to fix empty variable in inet_pton test
  196. add missing colon at t/notcontiguous.t line 66
  197.  
  198. 0.16 Sun Jun 25 16:13:00 PDT 2006
  199. fixed ->new() issues with long digit strings ->new('::fffff')
  200. and non hex digits ->new('::foo').
  201. Thanks to Radoslaw Zielinski <radek42@gmail.com>
  202. for spotting those bugs
  203.  
  204. 0.15 Tue Jun 13 14:42:34 PDT 2006
  205. UtilPP.pm v0.07 & Util.xs 'shiftleft' so that the original
  206. argument is returned when the shift count is '0' or missing
  207.  
  208. 0.14 Tue Jun 6 08:37:01 PDT 2006
  209. add logic to check LIBS => [-lfiles]
  210. individually. ExtUtils::xxx does a bad job and
  211. leaves libs that do not exist in the list
  212. which causes 'siteconf' to blow up on missing libs
  213. on perl 5.053 (and probably others)
  214.  
  215. 0.13 Tue Jun 6 08:33:11 PDT 2006
  216. added to xs file, 'hopefully' to allow build on windoze platforms
  217.  
  218. 0.12 Tue Jun 6 08:21:12 PDT 2006
  219. add logic to makefile so 'siteconfig' and C libs
  220. are not used in PurePerl mode
  221.  
  222. 0.11 Mon Jun 5 14:45:09 PDT 2006
  223. fix Sparc problems
  224. 1) add workaround for OS's that do not have inet_aton
  225.  
  226. 2) add workaround for compilers that do not understand
  227. #if MACRO1 == MACRO2
  228.  
  229. 0.10 Sat Jun 3 19:07:51 PDT 2006
  230. add site configuration to supply u_intxx_t vars
  231. for Sun OS and others that don't have them
  232.  
  233. 0.09 Sun May 7 18:06:43 PDT 2006
  234. UtilPP.pm v0.06, removed unnecessary pack(unpack) sequences
  235. to speed up ipv4->6, ipv6->4 conversions
  236.  
  237. 0.08 Wed Apr 26 18:33:12 PDT 2006
  238. correct documentation error
  239. add ipv6to4
  240.  
  241. 0.07 Sun Apr 23 16:11:56 PDT 2006
  242. correct reporting error in UtilPP v0.04 for
  243. incorrect argument length in ipv4 -> 6 conversions
  244.  
  245. add conditional netaddr conversion functions
  246. ipanyto6, maskanyto6 to Util.xs and UtilPP v0.05
  247.  
  248. 0.06 Tue Apr 18 16:50:53 PDT 2006
  249. add ipv4to6, mask4to6 to Util.pm and UtilPP.pm v0.03
  250.  
  251. 0.05 Sat Apr 15 15:48:17 PDT 2006
  252. Fixed some typo's in Makefile.PL that
  253. failed to update README during build
  254.  
  255. 0.04 Wed Apr 12 15:43:33 PDT 2006
  256. add Util_IS.pm to guarantee that the XS lib is not
  257. loaded if a previous incarnation of the same version
  258. has previously been installed on the system and the
  259. module is built with -noxs
  260.  
  261. 0.03 Tue Apr 4 21:55:35 PDT 2006
  262. update minisocket to perl-5.9.3, add header
  263. file for backwards compatibility
  264.  
  265. add function 'notcontiguous' to return cidr size
  266. and check for spurious bits in the network mask
  267.  
  268. 0.02 Fri Mar 31 12:44:15 PST 2006
  269. added test for illegal characters to ipv6_aton
  270.  
  271. added UtilPP for Pure Perl functionality for the
  272. WinTel folks that don't have gcc on their systems
  273.  
  274. 0.01 Tue Mar 28 16:42:44 PST 2006
  275. initial release
  276.