diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-perl/Clipboard/files | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/Clipboard/files')
-rw-r--r-- | dev-perl/Clipboard/files/Clipboard-0.130.0-insecure-tempfile.patch | 23 | ||||
-rw-r--r-- | dev-perl/Clipboard/files/Clipboard-0.130.0-no-dot-inc.patch | 45 |
2 files changed, 0 insertions, 68 deletions
diff --git a/dev-perl/Clipboard/files/Clipboard-0.130.0-insecure-tempfile.patch b/dev-perl/Clipboard/files/Clipboard-0.130.0-insecure-tempfile.patch deleted file mode 100644 index 1fd452c61481..000000000000 --- a/dev-perl/Clipboard/files/Clipboard-0.130.0-insecure-tempfile.patch +++ /dev/null @@ -1,23 +0,0 @@ -Description: Fix insecure use of temporary files. - This is CVE-2014-5509. -Origin: vendor -Bug: https://rt.cpan.org/Public/Bug/Display.html?id=98435 -Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=98435 -Author: gregor herrmann <gregoa@debian.org> -Last-Update: 2016-08-13 - ---- a/scripts/clipedit -+++ b/scripts/clipedit -@@ -1,10 +1,11 @@ - #!/usr/bin/perl - use strict; - use Clipboard; -+use File::Temp qw( tempfile ); - - my $orig = Clipboard->paste; - --my $tmpfilename = "/tmp/clipedit$$"; -+my ($tmpfile, $tmpfilename) = tempfile(); - open my $tmpfile, ">$tmpfilename" or die "Failure to open $tmpfilename: $!"; - print $tmpfile $orig; - close $tmpfile; diff --git a/dev-perl/Clipboard/files/Clipboard-0.130.0-no-dot-inc.patch b/dev-perl/Clipboard/files/Clipboard-0.130.0-no-dot-inc.patch deleted file mode 100644 index 1e9c31be70e9..000000000000 --- a/dev-perl/Clipboard/files/Clipboard-0.130.0-no-dot-inc.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 389b272f8696b86f594726544a8280e43cd2ffc6 Mon Sep 17 00:00:00 2001 -From: Kent Fredric <kentnl@gentoo.org> -Date: Thu, 19 Oct 2017 10:21:36 +1300 -Subject: Fix Makefile.PL & Tests for '.' in @INC removal under Perl 5.26+ - -Bug: https://bugs.gentoo.org/615138 -Bug: https://rt.cpan.org/Ticket/Display.html?id=121056 ---- - Makefile.PL | 1 + - t/drivers.t | 2 ++ - t/mock.t | 2 ++ - 3 files changed, 5 insertions(+) - -diff --git a/Makefile.PL b/Makefile.PL -index 08468ac..ab60784 100644 ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -1,3 +1,4 @@ -+use lib '.'; - use inc::Module::Install; - name('Clipboard'); - author('Ryan King <rking@panoptic.com>'); -diff --git a/t/drivers.t b/t/drivers.t -index 1ae7014..de2478f 100644 ---- a/t/drivers.t -+++ b/t/drivers.t -@@ -1,3 +1,5 @@ -+use File::Spec::Functions qw(rel2abs); -+use lib rel2abs('.'); - use Test::Clipboard; - use strict; # XXX make Test::Clipboard do this - my %map = qw( -diff --git a/t/mock.t b/t/mock.t -index fbd76f0..2a50ebb 100644 ---- a/t/mock.t -+++ b/t/mock.t -@@ -1,3 +1,5 @@ -+use File::Spec::Functions qw(rel2abs); -+use lib rel2abs('.'); - use Test::Clipboard; - use Test::MockClipboard; - use strict; # XXX make Test::Clipboard do this --- -2.14.2 - |