This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
cmpVERSION.pl and test.pl now handle checkouts from git-worktree.
[perl5.git] / Porting / Maintainers.pl
1 #!perl
2 # A simple listing of core files that have specific maintainers,
3 # or at least someone that can be called an "interested party".
4 # Also, a "module" does not necessarily mean a CPAN module, it
5 # might mean a file or files or a subdirectory.
6 # Most (but not all) of the modules have dual lives in the core
7 # and in CPAN.
8
9 package Maintainers;
10
11 use utf8;
12 use File::Glob qw(:case);
13
14 # IGNORABLE: files which, if they appear in the root of a CPAN
15 # distribution, need not appear in core (i.e. core-cpan-diff won't
16 # complain if it can't find them)
17
18 @IGNORABLE = qw(
19     .cvsignore .dualLivedDiffConfig .gitignore .github .perlcriticrc .perltidyrc
20     .travis.yml ANNOUNCE Announce Artistic AUTHORS BENCHMARK BUGS Build.PL
21     CHANGELOG ChangeLog Changelog CHANGES Changes CONTRIBUTING CONTRIBUTING.md
22     CONTRIBUTING.mkdn COPYING Copying cpanfile CREDITS dist.ini GOALS HISTORY
23     INSTALL INSTALL.SKIP LICENCE LICENSE Makefile.PL MANIFEST MANIFEST.SKIP
24     META.json META.yml MYMETA.json MYMETA.yml NEW NEWS NOTES perlcritic.rc
25     ppport.h README README.md README.pod README.PATCHING SIGNATURE THANKS TODO
26     Todo VERSION WHATSNEW
27 );
28
29 # Each entry in the  %Modules hash roughly represents a distribution,
30 # except when DISTRIBUTION is set, where it *exactly* represents a single
31 # CPAN distribution.
32
33 # The keys of %Modules are human descriptions of the distributions, and
34 # may not exactly match a module or distribution name. Distributions
35 # which have an obvious top-level module associated with them will usually
36 # have a key named for that module, e.g. 'Archive::Extract' for
37 # Archive-Extract-N.NN.tar.gz; the remaining keys are likely to be based
38 # on the name of the distribution, e.g. 'Locale-Codes' for
39 # Locale-Codes-N.NN.tar.gz'.
40
41 # UPSTREAM indicates where patches should go.  This is generally now
42 # inferred from the FILES: modules with files in dist/, ext/ and lib/
43 # are understood to have UPSTREAM 'blead', meaning that the copy of the
44 # module in the blead sources is to be considered canonical, while
45 # modules with files in cpan/ are understood to have UPSTREAM 'cpan',
46 # meaning that the module on CPAN is to be patched first.
47
48 # MAINTAINER has previously been used to indicate who the current maintainer
49 # of the module is, but this is no longer stated explicitly. It is now
50 # understood to be either the Perl 5 Porters if UPSTREAM is 'blead', or else
51 # the CPAN author whose PAUSE user ID forms the first part of the DISTRIBUTION
52 # value, e.g. 'BINGOS' in the case of 'BINGOS/Archive-Tar-2.00.tar.gz'.
53 # (PAUSE's View Permissions page may be consulted to find other authors who
54 # have owner or co-maint permissions for the module in question.)
55
56 # FILES is a list of filenames, glob patterns, and directory
57 # names to be recursed down, which collectively generate a complete list
58 # of the files associated with the distribution.
59
60 # BUGS is an email or url to post bug reports.  For modules with
61 # UPSTREAM => 'blead', use perl5-porters@perl.org.  rt.cpan.org
62 # appears to automatically provide a URL for CPAN modules; any value
63 # given here overrides the default:
64 # http://rt.cpan.org/Public/Dist/Display.html?Name=$ModuleName
65
66 # DISTRIBUTION names the tarball on CPAN which (allegedly) the files
67 # included in core are derived from. Note that the file's version may not
68 # necessarily match the newest version on CPAN.  (For dist/ distributions,
69 # which are blead-first, a request should be placed with the releaser(s) to
70 # upload the corresponding cpan release, and the entry in this file should
71 # only be updated when that release has been done.)
72
73 # MAIN_MODULE names the top-level module by which the tarball is indexed on
74 # CPAN in cases where this differs from the distribution's key in %Modules.
75 # (If it is equal then MAIN_MODULE is optional and should be omitted.)
76
77 # EXCLUDED is a list of files to be excluded from a CPAN tarball before
78 # comparing the remaining contents with core. Each item can either be a
79 # full pathname (eg 't/foo.t') or a pattern (e.g. qr{^t/}).
80 # It defaults to the empty list.
81
82 # CUSTOMIZED is a list of files that have been customized within the
83 # Perl core.  Use this whenever patching a cpan upstream distribution
84 # or whenever we expect to have a file that differs from the tarball.
85 # If the file in blead matches the file in the tarball from CPAN,
86 # Porting/core-cpan-diff will warn about it, as it indicates an expected
87 # customization might have been lost when updating from upstream.  The
88 # path should be relative to the distribution directory.  If the upstream
89 # distribution should be modified to incorporate the change then be sure
90 # to raise a ticket for it on rt.cpan.org and add a comment alongside the
91 # list of CUSTOMIZED files noting the ticket number.
92
93 # DEPRECATED contains the *first* version of Perl in which the module
94 # was considered deprecated.  It should only be present if the module is
95 # actually deprecated.  Such modules should use deprecate.pm to
96 # issue a warning if used.  E.g.:
97 #
98 #     use if $] >= 5.011, 'deprecate';
99 #
100
101 # MAP is a hash that maps CPAN paths to their core equivalents.
102 # Each key represents a string prefix, with longest prefixes checked
103 # first. The first match causes that prefix to be replaced with the
104 # corresponding key. For example, with the following MAP:
105 #   {
106 #     'lib/'     => 'lib/',
107 #     ''     => 'lib/Foo/',
108 #   },
109 #
110 # these files are mapped as shown:
111 #
112 #    README     becomes lib/Foo/README
113 #    lib/Foo.pm becomes lib/Foo.pm
114 #
115 # The default is dependent on the type of module.
116 # For distributions which appear to be stored under ext/, it defaults to:
117 #
118 #   { '' => 'ext/Foo-Bar/' }
119 #
120 # otherwise, it's
121 #
122 #   {
123 #     'lib/'     => 'lib/',
124 #     ''     => 'lib/Foo/Bar/',
125 #   }
126
127 %Modules = (
128
129     'Archive::Tar' => {
130         'DISTRIBUTION' => 'BINGOS/Archive-Tar-2.40.tar.gz',
131         'FILES'        => q[cpan/Archive-Tar],
132         'BUGS'         => 'bug-archive-tar@rt.cpan.org',
133         'EXCLUDED'     => [
134             qw(t/07_ptardiff.t),
135             qr{t/src/(long|short)/foo.txz},
136         ],
137     },
138
139     'Attribute::Handlers' => {
140         'DISTRIBUTION' => 'RJBS/Attribute-Handlers-0.99.tar.gz',
141         'FILES'        => q[dist/Attribute-Handlers],
142     },
143
144     'autodie' => {
145         'DISTRIBUTION' => 'TODDR/autodie-2.34.tar.gz',
146         'FILES'        => q[cpan/autodie],
147         'EXCLUDED'     => [
148             qr{benchmarks},
149             qr{README\.md},
150             qr{^xt/},
151             # All these tests depend upon external
152             # modules that don't exist when we're
153             # building the core.  Hence, they can
154             # never run, and should not be merged.
155             qw( t/author-critic.t
156                 t/critic.t
157                 t/fork.t
158                 t/kwalitee.t
159                 t/lex58.t
160                 t/pod-coverage.t
161                 t/pod.t
162                 t/release-pod-coverage.t
163                 t/release-pod-syntax.t
164                 t/socket.t
165                 t/system.t
166                 t/no-all.t
167                 )
168         ],
169     },
170
171     'AutoLoader' => {
172         'DISTRIBUTION' => 'SMUELLER/AutoLoader-5.74.tar.gz',
173         'FILES'        => q[cpan/AutoLoader],
174         'EXCLUDED'     => ['t/00pod.t'],
175     },
176
177     'autouse' => {
178         'DISTRIBUTION' => 'RJBS/autouse-1.11.tar.gz',
179         'FILES'        => q[dist/autouse],
180         'EXCLUDED'     => [qr{^t/release-.*\.t}],
181     },
182
183     'base' => {
184         'DISTRIBUTION' => 'RJBS/base-2.23.tar.gz',
185         'FILES'        => q[dist/base],
186     },
187
188     'bignum' => {
189         'DISTRIBUTION' => 'PJACKLAM/bignum-0.53.tar.gz',
190         'FILES'        => q[cpan/bignum],
191         'EXCLUDED'     => [
192             qr{^xt/},
193             qr{^t/author-},
194             qr{^t/release-},
195             qw( t/00sig.t
196                 t/01load.t
197                 ),
198         ],
199     },
200
201     'Carp' => {
202         'DISTRIBUTION' => 'XSAWYERX/Carp-1.50.tar.gz',
203         'FILES'        => q[dist/Carp],
204     },
205
206     'Compress::Raw::Bzip2' => {
207         'DISTRIBUTION' => 'PMQS/Compress-Raw-Bzip2-2.101.tar.gz',
208         'FILES'        => q[cpan/Compress-Raw-Bzip2],
209         'EXCLUDED'     => [
210             qr{^t/Test/},
211             qr{^t/meta},
212             'bzip2-src/bzip2-const.patch',
213             'bzip2-src/bzip2-cpp.patch',
214             'bzip2-src/bzip2-unsigned.patch',
215         ],
216     },
217
218     'Compress::Raw::Zlib' => {
219         'DISTRIBUTION' => 'PMQS/Compress-Raw-Zlib-2.101.tar.gz',
220         'FILES'    => q[cpan/Compress-Raw-Zlib],
221         'EXCLUDED' => [
222             qr{^examples/},
223             qr{^t/Test/},
224             qr{^t/meta},
225             qw( t/000prereq.t
226                 t/99pod.t
227                 ),
228         ],
229     },
230
231     'Config::Perl::V' => {
232         'DISTRIBUTION' => 'HMBRAND/Config-Perl-V-0.33.tgz',
233         'FILES'        => q[cpan/Config-Perl-V],
234         'EXCLUDED'     => [qw(
235                 examples/show-v.pl
236                 )],
237     },
238
239     'constant' => {
240         'DISTRIBUTION' => 'RJBS/constant-1.33.tar.gz',
241         'FILES'        => q[dist/constant],
242         'EXCLUDED'     => [
243             qw( t/00-load.t
244                 t/more-tests.t
245                 t/pod-coverage.t
246                 t/pod.t
247                 eg/synopsis.pl
248                 ),
249         ],
250     },
251
252     'CPAN' => {
253         'DISTRIBUTION' => 'ANDK/CPAN-2.28.tar.gz',
254         'FILES'        => q[cpan/CPAN],
255         'EXCLUDED'     => [
256             qr{^distroprefs/},
257             qr{^inc/Test/},
258             qr{^t/CPAN/},
259             qr{^t/data/},
260             qr{^t/97-},
261             qw( lib/CPAN/Admin.pm
262                 scripts/cpan-mirrors
263                 PAUSE2015.pub
264                 PAUSE2019.pub
265                 PAUSE2021.pub
266                 SlayMakefile
267                 t/00signature.t
268                 t/04clean_load.t
269                 t/12cpan.t
270                 t/13tarzip.t
271                 t/14forkbomb.t
272                 t/30shell.coverage
273                 t/30shell.t
274                 t/31sessions.t
275                 t/41distribution.t
276                 t/42distroprefs.t
277                 t/43distroprefspref.t
278                 t/44cpanmeta.t
279                 t/50pod.t
280                 t/51pod.t
281                 t/52podcover.t
282                 t/60credentials.t
283                 t/70_critic.t
284                 t/71_minimumversion.t
285                 t/local_utils.pm
286                 t/perlcriticrc
287                 t/yaml_code.yml
288                 ),
289         ],
290     },
291
292     # Note: When updating CPAN-Meta the META.* files will need to be regenerated
293     # perl -Icpan/CPAN-Meta/lib Porting/makemeta
294     'CPAN::Meta' => {
295         'DISTRIBUTION' => 'DAGOLDEN/CPAN-Meta-2.150010.tar.gz',
296         'FILES'        => q[cpan/CPAN-Meta],
297         'EXCLUDED'     => [
298             qw[t/00-report-prereqs.t
299                t/00-report-prereqs.dd
300               ],
301             qr{^xt},
302             qr{^history},
303         ],
304     },
305
306     'CPAN::Meta::Requirements' => {
307         'DISTRIBUTION' => 'DAGOLDEN/CPAN-Meta-Requirements-2.140.tar.gz',
308         'FILES'        => q[cpan/CPAN-Meta-Requirements],
309         'EXCLUDED'     => [
310             qw(t/00-report-prereqs.t),
311             qw(t/00-report-prereqs.dd),
312             qw(t/version-cleanup.t),
313             qr{^xt},
314         ],
315     },
316
317     'CPAN::Meta::YAML' => {
318         'DISTRIBUTION' => 'DAGOLDEN/CPAN-Meta-YAML-0.018.tar.gz',
319         'FILES'        => q[cpan/CPAN-Meta-YAML],
320         'EXCLUDED'     => [
321             't/00-report-prereqs.t',
322             't/00-report-prereqs.dd',
323             qr{^xt},
324         ],
325     },
326
327     'Data::Dumper' => {
328         'DISTRIBUTION' => 'NWCLARK/Data-Dumper-2.183.tar.gz',
329         'FILES'        => q[dist/Data-Dumper],
330     },
331
332     'DB_File' => {
333         'DISTRIBUTION' => 'PMQS/DB_File-1.856.tar.gz',
334         'FILES'        => q[cpan/DB_File],
335         'EXCLUDED'     => [
336             qr{^patches/},
337             qr{^t/meta},
338             qw( t/pod.t
339                 t/000prereq.t
340                 fallback.h
341                 fallback.xs
342                 ),
343         ],
344     },
345
346     'Devel::PPPort' => {
347         'DISTRIBUTION' => 'ATOOMIC/Devel-PPPort-3.63.tar.gz',
348         'FILES'        => q[dist/Devel-PPPort],
349         'EXCLUDED'     => [
350             'PPPort.pm',    # we use PPPort_pm.PL instead
351         ],
352     },
353
354     'Devel::SelfStubber' => {
355         'DISTRIBUTION' => 'FLORA/Devel-SelfStubber-1.05.tar.gz',
356         'FILES'        => q[dist/Devel-SelfStubber],
357         'EXCLUDED'     => [qr{^t/release-.*\.t}],
358     },
359
360     'Digest' => {
361         'DISTRIBUTION' => 'TODDR/Digest-1.19.tar.gz',
362         'FILES'        => q[cpan/Digest],
363         'EXCLUDED'     => ['digest-bench'],
364     },
365
366     'Digest::MD5' => {
367         'DISTRIBUTION' => 'TODDR/Digest-MD5-2.58.tar.gz',
368         'FILES'        => q[cpan/Digest-MD5],
369         'EXCLUDED'     => [ 'rfc1321.txt', 'bin/md5sum.pl' ],
370     },
371
372     'Digest::SHA' => {
373         'DISTRIBUTION' => 'MSHELOR/Digest-SHA-6.02.tar.gz',
374         'FILES'        => q[cpan/Digest-SHA],
375         'EXCLUDED'     => [
376             qw( t/pod.t
377                 t/podcover.t
378                 examples/dups
379                 ),
380         ],
381     },
382
383     'Dumpvalue' => {
384         'DISTRIBUTION' => 'FLORA/Dumpvalue-1.17.tar.gz',
385         'FILES'        => q[dist/Dumpvalue],
386         'EXCLUDED'     => [qr{^t/release-.*\.t}],
387     },
388
389     'Encode' => {
390         'DISTRIBUTION' => 'DANKOGAI/Encode-3.10.tar.gz',
391         'FILES'        => q[cpan/Encode],
392         'EXCLUDED'     => [
393             qw( t/whatwg-aliases.json
394                 t/whatwg-aliases.t
395                 ),
396         ],
397     },
398
399     'encoding::warnings' => {
400         'DISTRIBUTION' => 'AUDREYT/encoding-warnings-0.11.tar.gz',
401         'FILES'        => q[dist/encoding-warnings],
402         'EXCLUDED'     => [
403             qr{^inc/Module/},
404             qw(t/0-signature.t),
405         ],
406     },
407
408     'Env' => {
409         'DISTRIBUTION' => 'FLORA/Env-1.04.tar.gz',
410         'FILES'        => q[dist/Env],
411         'EXCLUDED'     => [qr{^t/release-.*\.t}],
412     },
413
414     'experimental' => {
415         'DISTRIBUTION' => 'LEONT/experimental-0.024.tar.gz',
416         'FILES'        => q[cpan/experimental],
417         'EXCLUDED'     => [qr{^xt/}],
418     },
419
420     'Exporter' => {
421         'DISTRIBUTION' => 'TODDR/Exporter-5.74.tar.gz',
422         'FILES'        => q[dist/Exporter],
423         'EXCLUDED' => [
424             qw( t/pod.t
425                 t/use.t
426                 ),
427         ],
428     },
429
430     'ExtUtils::CBuilder' => {
431         'DISTRIBUTION' => 'AMBS/ExtUtils-CBuilder-0.280236.tar.gz',
432         'FILES'        => q[dist/ExtUtils-CBuilder],
433         'EXCLUDED'     => [
434             qw(README.mkdn),
435             qr{^xt},
436         ],
437     },
438
439     'ExtUtils::Constant' => {
440
441         'DISTRIBUTION' => 'NWCLARK/ExtUtils-Constant-0.25.tar.gz',
442         'FILES'    => q[cpan/ExtUtils-Constant],
443         'CUSTOMIZED' => [
444             # https://rt.cpan.org/Public/Bug/Display.html?id=132995
445             't/Constant.t',
446         ],
447         'EXCLUDED' => [
448             qw( lib/ExtUtils/Constant/Aaargh56Hash.pm
449                 examples/perl_keyword.pl
450                 examples/perl_regcomp_posix_keyword.pl
451                 ),
452         ],
453     },
454
455     'ExtUtils::Install' => {
456         'DISTRIBUTION' => 'BINGOS/ExtUtils-Install-2.20.tar.gz',
457         'FILES'        => q[cpan/ExtUtils-Install],
458         'EXCLUDED'     => [
459             qw( t/lib/Test/Builder.pm
460                 t/lib/Test/Builder/Module.pm
461                 t/lib/Test/More.pm
462                 t/lib/Test/Simple.pm
463                 t/pod-coverage.t
464                 t/pod.t
465                 ),
466         ],
467     },
468
469     'ExtUtils::MakeMaker' => {
470         'DISTRIBUTION' => 'BINGOS/ExtUtils-MakeMaker-7.62.tar.gz',
471         'FILES'        => q[cpan/ExtUtils-MakeMaker],
472         'EXCLUDED'     => [
473             qr{^t/lib/Test/},
474             qr{^(bundled|my)/},
475             qr{^t/Liblist_Kid.t},
476             qr{^t/liblist/},
477             qr{^\.perlcriticrc},
478             'PATCHING',
479             'README.packaging',
480             'lib/ExtUtils/MakeMaker/version/vpp.pm',
481         ],
482     },
483
484     'ExtUtils::PL2Bat' => {
485         'DISTRIBUTION' => 'LEONT/ExtUtils-PL2Bat-0.004.tar.gz',
486         'FILES'        => q[cpan/ExtUtils-PL2Bat],
487         'EXCLUDED'     => [
488             't/00-compile.t',
489             'script/pl2bat.pl'
490         ],
491     },
492
493     'ExtUtils::Manifest' => {
494         'DISTRIBUTION' => 'ETHER/ExtUtils-Manifest-1.73.tar.gz',
495         'FILES'        => q[cpan/ExtUtils-Manifest],
496         'EXCLUDED'     => [
497             qr(^t/00-report-prereqs),
498             qr(^xt/)
499         ],
500     },
501
502     'ExtUtils::ParseXS' => {
503         'DISTRIBUTION' => 'SMUELLER/ExtUtils-ParseXS-3.35.tar.gz',
504         'FILES'        => q[dist/ExtUtils-ParseXS],
505     },
506
507     'File::Fetch' => {
508         'DISTRIBUTION' => 'BINGOS/File-Fetch-1.00.tar.gz',
509         'FILES'        => q[cpan/File-Fetch],
510     },
511
512     'File::Path' => {
513         'DISTRIBUTION' => 'JKEENAN/File-Path-2.18.tar.gz',
514         'FILES'        => q[cpan/File-Path],
515         'EXCLUDED'     => [
516             qw(t/Path-Class.t),
517             qr{^xt/},
518         ],
519     },
520
521     'File::Temp' => {
522         'DISTRIBUTION' => 'ETHER/File-Temp-0.2311.tar.gz',
523         'FILES'        => q[cpan/File-Temp],
524         'EXCLUDED'     => [
525             qw( README.mkdn
526                 misc/benchmark.pl
527                 misc/results.txt
528                 ),
529             qr[^t/00-report-prereqs],
530             qr{^xt},
531         ],
532     },
533
534     'Filter::Simple' => {
535         'DISTRIBUTION' => 'SMUELLER/Filter-Simple-0.94.tar.gz',
536         'FILES'        => q[dist/Filter-Simple],
537         'EXCLUDED'     => [
538             qr{^demo/}
539         ],
540     },
541
542     'Filter::Util::Call' => {
543         'DISTRIBUTION' => 'RURBAN/Filter-1.60.tar.gz',
544         'FILES'        => q[cpan/Filter-Util-Call
545                  pod/perlfilter.pod
546                 ],
547         'EXCLUDED' => [
548             qr{^decrypt/},
549             qr{^examples/},
550             qr{^Exec/},
551             qr{^lib/Filter/},
552             qr{^tee/},
553             qw( .appveyor.yml
554                 .whitesource
555                 Call/Makefile.PL
556                 Call/ppport.h
557                 Call/typemap
558                 mytest
559                 t/cpp.t
560                 t/decrypt.t
561                 t/exec.t
562                 t/m4.t
563                 t/order.t
564                 t/sh.t
565                 t/tee.t
566                 t/z_kwalitee.t
567                 t/z_manifest.t
568                 t/z_meta.t
569                 t/z_perl_minimum_version.t
570                 t/z_pod-coverage.t
571                 t/z_pod.t
572                 ),
573         ],
574         'MAP' => {
575             'Call/'            => 'cpan/Filter-Util-Call/',
576             't/filter-util.pl' => 'cpan/Filter-Util-Call/filter-util.pl',
577             'perlfilter.pod'   => 'pod/perlfilter.pod',
578             ''                 => 'cpan/Filter-Util-Call/',
579         },
580         'CUSTOMIZED'   => [
581             qw(pod/perlfilter.pod)
582         ],
583     },
584
585     'FindBin' => {
586         'DISTRIBUTION' => 'TODDR/FindBin-1.52.tar.gz',
587         'FILES'        => q[dist/FindBin],
588     },
589
590     'Getopt::Long' => {
591         'DISTRIBUTION' => 'JV/Getopt-Long-2.52.tar.gz',
592         'FILES'        => q[cpan/Getopt-Long],
593         'EXCLUDED'     => [
594             qr{^examples/},
595             qw( lib/newgetopt.pl
596                 t/gol-compat.t
597                 ),
598         ],
599     },
600
601     'HTTP::Tiny' => {
602         'DISTRIBUTION' => 'DAGOLDEN/HTTP-Tiny-0.076.tar.gz',
603         'FILES'        => q[cpan/HTTP-Tiny],
604         'EXCLUDED'     => [
605             't/00-report-prereqs.t',
606             't/00-report-prereqs.dd',
607             't/200_live.t',
608             't/200_live_local_ip.t',
609             't/210_live_ssl.t',
610             qr/^eg/,
611             qr/^xt/
612         ],
613     },
614
615     'I18N::Collate' => {
616         'DISTRIBUTION' => 'FLORA/I18N-Collate-1.02.tar.gz',
617         'FILES'        => q[dist/I18N-Collate],
618         'EXCLUDED'     => [qr{^t/release-.*\.t}],
619     },
620
621     'I18N::LangTags' => {
622         'FILES'        => q[dist/I18N-LangTags],
623     },
624
625     'if' => {
626         'DISTRIBUTION' => 'XSAWYERX/if-0.0608.tar.gz',
627         'FILES'        => q[dist/if],
628     },
629
630     'IO' => {
631         'DISTRIBUTION' => 'TODDR/IO-1.45.tar.gz',
632         'FILES'        => q[dist/IO/],
633         'EXCLUDED'     => ['t/test.pl'],
634     },
635
636     'IO-Compress' => {
637         'DISTRIBUTION' => 'PMQS/IO-Compress-2.102.tar.gz',
638         'MAIN_MODULE'  => 'IO::Compress::Base',
639         'FILES'        => q[cpan/IO-Compress],
640         'EXCLUDED'     => [
641             qr{^examples/},
642             qr{^t/Test/},
643             qr{^t/999meta-},
644             't/010examples-bzip2.t',
645             't/010examples-zlib.t',
646             't/cz-05examples.t',
647         ],
648     },
649
650     'IO::Socket::IP' => {
651         'DISTRIBUTION' => 'PEVANS/IO-Socket-IP-0.41.tar.gz',
652         'FILES'        => q[cpan/IO-Socket-IP],
653         'EXCLUDED'     => [
654             qr{^examples/},
655         ],
656     },
657
658     'IO::Zlib' => {
659         'DISTRIBUTION' => 'TOMHUGHES/IO-Zlib-1.11.tar.gz',
660         'FILES'        => q[cpan/IO-Zlib],
661     },
662
663     'IPC::Cmd' => {
664         'DISTRIBUTION' => 'BINGOS/IPC-Cmd-1.04.tar.gz',
665         'FILES'        => q[cpan/IPC-Cmd],
666     },
667
668     'IPC::SysV' => {
669         'DISTRIBUTION' => 'MHX/IPC-SysV-2.09.tar.gz',
670         'FILES'        => q[cpan/IPC-SysV],
671         'EXCLUDED'     => [
672             qw( const-c.inc
673                 const-xs.inc
674                 ),
675         ],
676     },
677
678     'JSON::PP' => {
679         'DISTRIBUTION' => 'ISHIGAKI/JSON-PP-4.06.tar.gz',
680         'FILES'        => q[cpan/JSON-PP],
681     },
682
683     'lib' => {
684         'DISTRIBUTION' => 'SMUELLER/lib-0.63.tar.gz',
685         'FILES'        => q[dist/lib/],
686         'EXCLUDED'     => [
687             qw( forPAUSE/lib.pm
688                 t/00pod.t
689                 ),
690         ],
691     },
692
693     'libnet' => {
694         'DISTRIBUTION' => 'SHAY/libnet-3.13.tar.gz',
695         'MAIN_MODULE'  => 'Net::Cmd',
696         'FILES'        => q[cpan/libnet],
697         'EXCLUDED'     => [
698             qw( Configure
699                 t/changes.t
700                 t/critic.t
701                 t/pod.t
702                 t/pod_coverage.t
703                 ),
704             qr(^demos/),
705             qr(^t/external/),
706         ],
707     },
708
709     'Locale::Maketext' => {
710         'DISTRIBUTION' => 'TODDR/Locale-Maketext-1.29.tar.gz',
711         'FILES'        => q[dist/Locale-Maketext],
712         'EXCLUDED'     => [
713             qw(
714                 perlcriticrc
715                 t/00_load.t
716                 t/pod.t
717                 ),
718         ],
719     },
720
721     'Locale::Maketext::Simple' => {
722         'DISTRIBUTION' => 'JESSE/Locale-Maketext-Simple-0.21.tar.gz',
723         'FILES'        => q[cpan/Locale-Maketext-Simple],
724         'CUSTOMIZED'   => [
725             # CVE-2016-1238
726             qw( lib/Locale/Maketext/Simple.pm )
727         ],
728     },
729
730     'Math::BigInt' => {
731         'DISTRIBUTION' => 'PJACKLAM/Math-BigInt-1.999823.tar.gz',
732         'FILES'        => q[cpan/Math-BigInt],
733         'EXCLUDED'     => [
734             qr{^xt/},
735             qr{^examples/},
736             qr{^t/author-},
737             qr{^t/release-},
738             qw( t/00sig.t
739                 t/01load.t
740                 ),
741         ],
742     },
743
744     'Math::BigInt::FastCalc' => {
745         'DISTRIBUTION' => 'PJACKLAM/Math-BigInt-FastCalc-0.5010.tar.gz',
746         'FILES'        => q[cpan/Math-BigInt-FastCalc],
747         'EXCLUDED'     => [
748             qr{^inc/},
749             qr{^xt/},
750             qr{^t/author-},
751             qr{^t/release-},
752             qr{^t/Math/BigInt/Lib/TestUtil.pm},
753             qw( t/00sig.t
754                 t/01load.t
755                 ),
756
757             # instead we use the versions of these test
758             # files that come with Math::BigInt:
759             qw( t/bigfltpm.inc
760                 t/bigfltpm.t
761                 t/bigintpm.inc
762                 t/bigintpm.t
763                 t/mbimbf.inc
764                 t/mbimbf.t
765                 ),
766         ],
767     },
768
769     'Math::BigRat' => {
770         'DISTRIBUTION' => 'PJACKLAM/Math-BigRat-0.2617.tar.gz',
771         'FILES'        => q[cpan/Math-BigRat],
772         'EXCLUDED'     => [
773             qr{^xt/},
774             qr{^math-bigrat-pod.diff},
775             qr{^t/author-},
776             qr{^t/release-},
777             qw( t/00sig.t
778                 t/01load.t
779                 ),
780         ],
781     },
782
783     'Math::Complex' => {
784         'DISTRIBUTION' => 'ZEFRAM/Math-Complex-1.59.tar.gz',
785         'FILES'        => q[cpan/Math-Complex],
786         'CUSTOMIZED'   => [
787             'lib/Math/Complex.pm', # CPAN RT 118467
788             't/Complex.t',         # CPAN RT 118467
789             't/Trig.t',            # CPAN RT 118467
790             't/underbar.t',
791         ],
792         'EXCLUDED'     => [
793             qw( t/pod.t
794                 t/pod-coverage.t
795                 ),
796         ],
797     },
798
799     'Memoize' => {
800         'DISTRIBUTION' => 'MJD/Memoize-1.03.tgz',
801         'FILES'        => q[cpan/Memoize],
802         'EXCLUDED'     => ['article.html'],
803         'CUSTOMIZED'   => [
804             # CVE-2016-1238
805             qw( Memoize.pm ),
806
807             # CPAN RT 108382
808             qw( t/expmod_t.t t/speed.t ),
809         ],
810     },
811
812     'MIME::Base64' => {
813         'DISTRIBUTION' => 'CAPOEIRAB/MIME-Base64-3.16.tar.gz',
814         'FILES'        => q[cpan/MIME-Base64],
815         'EXCLUDED'     => [ qr{^xt/}, 'benchmark', 'benchmark-qp', qr{^t/00-report-prereqs} ],
816     },
817
818     'Module::CoreList' => {
819         'DISTRIBUTION' => 'BINGOS/Module-CoreList-5.20210820.tar.gz',
820         'FILES'        => q[dist/Module-CoreList],
821     },
822
823     'Module::Load' => {
824         'DISTRIBUTION' => 'BINGOS/Module-Load-0.36.tar.gz',
825         'FILES'        => q[cpan/Module-Load],
826     },
827
828     'Module::Load::Conditional' => {
829         'DISTRIBUTION' => 'BINGOS/Module-Load-Conditional-0.74.tar.gz',
830         'FILES'        => q[cpan/Module-Load-Conditional],
831     },
832
833     'Module::Loaded' => {
834         'DISTRIBUTION' => 'BINGOS/Module-Loaded-0.08.tar.gz',
835         'FILES'        => q[cpan/Module-Loaded],
836     },
837
838     'Module::Metadata' => {
839         'DISTRIBUTION' => 'ETHER/Module-Metadata-1.000037.tar.gz',
840         'FILES'        => q[cpan/Module-Metadata],
841         'EXCLUDED'     => [
842             qw(t/00-report-prereqs.t),
843             qw(t/00-report-prereqs.dd),
844             qr{weaver.ini},
845             qr{^xt},
846         ],
847     },
848
849     'Net::Ping' => {
850         'DISTRIBUTION' => 'RURBAN/Net-Ping-2.74.tar.gz',
851         'FILES'        => q[dist/Net-Ping],
852         'EXCLUDED'     => [
853             qr{^\.[awc]},
854             qw(README.md.PL),
855             qw(t/020_external.t),
856             qw(t/600_pod.t),
857             qw(t/601_pod-coverage.t),
858             qw(t/602_kwalitee.t),
859             qw(t/603_meta.t),
860             qw(t/604_manifest.t),
861             qw(t/appveyor-test.bat),
862
863         ],
864         'CUSTOMIZED' => [
865             qw{
866                 t/000_load.t
867                 t/001_new.t
868                 t/010_pingecho.t
869                 t/450_service.t
870                 t/500_ping_icmp.t
871                 t/501_ping_icmpv6.t
872             }
873         ],
874     },
875
876     'NEXT' => {
877         'DISTRIBUTION' => 'NEILB/NEXT-0.68.tar.gz',
878         'FILES'        => q[cpan/NEXT],
879         'EXCLUDED'     => [qr{^demo/}],
880     },
881
882     'Params::Check' => {
883         'DISTRIBUTION' => 'BINGOS/Params-Check-0.38.tar.gz',
884         'FILES'        => q[cpan/Params-Check],
885     },
886
887     'parent' => {
888         'DISTRIBUTION' => 'CORION/parent-0.238.tar.gz',
889         'FILES'        => q[cpan/parent],
890         'EXCLUDED'     => [
891             qr{^xt}
892         ],
893     },
894
895     'PathTools' => {
896         'DISTRIBUTION' => 'XSAWYERX/PathTools-3.75.tar.gz',
897         'MAIN_MODULE'  => 'File::Spec',
898         'FILES'        => q[dist/PathTools],
899         'EXCLUDED'     => [
900             qr{^t/lib/Test/},
901             qw( t/rel2abs_vs_symlink.t),
902         ],
903     },
904
905     'Perl::OSType' => {
906         'DISTRIBUTION' => 'DAGOLDEN/Perl-OSType-1.010.tar.gz',
907         'FILES'        => q[cpan/Perl-OSType],
908         'EXCLUDED'     => [qw(tidyall.ini), qr/^xt/, qr{^t/00-}],
909     },
910
911     'perlfaq' => {
912         'DISTRIBUTION' => 'ETHER/perlfaq-5.20210520.tar.gz',
913         'FILES'        => q[cpan/perlfaq],
914         'EXCLUDED'     => [ qr/^inc/, qr/^xt/, qr{^t/00-} ],
915     },
916
917     'PerlIO::via::QuotedPrint' => {
918         'DISTRIBUTION' => 'SHAY/PerlIO-via-QuotedPrint-0.09.tar.gz',
919         'FILES'        => q[cpan/PerlIO-via-QuotedPrint],
920     },
921
922     'Pod::Checker' => {
923         'DISTRIBUTION' => 'MAREKR/Pod-Checker-1.74.tar.gz',
924         'FILES'        => q[cpan/Pod-Checker],
925     },
926
927     'Pod::Escapes' => {
928         'DISTRIBUTION' => 'NEILB/Pod-Escapes-1.07.tar.gz',
929         'FILES'        => q[cpan/Pod-Escapes],
930     },
931
932     'Pod::Perldoc' => {
933         'DISTRIBUTION' => 'MALLEN/Pod-Perldoc-3.28.tar.gz',
934         'FILES'        => q[cpan/Pod-Perldoc],
935
936         # Note that we use the CPAN-provided Makefile.PL, since it
937         # contains special handling of the installation of perldoc.pod
938
939         'EXCLUDED' => [
940             # In blead, the perldoc executable is generated by perldoc.PL
941             # instead
942             # XXX We can and should fix this, but clean up the DRY-failure in
943             # utils first
944             'perldoc',
945
946             # https://rt.cpan.org/Ticket/Display.html?id=116827
947             't/02_module_pod_output.t'
948         ],
949
950         'CUSTOMIZED'   => [
951             # [rt.cpan.org #88204], [rt.cpan.org #120229]
952             'lib/Pod/Perldoc.pm',
953         ],
954     },
955
956     'Pod::Simple' => {
957         'DISTRIBUTION' => 'KHW/Pod-Simple-3.43.tar.gz',
958         'FILES'        => q[cpan/Pod-Simple],
959         'EXCLUDED' => [
960             qw{.ChangeLog.swp},
961             qr{^\.github/}
962         ],
963     },
964
965     'Pod::Usage' => {
966         'DISTRIBUTION' => 'ATOOMIC/Pod-Usage-2.01.tar.gz',
967         'FILES'        => q[cpan/Pod-Usage],
968         'EXCLUDED' => [
969             qr{^t/00-},
970             qr{^xt/}
971         ],
972     },
973
974     'podlators' => {
975         'DISTRIBUTION' => 'RRA/podlators-4.14.tar.gz',
976         'MAIN_MODULE'  => 'Pod::Man',
977         'FILES'        => q[cpan/podlators pod/perlpodstyle.pod],
978         'EXCLUDED'     => [
979             qr{^docs/metadata/},
980         ],
981
982         'MAP' => {
983             ''                 => 'cpan/podlators/',
984             # this file lives outside the cpan/ directory
985             'pod/perlpodstyle.pod' => 'pod/perlpodstyle.pod',
986         },
987     },
988
989     'Safe' => {
990         'DISTRIBUTION' => 'RGARCIA/Safe-2.35.tar.gz',
991         'FILES'        => q[dist/Safe],
992     },
993
994     'Scalar::Util' => {
995         'DISTRIBUTION' => 'PEVANS/Scalar-List-Utils-1.56.tar.gz',
996         'FILES'        => q[cpan/Scalar-List-Utils],
997     },
998
999     'Search::Dict' => {
1000         'DISTRIBUTION' => 'DAGOLDEN/Search-Dict-1.07.tar.gz',
1001         'FILES'        => q[dist/Search-Dict],
1002     },
1003
1004     'SelfLoader' => {
1005         'DISTRIBUTION' => 'SMUELLER/SelfLoader-1.24.tar.gz',
1006         'FILES'        => q[dist/SelfLoader],
1007         'EXCLUDED'     => ['t/00pod.t'],
1008     },
1009
1010     'Socket' => {
1011         'DISTRIBUTION' => 'PEVANS/Socket-2.032.tar.gz',
1012         'FILES'        => q[cpan/Socket],
1013     },
1014
1015     'Storable' => {
1016         'DISTRIBUTION' => 'XSAWYERX/Storable-3.15.tar.gz',
1017         'FILES'        => q[dist/Storable],
1018         'EXCLUDED'     => [
1019             qr{^t/compat/},
1020         ],
1021     },
1022
1023     'Sys::Syslog' => {
1024         'DISTRIBUTION' => 'SAPER/Sys-Syslog-0.36.tar.gz',
1025         'FILES'        => q[cpan/Sys-Syslog],
1026         'EXCLUDED'     => [
1027             qr{^eg/},
1028             qw( README.win32
1029                 t/data-validation.t
1030                 t/distchk.t
1031                 t/pod.t
1032                 t/podcover.t
1033                 t/podspell.t
1034                 t/portfs.t
1035                 win32/PerlLog.RES
1036                 ),
1037         ],
1038     },
1039
1040     'Term::ANSIColor' => {
1041         'DISTRIBUTION' => 'RRA/Term-ANSIColor-5.01.tar.gz',
1042         'FILES'        => q[cpan/Term-ANSIColor],
1043         'EXCLUDED'     => [
1044             qr{^docs/},
1045             qr{^examples/},
1046             qr{^t/data/},
1047             qr{^t/docs/},
1048             qr{^t/style/},
1049             qw( t/module/aliases-env.t ),
1050         ],
1051     },
1052
1053     'Term::Cap' => {
1054         'DISTRIBUTION' => 'JSTOWE/Term-Cap-1.17.tar.gz',
1055         'FILES'        => q[cpan/Term-Cap],
1056     },
1057
1058     'Term::Complete' => {
1059         'DISTRIBUTION' => 'FLORA/Term-Complete-1.402.tar.gz',
1060         'FILES'        => q[dist/Term-Complete],
1061         'EXCLUDED'     => [qr{^t/release-.*\.t}],
1062     },
1063
1064     'Term::ReadLine' => {
1065         'DISTRIBUTION' => 'FLORA/Term-ReadLine-1.14.tar.gz',
1066         'FILES'        => q[dist/Term-ReadLine],
1067         'EXCLUDED'     => [qr{^t/release-.*\.t}],
1068     },
1069
1070     'Test' => {
1071         'DISTRIBUTION' => 'JESSE/Test-1.26.tar.gz',
1072         'FILES'        => q[dist/Test],
1073     },
1074
1075     'Test::Harness' => {
1076         'DISTRIBUTION' => 'LEONT/Test-Harness-3.42.tar.gz',
1077         'FILES'        => q[cpan/Test-Harness],
1078         'EXCLUDED'     => [
1079             qr{^examples/},
1080             qr{^xt/},
1081             qw( Changes-2.64
1082                 MANIFEST.CUMMULATIVE
1083                 HACKING.pod
1084                 perlcriticrc
1085                 t/000-load.t
1086                 t/lib/if.pm
1087                 ),
1088         ],
1089         'CUSTOMIZED'   => [
1090              # https://github.com/Perl-Toolchain-Gang/Test-Harness/pull/103
1091              # applied but not released
1092              't/source.t'
1093         ],
1094     },
1095
1096     'Test::Simple' => {
1097         'DISTRIBUTION' => 'EXODIST/Test-Simple-1.302185.tar.gz',
1098         'FILES'        => q[cpan/Test-Simple],
1099         'EXCLUDED'     => [
1100             qr{^examples/},
1101             qr{^xt/},
1102             qw( appveyor.yml
1103                 t/00compile.t
1104                 t/00-report.t
1105                 t/zzz-check-breaks.t
1106                 ),
1107         ],
1108     },
1109
1110     'Text::Abbrev' => {
1111         'DISTRIBUTION' => 'FLORA/Text-Abbrev-1.02.tar.gz',
1112         'FILES'        => q[dist/Text-Abbrev],
1113         'EXCLUDED'     => [qr{^t/release-.*\.t}],
1114     },
1115
1116     'Text::Balanced' => {
1117         'DISTRIBUTION' => 'SHAY/Text-Balanced-2.04.tar.gz',
1118         'FILES'        => q[cpan/Text-Balanced],
1119         'EXCLUDED'     => [
1120             qw( t/97_meta.t
1121                 t/98_pod.t
1122                 t/99_pmv.t
1123                 ),
1124         ],
1125     },
1126
1127     'Text::ParseWords' => {
1128         'DISTRIBUTION' => 'CHORNY/Text-ParseWords-3.30.tar.gz',
1129         'FILES'        => q[cpan/Text-ParseWords],
1130     },
1131
1132     'Text-Tabs+Wrap' => {
1133         'DISTRIBUTION' => 'ARISTOTLE/Text-Tabs+Wrap-2021.0814.tar.gz',
1134         'MAIN_MODULE'  => 'Text::Tabs',
1135         'FILES'        => q[cpan/Text-Tabs],
1136         'EXCLUDED'   => [
1137             qr{^xt},
1138
1139         ],
1140         'MAP'          => {
1141             ''                        => 'cpan/Text-Tabs/',
1142             'lib.modern/Text/Tabs.pm' => 'cpan/Text-Tabs/lib/Text/Tabs.pm',
1143             'lib.modern/Text/Wrap.pm' => 'cpan/Text-Tabs/lib/Text/Wrap.pm',
1144         },
1145     },
1146
1147     # Jerry Hedden does take patches that are applied to blead first, even
1148     # though that can be hard to discern from the Git history; so it's
1149     # correct for this (and Thread::Semaphore, threads, and threads::shared)
1150     # to be under dist/ rather than cpan/
1151     'Thread::Queue' => {
1152         'DISTRIBUTION' => 'JDHEDDEN/Thread-Queue-3.13.tar.gz',
1153         'FILES'        => q[dist/Thread-Queue],
1154         'EXCLUDED'     => [
1155             qr{^examples/},
1156             qw( t/00_load.t
1157                 t/99_pod.t
1158                 t/test.pl
1159                 ),
1160         ],
1161     },
1162
1163     'Thread::Semaphore' => {
1164         'DISTRIBUTION' => 'JDHEDDEN/Thread-Semaphore-2.13.tar.gz',
1165         'FILES'        => q[dist/Thread-Semaphore],
1166         'EXCLUDED'     => [
1167             qw( examples/semaphore.pl
1168                 t/00_load.t
1169                 t/99_pod.t
1170                 t/test.pl
1171                 ),
1172         ],
1173     },
1174
1175     'threads' => {
1176         'DISTRIBUTION' => 'JDHEDDEN/threads-2.21.tar.gz',
1177         'FILES'        => q[dist/threads],
1178         'EXCLUDED'     => [
1179             qr{^examples/},
1180             qw( t/pod.t
1181                 t/test.pl
1182                 threads.h
1183                 ),
1184         ],
1185     },
1186
1187     'threads::shared' => {
1188         'DISTRIBUTION' => 'JDHEDDEN/threads-shared-1.59.tar.gz',
1189         'FILES'        => q[dist/threads-shared],
1190         'EXCLUDED'     => [
1191             qw( examples/class.pl
1192                 shared.h
1193                 t/pod.t
1194                 t/test.pl
1195                 ),
1196         ],
1197     },
1198
1199     'Tie::File' => {
1200         'DISTRIBUTION' => 'TODDR/Tie-File-1.05.tar.gz',
1201         'FILES'        => q[dist/Tie-File],
1202     },
1203
1204     'Tie::RefHash' => {
1205         'DISTRIBUTION' => 'ETHER/Tie-RefHash-1.40.tar.gz',
1206         'FILES'        => q[cpan/Tie-RefHash],
1207         'EXCLUDED'     => [
1208             qr{^t/00-},
1209             qr{^xt/},
1210         ],
1211     },
1212
1213     'Time::HiRes' => {
1214         'DISTRIBUTION' => 'ATOOMIC/Time-HiRes-1.9764.tar.gz',
1215         'FILES'        => q[dist/Time-HiRes],
1216     },
1217
1218     'Time::Local' => {
1219         'DISTRIBUTION' => 'DROLSKY/Time-Local-1.30.tar.gz',
1220         'FILES'        => q[cpan/Time-Local],
1221         'EXCLUDED'     => [
1222             qr{^xt/},
1223             qw( CODE_OF_CONDUCT.md
1224                 azure-pipelines.yml
1225                 perlcriticrc
1226                 perltidyrc
1227                 tidyall.ini
1228                 t/00-report-prereqs.t
1229                 t/00-report-prereqs.dd
1230                 ),
1231         ],
1232     },
1233
1234     'Time::Piece' => {
1235         'DISTRIBUTION' => 'ESAYM/Time-Piece-1.3401.tar.gz',
1236         'FILES'        => q[cpan/Time-Piece],
1237         'EXCLUDED'     => [ qw[reverse_deps.txt] ],
1238     },
1239
1240     'Unicode::Collate' => {
1241         'DISTRIBUTION' => 'SADAHIRO/Unicode-Collate-1.30.tar.gz',
1242         'FILES'        => q[cpan/Unicode-Collate],
1243         'EXCLUDED'     => [
1244             qr{N$},
1245             qr{^data/},
1246             qr{^gendata/},
1247             qw( disableXS
1248                 enableXS
1249                 mklocale
1250                 ),
1251         ],
1252     },
1253
1254     'Unicode::Normalize' => {
1255         'DISTRIBUTION' => 'KHW/Unicode-Normalize-1.26.tar.gz',
1256         'FILES'        => q[dist/Unicode-Normalize],
1257         'EXCLUDED'     => [
1258             qw( MANIFEST.N
1259                 Normalize.pmN
1260                 disableXS
1261                 enableXS
1262                 ),
1263         ],
1264     },
1265
1266     'version' => {
1267         'DISTRIBUTION' => 'LEONT/version-0.9929.tar.gz',
1268         'FILES'        => q[cpan/version vutil.c vutil.h vxs.inc],
1269         'EXCLUDED' => [
1270             qr{^vutil/lib/},
1271             'vutil/Makefile.PL',
1272             'vutil/ppport.h',
1273             'vutil/vxs.xs',
1274             't/00impl-pp.t',
1275             't/survey_locales',
1276             'vperl/vpp.pm',
1277         ],
1278
1279         # When adding the CPAN-distributed files for version.pm, it is necessary
1280         # to delete an entire block out of lib/version.pm, since that code is
1281         # only necessary with the CPAN release.
1282         'CUSTOMIZED'   => [
1283          ],
1284
1285         'MAP' => {
1286             'vutil/'         => '',
1287             ''               => 'cpan/version/',
1288         },
1289     },
1290
1291     'warnings' => {
1292         'FILES'      => q[
1293                  lib/warnings
1294                  lib/warnings.{pm,t}
1295                  regen/warnings.pl
1296                  t/lib/warnings
1297         ],
1298     },
1299
1300     'Win32' => {
1301         'DISTRIBUTION' => "JDB/Win32-0.57.tar.gz",
1302         'FILES'        => q[cpan/Win32],
1303     },
1304
1305     'Win32API::File' => {
1306         'DISTRIBUTION' => 'CHORNY/Win32API-File-0.1203.tar.gz',
1307         'FILES'        => q[cpan/Win32API-File],
1308         'EXCLUDED'     => [
1309             qr{^ex/},
1310         ],
1311         # https://rt.cpan.org/Ticket/Display.html?id=127837
1312         'CUSTOMIZED'   => [
1313             qw( File.pm
1314                 File.xs
1315                 ),
1316         ],
1317     },
1318
1319     'XSLoader' => {
1320         'DISTRIBUTION' => 'SAPER/XSLoader-0.24.tar.gz',
1321         'FILES'        => q[dist/XSLoader],
1322         'EXCLUDED'     => [
1323             qr{^eg/},
1324             qw( t/00-load.t
1325                 t/01-api.t
1326                 t/distchk.t
1327                 t/pod.t
1328                 t/podcover.t
1329                 t/portfs.t
1330                 ),
1331             'XSLoader.pm',    # we use XSLoader_pm.PL
1332         ],
1333     },
1334
1335     # this pseudo-module represents all the files under ext/ and lib/
1336     # that aren't otherwise claimed. This means that the following two
1337     # commands will check that every file under ext/ and lib/ is
1338     # accounted for, and that there are no duplicates:
1339     #
1340     #    perl Porting/Maintainers --checkmani lib ext
1341     #    perl Porting/Maintainers --checkmani
1342
1343     '_PERLLIB' => {
1344         'FILES'    => q[
1345                 ext/Amiga-ARexx/
1346                 ext/Amiga-Exec/
1347                 ext/B/
1348                 ext/Devel-Peek/
1349                 ext/DynaLoader/
1350                 ext/Errno/
1351                 ext/ExtUtils-Miniperl/
1352                 ext/Fcntl/
1353                 ext/File-DosGlob/
1354                 ext/File-Find/
1355                 ext/File-Glob/
1356                 ext/FileCache/
1357                 ext/GDBM_File/
1358                 ext/Hash-Util-FieldHash/
1359                 ext/Hash-Util/
1360                 ext/I18N-Langinfo/
1361                 ext/IPC-Open3/
1362                 ext/NDBM_File/
1363                 ext/ODBM_File/
1364                 ext/Opcode/
1365                 ext/POSIX/
1366                 ext/PerlIO-encoding/
1367                 ext/PerlIO-mmap/
1368                 ext/PerlIO-scalar/
1369                 ext/PerlIO-via/
1370                 ext/Pod-Functions/
1371                 ext/Pod-Html/
1372                 ext/SDBM_File/
1373                 ext/Sys-Hostname/
1374                 ext/Tie-Hash-NamedCapture/
1375                 ext/Tie-Memoize/
1376                 ext/VMS-DCLsym/
1377                 ext/VMS-Filespec/
1378                 ext/VMS-Stdio/
1379                 ext/Win32CORE/
1380                 ext/XS-APItest/
1381                 ext/XS-Typemap/
1382                 ext/attributes/
1383                 ext/mro/
1384                 ext/re/
1385                 lib/AnyDBM_File.{pm,t}
1386                 lib/Benchmark.{pm,t}
1387                 lib/B/Deparse{.pm,.t,-*.t}
1388                 lib/B/Op_private.pm
1389                 lib/CORE.pod
1390                 lib/Class/Struct.{pm,t}
1391                 lib/Config.t
1392                 lib/Config/Extensions.{pm,t}
1393                 lib/DB.{pm,t}
1394                 lib/DBM_Filter.pm
1395                 lib/DBM_Filter/
1396                 lib/DirHandle.{pm,t}
1397                 lib/English.{pm,t}
1398                 lib/ExtUtils/Embed.pm
1399                 lib/ExtUtils/XSSymSet.pm
1400                 lib/ExtUtils/t/Embed.t
1401                 lib/ExtUtils/typemap
1402                 lib/File/Basename.{pm,t}
1403                 lib/File/Compare.{pm,t}
1404                 lib/File/Copy.{pm,t}
1405                 lib/File/stat{.pm,.t,-7896.t}
1406                 lib/FileHandle.{pm,t}
1407                 lib/Getopt/Std.{pm,t}
1408                 lib/Internals.pod
1409                 lib/Internals.t
1410                 lib/meta_notation.{pm,t}
1411                 lib/Net/hostent.{pm,t}
1412                 lib/Net/netent.{pm,t}
1413                 lib/Net/protoent.{pm,t}
1414                 lib/Net/servent.{pm,t}
1415                 lib/PerlIO.pm
1416                 lib/Pod/t/Usage.t
1417                 lib/SelectSaver.{pm,t}
1418                 lib/Symbol.{pm,t}
1419                 lib/Thread.{pm,t}
1420                 lib/Tie/Array.pm
1421                 lib/Tie/Array/
1422                 lib/Tie/ExtraHash.t
1423                 lib/Tie/Handle.pm
1424                 lib/Tie/Handle/
1425                 lib/Tie/Hash.{pm,t}
1426                 lib/Tie/Scalar.{pm,t}
1427                 lib/Tie/StdHandle.pm
1428                 lib/Tie/SubstrHash.{pm,t}
1429                 lib/Time/gmtime.{pm,t}
1430                 lib/Time/localtime.{pm,t}
1431                 lib/Time/tm.pm
1432                 lib/UNIVERSAL.pm
1433                 lib/Unicode/README
1434                 lib/Unicode/UCD.{pm,t}
1435                 lib/User/grent.{pm,t}
1436                 lib/User/pwent.{pm,t}
1437                 lib/_charnames.pm
1438                 lib/blib.{pm,t}
1439                 lib/bytes.{pm,t}
1440                 lib/bytes_heavy.pl
1441                 lib/charnames.{pm,t}
1442                 lib/dbm_filter_util.pl
1443                 lib/deprecate.pm
1444                 lib/diagnostics.{pm,t}
1445                 lib/dumpvar.{pl,t}
1446                 lib/feature.{pm,t}
1447                 lib/feature/
1448                 lib/filetest.{pm,t}
1449                 lib/h2ph.t
1450                 lib/h2xs.t
1451                 lib/integer.{pm,t}
1452                 lib/less.{pm,t}
1453                 lib/locale.{pm,t}
1454                 lib/locale_threads.t
1455                 lib/open.{pm,t}
1456                 lib/overload/numbers.pm
1457                 lib/overloading.{pm,t}
1458                 lib/overload{.pm,.t,64.t}
1459                 lib/perl5db.{pl,t}
1460                 lib/perl5db/
1461                 lib/perlbug.t
1462                 lib/sigtrap.{pm,t}
1463                 lib/sort.{pm,t}
1464                 lib/strict.{pm,t}
1465                 lib/subs.{pm,t}
1466                 lib/unicore/
1467                 lib/utf8.{pm,t}
1468                 lib/vars{.pm,.t,_carp.t}
1469                 lib/vmsish.{pm,t}
1470                 ],
1471     },
1472 );
1473
1474 # legacy CPAN flag
1475 for ( values %Modules ) {
1476     $_->{CPAN} = !!$_->{DISTRIBUTION};
1477 }
1478
1479 # legacy UPSTREAM flag
1480 for ( keys %Modules ) {
1481     # Keep any existing UPSTREAM flag so that "overrides" can be applied
1482     next if exists $Modules{$_}{UPSTREAM};
1483
1484     if ($_ eq '_PERLLIB' or $Modules{$_}{FILES} =~ m{^\s*(?:dist|ext|lib)/}) {
1485         $Modules{$_}{UPSTREAM} = 'blead';
1486     }
1487     elsif ($Modules{$_}{FILES} =~ m{^\s*cpan/}) {
1488         $Modules{$_}{UPSTREAM} = 'cpan';
1489     }
1490     else {
1491         warn "Unexpected location of FILES for module $_: $Modules{$_}{FILES}";
1492     }
1493 }
1494
1495 # legacy MAINTAINER field
1496 for ( keys %Modules ) {
1497     # Keep any existing MAINTAINER flag so that "overrides" can be applied
1498     next if exists $Modules{$_}{MAINTAINER};
1499
1500     if ($Modules{$_}{UPSTREAM} eq 'blead') {
1501         $Modules{$_}{MAINTAINER} = 'P5P';
1502         $Maintainers{P5P} = 'perl5-porters <perl5-porters@perl.org>';
1503     }
1504     elsif (exists $Modules{$_}{DISTRIBUTION}) {
1505         (my $pause_id = $Modules{$_}{DISTRIBUTION}) =~ s{/.*$}{};
1506         $Modules{$_}{MAINTAINER} = $pause_id;
1507         $Maintainers{$pause_id} = "<$pause_id\@cpan.org>";
1508     }
1509     else {
1510         warn "No DISTRIBUTION for non-blead module $_";
1511     }
1512 }
1513
1514 1;