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