commit perl-File-Unpack for openSUSE:Factory

2019-07-13 Thread root
Hello community,

here is the log from the commit of package perl-File-Unpack for 
openSUSE:Factory checked in at 2019-07-13 13:50:08

Comparing /work/SRC/openSUSE:Factory/perl-File-Unpack (Old)
 and  /work/SRC/openSUSE:Factory/.perl-File-Unpack.new.4615 (New)


Package is "perl-File-Unpack"

Sat Jul 13 13:50:08 2019 rev:6 rq:714897 version:0.70

Changes:

--- /work/SRC/openSUSE:Factory/perl-File-Unpack/perl-File-Unpack.changes
2019-07-11 13:18:50.710758853 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-File-Unpack.new.4615/perl-File-Unpack.changes  
2019-07-13 14:00:52.346889289 +0200
@@ -1,0 +2,5 @@
+Wed Jul 10 15:50:50 UTC 2019 - Stephan Kulow 
+
+- Take 11.diff from https://github.com/jnweiger/perl-File-Unpack/pull/11
+
+---

New:

  11.diff



Other differences:
--
++ perl-File-Unpack.spec ++
--- /var/tmp/diff_new_pack.noTtbb/_old  2019-07-13 14:00:53.53925 +0200
+++ /var/tmp/diff_new_pack.noTtbb/_new  2019-07-13 14:00:53.53925 +0200
@@ -28,6 +28,7 @@
 Patch2: 
https://patch-diff.githubusercontent.com/raw/jnweiger/perl-File-Unpack/pull/6.diff
 Patch3: 
https://patch-diff.githubusercontent.com/raw/jnweiger/perl-File-Unpack/pull/9.diff
 Patch4: 
https://patch-diff.githubusercontent.com/raw/jnweiger/perl-File-Unpack/pull/10.diff
+Patch5: 
https://patch-diff.githubusercontent.com/raw/jnweiger/perl-File-Unpack/pull/11.diff
 Url:https://github.com/jnweiger/perl-File-Unpack
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -187,6 +188,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor

++ 11.diff ++
diff --git a/Unpack.pm b/Unpack.pm
index d5354ac..966111b 100644
--- a/Unpack.pm
+++ b/Unpack.pm
@@ -104,7 +104,7 @@ my $UNCOMP_BUFSZ = 1024;
 
 # unpack will give up, after unpacking that many levels. It is more likely we
 # got into a loop by then, than really have that many levels.
-my $RECURSION_LIMIT = 200;
+my $RECURSION_LIMIT = 50;
 
 # Suggested place, where admins should install the helpers bundled with this 
module.
 sub _default_helper_dir { 
$ENV{FILE_UNPACK_HELPER_DIR}||'/usr/share/File-Unpack/helper' }
@@ -855,7 +855,7 @@ sub unpack
 
   if (($self->{recursion_level}||0) > $RECURSION_LIMIT)
 {
-  push @{$self->{error}}, "unpack('$archive','$destdir'): recursion limit 
$RECURSION_LIMIT";
+  warn "unpack('$archive','$destdir'): recursion limit $RECURSION_LIMIT";
   ## this is only an emergency stop.
   return 1;
 }



commit perl-File-Unpack for openSUSE:Factory

2019-07-11 Thread root
Hello community,

here is the log from the commit of package perl-File-Unpack for 
openSUSE:Factory checked in at 2019-07-11 13:18:34

Comparing /work/SRC/openSUSE:Factory/perl-File-Unpack (Old)
 and  /work/SRC/openSUSE:Factory/.perl-File-Unpack.new.4615 (New)


Package is "perl-File-Unpack"

Thu Jul 11 13:18:34 2019 rev:5 rq:714418 version:0.70

Changes:

--- /work/SRC/openSUSE:Factory/perl-File-Unpack/perl-File-Unpack.changes
2019-07-05 13:48:56.625474183 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-File-Unpack.new.4615/perl-File-Unpack.changes  
2019-07-11 13:18:50.710758853 +0200
@@ -1,0 +2,7 @@
+Wed Jul 10 11:31:36 UTC 2019 - Stephan Kulow 
+
+- Remove perl-File-Unpack-fix-race.patch in favor of 9.diff
+- Add 10.diff from yet another pull request:
+  https://github.com/jnweiger/perl-File-Unpack/pull/10
+
+---

Old:

  perl-File-Unpack-fix-race.patch

New:

  10.diff
  9.diff



Other differences:
--
++ perl-File-Unpack.spec ++
--- /var/tmp/diff_new_pack.qUDY0S/_old  2019-07-11 13:18:52.058758428 +0200
+++ /var/tmp/diff_new_pack.qUDY0S/_new  2019-07-11 13:18:52.062758426 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-File-Unpack
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -26,7 +26,8 @@
 Patch0: fix-xml-test.diff
 Patch1: 
https://patch-diff.githubusercontent.com/raw/jnweiger/perl-File-Unpack/pull/5.diff
 Patch2: 
https://patch-diff.githubusercontent.com/raw/jnweiger/perl-File-Unpack/pull/6.diff
-Patch3: perl-File-Unpack-fix-race.patch
+Patch3: 
https://patch-diff.githubusercontent.com/raw/jnweiger/perl-File-Unpack/pull/9.diff
+Patch4: 
https://patch-diff.githubusercontent.com/raw/jnweiger/perl-File-Unpack/pull/10.diff
 Url:https://github.com/jnweiger/perl-File-Unpack
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -185,6 +186,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor

++ 10.diff ++
diff --git a/Unpack.pm b/Unpack.pm
index d5354ac..69ef617 100644
--- a/Unpack.pm
+++ b/Unpack.pm
@@ -2301,7 +2301,11 @@ sub mime
 
   ## flm can say 'cannot open \'IP\' (No such file or directory)'
   ## flm can say 'CDF V2 Document, corrupt: Can\'t read SAT'   
(application/vnd.ms-excel)
-  my $mime1 = $flm->checktype_contents($in{buf});
+  my $mime1 = eval { $flm->checktype_contents($in{buf}) };
+  if ($@) {
+warn $@;
+return [ 'x-system/x-error', undef, "libmimemagic exception"];
+  }
   if ($mime1 =~ m{, corrupt: } or $mime1 =~ m{^application/octet-stream\b})
 {
   # application/x-iso9660-image is reported as application/octet-stream if 
the buffer is short.
++ 9.diff ++
diff --git a/Makefile.PL b/Makefile.PL
index 8c08daa..eb9264f 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -55,6 +55,7 @@ sub MY::postamble
   return q{
 file_unpack: file_unpack.pl Makefile
$(CP) file_unpack.pl $@
+   mkdir -p $(INST_MAN1DIR)
## wait, so that -M < -M succeeds in ExtUtils/Command/MM.pm
(sleep 1; echo .nf; $(PERL) $@ --help) > $(INST_MAN1DIR)/$@.1 || true
 };



commit perl-File-Unpack for openSUSE:Factory

2019-07-05 Thread root
Hello community,

here is the log from the commit of package perl-File-Unpack for 
openSUSE:Factory checked in at 2019-07-05 13:48:56

Comparing /work/SRC/openSUSE:Factory/perl-File-Unpack (Old)
 and  /work/SRC/openSUSE:Factory/.perl-File-Unpack.new.4615 (New)


Package is "perl-File-Unpack"

Fri Jul  5 13:48:56 2019 rev:4 rq:713432 version:0.70

Changes:

--- /work/SRC/openSUSE:Factory/perl-File-Unpack/perl-File-Unpack.changes
2018-07-28 12:39:44.864350286 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-File-Unpack.new.4615/perl-File-Unpack.changes  
2019-07-05 13:48:56.625474183 +0200
@@ -1,0 +2,6 @@
+Sun Jun  9 18:13:14 UTC 2019 - Bernhard Wiedemann 
+
+- Add perl-File-Unpack-fix-race.patch to make build reproducible
+  (boo#1102408)
+
+---

New:

  perl-File-Unpack-fix-race.patch



Other differences:
--
++ perl-File-Unpack.spec ++
--- /var/tmp/diff_new_pack.oGsLw7/_old  2019-07-05 13:48:58.469477027 +0200
+++ /var/tmp/diff_new_pack.oGsLw7/_new  2019-07-05 13:48:58.473477033 +0200
@@ -26,7 +26,8 @@
 Patch0: fix-xml-test.diff
 Patch1: 
https://patch-diff.githubusercontent.com/raw/jnweiger/perl-File-Unpack/pull/5.diff
 Patch2: 
https://patch-diff.githubusercontent.com/raw/jnweiger/perl-File-Unpack/pull/6.diff
-Url:http://github.com/jnweiger/perl-File-Unpack
+Patch3: perl-File-Unpack-fix-race.patch
+Url:https://github.com/jnweiger/perl-File-Unpack
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 BuildRequires:  perl(Test::CheckManifest)
@@ -183,6 +184,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor

++ perl-File-Unpack-fix-race.patch ++
https://github.com/jnweiger/perl-File-Unpack/pull/9
https://rt.cpan.org/Public/Bug/Display.html?id=124916

Date: 2018-03-26
Author: Bernhard M. Wiedemann 

Without this patch, it was
randomly missing a man-page part

Index: File-Unpack-0.70/Makefile.PL
===
--- File-Unpack-0.70.orig/Makefile.PL
+++ File-Unpack-0.70/Makefile.PL
@@ -55,6 +55,7 @@ sub MY::postamble
   return q{
 file_unpack: file_unpack.pl Makefile
$(CP) file_unpack.pl $@
+   mkdir -p $(INST_MAN1DIR)
## wait, so that -M < -M succeeds in ExtUtils/Command/MM.pm
(sleep 1; echo .nf; $(PERL) $@ --help) > $(INST_MAN1DIR)/$@.1 || true
 };



commit perl-File-Unpack for openSUSE:Factory

2018-07-28 Thread root
Hello community,

here is the log from the commit of package perl-File-Unpack for 
openSUSE:Factory checked in at 2018-07-28 12:39:44

Comparing /work/SRC/openSUSE:Factory/perl-File-Unpack (Old)
 and  /work/SRC/openSUSE:Factory/.perl-File-Unpack.new (New)


Package is "perl-File-Unpack"

Sat Jul 28 12:39:44 2018 rev:3 rq:623047 version:0.70

Changes:

--- /work/SRC/openSUSE:Factory/perl-File-Unpack/perl-File-Unpack.changes
2018-03-04 12:50:28.992227929 +0100
+++ /work/SRC/openSUSE:Factory/.perl-File-Unpack.new/perl-File-Unpack.changes   
2018-07-28 12:39:44.864350286 +0200
@@ -1,0 +2,7 @@
+Fri Jun 29 12:16:33 UTC 2018 - kstreit...@suse.com
+
+- require p7zip-full for TW as 7z binary needed by perl-File-Unpack
+  was moved to this package (see bsc#899627 for more details about
+  this change)
+
+---



Other differences:
--
++ perl-File-Unpack.spec ++
--- /var/tmp/diff_new_pack.7rUmY5/_old  2018-07-28 12:39:45.660351816 +0200
+++ /var/tmp/diff_new_pack.7rUmY5/_new  2018-07-28 12:39:45.660351816 +0200
@@ -20,7 +20,7 @@
 Version:0.70
 Release:0%{?dist}
 Summary:An strong archive file unpacker, based on mime-types
-License:GPL-1.0+ or Artistic-1.0
+License:GPL-1.0-or-later OR Artistic-1.0
 Group:  Development/Libraries/Perl
 Source: 
http://search.cpan.org/CPAN/authors/id/J/JN/JNW/File-Unpack-%{version}.tar.gz
 Patch0: fix-xml-test.diff
@@ -120,7 +120,12 @@
 BuildRequires:  genisoimage
 %endif
 BuildRequires:  gzip
+# Remove when p7zip-full is in all products
+%if 0%{suse_version} > 1500
+BuildRequires:  p7zip-full
+%else
 BuildRequires:  p7zip
+%endif
 BuildRequires:  rpm
 BuildRequires:  sharutils
 BuildRequires:  tar
@@ -135,7 +140,12 @@
 Requires:   genisoimage
 %endif
 Requires:   gzip
+# Remove when p7zip-full is in all products
+%if 0%{suse_version} > 1500
+Requires:   p7zip-full
+%else
 Requires:   p7zip
+%endif
 Requires:   rpm
 Requires:   sharutils
 Requires:   tar




commit perl-File-Unpack for openSUSE:Factory

2018-03-04 Thread root
Hello community,

here is the log from the commit of package perl-File-Unpack for 
openSUSE:Factory checked in at 2018-03-04 12:50:27

Comparing /work/SRC/openSUSE:Factory/perl-File-Unpack (Old)
 and  /work/SRC/openSUSE:Factory/.perl-File-Unpack.new (New)


Package is "perl-File-Unpack"

Sun Mar  4 12:50:27 2018 rev:2 rq:581537 version:0.70

Changes:

--- /work/SRC/openSUSE:Factory/perl-File-Unpack/perl-File-Unpack.changes
2017-09-04 12:39:05.488137835 +0200
+++ /work/SRC/openSUSE:Factory/.perl-File-Unpack.new/perl-File-Unpack.changes   
2018-03-04 12:50:28.992227929 +0100
@@ -1,0 +2,5 @@
+Fri Feb 23 08:32:23 UTC 2018 - adam.ma...@suse.de
+
+- use mkisofs to supply `isoinfo` program instead of genisoimage
+
+---



Other differences:
--
++ perl-File-Unpack.spec ++
--- /var/tmp/diff_new_pack.5nmIRE/_old  2018-03-04 12:50:29.972192216 +0100
+++ /var/tmp/diff_new_pack.5nmIRE/_new  2018-03-04 12:50:29.992191486 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-File-Unpack
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -114,7 +114,11 @@
 BuildRequires:  bzip2
 BuildRequires:  cabextract
 BuildRequires:  cpio
+%if 0%{?suse_version} >= 1500
+BuildRequires:  mkisofs
+%else
 BuildRequires:  genisoimage
+%endif
 BuildRequires:  gzip
 BuildRequires:  p7zip
 BuildRequires:  rpm
@@ -125,7 +129,11 @@
 Requires:   bzip2
 Requires:   cabextract
 Requires:   cpio
+%if 0%{?suse_version} >= 1500
+Requires:   mkisofs
+%else
 Requires:   genisoimage
+%endif
 Requires:   gzip
 Requires:   p7zip
 Requires:   rpm