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