mitr pushed to perl-IPTables-Parse (perl-IPTables-Parse-1.5-2.fc21). "Add Requires: perl(Test) needed with perl-4:5.22.0-352.fc24"
by notifications@fedoraproject.org
From 0222203254ed5d2186bd25ab36caef651ba973e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= <mitr(a)redhat.com>
Date: Wed, 14 Oct 2015 22:01:56 +0200
Subject: Add Requires: perl(Test) needed with perl-4:5.22.0-352.fc24
---
perl-IPTables-Parse.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/perl-IPTables-Parse.spec b/perl-IPTables-Parse.spec
index ee40570..036871e 100644
--- a/perl-IPTables-Parse.spec
+++ b/perl-IPTables-Parse.spec
@@ -1,6 +1,6 @@
Name: perl-IPTables-Parse
Version: 1.5
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Perl extension for parsing iptables firewall rulesets
License: Artistic 2.0
Group: Development/Libraries
@@ -10,7 +10,7 @@ Source1: http://www.cipherdyne.org/modules/IPTables-Parse-%{version}.tar.
# https://github.com/mrash/IPTables-Parse/pull/6
Patch0: IPTables-Parse-1.5-predictable-tmp.patch
BuildArch: noarch
-BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(ExtUtils::MakeMaker), perl(Test)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@@ -50,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*
%changelog
+* Wed Oct 14 2015 Miloslav Trmač <mitr(a)redhat.com> - 1.5-2
+- Add Requires: perl(Test) needed with perl-4:5.22.0-352.fc24
+
* Tue Sep 29 2015 Miloslav Trmač <mitr(a)redhat.com> - 1.5-1
- Update to IPTables-Parse-1.5
- Fix use of predictable temporary file names
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/perl-IPTables-Parse.git/commit/?h=perl...
8 years, 7 months
ppisar pushed to perl-DBIx-Class (f21). "Restore compatability with SQLite-3.9.0"
by notifications@fedoraproject.org
From 8d77da69cb9bb77f733344303df98ba2dc4f2b8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
Date: Tue, 3 Nov 2015 15:33:14 +0100
Subject: Restore compatability with SQLite-3.9.0
---
...-dependency-tests-to-work-on-newer-libsql.patch | 96 ++++++++++++++++++++++
perl-DBIx-Class.spec | 8 +-
2 files changed, 103 insertions(+), 1 deletion(-)
create mode 100644 DBIx-Class-0.082820-Adjust-view-dependency-tests-to-work-on-newer-libsql.patch
diff --git a/DBIx-Class-0.082820-Adjust-view-dependency-tests-to-work-on-newer-libsql.patch b/DBIx-Class-0.082820-Adjust-view-dependency-tests-to-work-on-newer-libsql.patch
new file mode 100644
index 0000000..9f3da30
--- /dev/null
+++ b/DBIx-Class-0.082820-Adjust-view-dependency-tests-to-work-on-newer-libsql.patch
@@ -0,0 +1,96 @@
+From 5de3b12e4eecd4efb47e1896dc1d5432bc532568 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
+Date: Tue, 3 Nov 2015 15:22:54 +0100
+Subject: [PATCH] Adjust view-dependency tests to work on newer libsqlite
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Port upstream fix for SQLite-3.9.0 to 0.082820:
+
+commit 26c663f123032941cb3f61d6cd11869b86716d6d
+Author: Peter Rabbitson <ribasushi(a)cpan.org>
+Date: Tue Nov 3 14:35:35 2015 +0100
+
+ Adjust view-dependency tests to work on newer libsqlite
+
+ The test and mechanism behind it is largely useless in these cases, but old
+ sqlite installations will lurk around for ever, so keep the check while moving
+ it to xt/
+
+The original fix makes the tests author's tests, so they are not run
+at all. Let's keep the test running by default until upstream releases
+new version.
+
+CPAN RT#107852
+
+Signed-off-by: Petr Písař <ppisar(a)redhat.com>
+---
+ t/105view_deps.t | 29 ++++++++++++++++-------------
+ 1 file changed, 16 insertions(+), 13 deletions(-)
+
+diff --git a/t/105view_deps.t b/t/105view_deps.t
+index 21aa92b..39bb632 100644
+--- a/t/105view_deps.t
++++ b/t/105view_deps.t
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++use DBIx::Class::Optional::Dependencies -skip_all_without => 'deploy';
+
+ use strict;
+ use warnings;
+@@ -11,15 +11,6 @@ use DBICTest;
+ use ViewDeps;
+ use ViewDepsBad;
+
+-BEGIN {
+- require DBIx::Class;
+- plan skip_all => 'Test needs ' .
+- DBIx::Class::Optional::Dependencies->req_missing_for('deploy')
+- unless DBIx::Class::Optional::Dependencies->req_ok_for('deploy');
+-}
+-
+-use_ok('DBIx::Class::ResultSource::View');
+-
+ #################### SANITY
+
+ my $view = DBIx::Class::ResultSource::View->new;
+@@ -73,10 +64,16 @@ can_ok( $view, $_ ) for qw/new from deploy_depends_on/;
+ = ViewDepsBad->connect( DBICTest->_database ( quote_char => '"') );
+ ok( $schema2, 'Connected to ViewDepsBad schema OK' );
+
++ my $lazy_view_validity = !(
++ $schema2->storage->_server_info->{normalized_dbms_version}
++ <
++ 3.009
++ );
++
+ #################### DEPLOY2
+
+ warnings_exist { $schema2->deploy }
+- [qr/no such table: main.aba_name_artists/],
++ [ $lazy_view_validity ? () : qr/no such table: main.aba_name_artists/ ],
+ "Deploying the bad schema produces a warning: aba_name_artists was not created.";
+
+ #################### DOES ORDERING WORK 2?
+@@ -106,9 +103,15 @@ can_ok( $view, $_ ) for qw/new from deploy_depends_on/;
+ } grep { !/AbaNameArtistsAnd2010CDsWithManyTracks/ }
+ @{ [ $schema2->sources ] };
+
++ $schema2->storage->dbh->do(q( DROP VIEW "aba_name_artists" ))
++ if $lazy_view_validity;
++
+ throws_ok { $schema2->resultset('AbaNameArtistsAnd2010CDsWithManyTracks')->next }
+- qr/no such table: aba_name_artists_and_2010_cds_with_many_tracks/,
+- "Query on AbaNameArtistsAnd2010CDsWithManyTracks throws, because the table does not exist"
++ qr/no such table: (?:main\.)?aba_name_artists/,
++ sprintf(
++ "Query on AbaNameArtistsAnd2010CDsWithManyTracks throws, because the%s view does not exist",
++ $lazy_view_validity ? ' underlying' : ''
++ )
+ ;
+ }
+
+--
+2.4.3
+
diff --git a/perl-DBIx-Class.spec b/perl-DBIx-Class.spec
index 4b11927..7bcc6eb 100644
--- a/perl-DBIx-Class.spec
+++ b/perl-DBIx-Class.spec
@@ -1,7 +1,7 @@
Name: perl-DBIx-Class
Summary: Extensible and flexible object <-> relational mapper
Version: 0.08250
-Release: 6%{?dist}
+Release: 7%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/DBIx-Class-%{versio...
@@ -14,6 +14,8 @@ Patch1: DBIx-Class-0.08250-Fix-ridiculous-regex-anchor-mistake-from-6613
# Fix ::Ordered in combination with delete_all visible with sqlite 3.8.5,
# bug #1110272, CPAN RT#96499
Patch2: DBIx-Class-0.08270-Fix-Ordered-in-combination-with-delete_all.patch
+# Restore compatability with SQLite-3.9.0, bug #1272905, CPAN RT#107852
+Patch3: DBIx-Class-0.082820-Adjust-view-dependency-tests-to-work-on-newer-libsql.patch
URL: http://search.cpan.org/dist/DBIx-Class/
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
@@ -146,6 +148,7 @@ DISTINCT, GROUP BY and HAVING support.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
find t/ -type f -exec perl -pi -e 's|\r||; s|^#!perl|#!%{__perl}|' {} +
find . -type f -exec chmod -c -x {} +
@@ -193,6 +196,9 @@ make test
%changelog
+* Tue Nov 03 2015 Petr Pisar <ppisar(a)redhat.com> - 0.08250-7
+- Restore compatability with SQLite-3.9.0 (bug #1272905)
+
* Wed Jun 18 2014 Petr Pisar <ppisar(a)redhat.com> - 0.08250-6
- Fix ::Ordered in combination with delete_all (bug #1110272)
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/perl-DBIx-Class.git/commit/?h=f21&id=8...
8 years, 7 months
mitr pushed to perl-IPTables-Parse (f21). "Add Requires: perl(Test) needed with perl-4:5.22.0-352.fc24"
by notifications@fedoraproject.org
From 0222203254ed5d2186bd25ab36caef651ba973e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= <mitr(a)redhat.com>
Date: Wed, 14 Oct 2015 22:01:56 +0200
Subject: Add Requires: perl(Test) needed with perl-4:5.22.0-352.fc24
---
perl-IPTables-Parse.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/perl-IPTables-Parse.spec b/perl-IPTables-Parse.spec
index ee40570..036871e 100644
--- a/perl-IPTables-Parse.spec
+++ b/perl-IPTables-Parse.spec
@@ -1,6 +1,6 @@
Name: perl-IPTables-Parse
Version: 1.5
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Perl extension for parsing iptables firewall rulesets
License: Artistic 2.0
Group: Development/Libraries
@@ -10,7 +10,7 @@ Source1: http://www.cipherdyne.org/modules/IPTables-Parse-%{version}.tar.
# https://github.com/mrash/IPTables-Parse/pull/6
Patch0: IPTables-Parse-1.5-predictable-tmp.patch
BuildArch: noarch
-BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(ExtUtils::MakeMaker), perl(Test)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@@ -50,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*
%changelog
+* Wed Oct 14 2015 Miloslav Trmač <mitr(a)redhat.com> - 1.5-2
+- Add Requires: perl(Test) needed with perl-4:5.22.0-352.fc24
+
* Tue Sep 29 2015 Miloslav Trmač <mitr(a)redhat.com> - 1.5-1
- Update to IPTables-Parse-1.5
- Fix use of predictable temporary file names
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/perl-IPTables-Parse.git/commit/?h=f21&...
8 years, 7 months
mitr pushed to perl-IPTables-Parse (f21). "Fix use of predictable temporary file names"
by notifications@fedoraproject.org
From 8093e46d867638a508e443702a85be91a2499d3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= <mitr(a)redhat.com>
Date: Tue, 29 Sep 2015 19:36:58 +0200
Subject: Fix use of predictable temporary file names
---
IPTables-Parse-1.5-predictable-tmp.patch | 48 ++++++++++++++++++++++++++++++++
perl-IPTables-Parse.spec | 4 +++
2 files changed, 52 insertions(+)
create mode 100644 IPTables-Parse-1.5-predictable-tmp.patch
diff --git a/IPTables-Parse-1.5-predictable-tmp.patch b/IPTables-Parse-1.5-predictable-tmp.patch
new file mode 100644
index 0000000..7e2d9de
--- /dev/null
+++ b/IPTables-Parse-1.5-predictable-tmp.patch
@@ -0,0 +1,48 @@
+From b400b976d81140f6971132e94eb7657b5b0a2b87 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= <mitr(a)redhat.com>
+Date: Tue, 29 Sep 2015 19:09:43 +0200
+Subject: [PATCH] Don't use predictable names for temporary files
+
+This allows an attacker on a multi-user system to set up symlinks to
+overwrite any file the current user has write access to.
+
+Don't recommend users of this module to use predictable names either.
+---
+ lib/IPTables/Parse.pm | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/lib/IPTables/Parse.pm b/lib/IPTables/Parse.pm
+index 7c27b8b..cbd2042 100644
+--- a/lib/IPTables/Parse.pm
++++ b/lib/IPTables/Parse.pm
+@@ -17,6 +17,7 @@ package IPTables::Parse;
+ use 5.006;
+ use POSIX ":sys_wait_h";
+ use Carp;
++use File::Temp;
+ use strict;
+ use warnings;
+ use vars qw($VERSION);
+@@ -36,8 +37,8 @@ sub new() {
+ _firewall_cmd => $args{'firewall-cmd'} || '',
+ _fwd_args => $args{'fwd_args'} || '--direct --passthrough ipv4',
+ _ipv6 => $args{'use_ipv6'} || 0,
+- _iptout => $args{'iptout'} || '/tmp/ipt.out' . $$,
+- _ipterr => $args{'ipterr'} || '/tmp/ipt.err' . $$,
++ _iptout => $args{'iptout'} || mktemp('/tmp/ipt.out.XXXXXX'),
++ _ipterr => $args{'ipterr'} || mktemp('/tmp/ipt.err.XXXXXX'),
+ _ipt_alarm => $args{'ipt_alarm'} || 30,
+ _debug => $args{'debug'} || 0,
+ _verbose => $args{'verbose'} || 0,
+@@ -980,8 +981,6 @@ IPTables::Parse - Perl extension for parsing iptables and ip6tables policies
+ 'use_ipv6' => 0, # can set to 1 to force ip6tables usage
+ 'ipt_rules_file' => '', # optional file path from
+ # which to read iptables rules
+- 'iptout' => '/tmp/iptables.out',
+- 'ipterr' => '/tmp/iptables.err',
+ 'debug' => 0,
+ 'verbose' => 0
+ );
+--
+2.4.3
+
diff --git a/perl-IPTables-Parse.spec b/perl-IPTables-Parse.spec
index 74602db..ee40570 100644
--- a/perl-IPTables-Parse.spec
+++ b/perl-IPTables-Parse.spec
@@ -7,6 +7,8 @@ Group: Development/Libraries
URL: http://www.cipherdyne.org/modules/
Source0: http://www.cipherdyne.org/modules/IPTables-Parse-%{version}.tar.bz2
Source1: http://www.cipherdyne.org/modules/IPTables-Parse-%{version}.tar.bz2.asc
+# https://github.com/mrash/IPTables-Parse/pull/6
+Patch0: IPTables-Parse-1.5-predictable-tmp.patch
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -21,6 +23,7 @@ rules exist.
%prep
%setup -q -n IPTables-Parse-%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -49,6 +52,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Sep 29 2015 Miloslav Trmač <mitr(a)redhat.com> - 1.5-1
- Update to IPTables-Parse-1.5
+- Fix use of predictable temporary file names
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/perl-IPTables-Parse.git/commit/?h=f21&...
8 years, 7 months
mitr pushed to perl-IPTables-Parse (f21). "Update to IPTables-Parse-1.5"
by notifications@fedoraproject.org
From 9d1708d8d9b4a6ab1fcffc588cf0dff32a897054 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= <mitr(a)redhat.com>
Date: Tue, 29 Sep 2015 19:36:42 +0200
Subject: Update to IPTables-Parse-1.5
---
.gitignore | 2 ++
perl-IPTables-Parse.spec | 7 +++++--
sources | 4 ++--
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index 5437f72..9adbf2f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,5 @@ IPTables-Parse-0.7.tar.bz2.asc
/IPTables-Parse-1.1.tar.bz2.asc
/IPTables-Parse-1.4.tar.bz2
/IPTables-Parse-1.4.tar.bz2.asc
+/IPTables-Parse-1.5.tar.bz2
+/IPTables-Parse-1.5.tar.bz2.asc
diff --git a/perl-IPTables-Parse.spec b/perl-IPTables-Parse.spec
index f362456..74602db 100644
--- a/perl-IPTables-Parse.spec
+++ b/perl-IPTables-Parse.spec
@@ -1,6 +1,6 @@
Name: perl-IPTables-Parse
-Version: 1.4
-Release: 3%{?dist}
+Version: 1.5
+Release: 1%{?dist}
Summary: Perl extension for parsing iptables firewall rulesets
License: Artistic 2.0
Group: Development/Libraries
@@ -47,6 +47,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*
%changelog
+* Tue Sep 29 2015 Miloslav Trmač <mitr(a)redhat.com> - 1.5-1
+- Update to IPTables-Parse-1.5
+
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
diff --git a/sources b/sources
index f63b573..d3484c9 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-b30220a4725c332ef276a6833bc302cf IPTables-Parse-1.4.tar.bz2
-99d050a1a2aae4eb551dd79dc94afdeb IPTables-Parse-1.4.tar.bz2.asc
+4eeb5b8387b9f21ec0ca0be961f30434 IPTables-Parse-1.5.tar.bz2
+239d59bad0ba736ac7df61a88b9bfef6 IPTables-Parse-1.5.tar.bz2.asc
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/perl-IPTables-Parse.git/commit/?h=f21&...
8 years, 7 months
mitr pushed to perl-IPTables-Parse (f21). "Update to IPTables-Parse-1.4"
by notifications@fedoraproject.org
From ee246d88a27373ff60c8c56a55370962e481db0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= <mitr(a)redhat.com>
Date: Wed, 4 Mar 2015 00:29:52 +0100
Subject: Update to IPTables-Parse-1.4
---
.gitignore | 2 ++
perl-IPTables-Parse.spec | 7 +++++--
sources | 4 ++--
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index 4aa6751..f79e5e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,5 @@ IPTables-Parse-0.7.tar.bz2.asc
/IPTables-Parse-0.9.tar.bz2.asc
/IPTables-Parse-1.1.tar.bz2
/IPTables-Parse-1.1.tar.bz2.asc
+/IPTables-Parse-1.4.tar.bz2
+/IPTables-Parse-1.4.tar.bz2.asc
diff --git a/perl-IPTables-Parse.spec b/perl-IPTables-Parse.spec
index a555a42..59753ca 100644
--- a/perl-IPTables-Parse.spec
+++ b/perl-IPTables-Parse.spec
@@ -1,6 +1,6 @@
Name: perl-IPTables-Parse
-Version: 1.1
-Release: 8%{?dist}
+Version: 1.4
+Release: 1%{?dist}
Summary: Perl extension for parsing iptables firewall rulesets
License: Artistic 2.0
Group: Development/Libraries
@@ -47,6 +47,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*
%changelog
+* Wed Mar 4 2015 Miloslav Trmač <mitr(a)redhat.com> - 1.4-1
+- Update to IPTables-Parse-1.4
+
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik(a)redhat.com> - 1.1-8
- Perl 5.20 rebuild
diff --git a/sources b/sources
index 463a69f..f63b573 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-195aafe496fd8c350bc68175110e46a7 IPTables-Parse-1.1.tar.bz2
-7fddbce6d721fe5503ff89f16cef83f1 IPTables-Parse-1.1.tar.bz2.asc
+b30220a4725c332ef276a6833bc302cf IPTables-Parse-1.4.tar.bz2
+99d050a1a2aae4eb551dd79dc94afdeb IPTables-Parse-1.4.tar.bz2.asc
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/perl-IPTables-Parse.git/commit/?h=f21&...
8 years, 7 months