forked from pool/perl-NetAddr-IP
This commit is contained in:
committed by
Git OBS Bridge
parent
a828a85312
commit
c9b302e74a
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d1bb6e67f7790ed8199659a30baa6518016e80b26f556075ee0f0f88fe0ba69c
|
|
||||||
size 33095
|
|
22
NetAddr-IP-4.004.dif
Normal file
22
NetAddr-IP-4.004.dif
Normal file
@@ -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
|
3
NetAddr-IP-4.004.tar.gz
Normal file
3
NetAddr-IP-4.004.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:102db19438411a253f9483929aa7d6982ae4e26c65bf584a52adfe3fd987695c
|
||||||
|
size 97157
|
@@ -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
|
Mon May 8 11:04:16 CEST 2006 - ms@suse.de
|
||||||
|
|
||||||
|
@@ -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
|
# This file and all modifications and additions to the pristine
|
||||||
# package are under the same license as the package itself.
|
# package are under the same license as the package itself.
|
||||||
#
|
#
|
||||||
@@ -15,11 +15,12 @@ License: Artistic License
|
|||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Provides: NetAddr
|
Provides: NetAddr
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
Version: 3.32
|
Version: 4.004
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: NetAddr::IP - Manages IP addresses and subnets
|
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
|
Source: NetAddr-IP-%{version}.tar.gz
|
||||||
|
Patch: NetAddr-IP-%{version}.dif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -37,6 +38,7 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n NetAddr-IP-%{version}
|
%setup -n NetAddr-IP-%{version}
|
||||||
|
%patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||||
@@ -53,15 +55,50 @@ make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README
|
%doc README
|
||||||
%dir %{perl_vendorlib}/NetAddr
|
%dir %{perl_vendorarch}/NetAddr
|
||||||
%dir %{perl_vendorarch}/auto/NetAddr
|
%dir %{perl_vendorarch}/auto/NetAddr
|
||||||
%dir %{perl_vendorarch}/auto/NetAddr/IP
|
%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/.packlist
|
||||||
|
%{perl_vendorarch}/auto/NetAddr/IP
|
||||||
%doc %{_mandir}/man?/NetAddr::IP.3pm.gz
|
%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}
|
/var/adm/perl-modules/%{name}
|
||||||
|
|
||||||
%changelog -n perl-NetAddr-IP
|
%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
|
* Mon May 08 2006 - ms@suse.de
|
||||||
- update to version 3.32
|
- update to version 3.32
|
||||||
* Wed Jan 25 2006 - mls@suse.de
|
* Wed Jan 25 2006 - mls@suse.de
|
||||||
|
Reference in New Issue
Block a user