Hello community, here is the log from the commit of package perl-NetAddr-IP for openSUSE:Factory checked in at Wed Jul 29 01:19:43 CEST 2009. -------- --- perl-NetAddr-IP/perl-NetAddr-IP.changes 2007-01-30 11:33:17.000000000 +0100 +++ perl-NetAddr-IP/perl-NetAddr-IP.changes 2009-05-30 23:07:12.000000000 +0200 @@ -1,0 +2,24 @@ +Sat May 30 22:57:20 CEST 2009 - lars@linux-schulserver.de + +- update to 4.026 + + inherit method "new_from_aton" from NetAddr::IP::Lite add + related documentation + + updated Lite/t/v4-wnew.t so that non-existent domains are + "really" not there + + add test in inet_aton to detect overange IP dot quad values + missed by some broken Socket implementations + + In Lite.pm v1.10, add new no octal method for improperly + formatted ipV4 addresses + + added minus (-) overloading to allow the subtraction of two + NetAddr::IP objects to get the difference between the + object->{addr}'s as a numeric value + + added what is hopefully thread safe operation via + serialization. Must be invoked by "--with-threads" + + Extended the capability of 'splitref' to allow splitting of + objects into multiple pieces with differing CIDR masks. + Returned object list can be split from bottom to top + or from top to bottom depending on which method is called + split, rsplit, splitref, rsplitref +- rpmlint fixes + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- NetAddr-IP-4.004.dif NetAddr-IP-4.004.tar.gz New: ---- NetAddr-IP-4.026-no-return-in-nonvoid-function.patch NetAddr-IP-4.026-sequence-point.patch NetAddr-IP-4.026.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-NetAddr-IP.spec ++++++ --- /var/tmp/diff_new_pack.XbGY8G/_old 2009-07-29 01:16:56.000000000 +0200 +++ /var/tmp/diff_new_pack.XbGY8G/_new 2009-07-29 01:16:56.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package perl-NetAddr-IP (Version 4.004) +# spec file for package perl-NetAddr-IP (Version 4.026) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,16 +19,18 @@ Name: perl-NetAddr-IP -License: Artistic License +Summary: NetAddr::IP - Manages IP addresses and subnets +Version: 4.026 +Release: 1 +Url: http://search.cpan.org/perldoc?NetAddr::IP +License: Artistic License .. Group: Development/Libraries/Perl +Requires: perl = %{perl_version} Provides: NetAddr AutoReqProv: on -Version: 4.004 -Release: 103 -Summary: NetAddr::IP - Manages IP addresses and subnets -Url: http://search.cpan.org/~luismunoz/NetAddr-IP-4.004 -Source: NetAddr-IP-%{version}.tar.gz -Patch: NetAddr-IP-%{version}.dif +Source: NetAddr-IP-%{version}.tar.bz2 +Patch1: NetAddr-IP-%{version}-no-return-in-nonvoid-function.patch +Patch2: NetAddr-IP-%{version}-sequence-point.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -46,23 +48,26 @@ %prep %setup -n NetAddr-IP-%{version} -%patch +%patch1 +%patch2 %build -CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL -make +CFLAGS="%optflags" perl Makefile.PL +make %{?jobs:-j%jobs} -%clean -rm -rf $RPM_BUILD_ROOT +%check +make test %install -rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_make_install %perl_process_packlist +%clean +rm -rf %{buildroot} + %files %defattr(-,root,root) -%doc README +%doc Changes MANIFEST README TODO docs/rfc1884.txt %dir %{perl_vendorarch}/NetAddr %dir %{perl_vendorarch}/auto/NetAddr %dir %{perl_vendorarch}/auto/NetAddr/IP ++++++ NetAddr-IP-4.026-no-return-in-nonvoid-function.patch ++++++ Index: Lite/Util/Util.xs =================================================================== --- Lite/Util/Util.xs.orig +++ Lite/Util/Util.xs @@ -305,6 +305,7 @@ _128x2(ap); /* times 8 */ (void) adder128(ap,tp,ap128,0); /* printf("x %04X:%04X:%04X:%04X\n",*((u_int32_t *)ap),*((u_int32_t *)ap +1),*((u_int32_t *)ap +2),*((u_int32_t *)ap +3)); */ + return 0; } /* multiply 128 bit number by 10, add bcd digit to result ++++++ NetAddr-IP-4.026-sequence-point.patch ++++++ Index: Lite/Util/Util.xs =================================================================== --- Lite/Util/Util.xs.orig +++ Lite/Util/Util.xs @@ -237,8 +237,9 @@ #ifdef host_is_LITTLE_ENDIAN register u_int32_t * a = ap; for (/* -- */;len >0;len--) { - *a++ = (((*a & 0xff000000) >> 24) | ((*a & 0x00ff0000) >> 8) | \ + *a = (((*a & 0xff000000) >> 24) | ((*a & 0x00ff0000) >> 8) | \ ((*a & 0x0000ff00) << 8) | ((*a & 0x000000ff) << 24)); + a++; } #endif } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org