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