This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
12f5ae584c35220c9e6ac840d5546449c2af8836
[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 .perlcriticrc .perltidyrc
20     .travis.yml ANNOUNCE Announce Artistic AUTHORS BENCHMARK BUGS Build.PL
21     CHANGELOG ChangeLog Changelog CHANGES Changes CONTRIBUTING CONTRIBUTING.mkdn
22     COPYING Copying cpanfile CREDITS dist.ini GOALS HISTORY INSTALL INSTALL.SKIP
23     LICENCE LICENSE Makefile.PL MANIFEST MANIFEST.SKIP META.json META.yml
24     MYMETA.json MYMETA.yml NEW NEWS NOTES perlcritic.rc ppport.h README
25     README.md README.pod README.PATCHING SIGNATURE THANKS TODO Todo VERSION WHATSNEW
26 );
27
28 # Each entry in the  %Modules hash roughly represents a distribution,
29 # except when DISTRIBUTION is set, where it *exactly* represents a single
30 # CPAN distribution.
31
32 # The keys of %Modules are human descriptions of the distributions, and
33 # may not exactly match a module or distribution name. Distributions
34 # which have an obvious top-level module associated with them will usually
35 # have a key named for that module, e.g. 'Archive::Extract' for
36 # Archive-Extract-N.NN.tar.gz; the remaining keys are likely to be based
37 # on the name of the distribution, e.g. 'Locale-Codes' for
38 # Locale-Codes-N.NN.tar.gz'.
39
40 # UPSTREAM indicates where patches should go.  This is generally now
41 # inferred from the FILES: modules with files in dist/, ext/ and lib/
42 # are understood to have UPSTREAM 'blead', meaning that the copy of the
43 # module in the blead sources is to be considered canonical, while
44 # modules with files in cpan/ are understood to have UPSTREAM 'cpan',
45 # meaning that the module on CPAN is to be patched first.
46
47 # MAINTAINER has previously been used to indicate who the current maintainer
48 # of the module is, but this is no longer stated explicitly. It is now
49 # understood to be either the Perl 5 Porters if UPSTREAM is 'blead', or else
50 # the CPAN author whose PAUSE user ID forms the first part of the DISTRIBUTION
51 # value, e.g. 'BINGOS' in the case of 'BINGOS/Archive-Tar-2.00.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-2.04.tar.gz',
123         'FILES'        => q[cpan/Archive-Tar],
124         'BUGS'         => 'bug-archive-tar@rt.cpan.org',
125         'EXCLUDED'     => [
126             qw(t/07_ptardiff.t),
127         ],
128     },
129
130     'Attribute::Handlers' => {
131         'DISTRIBUTION' => 'RJBS/Attribute-Handlers-0.99.tar.gz',
132         'FILES'        => q[dist/Attribute-Handlers],
133     },
134
135     'autodie' => {
136         'DISTRIBUTION' => 'PJF/autodie-2.29.tar.gz',
137         'FILES'        => q[cpan/autodie],
138         'EXCLUDED'     => [
139             qr{benchmarks},
140             qr{README\.md},
141             # All these tests depend upon external
142             # modules that don't exist when we're
143             # building the core.  Hence, they can
144             # never run, and should not be merged.
145             qw( t/author-critic.t
146                 t/critic.t
147                 t/fork.t
148                 t/kwalitee.t
149                 t/lex58.t
150                 t/pod-coverage.t
151                 t/pod.t
152                 t/release-pod-coverage.t
153                 t/release-pod-syntax.t
154                 t/socket.t
155                 t/system.t
156                 )
157         ],
158         # CPAN RT 105344
159         'CUSTOMIZED'   => [ qw[ t/mkdir.t ] ],
160     },
161
162     'AutoLoader' => {
163         'DISTRIBUTION' => 'SMUELLER/AutoLoader-5.74.tar.gz',
164         'FILES'        => q[cpan/AutoLoader],
165         'EXCLUDED'     => ['t/00pod.t'],
166     },
167
168     'autouse' => {
169         'DISTRIBUTION' => 'WOLFSAGE/autouse-1.08.tar.gz',
170         'FILES'        => q[dist/autouse],
171         'EXCLUDED'     => [qr{^t/release-.*\.t}],
172     },
173
174     'B::Debug' => {
175         'DISTRIBUTION' => 'RURBAN/B-Debug-1.23.tar.gz',
176         'FILES'        => q[cpan/B-Debug],
177         'EXCLUDED'     => ['t/pod.t'],
178     },
179
180     'base' => {
181         'DISTRIBUTION' => 'RGARCIA/base-2.18.tar.gz',
182         'FILES'        => q[dist/base],
183     },
184
185     'bignum' => {
186         'DISTRIBUTION' => 'PJACKLAM/bignum-0.37.tar.gz',
187         'FILES'        => q[dist/bignum],
188         'EXCLUDED'     => [
189             qr{^inc/Module/},
190             qw( t/pod.t
191                 t/pod_cov.t
192                 ),
193         ],
194     },
195
196     'Carp' => {
197         'DISTRIBUTION' => 'RJBS/Carp-1.36.tar.gz',
198         'FILES'        => q[dist/Carp],
199     },
200
201     'Compress::Raw::Bzip2' => {
202         'DISTRIBUTION' => 'PMQS/Compress-Raw-Bzip2-2.068.tar.gz',
203         'FILES'        => q[cpan/Compress-Raw-Bzip2],
204         'EXCLUDED'     => [
205             qr{^t/Test/},
206             'bzip2-src/bzip2-cpp.patch',
207         ],
208     },
209
210     'Compress::Raw::Zlib' => {
211         'DISTRIBUTION' => 'PMQS/Compress-Raw-Zlib-2.068.tar.gz',
212
213         'FILES'    => q[cpan/Compress-Raw-Zlib],
214         'EXCLUDED' => [
215             qr{^examples/},
216             qr{^t/Test/},
217             qw( t/000prereq.t
218                 t/99pod.t
219                 ),
220         ],
221     },
222
223     'Config::Perl::V' => {
224         'DISTRIBUTION' => 'HMBRAND/Config-Perl-V-0.24.tgz',
225         'FILES'        => q[cpan/Config-Perl-V],
226         'EXCLUDED'     => [qw(
227                 examples/show-v.pl
228                 )],
229     },
230
231     'constant' => {
232         'DISTRIBUTION' => 'RJBS/constant-1.33.tar.gz',
233         'FILES'        => q[dist/constant],
234         'EXCLUDED'     => [
235             qw( t/00-load.t
236                 t/more-tests.t
237                 t/pod-coverage.t
238                 t/pod.t
239                 eg/synopsis.pl
240                 ),
241         ],
242     },
243
244     'CPAN' => {
245         'DISTRIBUTION' => 'ANDK/CPAN-2.10.tar.gz',
246         'FILES'        => q[cpan/CPAN],
247         'EXCLUDED'     => [
248             qr{^distroprefs/},
249             qr{^inc/Test/},
250             qr{^t/CPAN/},
251             qr{^t/data/},
252             qr{^t/97-},
253             qw( lib/CPAN/Admin.pm
254                 scripts/cpan-mirrors
255                 PAUSE2015.pub
256                 SlayMakefile
257                 t/00signature.t
258                 t/04clean_load.t
259                 t/12cpan.t
260                 t/13tarzip.t
261                 t/14forkbomb.t
262                 t/30shell.coverage
263                 t/30shell.t
264                 t/31sessions.t
265                 t/41distribution.t
266                 t/42distroprefs.t
267                 t/43distroprefspref.t
268                 t/44cpanmeta.t
269                 t/50pod.t
270                 t/51pod.t
271                 t/52podcover.t
272                 t/60credentials.t
273                 t/70_critic.t
274                 t/71_minimumversion.t
275                 t/local_utils.pm
276                 t/perlcriticrc
277                 t/yaml_code.yml
278                 ),
279         ],
280         # See commit 3198fda65dbcd975c56916e4b98f515fab7f02e5
281         'CUSTOMIZED'   => [ qw[ lib/CPAN.pm ] ],
282     },
283
284     # Note: When updating CPAN-Meta the META.* files will need to be regenerated
285     # perl -Icpan/CPAN-Meta/lib Porting/makemeta
286     'CPAN::Meta' => {
287         'DISTRIBUTION' => 'DAGOLDEN/CPAN-Meta-2.150005.tar.gz',
288         'FILES'        => q[cpan/CPAN-Meta],
289         'EXCLUDED'     => [
290             qw[t/00-report-prereqs.t
291                t/00-report-prereqs.dd
292                t/data-test/x_deprecated-META.json
293                t/data-valid/x_deprecated-META.yml
294                t/README-data.txt],
295             qr{^xt},
296             qr{^history},
297         ],
298     },
299
300     'CPAN::Meta::Requirements' => {
301         'DISTRIBUTION' => 'DAGOLDEN/CPAN-Meta-Requirements-2.133.tar.gz',
302         'FILES'        => q[cpan/CPAN-Meta-Requirements],
303         'EXCLUDED'     => [
304             qw(t/00-report-prereqs.t),
305             qw(t/00-report-prereqs.dd),
306             qw(t/version-cleanup.t),
307             qr{^xt},
308         ],
309     },
310
311     'CPAN::Meta::YAML' => {
312         'DISTRIBUTION' => 'DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz',
313         'FILES'        => q[cpan/CPAN-Meta-YAML],
314         'EXCLUDED'     => [
315             't/00-report-prereqs.t',
316             't/00-report-prereqs.dd',
317             qr{^xt},
318         ],
319     },
320
321     'Data::Dumper' => {
322         'DISTRIBUTION' => 'SMUELLER/Data-Dumper-2.154.tar.gz',
323         'FILES'        => q[dist/Data-Dumper],
324     },
325
326     'DB_File' => {
327         'DISTRIBUTION' => 'PMQS/DB_File-1.835.tar.gz',
328         'FILES'        => q[cpan/DB_File],
329         'EXCLUDED'     => [
330             qr{^patches/},
331             qw( t/pod.t
332                 fallback.h
333                 fallback.xs
334                 ),
335         ],
336     },
337
338     'Devel::PPPort' => {
339         'DISTRIBUTION' => 'WOLFSAGE/Devel-PPPort-3.31.tar.gz',
340         # RJBS has asked MHX to have UPSTREAM be 'blead'
341         # (i.e. move this from cpan/ to dist/)
342         'FILES'        => q[cpan/Devel-PPPort],
343         'EXCLUDED'     => [
344             'PPPort.pm',    # we use PPPort_pm.PL instead
345         ]
346     },
347
348     'Devel::SelfStubber' => {
349         'DISTRIBUTION' => 'FLORA/Devel-SelfStubber-1.05.tar.gz',
350         'FILES'        => q[dist/Devel-SelfStubber],
351         'EXCLUDED'     => [qr{^t/release-.*\.t}],
352     },
353
354     'Digest' => {
355         'DISTRIBUTION' => 'GAAS/Digest-1.17.tar.gz',
356         'FILES'        => q[cpan/Digest],
357         'EXCLUDED'     => ['digest-bench'],
358     },
359
360     'Digest::MD5' => {
361         'DISTRIBUTION' => 'GAAS/Digest-MD5-2.54.tar.gz',
362         'FILES'        => q[cpan/Digest-MD5],
363         'EXCLUDED'     => ['rfc1321.txt'],
364     },
365
366     'Digest::SHA' => {
367         'DISTRIBUTION' => 'MSHELOR/Digest-SHA-5.95.tar.gz',
368         'FILES'        => q[cpan/Digest-SHA],
369         'EXCLUDED'     => [
370             qw( t/pod.t
371                 t/podcover.t
372                 examples/dups
373                 ),
374         ],
375     },
376
377     'Dumpvalue' => {
378         'DISTRIBUTION' => 'FLORA/Dumpvalue-1.17.tar.gz',
379         'FILES'        => q[dist/Dumpvalue],
380         'EXCLUDED'     => [qr{^t/release-.*\.t}],
381     },
382
383     'Encode' => {
384         'DISTRIBUTION' => 'DANKOGAI/Encode-2.76.tar.gz',
385         'FILES'        => q[cpan/Encode],
386     },
387
388     'encoding::warnings' => {
389         'DISTRIBUTION' => 'AUDREYT/encoding-warnings-0.11.tar.gz',
390         'FILES'        => q[cpan/encoding-warnings],
391         'EXCLUDED'     => [
392             qr{^inc/Module/},
393             qw(t/0-signature.t),
394         ],
395     },
396
397     'Env' => {
398         'DISTRIBUTION' => 'FLORA/Env-1.04.tar.gz',
399         'FILES'        => q[dist/Env],
400         'EXCLUDED'     => [qr{^t/release-.*\.t}],
401     },
402
403     'experimental' => {
404         'DISTRIBUTION' => 'LEONT/experimental-0.013.tar.gz',
405         'FILES'        => q[cpan/experimental],
406         'EXCLUDED'     => [
407           qr{^t/release-.*\.t},
408           't/00-compile.t',
409         ],
410     },
411
412     'Exporter' => {
413         'DISTRIBUTION' => 'TODDR/Exporter-5.72.tar.gz',
414         'FILES'        => q[dist/Exporter],
415         'EXCLUDED' => [
416             qw( t/pod.t
417                 t/use.t
418                 ),
419         ],
420     },
421
422     'ExtUtils::CBuilder' => {
423         'DISTRIBUTION' => 'AMBS/ExtUtils-CBuilder-0.280223.tar.gz',
424         'FILES'        => q[dist/ExtUtils-CBuilder],
425         'EXCLUDED'     => [
426             qw(README.mkdn),
427             qr{^xt},
428         ],
429     },
430
431     'ExtUtils::Command' => {
432         'DISTRIBUTION' => 'BINGOS/ExtUtils-Command-1.20.tar.gz',
433         'FILES'        => q[cpan/ExtUtils-Command],
434         'EXCLUDED'     => [qr{^xt/}],
435     },
436
437     'ExtUtils::Constant' => {
438
439         # Nick has confirmed that while we have diverged from CPAN,
440         # this package isn't primarily maintained in core
441         # Another release will happen "Sometime"
442         'DISTRIBUTION' => '',    #'NWCLARK/ExtUtils-Constant-0.16.tar.gz',
443         'FILES'    => q[cpan/ExtUtils-Constant],
444         'EXCLUDED' => [
445             qw( lib/ExtUtils/Constant/Aaargh56Hash.pm
446                 examples/perl_keyword.pl
447                 examples/perl_regcomp_posix_keyword.pl
448                 ),
449         ],
450     },
451
452     'ExtUtils::Install' => {
453         'DISTRIBUTION' => 'BINGOS/ExtUtils-Install-2.04.tar.gz',
454         'FILES'        => q[cpan/ExtUtils-Install],
455         'EXCLUDED'     => [
456             qw( t/lib/Test/Builder.pm
457                 t/lib/Test/Builder/Module.pm
458                 t/lib/Test/More.pm
459                 t/lib/Test/Simple.pm
460                 t/pod-coverage.t
461                 t/pod.t
462                 ),
463         ],
464     },
465
466     'ExtUtils::MakeMaker' => {
467         'DISTRIBUTION' => 'BINGOS/ExtUtils-MakeMaker-7.04.tar.gz',
468         'FILES'        => q[cpan/ExtUtils-MakeMaker],
469         'EXCLUDED'     => [
470             qr{^t/lib/Test/},
471             qr{^(bundled|my)/},
472             qr{^t/Liblist_Kid.t},
473             qr{^t/liblist/},
474             qr{^\.perlcriticrc},
475             'PATCHING',
476             'README.packaging',
477         ],
478         # Applied upstream remove customisation when updating EUMM
479         'CUSTOMIZED'   => [ qw[ t/pm_to_blib.t
480                                 t/basic.t
481                                 lib/ExtUtils/Command/MM.pm
482                                 lib/ExtUtils/Liblist.pm
483                                 lib/ExtUtils/Liblist/Kid.pm
484                                 lib/ExtUtils/MM.pm
485                                 lib/ExtUtils/MM_AIX.pm
486                                 lib/ExtUtils/MM_Any.pm
487                                 lib/ExtUtils/MM_BeOS.pm
488                                 lib/ExtUtils/MM_Cygwin.pm
489                                 lib/ExtUtils/MM_DOS.pm
490                                 lib/ExtUtils/MM_Darwin.pm
491                                 lib/ExtUtils/MM_MacOS.pm
492                                 lib/ExtUtils/MM_NW5.pm
493                                 lib/ExtUtils/MM_OS2.pm
494                                 lib/ExtUtils/MM_QNX.pm
495                                 lib/ExtUtils/MM_UWIN.pm
496                                 lib/ExtUtils/MM_Unix.pm
497                                 lib/ExtUtils/MM_VMS.pm
498                                 lib/ExtUtils/MM_VOS.pm
499                                 lib/ExtUtils/MM_Win32.pm
500                                 lib/ExtUtils/MM_Win95.pm
501                                 lib/ExtUtils/MY.pm
502                                 lib/ExtUtils/MakeMaker.pm
503                                 lib/ExtUtils/MakeMaker/Config.pm
504                                 lib/ExtUtils/MakeMaker/FAQ.pod
505                                 lib/ExtUtils/MakeMaker/Locale.pm
506                                 lib/ExtUtils/MakeMaker/Tutorial.pod
507                                 lib/ExtUtils/MakeMaker/version.pm
508                                 lib/ExtUtils/MakeMaker/version/regex.pm
509                                 lib/ExtUtils/MakeMaker/version/vpp.pm
510                                 lib/ExtUtils/Mkbootstrap.pm
511                                 lib/ExtUtils/Mksymlists.pm
512                                 lib/ExtUtils/testlib.pm ] ],
513     },
514
515     'ExtUtils::Manifest' => {
516         'DISTRIBUTION' => 'ETHER/ExtUtils-Manifest-1.70.tar.gz',
517         'FILES'        => q[cpan/ExtUtils-Manifest],
518         'EXCLUDED'     => [
519             qr(^t/00-report-prereqs),
520             qr(^xt/)
521         ],
522     },
523
524     'ExtUtils::ParseXS' => {
525         'DISTRIBUTION' => 'SMUELLER/ExtUtils-ParseXS-3.24.tar.gz',
526         'FILES'        => q[dist/ExtUtils-ParseXS],
527     },
528
529     'File::Fetch' => {
530         'DISTRIBUTION' => 'BINGOS/File-Fetch-0.48.tar.gz',
531         'FILES'        => q[cpan/File-Fetch],
532     },
533
534     'File::Path' => {
535         'DISTRIBUTION' => 'RICHE/File-Path-2.11.tar.gz',
536         'FILES'        => q[cpan/File-Path],
537         'EXCLUDED'     => [
538             qw( eg/setup-extra-tests
539                 t/Path-Class.t
540                 )
541         ],
542     },
543
544     'File::Temp' => {
545         'DISTRIBUTION' => 'DAGOLDEN/File-Temp-0.2304.tar.gz',
546         'FILES'        => q[cpan/File-Temp],
547         'EXCLUDED'     => [
548             qw( misc/benchmark.pl
549                 misc/results.txt
550                 ),
551             qw[t/00-report-prereqs.t],
552             qr{^xt},
553         ],
554     },
555
556     'Filter::Simple' => {
557         'DISTRIBUTION' => 'SMUELLER/Filter-Simple-0.91.tar.gz',
558         'FILES'        => q[dist/Filter-Simple],
559         'EXCLUDED'     => [
560             qr{^demo/}
561         ],
562     },
563
564     'Filter::Util::Call' => {
565         'DISTRIBUTION' => 'RURBAN/Filter-1.55.tar.gz',
566         'FILES'        => q[cpan/Filter-Util-Call
567                  pod/perlfilter.pod
568                 ],
569         'EXCLUDED' => [
570             qr{^decrypt/},
571             qr{^examples/},
572             qr{^Exec/},
573             qr{^lib/Filter/},
574             qr{^tee/},
575             qw( Call/Makefile.PL
576                 Call/ppport.h
577                 Call/typemap
578                 mytest
579                 t/cpp.t
580                 t/decrypt.t
581                 t/exec.t
582                 t/order.t
583                 t/sh.t
584                 t/tee.t
585                 t/z_kwalitee.t
586                 t/z_meta.t
587                 t/z_perl_minimum_version.t
588                 t/z_pod-coverage.t
589                 t/z_pod.t
590                 ),
591         ],
592         'MAP' => {
593             'Call/'          => 'cpan/Filter-Util-Call/',
594             'filter-util.pl' => 'cpan/Filter-Util-Call/filter-util.pl',
595             'perlfilter.pod' => 'pod/perlfilter.pod',
596             ''               => 'cpan/Filter-Util-Call/',
597         },
598     },
599
600     'Getopt::Long' => {
601         'DISTRIBUTION' => 'JV/Getopt-Long-2.47.tar.gz',
602         'FILES'        => q[cpan/Getopt-Long],
603         'EXCLUDED'     => [
604             qr{^examples/},
605             qw( perl-Getopt-Long.spec
606                 lib/newgetopt.pl
607                 t/gol-compat.t
608                 ),
609         ],
610     },
611
612     'HTTP::Tiny' => {
613         'DISTRIBUTION' => 'DAGOLDEN/HTTP-Tiny-0.056.tar.gz',
614         'FILES'        => q[cpan/HTTP-Tiny],
615         'EXCLUDED'     => [
616             't/00-report-prereqs.t',
617             't/00-report-prereqs.dd',
618             't/200_live.t',
619             't/200_live_local_ip.t',
620             't/210_live_ssl.t',
621             qr/^eg/,
622             qr/^xt/
623         ],
624     },
625
626     'I18N::Collate' => {
627         'DISTRIBUTION' => 'FLORA/I18N-Collate-1.02.tar.gz',
628         'FILES'        => q[dist/I18N-Collate],
629         'EXCLUDED'     => [qr{^t/release-.*\.t}],
630     },
631
632     'I18N::LangTags' => {
633         'FILES'        => q[dist/I18N-LangTags],
634     },
635
636     'if' => {
637         'DISTRIBUTION' => 'ILYAZ/modules/if-0.0601.tar.gz',
638         'FILES'        => q[dist/if],
639     },
640
641     'IO' => {
642         'DISTRIBUTION' => 'GBARR/IO-1.25.tar.gz',
643         'FILES'        => q[dist/IO/],
644         'EXCLUDED'     => ['t/test.pl'],
645     },
646
647     'IO-Compress' => {
648         'DISTRIBUTION' => 'PMQS/IO-Compress-2.068.tar.gz',
649         'FILES'        => q[cpan/IO-Compress],
650         'EXCLUDED'     => [
651             qr{^examples/},
652             qr{^t/Test/},
653             't/010examples-bzip2.t',
654             't/010examples-zlib.t',
655             't/cz-05examples.t',
656         ],
657     },
658
659     'IO::Socket::IP' => {
660         'DISTRIBUTION' => 'PEVANS/IO-Socket-IP-0.37.tar.gz',
661         'FILES'        => q[cpan/IO-Socket-IP],
662         'EXCLUDED'     => [
663             qr{^examples/},
664         ],
665     },
666
667     'IO::Zlib' => {
668         'DISTRIBUTION' => 'TOMHUGHES/IO-Zlib-1.10.tar.gz',
669         'FILES'        => q[cpan/IO-Zlib],
670     },
671
672     'IPC::Cmd' => {
673         'DISTRIBUTION' => 'BINGOS/IPC-Cmd-0.92.tar.gz',
674         'FILES'        => q[cpan/IPC-Cmd],
675     },
676
677     'IPC::SysV' => {
678         'DISTRIBUTION' => 'MHX/IPC-SysV-2.04.tar.gz',
679         'FILES'        => q[cpan/IPC-SysV],
680         'EXCLUDED'     => [
681             qw( const-c.inc
682                 const-xs.inc
683                 ),
684         ],
685     },
686
687     'JSON::PP' => {
688         'DISTRIBUTION' => 'MAKAMAKA/JSON-PP-2.27300.tar.gz',
689         'FILES'        => q[cpan/JSON-PP],
690     },
691
692     'lib' => {
693         'DISTRIBUTION' => 'SMUELLER/lib-0.63.tar.gz',
694         'FILES'        => q[dist/lib/],
695         'EXCLUDED'     => [
696             qw( forPAUSE/lib.pm
697                 t/00pod.t
698                 ),
699         ],
700     },
701
702     'libnet' => {
703         'DISTRIBUTION' => 'SHAY/libnet-3.07.tar.gz',
704         'FILES'        => q[cpan/libnet],
705         'EXCLUDED'     => [
706             qw( Configure
707                 t/changes.t
708                 t/critic.t
709                 t/pod.t
710                 t/pod_coverage.t
711                 ),
712             qr(^demos/),
713             qr(^t/external/),
714         ],
715     },
716
717     'Locale-Codes' => {
718         'DISTRIBUTION' => 'SBECK/Locale-Codes-3.35.tar.gz',
719         'FILES'        => q[cpan/Locale-Codes],
720         'EXCLUDED'     => [
721             qw( README.first
722                 t/pod_coverage.ign
723                 t/pod_coverage.t
724                 t/pod.t),
725             qr{^t/runtests},
726             qr{^t/runtests\.bat},
727             qr{^internal/},
728             qr{^examples/},
729         ],
730     },
731
732     'Locale::Maketext' => {
733         'DISTRIBUTION' => 'TODDR/Locale-Maketext-1.26.tar.gz',
734         'FILES'        => q[dist/Locale-Maketext],
735         'EXCLUDED'     => [
736             qw(
737                 perlcriticrc
738                 t/00_load.t
739                 t/pod.t
740                 ),
741         ],
742     },
743
744     'Locale::Maketext::Simple' => {
745         'DISTRIBUTION' => 'JESSE/Locale-Maketext-Simple-0.21.tar.gz',
746         'FILES'        => q[cpan/Locale-Maketext-Simple],
747     },
748
749     'Math::BigInt' => {
750         'DISTRIBUTION' => 'PJACKLAM/Math-BigInt-1.9993.tar.gz',
751         'FILES'        => q[dist/Math-BigInt],
752         'EXCLUDED'     => [
753             qr{^inc/},
754             qr{^examples/},
755             qw( t/00sig.t
756                 t/01load.t
757                 t/02pod.t
758                 t/03podcov.t
759                 ),
760         ],
761     },
762
763     'Math::BigInt::FastCalc' => {
764         'DISTRIBUTION' => 'PJACKLAM/Math-BigInt-FastCalc-0.31.tar.gz',
765         'FILES'        => q[dist/Math-BigInt-FastCalc],
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             # instead we use the versions of these test
775             # files that come with Math::BigInt:
776             qw( t/bigfltpm.inc
777                 t/bigfltpm.t
778                 t/bigintpm.inc
779                 t/bigintpm.t
780                 t/mbimbf.inc
781                 t/mbimbf.t
782                 ),
783         ],
784     },
785
786     'Math::BigRat' => {
787         'DISTRIBUTION' => 'PJACKLAM/Math-BigRat-0.2606.tar.gz',
788         'FILES'        => q[dist/Math-BigRat],
789         'EXCLUDED'     => [
790             qr{^inc/},
791             qw( t/00sig.t
792                 t/01load.t
793                 t/02pod.t
794                 t/03podcov.t
795                 ),
796         ],
797     },
798
799     'Math::Complex' => {
800         'DISTRIBUTION' => 'ZEFRAM/Math-Complex-1.59.tar.gz',
801         'FILES'        => q[cpan/Math-Complex],
802         'EXCLUDED'     => [
803             qw( t/pod.t
804                 t/pod-coverage.t
805                 ),
806         ],
807     },
808
809     'Memoize' => {
810         'DISTRIBUTION' => 'MJD/Memoize-1.03.tgz',
811         'FILES'        => q[cpan/Memoize],
812         'EXCLUDED'     => ['article.html'],
813     },
814
815     'MIME::Base64' => {
816         'DISTRIBUTION' => 'GAAS/MIME-Base64-3.15.tar.gz',
817         'FILES'        => q[cpan/MIME-Base64],
818         'EXCLUDED'     => ['t/bad-sv.t'],
819     },
820
821     'Module::CoreList' => {
822         'DISTRIBUTION' => 'BINGOS/Module-CoreList-5.20150720.tar.gz',
823         'FILES'        => q[dist/Module-CoreList],
824     },
825
826     'Module::Load' => {
827         'DISTRIBUTION' => 'BINGOS/Module-Load-0.32.tar.gz',
828         'FILES'        => q[cpan/Module-Load],
829     },
830
831     'Module::Load::Conditional' => {
832         'DISTRIBUTION' => 'BINGOS/Module-Load-Conditional-0.64.tar.gz',
833         'FILES'        => q[cpan/Module-Load-Conditional],
834     },
835
836     'Module::Loaded' => {
837         'DISTRIBUTION' => 'BINGOS/Module-Loaded-0.08.tar.gz',
838         'FILES'        => q[cpan/Module-Loaded],
839     },
840
841     'Module::Metadata' => {
842         'DISTRIBUTION' => 'ETHER/Module-Metadata-1.000027.tar.gz',
843         'FILES'        => q[cpan/Module-Metadata],
844         'EXCLUDED'     => [
845             qw(t/00-report-prereqs.t),
846             qw(t/00-report-prereqs.dd),
847             qr{^xt},
848         ],
849     },
850
851     'Net::Ping' => {
852         'DISTRIBUTION' => 'SMPETERS/Net-Ping-2.41.tar.gz',
853         'FILES'        => q[dist/Net-Ping],
854     },
855
856     'NEXT' => {
857         'DISTRIBUTION' => 'FLORA/NEXT-0.65.tar.gz',
858         'FILES'        => q[cpan/NEXT],
859         'EXCLUDED'     => [qr{^demo/}],
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.234.tar.gz',
869         'FILES'        => q[cpan/parent],
870     },
871
872     'Parse::CPAN::Meta' => {
873         'DISTRIBUTION' => 'DAGOLDEN/Parse-CPAN-Meta-1.4417.tar.gz',
874         'FILES'        => q[cpan/Parse-CPAN-Meta],
875         'EXCLUDED'     => [
876             qw[t/00-report-prereqs.dd],
877             qw[t/00-report-prereqs.t],
878             qr{^xt},
879         ],
880     },
881
882     'PathTools' => {
883         'DISTRIBUTION' => 'SMUELLER/PathTools-3.47.tar.gz',
884         'FILES'        => q[dist/PathTools],
885         'EXCLUDED'     => [qr{^t/lib/Test/}],
886     },
887
888     'Perl::OSType' => {
889         'DISTRIBUTION' => 'DAGOLDEN/Perl-OSType-1.008.tar.gz',
890         'FILES'        => q[cpan/Perl-OSType],
891         'EXCLUDED'     => [qw(tidyall.ini), qr/^xt/, qr{^t/00-}],
892     },
893
894     'perlfaq' => {
895         'DISTRIBUTION' => 'LLAP/perlfaq-5.021010.tar.gz',
896         'FILES'        => q[cpan/perlfaq],
897         'EXCLUDED'     => [
898             qw( inc/CreateQuestionList.pm
899                 inc/perlfaq.tt
900                 t/00-compile.t),
901             qr{^xt/},
902         ],
903     },
904
905     'PerlIO::via::QuotedPrint' => {
906         'DISTRIBUTION' => 'SHAY/PerlIO-via-QuotedPrint-0.08.tar.gz',
907         'FILES'        => q[cpan/PerlIO-via-QuotedPrint],
908     },
909
910     'Pod::Checker' => {
911         'DISTRIBUTION' => 'MAREKR/Pod-Checker-1.60.tar.gz',
912         'FILES'        => q[cpan/Pod-Checker],
913     },
914
915     'Pod::Escapes' => {
916         'DISTRIBUTION' => 'NEILB/Pod-Escapes-1.07.tar.gz',
917         'FILES'        => q[cpan/Pod-Escapes],
918     },
919
920     'Pod::Parser' => {
921         'DISTRIBUTION' => 'MAREKR/Pod-Parser-1.63.tar.gz',
922         'FILES'        => q[cpan/Pod-Parser],
923     },
924
925     'Pod::Perldoc' => {
926         'DISTRIBUTION' => 'MALLEN/Pod-Perldoc-3.25.tar.gz',
927         'FILES'        => q[cpan/Pod-Perldoc],
928
929         # Note that we use the CPAN-provided Makefile.PL, since it
930         # contains special handling of the installation of perldoc.pod
931
932         # In blead, the perldoc executable is generated by perldoc.PL
933         # instead
934         # XXX We can and should fix this, but clean up the DRY-failure in utils
935         # first
936         'EXCLUDED' => ['perldoc'],
937     },
938
939     'Pod::Simple' => {
940         'DISTRIBUTION' => 'DWHEELER/Pod-Simple-3.30.tar.gz',
941         'FILES'        => q[cpan/Pod-Simple],
942         # https://rt.cpan.org/Public/Bug/Display.html?id=103439
943         # https://rt.cpan.org/Public/Bug/Display.html?id=105192
944         # https://rt.cpan.org/Public/Bug/Display.html?id=105511
945         'CUSTOMIZED'   => [
946             qw( lib/Pod/Simple/Search.pm
947                 lib/Pod/Simple/BlackBox.pm
948                 t/search10.t
949                 t/search12.t
950                 t/search20.t
951                 t/search22.t
952                 t/search26.t
953                 t/search28.t
954             ),
955         ],
956     },
957
958     'Pod::Usage' => {
959         'DISTRIBUTION' => 'MAREKR/Pod-Usage-1.67.tar.gz',
960         'FILES'        => q[cpan/Pod-Usage],
961     },
962
963     'podlators' => {
964         'DISTRIBUTION' => 'RRA/podlators-2.5.3.tar.gz',
965         'FILES'        => q[cpan/podlators pod/perlpodstyle.pod],
966
967         # The perl distribution has pod2man.PL and pod2text.PL,  which are
968         # run to create pod2man and pod2text, while the CPAN distribution
969         # just has the post-generated pod2man and pod2text files.
970         # The following entries attempt to codify that odd fact.
971         'CUSTOMIZED' => [
972             qw( scripts/pod2man.PL
973                 scripts/pod2text.PL
974                 ),
975         ],
976         'MAP' => {
977             ''                 => 'cpan/podlators/',
978             'scripts/pod2man'  => 'cpan/podlators/scripts/pod2man.PL',
979             'scripts/pod2text' => 'cpan/podlators/scripts/pod2text.PL',
980
981             # this file lives outside the cpan/ directory
982             'pod/perlpodstyle.pod' => 'pod/perlpodstyle.pod',
983         },
984     },
985
986     'Safe' => {
987         'DISTRIBUTION' => 'RGARCIA/Safe-2.35.tar.gz',
988         'FILES'        => q[dist/Safe],
989     },
990
991     'Scalar-List-Utils' => {
992         'DISTRIBUTION' => 'PEVANS/Scalar-List-Utils-1.42.tar.gz',
993         'FILES'        => q[cpan/Scalar-List-Utils],
994         # Waiting to be merged upstream:
995         # https://github.com/Scalar-List-Utils/Scalar-List-Utils/pull/24
996         'CUSTOMIZED'   => [
997             qw( ListUtil.xs
998                 lib/List/Util.pm
999                 lib/List/Util/XS.pm
1000                 lib/Scalar/Util.pm
1001                 lib/Sub/Util.pm
1002                 )
1003         ],
1004     },
1005
1006     'Search::Dict' => {
1007         'DISTRIBUTION' => 'DAGOLDEN/Search-Dict-1.07.tar.gz',
1008         'FILES'        => q[dist/Search-Dict],
1009     },
1010
1011     'SelfLoader' => {
1012         'DISTRIBUTION' => 'SMUELLER/SelfLoader-1.20.tar.gz',
1013         'FILES'        => q[dist/SelfLoader],
1014         'EXCLUDED'     => ['t/00pod.t'],
1015     },
1016
1017     'Socket' => {
1018         'DISTRIBUTION' => 'PEVANS/Socket-2.020.tar.gz',
1019         'FILES'        => q[cpan/Socket],
1020     },
1021
1022     'Storable' => {
1023         'DISTRIBUTION' => 'AMS/Storable-2.51.tar.gz',
1024         'FILES'        => q[dist/Storable],
1025     },
1026
1027     'Sys::Syslog' => {
1028         'DISTRIBUTION' => 'SAPER/Sys-Syslog-0.33.tar.gz',
1029         'FILES'        => q[cpan/Sys-Syslog],
1030         'EXCLUDED'     => [
1031             qr{^eg/},
1032             qw( README.win32
1033                 t/data-validation.t
1034                 t/distchk.t
1035                 t/pod.t
1036                 t/podcover.t
1037                 t/podspell.t
1038                 t/portfs.t
1039                 win32/PerlLog.RES
1040                 ),
1041         ],
1042     },
1043
1044     'Term::ANSIColor' => {
1045         'DISTRIBUTION' => 'RRA/Term-ANSIColor-4.03.tar.gz',
1046         'FILES'        => q[cpan/Term-ANSIColor],
1047         'EXCLUDED'     => [
1048             qr{^examples/},
1049             qr{^t/data/},
1050             qr{^t/docs/},
1051             qr{^t/style/},
1052             qw( t/module/aliases-env.t ),
1053         ],
1054     },
1055
1056     'Term::Cap' => {
1057         'DISTRIBUTION' => 'JSTOWE/Term-Cap-1.15.tar.gz',
1058         'FILES'        => q[cpan/Term-Cap],
1059     },
1060
1061     'Term::Complete' => {
1062         'DISTRIBUTION' => 'FLORA/Term-Complete-1.402.tar.gz',
1063         'FILES'        => q[dist/Term-Complete],
1064         'EXCLUDED'     => [qr{^t/release-.*\.t}],
1065     },
1066
1067     'Term::ReadLine' => {
1068         'DISTRIBUTION' => 'FLORA/Term-ReadLine-1.14.tar.gz',
1069         'FILES'        => q[dist/Term-ReadLine],
1070         'EXCLUDED'     => [qr{^t/release-.*\.t}],
1071     },
1072
1073     'Test' => {
1074         'DISTRIBUTION' => 'JESSE/Test-1.26.tar.gz',
1075         'FILES'        => q[cpan/Test],
1076     },
1077
1078     'Test::Harness' => {
1079         'DISTRIBUTION' => 'LEONT/Test-Harness-3.35.tar.gz',
1080         'FILES'        => q[cpan/Test-Harness],
1081         'EXCLUDED'     => [
1082             qr{^examples/},
1083             qr{^inc/},
1084             qr{^t/lib/Test/},
1085             qr{^xt/},
1086             qw( Changes-2.64
1087                 MANIFEST.CUMMULATIVE
1088                 NotBuild.PL
1089                 HACKING.pod
1090                 perlcriticrc
1091                 t/000-load.t
1092                 t/lib/if.pm
1093                 ),
1094         ],
1095     },
1096
1097     'Test::Simple' => {
1098         'DISTRIBUTION' => 'EXODIST/Test-Simple-1.001014.tar.gz',
1099         'FILES'        => q[cpan/Test-Simple],
1100         'EXCLUDED'     => [
1101             qr{^t/xt},
1102             qr{^xt},
1103             qw( .perlcriticrc
1104                 .perltidyrc
1105                 examples/indent.pl
1106                 examples/subtest.t
1107                 t/00compile.t
1108                 t/xxx-changes_updated.t
1109                 ),
1110         ],
1111     },
1112
1113     'Text::Abbrev' => {
1114         'DISTRIBUTION' => 'FLORA/Text-Abbrev-1.02.tar.gz',
1115         'FILES'        => q[dist/Text-Abbrev],
1116         'EXCLUDED'     => [qr{^t/release-.*\.t}],
1117     },
1118
1119     'Text::Balanced' => {
1120         'DISTRIBUTION' => 'SHAY/Text-Balanced-2.03.tar.gz',
1121         'FILES'        => q[cpan/Text-Balanced],
1122         'EXCLUDED'     => [
1123             qw( t/97_meta.t
1124                 t/98_pod.t
1125                 t/99_pmv.t
1126                 ),
1127         ],
1128     },
1129
1130     'Text::ParseWords' => {
1131         'DISTRIBUTION' => 'CHORNY/Text-ParseWords-3.30.tar.gz',
1132         'FILES'        => q[cpan/Text-ParseWords],
1133
1134         # Waiting to be merged upstream:
1135         # see https://github.com/chorny/Text-ParseWords/pull/6
1136         'CUSTOMIZED'   => [
1137             qw( t/ParseWords.t
1138                 ),
1139         ],
1140     },
1141
1142     'Text-Tabs+Wrap' => {
1143         'DISTRIBUTION' => 'MUIR/modules/Text-Tabs+Wrap-2013.0523.tar.gz',
1144         'FILES'        => q[cpan/Text-Tabs],
1145         'EXCLUDED'   => [
1146             qr/^lib\.old/,
1147             't/dnsparks.t',    # see af6492bf9e
1148         ],
1149         'MAP'          => {
1150             ''                        => 'cpan/Text-Tabs/',
1151             'lib.modern/Text/Tabs.pm' => 'cpan/Text-Tabs/lib/Text/Tabs.pm',
1152             'lib.modern/Text/Wrap.pm' => 'cpan/Text-Tabs/lib/Text/Wrap.pm',
1153         },
1154     },
1155
1156     # Jerry Hedden does take patches that are applied to blead first, even
1157     # though that can be hard to discern from the Git history; so it's
1158     # correct for this (and Thread::Semaphore, threads, and threads::shared)
1159     # to be under dist/ rather than cpan/
1160     'Thread::Queue' => {
1161         'DISTRIBUTION' => 'JDHEDDEN/Thread-Queue-3.05.tar.gz',
1162         'FILES'        => q[dist/Thread-Queue],
1163         'EXCLUDED'     => [
1164             qr{^examples/},
1165             qw( t/00_load.t
1166                 t/99_pod.t
1167                 t/test.pl
1168                 ),
1169         ],
1170     },
1171
1172     'Thread::Semaphore' => {
1173         'DISTRIBUTION' => 'JDHEDDEN/Thread-Semaphore-2.12.tar.gz',
1174         'FILES'        => q[dist/Thread-Semaphore],
1175         'EXCLUDED'     => [
1176             qw( examples/semaphore.pl
1177                 t/00_load.t
1178                 t/99_pod.t
1179                 t/test.pl
1180                 ),
1181         ],
1182     },
1183
1184     'threads' => {
1185         'DISTRIBUTION' => 'JDHEDDEN/threads-2.02.tar.gz',
1186         'FILES'        => q[dist/threads],
1187         'EXCLUDED'     => [
1188             qr{^examples/},
1189             qw( t/pod.t
1190                 t/test.pl
1191                 threads.h
1192                 ),
1193         ],
1194     },
1195
1196     'threads::shared' => {
1197         'DISTRIBUTION' => 'JDHEDDEN/threads-shared-1.48.tar.gz',
1198         'FILES'        => q[dist/threads-shared],
1199         'EXCLUDED'     => [
1200             qw( examples/class.pl
1201                 shared.h
1202                 t/pod.t
1203                 t/test.pl
1204                 ),
1205         ],
1206     },
1207
1208     'Tie::File' => {
1209         'DISTRIBUTION' => 'TODDR/Tie-File-1.00.tar.gz',
1210         'FILES'        => q[dist/Tie-File],
1211     },
1212
1213     'Tie::RefHash' => {
1214         'DISTRIBUTION' => 'FLORA/Tie-RefHash-1.39.tar.gz',
1215         'FILES'        => q[cpan/Tie-RefHash],
1216     },
1217
1218     'Time::HiRes' => {
1219         'DISTRIBUTION' => 'ZEFRAM/Time-HiRes-1.9726.tar.gz',
1220         'FILES'        => q[cpan/Time-HiRes],
1221     },
1222
1223     'Time::Local' => {
1224         'DISTRIBUTION' => 'DROLSKY/Time-Local-1.2300.tar.gz',
1225         'FILES'        => q[cpan/Time-Local],
1226         'EXCLUDED'     => [
1227             qr{^t/release-.*\.t},
1228         ],
1229     },
1230
1231     'Time::Piece' => {
1232         'DISTRIBUTION' => 'RJBS/Time-Piece-1.30.tar.gz',
1233         'FILES'        => q[cpan/Time-Piece],
1234     },
1235
1236     'Unicode::Collate' => {
1237         'DISTRIBUTION' => 'SADAHIRO/Unicode-Collate-1.14.tar.gz',
1238         'FILES'        => q[cpan/Unicode-Collate],
1239         'EXCLUDED'     => [
1240             qr{N$},
1241             qr{^data/},
1242             qr{^gendata/},
1243             qw( disableXS
1244                 enableXS
1245                 mklocale
1246                 ),
1247         ],
1248     },
1249
1250     'Unicode::Normalize' => {
1251         'DISTRIBUTION' => 'SADAHIRO/Unicode-Normalize-1.19.tar.gz',
1252         'FILES'        => q[cpan/Unicode-Normalize],
1253     },
1254
1255     'version' => {
1256         'DISTRIBUTION' => 'JPEACOCK/version-0.9909.tar.gz',
1257         'FILES'        => q[cpan/version vutil.c vutil.h vxs.inc],
1258         'EXCLUDED' => [
1259             qr{^vutil/lib/},
1260             'vutil/Makefile.PL',
1261             'vutil/ppport.h',
1262             'vutil/vxs.xs',
1263             't/survey_locales',
1264         ],
1265
1266         # When adding the CPAN-distributed files for version.pm, it is necessary
1267         # to delete an entire block out of lib/version.pm, since that code is
1268         # only necessary with the CPAN release.
1269         'CUSTOMIZED'   => [
1270             qw( lib/version.pm
1271                 ),
1272
1273             # Merged upstream, waiting for new CPAN release: see CPAN RT#92721
1274             qw( vutil.c
1275                 ),
1276         ],
1277
1278         'MAP' => {
1279             'vperl/'         => 'cpan/version/lib/version/',
1280             'vutil/'         => '',
1281             ''               => 'cpan/version/',
1282         },
1283     },
1284
1285     'warnings' => {
1286         'FILES'      => q[
1287                  lib/warnings
1288                  lib/warnings.{pm,t}
1289                  regen/warnings.pl
1290                  t/lib/warnings
1291         ],
1292     },
1293
1294     'Win32' => {
1295         'DISTRIBUTION' => "JDB/Win32-0.51.tar.gz",
1296         'FILES'        => q[cpan/Win32],
1297     },
1298
1299     'Win32API::File' => {
1300         'DISTRIBUTION' => 'CHORNY/Win32API-File-0.1202.tar.gz',
1301         'FILES'        => q[cpan/Win32API-File],
1302         'EXCLUDED'     => [
1303             qr{^ex/},
1304         ],
1305
1306         # Currently all EOL differences. Waiting for a new upstream release:
1307         # All the files in the GitHub repo have UNIX EOLs already.
1308         'CUSTOMIZED'   => [
1309             qw( ExtUtils/Myconst2perl.pm
1310                 Makefile.PL
1311                 buffers.h
1312                 cFile.h
1313                 cFile.pc
1314                 const2perl.h
1315                 t/file.t
1316                 t/tie.t
1317                 typemap
1318                 ),
1319         ],
1320     },
1321
1322     'XSLoader' => {
1323         'DISTRIBUTION' => 'SAPER/XSLoader-0.16.tar.gz',
1324         'FILES'        => q[dist/XSLoader],
1325         'EXCLUDED'     => [
1326             qr{^eg/},
1327             qw( t/00-load.t
1328                 t/01-api.t
1329                 t/distchk.t
1330                 t/pod.t
1331                 t/podcover.t
1332                 t/portfs.t
1333                 ),
1334             'XSLoader.pm',    # we use XSLoader_pm.PL
1335         ],
1336     },
1337
1338     # this pseudo-module represents all the files under ext/ and lib/
1339     # that aren't otherwise claimed. This means that the following two
1340     # commands will check that every file under ext/ and lib/ is
1341     # accounted for, and that there are no duplicates:
1342     #
1343     #    perl Porting/Maintainers --checkmani lib ext
1344     #    perl Porting/Maintainers --checkmani
1345
1346     '_PERLLIB' => {
1347         'FILES'    => q[
1348                 ext/B/
1349                 ext/Devel-Peek/
1350                 ext/DynaLoader/
1351                 ext/Errno/
1352                 ext/ExtUtils-Miniperl/
1353                 ext/Fcntl/
1354                 ext/File-DosGlob/
1355                 ext/File-Find/
1356                 ext/File-Glob/
1357                 ext/FileCache/
1358                 ext/GDBM_File/
1359                 ext/Hash-Util-FieldHash/
1360                 ext/Hash-Util/
1361                 ext/I18N-Langinfo/
1362                 ext/IPC-Open3/
1363                 ext/NDBM_File/
1364                 ext/ODBM_File/
1365                 ext/Opcode/
1366                 ext/POSIX/
1367                 ext/PerlIO-encoding/
1368                 ext/PerlIO-mmap/
1369                 ext/PerlIO-scalar/
1370                 ext/PerlIO-via/
1371                 ext/Pod-Functions/
1372                 ext/Pod-Html/
1373                 ext/SDBM_File/
1374                 ext/Sys-Hostname/
1375                 ext/Tie-Hash-NamedCapture/
1376                 ext/Tie-Memoize/
1377                 ext/VMS-DCLsym/
1378                 ext/VMS-Filespec/
1379                 ext/VMS-Stdio/
1380                 ext/Win32CORE/
1381                 ext/XS-APItest/
1382                 ext/XS-Typemap/
1383                 ext/arybase/
1384                 ext/attributes/
1385                 ext/mro/
1386                 ext/re/
1387                 lib/AnyDBM_File.{pm,t}
1388                 lib/Benchmark.{pm,t}
1389                 lib/B/Deparse{.pm,.t,-*.t}
1390                 lib/B/Op_private.pm
1391                 lib/CORE.pod
1392                 lib/Class/Struct.{pm,t}
1393                 lib/Config.t
1394                 lib/Config/Extensions.{pm,t}
1395                 lib/DB.{pm,t}
1396                 lib/DBM_Filter.pm
1397                 lib/DBM_Filter/
1398                 lib/DirHandle.{pm,t}
1399                 lib/English.{pm,t}
1400                 lib/ExtUtils/Embed.pm
1401                 lib/ExtUtils/XSSymSet.pm
1402                 lib/ExtUtils/t/Embed.t
1403                 lib/ExtUtils/typemap
1404                 lib/File/Basename.{pm,t}
1405                 lib/File/Compare.{pm,t}
1406                 lib/File/Copy.{pm,t}
1407                 lib/File/stat{.pm,.t,-7896.t}
1408                 lib/FileHandle.{pm,t}
1409                 lib/FindBin.{pm,t}
1410                 lib/Getopt/Std.{pm,t}
1411                 lib/Internals.t
1412                 lib/meta_notation.{pm,t}
1413                 lib/Net/hostent.{pm,t}
1414                 lib/Net/netent.{pm,t}
1415                 lib/Net/protoent.{pm,t}
1416                 lib/Net/servent.{pm,t}
1417                 lib/PerlIO.pm
1418                 lib/Pod/t/InputObjects.t
1419                 lib/Pod/t/Select.t
1420                 lib/Pod/t/Usage.t
1421                 lib/Pod/t/utils.t
1422                 lib/SelectSaver.{pm,t}
1423                 lib/Symbol.{pm,t}
1424                 lib/Thread.{pm,t}
1425                 lib/Tie/Array.pm
1426                 lib/Tie/Array/
1427                 lib/Tie/ExtraHash.t
1428                 lib/Tie/Handle.pm
1429                 lib/Tie/Handle/
1430                 lib/Tie/Hash.{pm,t}
1431                 lib/Tie/Scalar.{pm,t}
1432                 lib/Tie/StdHandle.pm
1433                 lib/Tie/SubstrHash.{pm,t}
1434                 lib/Time/gmtime.{pm,t}
1435                 lib/Time/localtime.{pm,t}
1436                 lib/Time/tm.pm
1437                 lib/UNIVERSAL.pm
1438                 lib/Unicode/README
1439                 lib/Unicode/UCD.{pm,t}
1440                 lib/User/grent.{pm,t}
1441                 lib/User/pwent.{pm,t}
1442                 lib/_charnames.pm
1443                 lib/blib.{pm,t}
1444                 lib/bytes.{pm,t}
1445                 lib/bytes_heavy.pl
1446                 lib/charnames.{pm,t}
1447                 lib/dbm_filter_util.pl
1448                 lib/deprecate.pm
1449                 lib/diagnostics.{pm,t}
1450                 lib/dumpvar.{pl,t}
1451                 lib/feature.{pm,t}
1452                 lib/feature/
1453                 lib/filetest.{pm,t}
1454                 lib/h2ph.t
1455                 lib/h2xs.t
1456                 lib/integer.{pm,t}
1457                 lib/less.{pm,t}
1458                 lib/locale.{pm,t}
1459                 lib/open.{pm,t}
1460                 lib/overload/numbers.pm
1461                 lib/overloading.{pm,t}
1462                 lib/overload{.pm,.t,64.t}
1463                 lib/perl5db.{pl,t}
1464                 lib/perl5db/
1465                 lib/sigtrap.{pm,t}
1466                 lib/sort.{pm,t}
1467                 lib/strict.{pm,t}
1468                 lib/subs.{pm,t}
1469                 lib/unicore/
1470                 lib/utf8.{pm,t}
1471                 lib/utf8_heavy.pl
1472                 lib/vars{.pm,.t,_carp.t}
1473                 lib/vmsish.{pm,t}
1474                 ],
1475     },
1476 );
1477
1478 # legacy CPAN flag
1479 for ( values %Modules ) {
1480     $_->{CPAN} = !!$_->{DISTRIBUTION};
1481 }
1482
1483 # legacy UPSTREAM flag
1484 for ( keys %Modules ) {
1485     # Keep any existing UPSTREAM flag so that "overrides" can be applied
1486     next if exists $Modules{$_}{UPSTREAM};
1487
1488     if ($_ eq '_PERLLIB' or $Modules{$_}{FILES} =~ m{^\s*(?:dist|ext|lib)/}) {
1489         $Modules{$_}{UPSTREAM} = 'blead';
1490     }
1491     elsif ($Modules{$_}{FILES} =~ m{^\s*cpan/}) {
1492         $Modules{$_}{UPSTREAM} = 'cpan';
1493     }
1494     else {
1495         warn "Unexpected location of FILES for module $_: $Modules{$_}{FILES}";
1496     }
1497 }
1498
1499 # legacy MAINTAINER field
1500 for ( keys %Modules ) {
1501     # Keep any existing MAINTAINER flag so that "overrides" can be applied
1502     next if exists $Modules{$_}{MAINTAINER};
1503
1504     if ($Modules{$_}{UPSTREAM} eq 'blead') {
1505         $Modules{$_}{MAINTAINER} = 'P5P';
1506         $Maintainers{P5P} = 'perl5-porters <perl5-porters@perl.org>';
1507     }
1508     elsif (exists $Modules{$_}{DISTRIBUTION}) {
1509         (my $pause_id = $Modules{$_}{DISTRIBUTION}) =~ s{/.*$}{};
1510         $Modules{$_}{MAINTAINER} = $pause_id;
1511         $Maintainers{$pause_id} = "<$pause_id\@cpan.org>";
1512     }
1513     else {
1514         warn "No DISTRIBUTION for non-blead module $_";
1515     }
1516 }
1517
1518 1;