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