diff --git a/NetAddr-IP-3.32.tar.gz b/NetAddr-IP-3.32.tar.gz deleted file mode 100644 index d772489..0000000 --- a/NetAddr-IP-3.32.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d1bb6e67f7790ed8199659a30baa6518016e80b26f556075ee0f0f88fe0ba69c -size 33095 diff --git a/NetAddr-IP-4.004.dif b/NetAddr-IP-4.004.dif new file mode 100644 index 0000000..06d7b5c --- /dev/null +++ b/NetAddr-IP-4.004.dif @@ -0,0 +1,22 @@ +--- Lite/Util/Util.xs ++++ Lite/Util/Util.xs 2007/01/30 10:29:48 +@@ -192,8 +192,9 @@ + #ifdef host_is_LITTLE_ENDIAN + register u_int32_t * a = ap; + for (/* -- */;len >0;len--) { +- *a++ = (((*a & 0xff000000) >> 24) | ((*a & 0x00ff0000) >> 8) | \ +- ((*a & 0x0000ff00) << 8) | ((*a & 0x000000ff) << 24)); ++ *a = (((*a & 0xff000000) >> 24) | ((*a & 0x00ff0000) >> 8) | \ ++ ((*a & 0x0000ff00) << 8) | ((*a & 0x000000ff) << 24)); ++ a++; + } + #endif + } +@@ -259,6 +260,7 @@ + _128x2(ap); /* times 8 */ + (void) adder128(ap,tp,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 diff --git a/NetAddr-IP-4.004.tar.gz b/NetAddr-IP-4.004.tar.gz new file mode 100644 index 0000000..b868284 --- /dev/null +++ b/NetAddr-IP-4.004.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:102db19438411a253f9483929aa7d6982ae4e26c65bf584a52adfe3fd987695c +size 97157 diff --git a/perl-NetAddr-IP.changes b/perl-NetAddr-IP.changes index cb54930..682659c 100644 --- a/perl-NetAddr-IP.changes +++ b/perl-NetAddr-IP.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Tue Jan 30 10:53:27 CET 2007 - ms@suse.de + +- update to version 4.00.4 + +4.004 Wed Aug 16 16:01:54 PDT 2006 + update to include/exclude files in corrupted distro + +4.003 Sun Aug 6 10:48:25 PDT 2006 + correct SYNOPSIS documentation + add :old_nth + + update Lite.pm documentation + update Util.pm documentation + Imported into distribution CVS tree - Some revision number + mismatches are to be expected + Latin-1 is back + Fixed some angle brackets so that they show up in the docs + +4.002 Fri Aug 4 14:14:16 PDT 2006 + remove unused global variable $isV6 + + update Lite.pm to v1.02 + $isV6 global converted to a lexical variable within sub "_xnew" + $Class global removed and replaced by calls to UNIVERSAL::isa + Thanks to julian@mehnle.net for spotting problems related to + using the Lite.pm with mod_perl + +4.001 Thu Jul 6 14:09:01 PDT 2006 + various bug fixes courtesy of Luis Munoz: + changes to Lite.pm v1.01, Util.pm v0.17 see Changes in those distros. + update t/v6-re.t, addconst called as a scalar, should be called to + return the address value ()[1] + +4.000 Mon Jun 19 21:51:10 PDT 2006 + initial release of version 4.000 which includes + full support of ipV6 addresses and drops the requirement + for Math::BigInt and will run on older versions of Perl + at least back to 5.005_03 + ------------------------------------------------------------------- Mon May 8 11:04:16 CEST 2006 - ms@suse.de diff --git a/perl-NetAddr-IP.spec b/perl-NetAddr-IP.spec index 1ea6cd9..8e6935b 100644 --- a/perl-NetAddr-IP.spec +++ b/perl-NetAddr-IP.spec @@ -1,7 +1,7 @@ # -# spec file for package perl-NetAddr-IP (Version 3.32) +# spec file for package perl-NetAddr-IP (Version 4.004) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -15,11 +15,12 @@ License: Artistic License Group: Development/Libraries/Perl Provides: NetAddr Autoreqprov: on -Version: 3.32 +Version: 4.004 Release: 1 Summary: NetAddr::IP - Manages IP addresses and subnets -Url: http://search.cpan.org +URL: http://search.cpan.org/~luismunoz/NetAddr-IP-4.004 Source: NetAddr-IP-%{version}.tar.gz +Patch: NetAddr-IP-%{version}.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -37,6 +38,7 @@ Authors: %prep %setup -n NetAddr-IP-%{version} +%patch %build CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL @@ -53,15 +55,50 @@ make DESTDIR=$RPM_BUILD_ROOT install_vendor %files %defattr(-,root,root) %doc README -%dir %{perl_vendorlib}/NetAddr +%dir %{perl_vendorarch}/NetAddr %dir %{perl_vendorarch}/auto/NetAddr %dir %{perl_vendorarch}/auto/NetAddr/IP -%{perl_vendorlib}/NetAddr/IP.pm +%{perl_vendorarch}/NetAddr/IP.pm +%{perl_vendorarch}/NetAddr/IP %{perl_vendorarch}/auto/NetAddr/IP/.packlist +%{perl_vendorarch}/auto/NetAddr/IP %doc %{_mandir}/man?/NetAddr::IP.3pm.gz +%doc %{_mandir}/man?/NetAddr::IP::Lite.3pm.gz +%doc %{_mandir}/man?/NetAddr::IP::Util.3pm.gz +%doc %{_mandir}/man?/NetAddr::IP::UtilPP.3pm.gz /var/adm/perl-modules/%{name} %changelog -n perl-NetAddr-IP +* Tue Jan 30 2007 - ms@suse.de +- update to version 4.00.4 + 4.004 Wed Aug 16 16:01:54 PDT 2006 + update to include/exclude files in corrupted distro + 4.003 Sun Aug 6 10:48:25 PDT 2006 + correct SYNOPSIS documentation + add :old_nth + update Lite.pm documentation + update Util.pm documentation + Imported into distribution CVS tree - Some revision number + mismatches are to be expected + Latin-1 is back + Fixed some angle brackets so that they show up in the docs + 4.002 Fri Aug 4 14:14:16 PDT 2006 + remove unused global variable $isV6 + update Lite.pm to v1.02 + $isV6 global converted to a lexical variable within sub "_xnew" + $Class global removed and replaced by calls to UNIVERSAL::isa + Thanks to julian@mehnle.net for spotting problems related to + using the Lite.pm with mod_perl + 4.001 Thu Jul 6 14:09:01 PDT 2006 + various bug fixes courtesy of Luis Munoz: + changes to Lite.pm v1.01, Util.pm v0.17 see Changes in those distros. + update t/v6-re.t, addconst called as a scalar, should be called to + return the address value ()[1] + 4.000 Mon Jun 19 21:51:10 PDT 2006 + initial release of version 4.000 which includes + full support of ipV6 addresses and drops the requirement + for Math::BigInt and will run on older versions of Perl + at least back to 5.005_03 * Mon May 08 2006 - ms@suse.de - update to version 3.32 * Wed Jan 25 2006 - mls@suse.de