Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Clipboard/files/, dev-perl/Clipboard/
Date: Sun, 04 Oct 2020 05:21:23
Message-Id: 1601788677.3841dd196aabd4e278ebeac584fdc485fc1b2962.kentnl@gentoo
1 commit: 3841dd196aabd4e278ebeac584fdc485fc1b2962
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 4 05:17:57 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 4 05:17:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3841dd19
7
8 dev-perl/Clipboard: Cleanup old 0.130.0-r3
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
12
13 dev-perl/Clipboard/Clipboard-0.130.0-r3.ebuild | 26 -------------
14 dev-perl/Clipboard/Manifest | 1 -
15 .../Clipboard-0.130.0-insecure-tempfile.patch | 23 -----------
16 .../files/Clipboard-0.130.0-no-dot-inc.patch | 45 ----------------------
17 4 files changed, 95 deletions(-)
18
19 diff --git a/dev-perl/Clipboard/Clipboard-0.130.0-r3.ebuild b/dev-perl/Clipboard/Clipboard-0.130.0-r3.ebuild
20 deleted file mode 100644
21 index e66f219513f..00000000000
22 --- a/dev-perl/Clipboard/Clipboard-0.130.0-r3.ebuild
23 +++ /dev/null
24 @@ -1,26 +0,0 @@
25 -# Copyright 1999-2018 Gentoo Foundation
26 -# Distributed under the terms of the GNU General Public License v2
27 -
28 -EAPI=6
29 -
30 -DIST_AUTHOR=KING
31 -DIST_VERSION=0.13
32 -inherit perl-module virtualx
33 -
34 -DESCRIPTION="Copy and paste with any OS"
35 -
36 -SLOT="0"
37 -KEYWORDS="amd64 arm ppc ppc64 x86"
38 -IUSE=""
39 -
40 -# See bug 521890.
41 -PATCHES=(
42 - "${FILESDIR}"/"${P}"-insecure-tempfile.patch
43 - "${FILESDIR}"/"${P}"-no-dot-inc.patch
44 -)
45 -
46 -RDEPEND="x11-misc/xclip"
47 -
48 -src_test() {
49 - virtx perl-module_src_test
50 -}
51
52 diff --git a/dev-perl/Clipboard/Manifest b/dev-perl/Clipboard/Manifest
53 index 4e486ec79cb..e3608ccb592 100644
54 --- a/dev-perl/Clipboard/Manifest
55 +++ b/dev-perl/Clipboard/Manifest
56 @@ -1,2 +1 @@
57 -DIST Clipboard-0.13.tar.gz 21616 BLAKE2B 6e46f36fcfbcbd61ca35dddb85b16da49ee7b2d6f3e0cf6b15e90a5730b649d0bb960108c33d6896903570f3baaf5ce871511dfd3a1330625b9974190fb408bc SHA512 29792efabee3bdbd808c445714f344608f79799561029d3311b3c263e7bd52ddd8be6e17773f2e027b0d38afecd5d7057af3a129e053c1c01928cf2c5a12bd6b
58 DIST Clipboard-0.26.tar.gz 25159 BLAKE2B d4bb2c311afabf5e6e751b144d71f269aebdc743cab31b1064e1f77f563e109ee1a196ec0a483aa362d39e1549cc02ebfa01b82172dcd10a3a173278fa64ece3 SHA512 68427934e4c460492f0fca1ea45891070e6aa544b49896d383786918055889ab179bc9d926018f85d6f77e89f7882098750d55b8dc656047bc63ec07d1c515c1
59
60 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
61 deleted file mode 100644
62 index 1fd452c6148..00000000000
63 --- a/dev-perl/Clipboard/files/Clipboard-0.130.0-insecure-tempfile.patch
64 +++ /dev/null
65 @@ -1,23 +0,0 @@
66 -Description: Fix insecure use of temporary files.
67 - This is CVE-2014-5509.
68 -Origin: vendor
69 -Bug: https://rt.cpan.org/Public/Bug/Display.html?id=98435
70 -Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=98435
71 -Author: gregor herrmann <gregoa@××××××.org>
72 -Last-Update: 2016-08-13
73 -
74 ---- a/scripts/clipedit
75 -+++ b/scripts/clipedit
76 -@@ -1,10 +1,11 @@
77 - #!/usr/bin/perl
78 - use strict;
79 - use Clipboard;
80 -+use File::Temp qw( tempfile );
81 -
82 - my $orig = Clipboard->paste;
83 -
84 --my $tmpfilename = "/tmp/clipedit$$";
85 -+my ($tmpfile, $tmpfilename) = tempfile();
86 - open my $tmpfile, ">$tmpfilename" or die "Failure to open $tmpfilename: $!";
87 - print $tmpfile $orig;
88 - close $tmpfile;
89
90 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
91 deleted file mode 100644
92 index 1e9c31be70e..00000000000
93 --- a/dev-perl/Clipboard/files/Clipboard-0.130.0-no-dot-inc.patch
94 +++ /dev/null
95 @@ -1,45 +0,0 @@
96 -From 389b272f8696b86f594726544a8280e43cd2ffc6 Mon Sep 17 00:00:00 2001
97 -From: Kent Fredric <kentnl@g.o>
98 -Date: Thu, 19 Oct 2017 10:21:36 +1300
99 -Subject: Fix Makefile.PL & Tests for '.' in @INC removal under Perl 5.26+
100 -
101 -Bug: https://bugs.gentoo.org/615138
102 -Bug: https://rt.cpan.org/Ticket/Display.html?id=121056
103 ----
104 - Makefile.PL | 1 +
105 - t/drivers.t | 2 ++
106 - t/mock.t | 2 ++
107 - 3 files changed, 5 insertions(+)
108 -
109 -diff --git a/Makefile.PL b/Makefile.PL
110 -index 08468ac..ab60784 100644
111 ---- a/Makefile.PL
112 -+++ b/Makefile.PL
113 -@@ -1,3 +1,4 @@
114 -+use lib '.';
115 - use inc::Module::Install;
116 - name('Clipboard');
117 - author('Ryan King <rking@××××××××.com>');
118 -diff --git a/t/drivers.t b/t/drivers.t
119 -index 1ae7014..de2478f 100644
120 ---- a/t/drivers.t
121 -+++ b/t/drivers.t
122 -@@ -1,3 +1,5 @@
123 -+use File::Spec::Functions qw(rel2abs);
124 -+use lib rel2abs('.');
125 - use Test::Clipboard;
126 - use strict; # XXX make Test::Clipboard do this
127 - my %map = qw(
128 -diff --git a/t/mock.t b/t/mock.t
129 -index fbd76f0..2a50ebb 100644
130 ---- a/t/mock.t
131 -+++ b/t/mock.t
132 -@@ -1,3 +1,5 @@
133 -+use File::Spec::Functions qw(rel2abs);
134 -+use lib rel2abs('.');
135 - use Test::Clipboard;
136 - use Test::MockClipboard;
137 - use strict; # XXX make Test::Clipboard do this
138 ---
139 -2.14.2
140 -