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