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