This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Memoize - t/expmod_t.t and t/speed.t were CUSTOMIZED by 53379bfd2f and f0206e8198
[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.855.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             't/underbar.t',
788         ],
789         'EXCLUDED'     => [
790             qw( t/pod.t
791                 t/pod-coverage.t
792                 ),
793         ],
794     },
795
796     'Memoize' => {
797         'DISTRIBUTION' => 'MJD/Memoize-1.03.tgz',
798         'FILES'        => q[cpan/Memoize],
799         'EXCLUDED'     => ['article.html'],
800         'CUSTOMIZED'   => [
801             # CVE-2016-1238
802             qw( Memoize.pm ),
803
804             # CPAN RT 108382
805             qw( t/expmod_t.t t/speed.t ),
806         ],
807     },
808
809     'MIME::Base64' => {
810         'DISTRIBUTION' => 'CAPOEIRAB/MIME-Base64-3.16.tar.gz',
811         'FILES'        => q[cpan/MIME-Base64],
812         'EXCLUDED'     => [ qr{^xt/}, 'benchmark', 'benchmark-qp', qr{^t/00-report-prereqs} ],
813     },
814
815     'Module::CoreList' => {
816         'DISTRIBUTION' => 'BINGOS/Module-CoreList-5.20200920.tar.gz',
817         'FILES'        => q[dist/Module-CoreList],
818     },
819
820     'Module::Load' => {
821         'DISTRIBUTION' => 'BINGOS/Module-Load-0.36.tar.gz',
822         'FILES'        => q[cpan/Module-Load],
823     },
824
825     'Module::Load::Conditional' => {
826         'DISTRIBUTION' => 'BINGOS/Module-Load-Conditional-0.74.tar.gz',
827         'FILES'        => q[cpan/Module-Load-Conditional],
828     },
829
830     'Module::Loaded' => {
831         'DISTRIBUTION' => 'BINGOS/Module-Loaded-0.08.tar.gz',
832         'FILES'        => q[cpan/Module-Loaded],
833     },
834
835     'Module::Metadata' => {
836         'DISTRIBUTION' => 'ETHER/Module-Metadata-1.000037.tar.gz',
837         'FILES'        => q[cpan/Module-Metadata],
838         'EXCLUDED'     => [
839             qw(t/00-report-prereqs.t),
840             qw(t/00-report-prereqs.dd),
841             qr{weaver.ini},
842             qr{^xt},
843         ],
844     },
845
846     'Net::Ping' => {
847         'DISTRIBUTION' => 'RURBAN/Net-Ping-2.73.tar.gz',
848         'FILES'        => q[dist/Net-Ping],
849         'EXCLUDED'     => [
850             qw(README.md.PL),
851             qw(t/020_external.t),
852             qw(t/600_pod.t),
853             qw(t/601_pod-coverage.t),
854         ],
855         'CUSTOMIZED' => [
856             qw{
857                 t/000_load.t
858                 t/001_new.t
859                 t/010_pingecho.t
860                 t/450_service.t
861                 t/500_ping_icmp.t
862                 t/501_ping_icmpv6.t
863             }
864         ],
865     },
866
867     'NEXT' => {
868         'DISTRIBUTION' => 'NEILB/NEXT-0.67.tar.gz',
869         'FILES'        => q[cpan/NEXT],
870         'EXCLUDED'     => [qr{^demo/}],
871         'CUSTOMIZED'   => [ qw(lib/NEXT.pm t/next.t) ],
872     },
873
874     'Params::Check' => {
875         'DISTRIBUTION' => 'BINGOS/Params-Check-0.38.tar.gz',
876         'FILES'        => q[cpan/Params-Check],
877     },
878
879     'parent' => {
880         'DISTRIBUTION' => 'CORION/parent-0.238.tar.gz',
881         'FILES'        => q[cpan/parent],
882         'EXCLUDED'     => [
883             qr{^xt}
884         ],
885     },
886
887     'PathTools' => {
888         'DISTRIBUTION' => 'XSAWYERX/PathTools-3.75.tar.gz',
889         'FILES'        => q[dist/PathTools],
890         'EXCLUDED'     => [
891             qr{^t/lib/Test/},
892             qw( t/rel2abs_vs_symlink.t),
893         ],
894     },
895
896     'Perl::OSType' => {
897         'DISTRIBUTION' => 'DAGOLDEN/Perl-OSType-1.010.tar.gz',
898         'FILES'        => q[cpan/Perl-OSType],
899         'EXCLUDED'     => [qw(tidyall.ini), qr/^xt/, qr{^t/00-}],
900     },
901
902     'perlfaq' => {
903         'DISTRIBUTION' => 'ETHER/perlfaq-5.20200523.tar.gz',
904         'FILES'        => q[cpan/perlfaq],
905         'EXCLUDED'     => [ qr/^inc/, qr/^xt/, qr{^t/00-} ],
906     },
907
908     'PerlIO::via::QuotedPrint' => {
909         'DISTRIBUTION' => 'SHAY/PerlIO-via-QuotedPrint-0.08.tar.gz',
910         'FILES'        => q[cpan/PerlIO-via-QuotedPrint],
911     },
912
913     'Pod::Checker' => {
914         'DISTRIBUTION' => 'MAREKR/Pod-Checker-1.74.tar.gz',
915         'FILES'        => q[cpan/Pod-Checker],
916     },
917
918     'Pod::Escapes' => {
919         'DISTRIBUTION' => 'NEILB/Pod-Escapes-1.07.tar.gz',
920         'FILES'        => q[cpan/Pod-Escapes],
921     },
922
923     'Pod::Perldoc' => {
924         'DISTRIBUTION' => 'MALLEN/Pod-Perldoc-3.28.tar.gz',
925         'FILES'        => q[cpan/Pod-Perldoc],
926
927         # Note that we use the CPAN-provided Makefile.PL, since it
928         # contains special handling of the installation of perldoc.pod
929
930         'EXCLUDED' => [
931             # In blead, the perldoc executable is generated by perldoc.PL
932             # instead
933             # XXX We can and should fix this, but clean up the DRY-failure in
934             # utils first
935             'perldoc',
936
937             # https://rt.cpan.org/Ticket/Display.html?id=116827
938             't/02_module_pod_output.t'
939         ],
940
941         'CUSTOMIZED'   => [
942             # [rt.cpan.org #88204], [rt.cpan.org #120229]
943             'lib/Pod/Perldoc.pm',
944         ],
945     },
946
947     'Pod::Simple' => {
948         'DISTRIBUTION' => 'KHW/Pod-Simple-3.41.tar.gz',
949         'FILES'        => q[cpan/Pod-Simple],
950         'EXCLUDED' => [
951             qw{.ChangeLog.swp},
952             qr{^\.github/}
953         ],
954     },
955
956     'Pod::Usage' => {
957         'DISTRIBUTION' => 'ATOOMIC/Pod-Usage-2.01.tar.gz',
958         'FILES'        => q[cpan/Pod-Usage],
959         'EXCLUDED' => [
960             qr{^t/00-},
961             qr{^xt/}
962         ],
963     },
964
965     'podlators' => {
966         'DISTRIBUTION' => 'RRA/podlators-4.14.tar.gz',
967         'FILES'        => q[cpan/podlators pod/perlpodstyle.pod],
968         'EXCLUDED'     => [
969             qr{^docs/metadata/},
970         ],
971
972         'MAP' => {
973             ''                 => 'cpan/podlators/',
974             # this file lives outside the cpan/ directory
975             'pod/perlpodstyle.pod' => 'pod/perlpodstyle.pod',
976         },
977     },
978
979     'Safe' => {
980         'DISTRIBUTION' => 'RGARCIA/Safe-2.35.tar.gz',
981         'FILES'        => q[dist/Safe],
982     },
983
984     'Scalar::Util' => {
985         'DISTRIBUTION' => 'PEVANS/Scalar-List-Utils-1.55.tar.gz',
986         'FILES'        => q[cpan/Scalar-List-Utils],
987     },
988
989     'Search::Dict' => {
990         'DISTRIBUTION' => 'DAGOLDEN/Search-Dict-1.07.tar.gz',
991         'FILES'        => q[dist/Search-Dict],
992     },
993
994     'SelfLoader' => {
995         'DISTRIBUTION' => 'SMUELLER/SelfLoader-1.24.tar.gz',
996         'FILES'        => q[dist/SelfLoader],
997         'EXCLUDED'     => ['t/00pod.t'],
998     },
999
1000     'Socket' => {
1001         'DISTRIBUTION' => 'PEVANS/Socket-2.030.tar.gz',
1002         'FILES'        => q[cpan/Socket],
1003     },
1004
1005     'Storable' => {
1006         'DISTRIBUTION' => 'XSAWYERX/Storable-3.15.tar.gz',
1007         'FILES'        => q[dist/Storable],
1008         'EXCLUDED'     => [
1009             qr{^t/compat/},
1010         ],
1011     },
1012
1013     'Sys::Syslog' => {
1014         'DISTRIBUTION' => 'SAPER/Sys-Syslog-0.36.tar.gz',
1015         'FILES'        => q[cpan/Sys-Syslog],
1016         'EXCLUDED'     => [
1017             qr{^eg/},
1018             qw( README.win32
1019                 t/data-validation.t
1020                 t/distchk.t
1021                 t/pod.t
1022                 t/podcover.t
1023                 t/podspell.t
1024                 t/portfs.t
1025                 win32/PerlLog.RES
1026                 ),
1027         ],
1028     },
1029
1030     'Term::ANSIColor' => {
1031         'DISTRIBUTION' => 'RRA/Term-ANSIColor-5.01.tar.gz',
1032         'FILES'        => q[cpan/Term-ANSIColor],
1033         'EXCLUDED'     => [
1034             qr{^docs/},
1035             qr{^examples/},
1036             qr{^t/data/},
1037             qr{^t/docs/},
1038             qr{^t/style/},
1039             qw( t/module/aliases-env.t ),
1040         ],
1041     },
1042
1043     'Term::Cap' => {
1044         'DISTRIBUTION' => 'JSTOWE/Term-Cap-1.17.tar.gz',
1045         'FILES'        => q[cpan/Term-Cap],
1046     },
1047
1048     'Term::Complete' => {
1049         'DISTRIBUTION' => 'FLORA/Term-Complete-1.402.tar.gz',
1050         'FILES'        => q[dist/Term-Complete],
1051         'EXCLUDED'     => [qr{^t/release-.*\.t}],
1052     },
1053
1054     'Term::ReadLine' => {
1055         'DISTRIBUTION' => 'FLORA/Term-ReadLine-1.14.tar.gz',
1056         'FILES'        => q[dist/Term-ReadLine],
1057         'EXCLUDED'     => [qr{^t/release-.*\.t}],
1058     },
1059
1060     'Test' => {
1061         'DISTRIBUTION' => 'JESSE/Test-1.26.tar.gz',
1062         'FILES'        => q[dist/Test],
1063     },
1064
1065     'Test::Harness' => {
1066         'DISTRIBUTION' => 'LEONT/Test-Harness-3.42.tar.gz',
1067         'FILES'        => q[cpan/Test-Harness],
1068         'EXCLUDED'     => [
1069             qr{^examples/},
1070             qr{^xt/},
1071             qw( Changes-2.64
1072                 MANIFEST.CUMMULATIVE
1073                 HACKING.pod
1074                 perlcriticrc
1075                 t/000-load.t
1076                 t/lib/if.pm
1077                 ),
1078         ],
1079     },
1080
1081     'Test::Simple' => {
1082         'DISTRIBUTION' => 'EXODIST/Test-Simple-1.302182.tar.gz',
1083         'FILES'        => q[cpan/Test-Simple],
1084         'EXCLUDED'     => [
1085             qr{^examples/},
1086             qr{^xt/},
1087             qw( appveyor.yml
1088                 t/00compile.t
1089                 t/00-report.t
1090                 t/zzz-check-breaks.t
1091                 ),
1092         ],
1093     },
1094
1095     'Text::Abbrev' => {
1096         'DISTRIBUTION' => 'FLORA/Text-Abbrev-1.02.tar.gz',
1097         'FILES'        => q[dist/Text-Abbrev],
1098         'EXCLUDED'     => [qr{^t/release-.*\.t}],
1099     },
1100
1101     'Text::Balanced' => {
1102         'DISTRIBUTION' => 'SHAY/Text-Balanced-2.03.tar.gz',
1103         'FILES'        => q[cpan/Text-Balanced],
1104         'EXCLUDED'     => [
1105             qw( t/97_meta.t
1106                 t/98_pod.t
1107                 t/99_pmv.t
1108                 ),
1109         ],
1110     },
1111
1112     'Text::ParseWords' => {
1113         'DISTRIBUTION' => 'CHORNY/Text-ParseWords-3.30.tar.gz',
1114         'FILES'        => q[cpan/Text-ParseWords],
1115     },
1116
1117     'Text-Tabs+Wrap' => {
1118         'DISTRIBUTION' => 'MUIR/modules/Text-Tabs+Wrap-2013.0523.tar.gz',
1119         'FILES'        => q[cpan/Text-Tabs],
1120         'EXCLUDED'   => [
1121             qr/^lib\.old/,
1122             't/dnsparks.t',    # see af6492bf9e
1123         ],
1124         'MAP'          => {
1125             ''                        => 'cpan/Text-Tabs/',
1126             'lib.modern/Text/Tabs.pm' => 'cpan/Text-Tabs/lib/Text/Tabs.pm',
1127             'lib.modern/Text/Wrap.pm' => 'cpan/Text-Tabs/lib/Text/Wrap.pm',
1128         },
1129     },
1130
1131     # Jerry Hedden does take patches that are applied to blead first, even
1132     # though that can be hard to discern from the Git history; so it's
1133     # correct for this (and Thread::Semaphore, threads, and threads::shared)
1134     # to be under dist/ rather than cpan/
1135     'Thread::Queue' => {
1136         'DISTRIBUTION' => 'JDHEDDEN/Thread-Queue-3.13.tar.gz',
1137         'FILES'        => q[dist/Thread-Queue],
1138         'EXCLUDED'     => [
1139             qr{^examples/},
1140             qw( t/00_load.t
1141                 t/99_pod.t
1142                 t/test.pl
1143                 ),
1144         ],
1145     },
1146
1147     'Thread::Semaphore' => {
1148         'DISTRIBUTION' => 'JDHEDDEN/Thread-Semaphore-2.13.tar.gz',
1149         'FILES'        => q[dist/Thread-Semaphore],
1150         'EXCLUDED'     => [
1151             qw( examples/semaphore.pl
1152                 t/00_load.t
1153                 t/99_pod.t
1154                 t/test.pl
1155                 ),
1156         ],
1157     },
1158
1159     'threads' => {
1160         'DISTRIBUTION' => 'JDHEDDEN/threads-2.21.tar.gz',
1161         'FILES'        => q[dist/threads],
1162         'EXCLUDED'     => [
1163             qr{^examples/},
1164             qw( t/pod.t
1165                 t/test.pl
1166                 threads.h
1167                 ),
1168         ],
1169     },
1170
1171     'threads::shared' => {
1172         'DISTRIBUTION' => 'JDHEDDEN/threads-shared-1.59.tar.gz',
1173         'FILES'        => q[dist/threads-shared],
1174         'EXCLUDED'     => [
1175             qw( examples/class.pl
1176                 shared.h
1177                 t/pod.t
1178                 t/test.pl
1179                 ),
1180         ],
1181     },
1182
1183     'Tie::File' => {
1184         'DISTRIBUTION' => 'TODDR/Tie-File-1.05.tar.gz',
1185         'FILES'        => q[dist/Tie-File],
1186     },
1187
1188     'Tie::RefHash' => {
1189         'DISTRIBUTION' => 'ETHER/Tie-RefHash-1.40.tar.gz',
1190         'FILES'        => q[cpan/Tie-RefHash],
1191         'EXCLUDED'     => [
1192             qr{^t/00-},
1193             qr{^xt/},
1194         ],
1195     },
1196
1197     'Time::HiRes' => {
1198         'DISTRIBUTION' => 'ATOOMIC/Time-HiRes-1.9764.tar.gz',
1199         'FILES'        => q[dist/Time-HiRes],
1200     },
1201
1202     'Time::Local' => {
1203         'DISTRIBUTION' => 'DROLSKY/Time-Local-1.30.tar.gz',
1204         'FILES'        => q[cpan/Time-Local],
1205         'EXCLUDED'     => [
1206             qr{^xt/},
1207             qw( CODE_OF_CONDUCT.md
1208                 azure-pipelines.yml
1209                 perlcriticrc
1210                 perltidyrc
1211                 tidyall.ini
1212                 t/00-report-prereqs.t
1213                 t/00-report-prereqs.dd
1214                 ),
1215         ],
1216     },
1217
1218     'Time::Piece' => {
1219         'DISTRIBUTION' => 'ESAYM/Time-Piece-1.3401.tar.gz',
1220         'FILES'        => q[cpan/Time-Piece],
1221         'EXCLUDED'     => [ qw[reverse_deps.txt] ],
1222     },
1223
1224     'Unicode::Collate' => {
1225         'DISTRIBUTION' => 'SADAHIRO/Unicode-Collate-1.29.tar.gz',
1226         'FILES'        => q[cpan/Unicode-Collate],
1227         'EXCLUDED'     => [
1228             qr{N$},
1229             qr{^data/},
1230             qr{^gendata/},
1231             qw( disableXS
1232                 enableXS
1233                 mklocale
1234                 ),
1235         ],
1236     },
1237
1238     'Unicode::Normalize' => {
1239         'DISTRIBUTION' => 'KHW/Unicode-Normalize-1.26.tar.gz',
1240         'FILES'        => q[dist/Unicode-Normalize],
1241         'EXCLUDED'     => [
1242             qw( MANIFEST.N
1243                 Normalize.pmN
1244                 disableXS
1245                 enableXS
1246                 ),
1247         ],
1248     },
1249
1250     'version' => {
1251         'DISTRIBUTION' => 'LEONT/version-0.9928.tar.gz',
1252         'FILES'        => q[cpan/version vutil.c vutil.h vxs.inc],
1253         'EXCLUDED' => [
1254             qr{^vutil/lib/},
1255             'vutil/Makefile.PL',
1256             'vutil/ppport.h',
1257             'vutil/vxs.xs',
1258             't/00impl-pp.t',
1259             't/survey_locales',
1260             'vperl/vpp.pm',
1261         ],
1262
1263         # When adding the CPAN-distributed files for version.pm, it is necessary
1264         # to delete an entire block out of lib/version.pm, since that code is
1265         # only necessary with the CPAN release.
1266         'CUSTOMIZED'   => [
1267             qw( lib/version.pm
1268                 vutil.c
1269                 ),
1270         ],
1271
1272         'MAP' => {
1273             'vutil/'         => '',
1274             ''               => 'cpan/version/',
1275         },
1276     },
1277
1278     'warnings' => {
1279         'FILES'      => q[
1280                  lib/warnings
1281                  lib/warnings.{pm,t}
1282                  regen/warnings.pl
1283                  t/lib/warnings
1284         ],
1285     },
1286
1287     'Win32' => {
1288         'DISTRIBUTION' => "JDB/Win32-0.54.tar.gz",
1289         'FILES'        => q[cpan/Win32],
1290     },
1291
1292     'Win32API::File' => {
1293         'DISTRIBUTION' => 'CHORNY/Win32API-File-0.1203.tar.gz',
1294         'FILES'        => q[cpan/Win32API-File],
1295         'EXCLUDED'     => [
1296             qr{^ex/},
1297         ],
1298         # https://rt.cpan.org/Ticket/Display.html?id=127837
1299         'CUSTOMIZED'   => [
1300             qw( File.pm
1301                 File.xs
1302                 ),
1303         ],
1304     },
1305
1306     'XSLoader' => {
1307         'DISTRIBUTION' => 'SAPER/XSLoader-0.24.tar.gz',
1308         'FILES'        => q[dist/XSLoader],
1309         'EXCLUDED'     => [
1310             qr{^eg/},
1311             qw( t/00-load.t
1312                 t/01-api.t
1313                 t/distchk.t
1314                 t/pod.t
1315                 t/podcover.t
1316                 t/portfs.t
1317                 ),
1318             'XSLoader.pm',    # we use XSLoader_pm.PL
1319         ],
1320     },
1321
1322     # this pseudo-module represents all the files under ext/ and lib/
1323     # that aren't otherwise claimed. This means that the following two
1324     # commands will check that every file under ext/ and lib/ is
1325     # accounted for, and that there are no duplicates:
1326     #
1327     #    perl Porting/Maintainers --checkmani lib ext
1328     #    perl Porting/Maintainers --checkmani
1329
1330     '_PERLLIB' => {
1331         'FILES'    => q[
1332                 ext/Amiga-ARexx/
1333                 ext/Amiga-Exec/
1334                 ext/B/
1335                 ext/Devel-Peek/
1336                 ext/DynaLoader/
1337                 ext/Errno/
1338                 ext/ExtUtils-Miniperl/
1339                 ext/Fcntl/
1340                 ext/File-DosGlob/
1341                 ext/File-Find/
1342                 ext/File-Glob/
1343                 ext/FileCache/
1344                 ext/GDBM_File/
1345                 ext/Hash-Util-FieldHash/
1346                 ext/Hash-Util/
1347                 ext/I18N-Langinfo/
1348                 ext/IPC-Open3/
1349                 ext/NDBM_File/
1350                 ext/ODBM_File/
1351                 ext/Opcode/
1352                 ext/POSIX/
1353                 ext/PerlIO-encoding/
1354                 ext/PerlIO-mmap/
1355                 ext/PerlIO-scalar/
1356                 ext/PerlIO-via/
1357                 ext/Pod-Functions/
1358                 ext/Pod-Html/
1359                 ext/SDBM_File/
1360                 ext/Sys-Hostname/
1361                 ext/Tie-Hash-NamedCapture/
1362                 ext/Tie-Memoize/
1363                 ext/VMS-DCLsym/
1364                 ext/VMS-Filespec/
1365                 ext/VMS-Stdio/
1366                 ext/Win32CORE/
1367                 ext/XS-APItest/
1368                 ext/XS-Typemap/
1369                 ext/attributes/
1370                 ext/mro/
1371                 ext/re/
1372                 lib/AnyDBM_File.{pm,t}
1373                 lib/Benchmark.{pm,t}
1374                 lib/B/Deparse{.pm,.t,-*.t}
1375                 lib/B/Op_private.pm
1376                 lib/CORE.pod
1377                 lib/Class/Struct.{pm,t}
1378                 lib/Config.t
1379                 lib/Config/Extensions.{pm,t}
1380                 lib/DB.{pm,t}
1381                 lib/DBM_Filter.pm
1382                 lib/DBM_Filter/
1383                 lib/DirHandle.{pm,t}
1384                 lib/English.{pm,t}
1385                 lib/ExtUtils/Embed.pm
1386                 lib/ExtUtils/XSSymSet.pm
1387                 lib/ExtUtils/t/Embed.t
1388                 lib/ExtUtils/typemap
1389                 lib/File/Basename.{pm,t}
1390                 lib/File/Compare.{pm,t}
1391                 lib/File/Copy.{pm,t}
1392                 lib/File/stat{.pm,.t,-7896.t}
1393                 lib/FileHandle.{pm,t}
1394                 lib/Getopt/Std.{pm,t}
1395                 lib/Internals.pod
1396                 lib/Internals.t
1397                 lib/meta_notation.{pm,t}
1398                 lib/Net/hostent.{pm,t}
1399                 lib/Net/netent.{pm,t}
1400                 lib/Net/protoent.{pm,t}
1401                 lib/Net/servent.{pm,t}
1402                 lib/PerlIO.pm
1403                 lib/Pod/t/Usage.t
1404                 lib/SelectSaver.{pm,t}
1405                 lib/Symbol.{pm,t}
1406                 lib/Thread.{pm,t}
1407                 lib/Tie/Array.pm
1408                 lib/Tie/Array/
1409                 lib/Tie/ExtraHash.t
1410                 lib/Tie/Handle.pm
1411                 lib/Tie/Handle/
1412                 lib/Tie/Hash.{pm,t}
1413                 lib/Tie/Scalar.{pm,t}
1414                 lib/Tie/StdHandle.pm
1415                 lib/Tie/SubstrHash.{pm,t}
1416                 lib/Time/gmtime.{pm,t}
1417                 lib/Time/localtime.{pm,t}
1418                 lib/Time/tm.pm
1419                 lib/UNIVERSAL.pm
1420                 lib/Unicode/README
1421                 lib/Unicode/UCD.{pm,t}
1422                 lib/User/grent.{pm,t}
1423                 lib/User/pwent.{pm,t}
1424                 lib/_charnames.pm
1425                 lib/blib.{pm,t}
1426                 lib/bytes.{pm,t}
1427                 lib/bytes_heavy.pl
1428                 lib/charnames.{pm,t}
1429                 lib/dbm_filter_util.pl
1430                 lib/deprecate.pm
1431                 lib/diagnostics.{pm,t}
1432                 lib/dumpvar.{pl,t}
1433                 lib/feature.{pm,t}
1434                 lib/feature/
1435                 lib/filetest.{pm,t}
1436                 lib/h2ph.t
1437                 lib/h2xs.t
1438                 lib/integer.{pm,t}
1439                 lib/less.{pm,t}
1440                 lib/locale.{pm,t}
1441                 lib/locale_threads.t
1442                 lib/open.{pm,t}
1443                 lib/overload/numbers.pm
1444                 lib/overloading.{pm,t}
1445                 lib/overload{.pm,.t,64.t}
1446                 lib/perl5db.{pl,t}
1447                 lib/perl5db/
1448                 lib/perlbug.t
1449                 lib/sigtrap.{pm,t}
1450                 lib/sort.{pm,t}
1451                 lib/strict.{pm,t}
1452                 lib/subs.{pm,t}
1453                 lib/unicore/
1454                 lib/utf8.{pm,t}
1455                 lib/vars{.pm,.t,_carp.t}
1456                 lib/vmsish.{pm,t}
1457                 ],
1458     },
1459 );
1460
1461 # legacy CPAN flag
1462 for ( values %Modules ) {
1463     $_->{CPAN} = !!$_->{DISTRIBUTION};
1464 }
1465
1466 # legacy UPSTREAM flag
1467 for ( keys %Modules ) {
1468     # Keep any existing UPSTREAM flag so that "overrides" can be applied
1469     next if exists $Modules{$_}{UPSTREAM};
1470
1471     if ($_ eq '_PERLLIB' or $Modules{$_}{FILES} =~ m{^\s*(?:dist|ext|lib)/}) {
1472         $Modules{$_}{UPSTREAM} = 'blead';
1473     }
1474     elsif ($Modules{$_}{FILES} =~ m{^\s*cpan/}) {
1475         $Modules{$_}{UPSTREAM} = 'cpan';
1476     }
1477     else {
1478         warn "Unexpected location of FILES for module $_: $Modules{$_}{FILES}";
1479     }
1480 }
1481
1482 # legacy MAINTAINER field
1483 for ( keys %Modules ) {
1484     # Keep any existing MAINTAINER flag so that "overrides" can be applied
1485     next if exists $Modules{$_}{MAINTAINER};
1486
1487     if ($Modules{$_}{UPSTREAM} eq 'blead') {
1488         $Modules{$_}{MAINTAINER} = 'P5P';
1489         $Maintainers{P5P} = 'perl5-porters <perl5-porters@perl.org>';
1490     }
1491     elsif (exists $Modules{$_}{DISTRIBUTION}) {
1492         (my $pause_id = $Modules{$_}{DISTRIBUTION}) =~ s{/.*$}{};
1493         $Modules{$_}{MAINTAINER} = $pause_id;
1494         $Maintainers{$pause_id} = "<$pause_id\@cpan.org>";
1495     }
1496     else {
1497         warn "No DISTRIBUTION for non-blead module $_";
1498     }
1499 }
1500
1501 1;