Hello community,

here is the log from the commit of package perl-Net-IP for openSUSE:Factory 
checked in at 2015-09-24 07:17:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Net-IP (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Net-IP.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Net-IP"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Net-IP/perl-Net-IP.changes  2015-08-25 
08:54:26.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Net-IP.new/perl-Net-IP.changes     
2015-09-24 07:17:56.000000000 +0200
@@ -1,0 +2,7 @@
+Wed Sep 16 15:13:49 UTC 2015 - [email protected]
+
+- ipcount: fix the use of + in the address range (boo#942108)
+  * added ipcount-invalid_chars_in_IP.patch
+  * added cpanspec.yml
+
+-------------------------------------------------------------------

New:
----
  cpanspec.yml
  ipcount-invalid_chars_in_IP.patch

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

Other differences:
------------------
++++++ perl-Net-IP.spec ++++++
--- /var/tmp/diff_new_pack.v7bzom/_old  2015-09-24 07:17:57.000000000 +0200
+++ /var/tmp/diff_new_pack.v7bzom/_new  2015-09-24 07:17:57.000000000 +0200
@@ -24,7 +24,9 @@
 Group:          Development/Libraries/Perl
 Url:            http://cpan.org/modules/by-module/Net/
 Source:         
http://search.cpan.org/CPAN/authors/id/M/MA/MANU/Net-IP-%{version}.tar.gz
+Source1:        cpanspec.yml
 Patch0:         %{name}-1.25-zero_address.diff
+Patch1:         ipcount-invalid_chars_in_IP.patch
 BuildRequires:  perl
 BuildRequires:  perl-macros
 Provides:       perl_Net-IP = %{version}
@@ -39,6 +41,7 @@
 %prep
 %setup -q -n Net-IP-%{version}
 %patch0
+%patch1 -p1
 
 %build
 perl Makefile.PL

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
patches:
  perl-Net-IP-1.25-zero_address.diff:
  ipcount-invalid_chars_in_IP.patch: -p1
#  foo.patch: -p1
#  bar.patch:
#preamble: |-
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
++++++ 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++;
        }

Reply via email to