commit perl-Test-Taint for openSUSE:Factory

2019-06-14 Thread root
Hello community,

here is the log from the commit of package perl-Test-Taint for openSUSE:Factory 
checked in at 2019-06-14 20:42:51

Comparing /work/SRC/openSUSE:Factory/perl-Test-Taint (Old)
 and  /work/SRC/openSUSE:Factory/.perl-Test-Taint.new.4811 (New)


Package is "perl-Test-Taint"

Fri Jun 14 20:42:51 2019 rev:11 rq:709927 version:1.08

Changes:

--- /work/SRC/openSUSE:Factory/perl-Test-Taint/perl-Test-Taint.changes  
2018-10-11 11:58:02.897825467 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Test-Taint.new.4811/perl-Test-Taint.changes
2019-06-14 20:42:53.962342082 +0200
@@ -1,0 +2,12 @@
+Thu Jun 13 05:38:41 UTC 2019 - Stephan Kulow 
+
+- updated to 1.08
+   see /usr/share/doc/packages/perl-Test-Taint/Changes
+
+  1.08Wed Jun 12 15:01:48 CDT 2019
+  [FIXES]
+  Fixed intermittent failures in the test suite.  Thanks, Petr
+  Pisar. (RT #119897)
+- obsoletes 
Test-Taint-1.06-Test-taintedness-on-X-instead-of-environment-variabl.patch
+
+---

Old:

  Test-Taint-1.06-Test-taintedness-on-X-instead-of-environment-variabl.patch
  Test-Taint-1.06.tar.gz

New:

  Test-Taint-1.08.tar.gz
  cpanspec.yml



Other differences:
--
++ perl-Test-Taint.spec ++
--- /var/tmp/diff_new_pack.1jnvpn/_old  2019-06-14 20:42:54.550341084 +0200
+++ /var/tmp/diff_new_pack.1jnvpn/_new  2019-06-14 20:42:54.554341077 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Test-Taint
 #
-# Copyright (c) 2013 SUSE LINUX Products 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,21 +12,20 @@
 # 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/
 #
 
 
 Name:   perl-Test-Taint
-Version:1.06
+Version:1.08
 Release:0
 %define cpan_name Test-Taint
 Summary:Tools to test taintedness
-License:GPL-1.0+ or Artistic-1.0
+License:Artistic-1.0 OR GPL-1.0-or-later
 Group:  Development/Libraries/Perl
 Url:https://metacpan.org/release/%{cpan_name}
-Source: 
https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM Random failure  
https://rt.cpan.org/Public/Bug/Display.html?id=119897
-Patch1: 
https://rt.cpan.org/Ticket/Attachment/1699180/912509/Test-Taint-1.06-Test-taintedness-on-X-instead-of-environment-variabl.patch
+Source0:
https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-%{version}.tar.gz
+Source1:cpanspec.yml
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
@@ -35,17 +34,16 @@
 %description
 Tainted data is data that comes from an unsafe source, such as the command
 line, or, in the case of web apps, any GET or POST transactions. Read the
-the perlsec manpage man page for details on why tainted data is bad, and
-how to untaint the data.
+perlsec man page for details on why tainted data is bad, and how to untaint
+the data.
 
 When you're writing unit tests for code that deals with tainted data,
 you'll want to have a way to provide tainted data for your routines to
 handle, and easy ways to check and report on the taintedness of your data,
-in standard the Test::More manpage style.
+in standard Test::More style.
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
-%patch1 -p1
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"

++ Test-Taint-1.06.tar.gz -> Test-Taint-1.08.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Taint-1.06/Changes new/Test-Taint-1.08/Changes
--- old/Test-Taint-1.06/Changes 2012-10-19 18:30:43.0 +0200
+++ new/Test-Taint-1.08/Changes 2019-06-12 22:06:20.0 +0200
@@ -1,5 +1,11 @@
 Revision history for Perl extension Test::Taint
 
+1.08Wed Jun 12 15:01:48 CDT 2019
+[FIXES]
+Fixed intermittent failures in the test suite.  Thanks, Petr
+Pisar. (RT #119897)
+
+
 1.06Fri Oct 19 11:30:31 CDT 2012
 [ENHANCEMENTS]
 tainted() now localizes $SIG{__DIE__} before performing the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Taint-1.06/META.json 
new/Test-Taint-1.08/META.json
--- old/Test-Taint-1.06/META.json   2012-10-19 18:31:16.0 +0200
+++ new/Test-Taint-1.08/META.json  

commit perl-Test-Taint for openSUSE:Factory

2018-10-11 Thread root
Hello community,

here is the log from the commit of package perl-Test-Taint for openSUSE:Factory 
checked in at 2018-10-11 11:57:43

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


Package is "perl-Test-Taint"

Thu Oct 11 11:57:43 2018 rev:10 rq:640972 version:1.06

Changes:

--- /work/SRC/openSUSE:Factory/perl-Test-Taint/perl-Test-Taint.changes  
2013-06-06 13:56:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Test-Taint.new/perl-Test-Taint.changes 
2018-10-11 11:58:02.897825467 +0200
@@ -1,0 +2,6 @@
+Wed Oct 10 08:20:33 UTC 2018 - Dirk Stoecker 
+
+- add patch to prevent random test failures:
+  Test-Taint-1.06-Test-taintedness-on-X-instead-of-environment-variabl.patch
+
+---

New:

  Test-Taint-1.06-Test-taintedness-on-X-instead-of-environment-variabl.patch



Other differences:
--
++ perl-Test-Taint.spec ++
--- /var/tmp/diff_new_pack.CRMWx2/_old  2018-10-11 11:58:03.593824583 +0200
+++ /var/tmp/diff_new_pack.CRMWx2/_new  2018-10-11 11:58:03.593824583 +0200
@@ -23,16 +23,13 @@
 Summary:Tools to test taintedness
 License:GPL-1.0+ or Artistic-1.0
 Group:  Development/Libraries/Perl
-Url:http://search.cpan.org/dist/Test-Taint/
-Source: 
http://www.cpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-%{version}.tar.gz
+Url:https://metacpan.org/release/%{cpan_name}
+Source: 
https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM Random failure  
https://rt.cpan.org/Public/Bug/Display.html?id=119897
+Patch1: 
https://rt.cpan.org/Ticket/Attachment/1699180/912509/Test-Taint-1.06-Test-taintedness-on-X-instead-of-environment-variabl.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-#BuildRequires: perl(My::ObjectHash)
-#BuildRequires: perl(Test::Taint)
-#BuildRequires: perl(Tie::StdArray)
-#BuildRequires: perl(Tie::StdHash)
-#BuildRequires: perl(Tie::StdScalar)
 %{perl_requires}
 
 %description
@@ -48,13 +45,14 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
+%patch1 -p1
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
 
 %check
-%{__make} test
+make test
 
 %install
 %perl_make_install

++ 
Test-Taint-1.06-Test-taintedness-on-X-instead-of-environment-variabl.patch 
++
>From cab25a93c2e8383cff35f55271a60f51645c98ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
Date: Wed, 18 Jan 2017 11:02:39 +0100
Subject: [PATCH] Test taintedness on $^X instead of environment variables
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Test::Simple adds TEST_ACTIVE and TEST2_ACTIVE members into %Env.
These are not tainted. t/tainted_ok.t and t/tainted.t tests can fail
if they pick up one of them.

This patch changes the tests to use $^X, interpreter path, instead as
discussed and implemented in simalar Scalar-List-Utils' bug
.

Signed-off-by: Petr Písař 
---
 t/tainted.t| 7 ++-
 t/tainted_ok.t | 5 +
 2 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/t/tainted.t b/t/tainted.t
index bf1e629..f5fb6d1 100644
--- a/t/tainted.t
+++ b/t/tainted.t
@@ -7,11 +7,8 @@ use Test::More tests => 6;
 
 use Test::Taint;
 
-my @keys = keys %ENV;
-my $key = shift @keys;
-
 taint_checking_ok();
-ok( tainted($ENV{$key}), "\$ENV{$key} is tainted" );
+ok( tainted($^X), "\$^X is tainted" );
 
 my $foo = 43;
 ok( !tainted($foo), '43 is not tainted' );
@@ -21,7 +18,7 @@ RESET_SIG_DIE: {
 
 local $SIG{__DIE__} = sub { $counter++ };
 
-ok( tainted($ENV{$key}), "\$ENV{$key} is tainted" );
+ok( tainted($^X), "\$^X is tainted" );
 is($counter, 0, 'counter was not incremented (our die did not fire)');
 
 eval { die 'validly' };
diff --git a/t/tainted_ok.t b/t/tainted_ok.t
index 2dcc9db..ce87343 100644
--- a/t/tainted_ok.t
+++ b/t/tainted_ok.t
@@ -5,11 +5,8 @@ use strict;
 
 use Test::Taint tests=>3;
 
-my @keys = keys %ENV;
-my $key = shift @keys;
-
 taint_checking_ok();
-tainted_ok( $ENV{$key}, "\$ENV{$key} is tainted" );
+tainted_ok( $^X, "\$^X is tainted" );
 
 my $foo = 43;
 untainted_ok( $foo );
-- 
2.7.4




commit perl-Test-Taint for openSUSE:Factory

2013-06-06 Thread h_root
Hello community,

here is the log from the commit of package perl-Test-Taint for openSUSE:Factory 
checked in at 2013-06-06 13:56:31

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


Package is perl-Test-Taint

Changes:

--- /work/SRC/openSUSE:Factory/perl-Test-Taint/perl-Test-Taint.changes  
2011-09-23 12:39:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Test-Taint.new/perl-Test-Taint.changes 
2013-06-06 13:56:32.0 +0200
@@ -1,0 +2,15 @@
+Tue Jun  4 15:09:35 UTC 2013 - co...@suse.com
+
+- updated to 1.06
+   [ENHANCEMENTS]
+   tainted() now localizes $SIG{__DIE__} before performing the
+   taint check.  If the calling program has its own $SIG{__DIE__},
+   we don't want to use it.  Thanks, Pete Krawczyk.
+   https://rt.cpan.org/Ticket/Display.html?id=23507
+
+   [FIXES]
+   Checks for undef before opening files when trying to create
+   some taint. Thanks Frédéric Buclin.
+   https://rt.cpan.org/Ticket/Display.html?id=51246
+
+---

Old:

  Test-Taint-1.04.tar.gz

New:

  Test-Taint-1.06.tar.gz



Other differences:
--
++ perl-Test-Taint.spec ++
--- /var/tmp/diff_new_pack.pOvqLC/_old  2013-06-06 13:56:32.0 +0200
+++ /var/tmp/diff_new_pack.pOvqLC/_new  2013-06-06 13:56:32.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Test-Taint
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,19 +16,23 @@
 #
 
 
-
 Name:   perl-Test-Taint
-Version:1.04
-Release:1
-License:GPL-1.0+ or Artistic-1.0
+Version:1.06
+Release:0
 %define cpan_name Test-Taint
 Summary:Tools to test taintedness
-Url:http://search.cpan.org/dist/Test-Taint/
+License:GPL-1.0+ or Artistic-1.0
 Group:  Development/Libraries/Perl
+Url:http://search.cpan.org/dist/Test-Taint/
 Source: 
http://www.cpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
+#BuildRequires: perl(My::ObjectHash)
+#BuildRequires: perl(Test::Taint)
+#BuildRequires: perl(Tie::StdArray)
+#BuildRequires: perl(Tie::StdHash)
+#BuildRequires: perl(Tie::StdScalar)
 %{perl_requires}
 
 %description
@@ -57,9 +61,6 @@
 %perl_process_packlist
 %perl_gen_filelist
 
-%clean
-%{__rm} -rf %{buildroot}
-
 %files -f %{name}.files
 %defattr(-,root,root,755)
 %doc Changes

++ Test-Taint-1.04.tar.gz - Test-Taint-1.06.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Taint-1.04/Changes new/Test-Taint-1.06/Changes
--- old/Test-Taint-1.04/Changes 2004-08-10 05:06:27.0 +0200
+++ new/Test-Taint-1.06/Changes 2012-10-19 18:30:43.0 +0200
@@ -1,5 +1,18 @@
 Revision history for Perl extension Test::Taint
 
+1.06Fri Oct 19 11:30:31 CDT 2012
+[ENHANCEMENTS]
+tainted() now localizes $SIG{__DIE__} before performing the
+taint check.  If the calling program has its own $SIG{__DIE__},
+we don't want to use it.  Thanks, Pete Krawczyk.
+https://rt.cpan.org/Ticket/Display.html?id=23507
+
+[FIXES]
+Checks for undef before opening files when trying to create
+some taint. Thanks Frédéric Buclin.
+https://rt.cpan.org/Ticket/Display.html?id=51246
+
+
 1.04Mon Aug  9 22:06:10 CDT 2004
 No differences from 1.03_01.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Taint-1.04/MANIFEST new/Test-Taint-1.06/MANIFEST
--- old/Test-Taint-1.04/MANIFEST2004-07-01 06:47:12.0 +0200
+++ new/Test-Taint-1.06/MANIFEST2012-10-19 18:31:16.0 +0200
@@ -1,7 +1,6 @@
 Changes
 Makefile.PL
 MANIFEST
-META.yml
 ppport.h
 t/00.load.t
 t/no-dash-T.t
@@ -14,3 +13,5 @@
 t/tainted_ok_deeply.t
 Taint.pm
 Taint.xs
+META.yml Module YAML meta-data (added by 
MakeMaker)
+META.jsonModule JSON meta-data (added by 
MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Taint-1.04/META.json 
new/Test-Taint-1.06/META.json
--- old/Test-Taint-1.04/META.json   1970-01-01 01:00:00.0 +0100
+++ new/Test-Taint-1.06/META.json   2012-10-19 18:31:16.0 +0200

commit perl-Test-Taint for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package perl-Test-Taint for openSUSE:Factory 
checked in at 2011-12-06 18:48:41

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


Package is perl-Test-Taint, Maintainer is 

Changes:




Other differences:
--
++ perl-Test-Taint.spec ++
--- /var/tmp/diff_new_pack.VGY0DH/_old  2011-12-06 19:21:05.0 +0100
+++ /var/tmp/diff_new_pack.VGY0DH/_new  2011-12-06 19:21:05.0 +0100
@@ -20,7 +20,7 @@
 Name:   perl-Test-Taint
 Version:1.04
 Release:1
-License:GPL+ or Artistic
+License:GPL-1.0+ or Artistic-1.0
 %define cpan_name Test-Taint
 Summary:Tools to test taintedness
 Url:http://search.cpan.org/dist/Test-Taint/

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit perl-Test-Taint for openSUSE:Factory

2011-06-01 Thread h_root

Hello community,

here is the log from the commit of package perl-Test-Taint for openSUSE:Factory
checked in at Wed Jun 1 11:32:29 CEST 2011.




New Changes file:

--- /dev/null   2010-08-26 16:28:41.0 +0200
+++ /mounts/work_src_done/STABLE/perl-Test-Taint/perl-Test-Taint.changes
2011-05-30 17:38:58.0 +0200
@@ -0,0 +1,16 @@
+---
+Mon May 30 15:32:02 UTC 2011 - co...@novell.com
+
+- regenerate with newest cpanspec
+
+---
+Fri Apr 22 09:26:47 UTC 2011 - j...@novell.com
+
+- initial pull from CPAN with cpanspec_obs
+
+---
+Fri Apr 22 09:26:23 UTC 2011 - j...@novell.com
+
+- initial package 1.04
+* created by cpanspec 1.78.04
+

calling whatdependson for head-i586


New:

  Test-Taint-1.04.tar.gz
  perl-Test-Taint.changes
  perl-Test-Taint.spec



Other differences:
--
++ perl-Test-Taint.spec ++
#
# spec file for package perl-Test-Taint
#
# Copyright (c) 2011 SUSE LINUX Products 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-Test-Taint
Version:1.04
Release:1
License:GPL+ or Artistic
%define cpan_name Test-Taint
Summary:Tools to test taintedness
Url:http://search.cpan.org/dist/Test-Taint/
Group:  Development/Libraries/Perl
Source: 
http://www.cpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-%{version}.tar.gz
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
%{perl_requires}

%description
Tainted data is data that comes from an unsafe source, such as the command
line, or, in the case of web apps, any GET or POST transactions. Read the
the perlsec manpage man page for details on why tainted data is bad, and
how to untaint the data.

When you're writing unit tests for code that deals with tainted data,
you'll want to have a way to provide tainted data for your routines to
handle, and easy ways to check and report on the taintedness of your data,
in standard the Test::More manpage style.

%prep
%setup -q -n %{cpan_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE=%{optflags}
%{__make} %{?_smp_mflags}

%check
%{__make} test

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%clean
%{__rm} -rf %{buildroot}

%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes

%changelog





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org