Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Data-HexDump/files/
Date: Fri, 29 Oct 2021 22:01:19
Message-Id: 1635543946.8d4f382339546f123d21c1d346a3978a9c3ed78d.conikost@gentoo
1 commit: 8d4f382339546f123d21c1d346a3978a9c3ed78d
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 29 21:45:46 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 29 21:45:46 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d4f3823
7
8 dev-perl/Data-HexDump: remove unused patch(es)
9
10 Closes: https://github.com/gentoo/gentoo/pull/22624
11 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
12 Package-Manager: Portage-3.0.28, Repoman-3.0.3
13 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
14
15 .../files/Data-HexDump-0.20.0-hexdump-pl.patch | 59 ----------------------
16 .../files/Data-HexDump-0.20.0-lib-pm.patch | 28 ----------
17 .../files/Data-HexDump-0.20.0-signed-c.patch | 28 ----------
18 3 files changed, 115 deletions(-)
19
20 diff --git a/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-hexdump-pl.patch b/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-hexdump-pl.patch
21 deleted file mode 100644
22 index b44b5b0b24e..00000000000
23 --- a/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-hexdump-pl.patch
24 +++ /dev/null
25 @@ -1,59 +0,0 @@
26 -From 7b70e4169faf4e2ec0fe570b02190e71bc168377 Mon Sep 17 00:00:00 2001
27 -From: Kent Fredric <kentnl@g.o>
28 -Date: Tue, 10 Oct 2017 08:15:54 +1300
29 -Subject: Rename installed script to '.pl'
30 -
31 -Note: this must not happen in dist-root, or EUMM will also install this
32 -as $INC[0]/Data/hexdump.pl
33 -
34 -Bug: https://rt.cpan.org/Ticket/Display.html?id=123224
35 ----
36 - MANIFEST | 2 +-
37 - Makefile.PL | 2 +-
38 - hexdump => bin/hexdump.pl | 2 +-
39 - 3 files changed, 3 insertions(+), 3 deletions(-)
40 - rename hexdump => bin/hexdump.pl (95%)
41 -
42 -diff --git a/MANIFEST b/MANIFEST
43 -index 2e0843a..2f0c98b 100644
44 ---- a/MANIFEST
45 -+++ b/MANIFEST
46 -@@ -2,7 +2,7 @@ MANIFEST
47 - MANIFEST.SKIP
48 - Makefile.PL
49 - README
50 --hexdump
51 -+bin/hexdump.pl
52 - lib/Data/HexDump.pm
53 - t/compare.t
54 - t/data.t
55 -diff --git a/Makefile.PL b/Makefile.PL
56 -index 0ee62bf..091fa9d 100644
57 ---- a/Makefile.PL
58 -+++ b/Makefile.PL
59 -@@ -6,5 +6,5 @@ WriteMakefile(NAME => "Data::HexDump",
60 - VERSION_FROM => "lib/Data/HexDump.pm",
61 - dist => { COMPRESS => "gzip", SUFFIX => "gz" },
62 - clean => { FILES => '*.bak *.old mibs/*.dump lib/*/*~' },
63 -- EXE_FILES => [ qw(hexdump) ],
64 -+ EXE_FILES => [ qw(bin/hexdump.pl) ],
65 - );
66 -diff --git a/hexdump b/bin/hexdump.pl
67 -similarity index 95%
68 -rename from hexdump
69 -rename to bin/hexdump.pl
70 -index a2e28a1..9f86cd8 100755
71 ---- a/hexdump
72 -+++ b/bin/hexdump.pl
73 -@@ -5,7 +5,7 @@ use strict;
74 - use Data::HexDump;
75 - use FileHandle;
76 -
77 --my $prgname = "hexdump";
78 -+my $prgname = "hexdump.pl";
79 - my $file = shift;
80 - my $fh;
81 -
82 ---
83 -2.14.1
84 -
85
86 diff --git a/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-lib-pm.patch b/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-lib-pm.patch
87 deleted file mode 100644
88 index 7e7606ebc9f..00000000000
89 --- a/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-lib-pm.patch
90 +++ /dev/null
91 @@ -1,28 +0,0 @@
92 -From 36f61caaa95340817098b8b9f6631c9f2060a292 Mon Sep 17 00:00:00 2001
93 -From: Kent Fredric <kentnl@g.o>
94 -Date: Tue, 10 Oct 2017 08:17:01 +1300
95 -Subject: Remove 'use lib lib'
96 -
97 -There's no sense in blindly adding lib based on wherever you currently
98 -are to an installed program, its just a security problem asking to be
99 -invented.
100 -
101 -Bug: https://rt.cpan.org/Ticket/Display.html?id=123225
102 ----
103 - bin/hexdump.pl | 1 -
104 - 1 file changed, 1 deletion(-)
105 -
106 -diff --git a/bin/hexdump.pl b/bin/hexdump.pl
107 -index 9f86cd8..1ce8962 100755
108 ---- a/bin/hexdump.pl
109 -+++ b/bin/hexdump.pl
110 -@@ -1,6 +1,5 @@
111 - #!/usr/bin/perl -w
112 -
113 --use lib "lib";
114 - use strict;
115 - use Data::HexDump;
116 - use FileHandle;
117 ---
118 -2.14.1
119 -
120
121 diff --git a/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-signed-c.patch b/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-signed-c.patch
122 deleted file mode 100644
123 index 6c117334cf9..00000000000
124 --- a/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-signed-c.patch
125 +++ /dev/null
126 @@ -1,28 +0,0 @@
127 -From 1eec10393fbf1123327858d127e1f6d9e50f5a85 Mon Sep 17 00:00:00 2001
128 -From: Kent Fredric <kentnl@g.o>
129 -Date: Tue, 10 Oct 2017 08:17:59 +1300
130 -Subject: Don't use signed characters for 0-255
131 -
132 -'c' == -127 to 127
133 -
134 -Bug: https://rt.cpan.org/Ticket/Display.html?id=123226
135 ----
136 - t/compare.t | 2 +-
137 - 1 file changed, 1 insertion(+), 1 deletion(-)
138 -
139 -diff --git a/t/compare.t b/t/compare.t
140 -index f03d73d..3c25803 100644
141 ---- a/t/compare.t
142 -+++ b/t/compare.t
143 -@@ -11,7 +11,7 @@ print "1..2\n";
144 - # data
145 - my $org = "";
146 - for (my $i = 0; $i <= 255; $i++) {
147 -- $org .= pack 'c', $i;
148 -+ $org .= pack 'C', $i;
149 - }
150 - $org = $org x 17 . "more data";
151 -
152 ---
153 -2.14.1
154 -