Hello community,

here is the log from the commit of package perl-Net-IP.4033 for 
openSUSE:13.1:Update checked in at 2015-09-29 10:13:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1:Update/perl-Net-IP.4033 (Old)
 and      /work/SRC/openSUSE:13.1:Update/.perl-Net-IP.4033.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Net-IP.4033"

Changes:
--------
New Changes file:

--- /dev/null   2015-09-24 09:51:01.260026505 +0200
+++ /work/SRC/openSUSE:13.1:Update/.perl-Net-IP.4033.new/perl-Net-IP.changes    
2015-09-29 10:13:53.000000000 +0200
@@ -0,0 +1,100 @@
+-------------------------------------------------------------------
+Wed Sep 16 15:13:49 UTC 2015 - vci...@suse.com
+
+- ipcount: fix the use of + in the address range (boo#942108)
+  * added ipcount-invalid_chars_in_IP.patch
+
+-------------------------------------------------------------------
+Sat Jun  8 07:11:10 UTC 2013 - co...@suse.com
+
+- updated to 1.26
+   - 81138 ip types
+   - 80164 hexip does not change when ip changes (fix: hexformat needs to be 
cleared by set)
+   - 4898 double compression
+   - 73232 invalid ipv6 1:2:3:4:5:6:7
+   - 73105 invalid ip 1:2
+   - 73104 expand 1::2::3
+   - 71042 ip_reverse 2001:4f8:3:36:0:0:0:235
+   - 45165 ip_range_to_prefix updated documentation
+   - 32232 excepts 61-217-102-8.hinet-ip.hinet.net as range
+
+-------------------------------------------------------------------
+Fri Nov 18 11:07:40 UTC 2011 - co...@suse.com
+
+- use original .tar.gz
+
+-------------------------------------------------------------------
+Tue Nov 30 19:20:35 UTC 2010 - co...@novell.com
+
+- switch to perl_requires macro
+
+-------------------------------------------------------------------
+Mon Nov 29 18:30:45 UTC 2010 - co...@novell.com
+
+- remove /var/adm/perl-modules
+
+-------------------------------------------------------------------
+Tue Oct 19 08:38:50 UTC 2010 - co...@novell.com
+
+- add perl as explicit buildrequire
+
+-------------------------------------------------------------------
+Sun Jan 10 15:43:32 CET 2010 - jeng...@medozas.de
+
+- enable parallel build
+
+-------------------------------------------------------------------
+Thu Aug 21 16:31:55 CEST 2008 - ani...@suse.cz
+
+- fix undefined value (bnc#418946) 
+
+-------------------------------------------------------------------
+Fri Dec 14 16:03:57 CET 2007 - ani...@suse.cz
+
+- update to 1.25 
+ * Math::BigInt is now mandatory
+ * Several bugfixes done
+ * Bugfix in overlaps function
+ * Updated Makefile
+ * ran perltidy on the code
+
+-------------------------------------------------------------------
+Wed Jan 25 21:39:51 CET 2006 - m...@suse.de
+
+- converted neededforbuild to BuildRequires
+
+-------------------------------------------------------------------
+Wed Sep 28 22:13:51 CEST 2005 - dmuel...@suse.de
+
+ - add norootforbuild
+
+-------------------------------------------------------------------
+Sun Jul 31 16:24:13 CEST 2005 - cth...@suse.de
+
+- update to version 1.23
+
+-------------------------------------------------------------------
+Fri Aug 22 15:23:28 CEST 2003 - mjan...@suse.cz
+
+- require the perl version we build with
+
+-------------------------------------------------------------------
+Fri Aug  1 01:49:18 CEST 2003 - r...@suse.de
+
+- update to 1.20 / package binaries 
+
+-------------------------------------------------------------------
+Mon Jul 28 11:32:22 CEST 2003 - r...@suse.de
+
+- install to vendor locations 
+
+-------------------------------------------------------------------
+Sun Jun 22 22:25:07 CEST 2003 - co...@suse.de
+
+- package directories
+
+-------------------------------------------------------------------
+Tue Apr 22 14:57:17 CEST 2003 - sch...@suse.de
+
+- initial
+

New:
----
  Net-IP-1.26.tar.gz
  ipcount-invalid_chars_in_IP.patch
  perl-Net-IP-1.25-zero_address.diff
  perl-Net-IP.changes
  perl-Net-IP.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Net-IP.spec ++++++
#
# spec file for package perl-Net-IP
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           perl-Net-IP
Url:            http://cpan.org/modules/by-module/Net/
Provides:       perl_Net-IP
Obsoletes:      perl_Net-IP
Summary:        allow easy manipulation of IPv4 and IPv6 addresses
License:        Artistic-1.0
Group:          Development/Libraries/Perl
Version:        1.26
Release:        0
Source:         Net-IP-%{version}.tar.gz
Patch:          %{name}-1.25-zero_address.diff
Patch1:         ipcount-invalid_chars_in_IP.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires:  perl
BuildRequires:  perl-macros

%description
This is the Net::IP module, designed to allow easy manipulation of IPv4
and IPv6 addresses.



Authors:
--------
    Manuel Valente

%prep
%setup -n Net-IP-%{version} -q
%patch
%patch1 -p1

%build
perl Makefile.PL
make %{?_smp_mflags}

%check
make test

%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc Changes MANIFEST README
/usr/bin/*
%{_mandir}/man3/*
%dir %perl_vendorlib/Net
%perl_vendorlib/Net/IP.pm
%dir %perl_vendorarch/auto/Net
%perl_vendorarch/auto/Net/IP

%changelog
++++++ ipcount-invalid_chars_in_IP.patch ++++++
Index: Net-IP-1.26/ipcount
===================================================================
--- Net-IP-1.26.orig/ipcount    2005-10-18 11:59:52.000000000 +0200
+++ Net-IP-1.26/ipcount 2015-09-16 13:50:21.639082216 +0200
@@ -51,6 +51,7 @@ getopts ('rd:',\%opts);
 scalar (@ARGV) < 1 and usage();
 my $arg = join '',@ARGV;
 $arg =~ s/\s+//g;
+$arg =~ s/\+/ \+ /g;
 
 my $ip = new Net::IP($arg) or die ("Cannot create IP object $arg: ".Error());
 
@@ -77,7 +78,7 @@ if ($opts{d})
        
        while ($current->bincomp ('lt', $last))
        {
-               $new_ip->set($current->last_ip.'+'.$size) or die (Error());
+               $new_ip->set($current->last_ip.' + '.$size) or die (Error());
                print $new_ip->print,"\n";
                
                if ($opts{r})
@@ -85,7 +86,7 @@ if ($opts{d})
                        print $new_ip->reverse_ip,"\n";
                }
                
-               $current->set($new_ip->last_ip .'+ 1') or die (Error());
+               $current->set($new_ip->last_ip .' + 1') or die (Error());
                
                $count++;
        }
++++++ perl-Net-IP-1.25-zero_address.diff ++++++
--- IP.pm
+++ IP.pm
@@ -410,7 +410,7 @@
 
     my $int = ip_bintoint($self->binip());
 
-    if (!$int) {
+    if (ref($int) ne "Math::BigInt") {
         $self->{error} = $ERROR;
         $self->{errno} = $ERRNO;
         return;

Reply via email to