8
0

- updated to 4.058

up rev for documentation update
      update documentation in InetBase v0.06
      Lite.pm v1.40
      add call to InetBase::fillIPv4 to all uses of gethostbyname
      break out the code in InetBase v0.05 that expands short IPv4 
      addresses into dotquad format to account for broken BSD 
      implementations of inet_aton and gethostbyname that do 
      not recognize the short format. EXPORT this as sub 'fillIPv4'
      in Util.pm v1.45, add 'fillIPv4' to calls to gethostbyname to 
      work around broken inet_aton and gethostbyname implementations
      in certain BSD implementations

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetAddr-IP?expand=0&rev=30
This commit is contained in:
Stephan Kulow
2011-12-19 16:19:25 +00:00
committed by Git OBS Bridge
parent f8e1e8e97c
commit efddbddfa4
4 changed files with 34 additions and 11 deletions

View File

@@ -17,24 +17,31 @@
Name: perl-NetAddr-IP
Version: 4.056
Version: 4.058
Release: 0
%define cpan_name NetAddr-IP
Summary: Manages IPv4 and IPv6 addresses and subnets
License: GPL-1.0+ or Artistic-1.0
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/NetAddr-IP/
Source: http://www.cpan.org/authors/id/M/MI/MIKER/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
#BuildRequires: perl(NetAddr::IP)
#BuildRequires: perl(NetAddr::IP::InetBase)
#BuildRequires: perl(NetAddr::IP::Lite) >= 1.41
#BuildRequires: perl(NetAddr::IP::Util) >= 1.46
#BuildRequires: perl(NetAddr::IP::Util_IS)
#BuildRequires: perl(NetAddr::IP::UtilPP)
#BuildRequires: perl(Socket6)
%{perl_requires}
%description
This module provides an object-oriented abstraction on top of IP addresses
or IP subnets, that allows for easy manipulations. Version 4.xx of
NetAddr::IP will work with older versions of Perl and does *not* use
Math::BigInt as in previous versions.
NetAdder::IP will will work with older versions of Perl and is compatible
with Math::BigInt.
The internal representation of all IP objects is in 128 bit IPv6 notation.
IPv4 and IPv6 objects may be freely mixed.
@@ -55,11 +62,8 @@ find . -type f -print0 | xargs -0 chmod 644
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README TODO
%doc Artistic Changes Copying TODO
%changelog