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/Mozilla-PublicSuffix/files/
Date: Sun, 05 Dec 2021 21:46:03
Message-Id: 1638740713.4579946f05702ccbcf9a815fb959de518baacb0f.conikost@gentoo
1 commit: 4579946f05702ccbcf9a815fb959de518baacb0f
2 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
3 AuthorDate: Thu Nov 25 16:54:31 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 5 21:45:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4579946f
7
8 dev-perl/Mozilla-PublicSuffix: remove unused patch
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
12 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
13
14 .../files/1.0.0-no-dynamic-update.patch | 90 ----------------------
15 1 file changed, 90 deletions(-)
16
17 diff --git a/dev-perl/Mozilla-PublicSuffix/files/1.0.0-no-dynamic-update.patch b/dev-perl/Mozilla-PublicSuffix/files/1.0.0-no-dynamic-update.patch
18 deleted file mode 100644
19 index 99c76a4dc754..000000000000
20 --- a/dev-perl/Mozilla-PublicSuffix/files/1.0.0-no-dynamic-update.patch
21 +++ /dev/null
22 @@ -1,90 +0,0 @@
23 -From 7dcc6afa75d5318325856fdef0456f4ddf1672b1 Mon Sep 17 00:00:00 2001
24 -From: Kent Fredric <kentfredric@×××××.com>
25 -Date: Fri, 6 Jan 2017 12:32:50 +1300
26 -Subject: [PATCH] Remove dynamic update code
27 -
28 -As this basically makes builds unreproducale anyway, and the download
29 -URI is invariant meaning we can't even approximate the same logic via
30 -SRC_URI without having frequently changing Manifests, but no change in
31 -URI.
32 ----
33 - Build.PL | 26 --------------------------
34 - META.yml | 2 --
35 - 2 files changed, 28 deletions(-)
36 -
37 -diff --git a/Build.PL b/Build.PL
38 -index 7ef1ca0..1e7834d 100755
39 ---- a/Build.PL
40 -+++ b/Build.PL
41 -@@ -5,11 +5,9 @@ use warnings FATAL => "all";
42 - use utf8;
43 - use open ":encoding(UTF-8)";
44 - use Carp qw(croak);
45 --use HTTP::Tiny;
46 - use Module::Build;
47 - use IO::File;
48 - use Tie::File;
49 --use URI;
50 -
51 - my $builder = Module::Build->new(
52 - dist_name => "Mozilla-PublicSuffix",
53 -@@ -28,11 +26,9 @@ my $builder = Module::Build->new(
54 - 'perl' => '5.008'
55 - },
56 - 'configure_requires' => {
57 -- 'HTTP::Tiny' => '0',
58 - 'IO::File' => '0',
59 - 'Module::Build' => '0.28',
60 - 'Tie::File' => '0',
61 -- 'URI' => '0',
62 - 'perl' => '5.008'
63 - },
64 - 'requires' => {
65 -@@ -43,28 +39,6 @@ my $builder = Module::Build->new(
66 - );
67 -
68 - my $dat_file = "effective_tld_names.dat";
69 --my $get_new_list = $builder->y_n(
70 -- "Check for a new version of the Public Suffix List?", "N"
71 --);
72 --if ($get_new_list) {
73 -- my $http = HTTP::Tiny->new( timeout => 6 );
74 -- my $list_uri = URI->new(
75 -- "http://mxr.mozilla.org/mozilla-central/source/netwerk/dns/$dat_file"
76 -- );
77 -- $list_uri->query_form({ raw => 1 });
78 -- my %options = (
79 -- headers => {
80 -- "If-Modified-Since" => "Fri, 17 May 2013 00:00:00 UTC"
81 -- }
82 -- );
83 -- my $response = $http->get($list_uri, \%options);
84 -- if ( $response->{status} == 200 ) {
85 -- IO::File->new($dat_file, "w")->print($response->{content});
86 -- }
87 -- elsif ( $response->{status} != 304 ) {
88 -- croak "Unable to download public suffix list.";
89 -- }
90 --}
91 -
92 - # Divide rules from list into sets:
93 - my $rules = join " ", map {
94 -diff --git a/META.yml b/META.yml
95 -index b25bc9c..2697608 100644
96 ---- a/META.yml
97 -+++ b/META.yml
98 -@@ -11,11 +11,9 @@ build_requires:
99 - blib: '1.01'
100 - perl: '5.008'
101 - configure_requires:
102 -- HTTP::Tiny: '0'
103 - IO::File: '0'
104 - Module::Build: '0.28'
105 - Tie::File: '0'
106 -- URI: '0'
107 - perl: '5.008'
108 - dynamic_config: 0
109 - generated_by: 'Dist::Zilla version 6.006, CPAN::Meta::Converter version 2.150001'
110 ---
111 -2.11.0
112 -