This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Simplify parser’s handling of my/local
[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.08.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' => 'RJBS/autouse-1.11.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.55.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.94.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.000032-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         # Waiting to be merged upstream
992         # https://github.com/Scalar-List-Utils/Scalar-List-Utils/pull/42
993         'CUSTOMIZED'   => [
994             qw( ListUtil.xs
995                 lib/List/Util.pm
996                 lib/List/Util/XS.pm
997                 lib/Scalar/Util.pm
998                 lib/Sub/Util.pm
999                 )
1000         ],
1001     },
1002
1003     'Search::Dict' => {
1004         'DISTRIBUTION' => 'DAGOLDEN/Search-Dict-1.07.tar.gz',
1005         'FILES'        => q[dist/Search-Dict],
1006     },
1007
1008     'SelfLoader' => {
1009         'DISTRIBUTION' => 'SMUELLER/SelfLoader-1.20.tar.gz',
1010         'FILES'        => q[dist/SelfLoader],
1011         'EXCLUDED'     => ['t/00pod.t'],
1012     },
1013
1014     'Socket' => {
1015         'DISTRIBUTION' => 'PEVANS/Socket-2.020.tar.gz',
1016         'FILES'        => q[cpan/Socket],
1017
1018         # https://rt.cpan.org/Ticket/Display.html?id=106797
1019         # https://rt.cpan.org/Ticket/Display.html?id=107058
1020         # https://rt.cpan.org/Ticket/Display.html?id=111707
1021         'CUSTOMIZED'   => [ qw[ Socket.pm Socket.xs ] ],
1022     },
1023
1024     'Storable' => {
1025         'DISTRIBUTION' => 'AMS/Storable-2.51.tar.gz',
1026         'FILES'        => q[dist/Storable],
1027         'EXCLUDED'     => [
1028             qr{^t/compat/},
1029         ],
1030     },
1031
1032     'Sys::Syslog' => {
1033         'DISTRIBUTION' => 'SAPER/Sys-Syslog-0.34.tar.gz',
1034         'FILES'        => q[cpan/Sys-Syslog],
1035         'EXCLUDED'     => [
1036             qr{^eg/},
1037             qw( README.win32
1038                 t/data-validation.t
1039                 t/distchk.t
1040                 t/pod.t
1041                 t/podcover.t
1042                 t/podspell.t
1043                 t/portfs.t
1044                 win32/PerlLog.RES
1045                 ),
1046         ],
1047     },
1048
1049     'Term::ANSIColor' => {
1050         'DISTRIBUTION' => 'RRA/Term-ANSIColor-4.05.tar.gz',
1051         'FILES'        => q[cpan/Term-ANSIColor],
1052         'EXCLUDED'     => [
1053             qr{^examples/},
1054             qr{^t/data/},
1055             qr{^t/docs/},
1056             qr{^t/style/},
1057             qw( t/module/aliases-env.t ),
1058         ],
1059     },
1060
1061     'Term::Cap' => {
1062         'DISTRIBUTION' => 'JSTOWE/Term-Cap-1.17.tar.gz',
1063         'FILES'        => q[cpan/Term-Cap],
1064     },
1065
1066     'Term::Complete' => {
1067         'DISTRIBUTION' => 'FLORA/Term-Complete-1.402.tar.gz',
1068         'FILES'        => q[dist/Term-Complete],
1069         'EXCLUDED'     => [qr{^t/release-.*\.t}],
1070     },
1071
1072     'Term::ReadLine' => {
1073         'DISTRIBUTION' => 'FLORA/Term-ReadLine-1.14.tar.gz',
1074         'FILES'        => q[dist/Term-ReadLine],
1075         'EXCLUDED'     => [qr{^t/release-.*\.t}],
1076     },
1077
1078     'Test' => {
1079         'DISTRIBUTION' => 'JESSE/Test-1.26.tar.gz',
1080         'FILES'        => q[dist/Test],
1081     },
1082
1083     'Test::Harness' => {
1084         'DISTRIBUTION' => 'LEONT/Test-Harness-3.36.tar.gz',
1085         'FILES'        => q[cpan/Test-Harness],
1086         'EXCLUDED'     => [
1087             qr{^examples/},
1088             qr{^xt/},
1089             qw( Changes-2.64
1090                 MANIFEST.CUMMULATIVE
1091                 HACKING.pod
1092                 perlcriticrc
1093                 t/000-load.t
1094                 t/lib/if.pm
1095                 ),
1096         ],
1097     },
1098
1099     'Test::Simple' => {
1100         'DISTRIBUTION' => 'EXODIST/Test-Simple-1.001014.tar.gz',
1101         'FILES'        => q[cpan/Test-Simple],
1102         'EXCLUDED'     => [
1103             qr{^t/xt},
1104             qr{^xt},
1105             qw( .perlcriticrc
1106                 .perltidyrc
1107                 examples/indent.pl
1108                 examples/subtest.t
1109                 t/00compile.t
1110                 t/xxx-changes_updated.t
1111                 ),
1112         ],
1113     },
1114
1115     'Text::Abbrev' => {
1116         'DISTRIBUTION' => 'FLORA/Text-Abbrev-1.02.tar.gz',
1117         'FILES'        => q[dist/Text-Abbrev],
1118         'EXCLUDED'     => [qr{^t/release-.*\.t}],
1119     },
1120
1121     'Text::Balanced' => {
1122         'DISTRIBUTION' => 'SHAY/Text-Balanced-2.03.tar.gz',
1123         'FILES'        => q[cpan/Text-Balanced],
1124         'EXCLUDED'     => [
1125             qw( t/97_meta.t
1126                 t/98_pod.t
1127                 t/99_pmv.t
1128                 ),
1129         ],
1130     },
1131
1132     'Text::ParseWords' => {
1133         'DISTRIBUTION' => 'CHORNY/Text-ParseWords-3.30.tar.gz',
1134         'FILES'        => q[cpan/Text-ParseWords],
1135     },
1136
1137     'Text-Tabs+Wrap' => {
1138         'DISTRIBUTION' => 'MUIR/modules/Text-Tabs+Wrap-2013.0523.tar.gz',
1139         'FILES'        => q[cpan/Text-Tabs],
1140         'EXCLUDED'   => [
1141             qr/^lib\.old/,
1142             't/dnsparks.t',    # see af6492bf9e
1143         ],
1144         'MAP'          => {
1145             ''                        => 'cpan/Text-Tabs/',
1146             'lib.modern/Text/Tabs.pm' => 'cpan/Text-Tabs/lib/Text/Tabs.pm',
1147             'lib.modern/Text/Wrap.pm' => 'cpan/Text-Tabs/lib/Text/Wrap.pm',
1148         },
1149     },
1150
1151     # Jerry Hedden does take patches that are applied to blead first, even
1152     # though that can be hard to discern from the Git history; so it's
1153     # correct for this (and Thread::Semaphore, threads, and threads::shared)
1154     # to be under dist/ rather than cpan/
1155     'Thread::Queue' => {
1156         'DISTRIBUTION' => 'JDHEDDEN/Thread-Queue-3.11.tar.gz',
1157         'FILES'        => q[dist/Thread-Queue],
1158         'EXCLUDED'     => [
1159             qr{^examples/},
1160             qw( t/00_load.t
1161                 t/99_pod.t
1162                 t/test.pl
1163                 ),
1164         ],
1165     },
1166
1167     'Thread::Semaphore' => {
1168         'DISTRIBUTION' => 'JDHEDDEN/Thread-Semaphore-2.12.tar.gz',
1169         'FILES'        => q[dist/Thread-Semaphore],
1170         'EXCLUDED'     => [
1171             qw( examples/semaphore.pl
1172                 t/00_load.t
1173                 t/99_pod.t
1174                 t/test.pl
1175                 ),
1176         ],
1177     },
1178
1179     'threads' => {
1180         'DISTRIBUTION' => 'JDHEDDEN/threads-2.09.tar.gz',
1181         'FILES'        => q[dist/threads],
1182         'EXCLUDED'     => [
1183             qr{^examples/},
1184             qw( t/pod.t
1185                 t/test.pl
1186                 threads.h
1187                 ),
1188         ],
1189     },
1190
1191     'threads::shared' => {
1192         'DISTRIBUTION' => 'JDHEDDEN/threads-shared-1.52.tar.gz',
1193         'FILES'        => q[dist/threads-shared],
1194         'EXCLUDED'     => [
1195             qw( examples/class.pl
1196                 shared.h
1197                 t/pod.t
1198                 t/test.pl
1199                 ),
1200         ],
1201     },
1202
1203     'Tie::File' => {
1204         'DISTRIBUTION' => 'TODDR/Tie-File-1.00.tar.gz',
1205         'FILES'        => q[dist/Tie-File],
1206     },
1207
1208     'Tie::RefHash' => {
1209         'DISTRIBUTION' => 'FLORA/Tie-RefHash-1.39.tar.gz',
1210         'FILES'        => q[cpan/Tie-RefHash],
1211     },
1212
1213     'Time::HiRes' => {
1214         'DISTRIBUTION' => 'JHI/Time-HiRes-1.9733.tar.gz',
1215         'FILES'        => q[dist/Time-HiRes],
1216     },
1217
1218     'Time::Local' => {
1219         'DISTRIBUTION' => 'DROLSKY/Time-Local-1.2300.tar.gz',
1220         'FILES'        => q[cpan/Time-Local],
1221         'EXCLUDED'     => [
1222             qr{^t/release-.*\.t},
1223         ],
1224     },
1225
1226     'Time::Piece' => {
1227         'DISTRIBUTION' => 'ESAYM/Time-Piece-1.31.tar.gz',
1228         'FILES'        => q[cpan/Time-Piece],
1229     },
1230
1231     'Unicode::Collate' => {
1232         'DISTRIBUTION' => 'SADAHIRO/Unicode-Collate-1.14.tar.gz',
1233         'FILES'        => q[cpan/Unicode-Collate],
1234         'EXCLUDED'     => [
1235             qr{N$},
1236             qr{^data/},
1237             qr{^gendata/},
1238             qw( disableXS
1239                 enableXS
1240                 mklocale
1241                 ),
1242         ],
1243     },
1244
1245     'Unicode::Normalize' => {
1246         'DISTRIBUTION' => 'KHW/Unicode-Normalize-1.25.tar.gz',
1247         'FILES'        => q[cpan/Unicode-Normalize],
1248         'EXCLUDED'     => [
1249             qw( MANIFEST.N
1250                 Normalize.pmN
1251                 disableXS
1252                 enableXS
1253                 ),
1254         ],
1255     },
1256
1257     'version' => {
1258         'DISTRIBUTION' => 'JPEACOCK/version-0.9916.tar.gz',
1259         'FILES'        => q[cpan/version vutil.c vutil.h vxs.inc],
1260         'EXCLUDED' => [
1261             qr{^vutil/lib/},
1262             'vutil/Makefile.PL',
1263             'vutil/ppport.h',
1264             'vutil/vxs.xs',
1265             't/00impl-pp.t',
1266             't/survey_locales',
1267             'lib/version/vpp.pm',
1268         ],
1269
1270         # When adding the CPAN-distributed files for version.pm, it is necessary
1271         # to delete an entire block out of lib/version.pm, since that code is
1272         # only necessary with the CPAN release.
1273         'CUSTOMIZED'   => [
1274             qw( lib/version.pm
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.52.tar.gz",
1296         'FILES'        => q[cpan/Win32],
1297     },
1298
1299     'Win32API::File' => {
1300         'DISTRIBUTION' => 'CHORNY/Win32API-File-0.1203.tar.gz',
1301         'FILES'        => q[cpan/Win32API-File],
1302         'EXCLUDED'     => [
1303             qr{^ex/},
1304         ],
1305     },
1306
1307     'XSLoader' => {
1308         'DISTRIBUTION' => 'SAPER/XSLoader-0.16.tar.gz',
1309         'FILES'        => q[dist/XSLoader],
1310         'EXCLUDED'     => [
1311             qr{^eg/},
1312             qw( t/00-load.t
1313                 t/01-api.t
1314                 t/distchk.t
1315                 t/pod.t
1316                 t/podcover.t
1317                 t/portfs.t
1318                 ),
1319             'XSLoader.pm',    # we use XSLoader_pm.PL
1320         ],
1321     },
1322
1323     # this pseudo-module represents all the files under ext/ and lib/
1324     # that aren't otherwise claimed. This means that the following two
1325     # commands will check that every file under ext/ and lib/ is
1326     # accounted for, and that there are no duplicates:
1327     #
1328     #    perl Porting/Maintainers --checkmani lib ext
1329     #    perl Porting/Maintainers --checkmani
1330
1331     '_PERLLIB' => {
1332         'FILES'    => q[
1333                 ext/Amiga-ARexx/
1334                 ext/Amiga-Exec/
1335                 ext/B/
1336                 ext/Devel-Peek/
1337                 ext/DynaLoader/
1338                 ext/Errno/
1339                 ext/ExtUtils-Miniperl/
1340                 ext/Fcntl/
1341                 ext/File-DosGlob/
1342                 ext/File-Find/
1343                 ext/File-Glob/
1344                 ext/FileCache/
1345                 ext/GDBM_File/
1346                 ext/Hash-Util-FieldHash/
1347                 ext/Hash-Util/
1348                 ext/I18N-Langinfo/
1349                 ext/IPC-Open3/
1350                 ext/NDBM_File/
1351                 ext/ODBM_File/
1352                 ext/Opcode/
1353                 ext/POSIX/
1354                 ext/PerlIO-encoding/
1355                 ext/PerlIO-mmap/
1356                 ext/PerlIO-scalar/
1357                 ext/PerlIO-via/
1358                 ext/Pod-Functions/
1359                 ext/Pod-Html/
1360                 ext/SDBM_File/
1361                 ext/Sys-Hostname/
1362                 ext/Tie-Hash-NamedCapture/
1363                 ext/Tie-Memoize/
1364                 ext/VMS-DCLsym/
1365                 ext/VMS-Filespec/
1366                 ext/VMS-Stdio/
1367                 ext/Win32CORE/
1368                 ext/XS-APItest/
1369                 ext/XS-Typemap/
1370                 ext/arybase/
1371                 ext/attributes/
1372                 ext/mro/
1373                 ext/re/
1374                 lib/AnyDBM_File.{pm,t}
1375                 lib/Benchmark.{pm,t}
1376                 lib/B/Deparse{.pm,.t,-*.t}
1377                 lib/B/Op_private.pm
1378                 lib/CORE.pod
1379                 lib/Class/Struct.{pm,t}
1380                 lib/Config.t
1381                 lib/Config/Extensions.{pm,t}
1382                 lib/DB.{pm,t}
1383                 lib/DBM_Filter.pm
1384                 lib/DBM_Filter/
1385                 lib/DirHandle.{pm,t}
1386                 lib/English.{pm,t}
1387                 lib/ExtUtils/Embed.pm
1388                 lib/ExtUtils/XSSymSet.pm
1389                 lib/ExtUtils/t/Embed.t
1390                 lib/ExtUtils/typemap
1391                 lib/File/Basename.{pm,t}
1392                 lib/File/Compare.{pm,t}
1393                 lib/File/Copy.{pm,t}
1394                 lib/File/stat{.pm,.t,-7896.t}
1395                 lib/FileHandle.{pm,t}
1396                 lib/FindBin.{pm,t}
1397                 lib/Getopt/Std.{pm,t}
1398                 lib/Internals.t
1399                 lib/meta_notation.{pm,t}
1400                 lib/Net/hostent.{pm,t}
1401                 lib/Net/netent.{pm,t}
1402                 lib/Net/protoent.{pm,t}
1403                 lib/Net/servent.{pm,t}
1404                 lib/PerlIO.pm
1405                 lib/Pod/t/InputObjects.t
1406                 lib/Pod/t/Select.t
1407                 lib/Pod/t/Usage.t
1408                 lib/Pod/t/utils.t
1409                 lib/SelectSaver.{pm,t}
1410                 lib/Symbol.{pm,t}
1411                 lib/Thread.{pm,t}
1412                 lib/Tie/Array.pm
1413                 lib/Tie/Array/
1414                 lib/Tie/ExtraHash.t
1415                 lib/Tie/Handle.pm
1416                 lib/Tie/Handle/
1417                 lib/Tie/Hash.{pm,t}
1418                 lib/Tie/Scalar.{pm,t}
1419                 lib/Tie/StdHandle.pm
1420                 lib/Tie/SubstrHash.{pm,t}
1421                 lib/Time/gmtime.{pm,t}
1422                 lib/Time/localtime.{pm,t}
1423                 lib/Time/tm.pm
1424                 lib/UNIVERSAL.pm
1425                 lib/Unicode/README
1426                 lib/Unicode/UCD.{pm,t}
1427                 lib/User/grent.{pm,t}
1428                 lib/User/pwent.{pm,t}
1429                 lib/_charnames.pm
1430                 lib/blib.{pm,t}
1431                 lib/bytes.{pm,t}
1432                 lib/bytes_heavy.pl
1433                 lib/charnames.{pm,t}
1434                 lib/dbm_filter_util.pl
1435                 lib/deprecate.pm
1436                 lib/diagnostics.{pm,t}
1437                 lib/dumpvar.{pl,t}
1438                 lib/feature.{pm,t}
1439                 lib/feature/
1440                 lib/filetest.{pm,t}
1441                 lib/h2ph.t
1442                 lib/h2xs.t
1443                 lib/integer.{pm,t}
1444                 lib/less.{pm,t}
1445                 lib/locale.{pm,t}
1446                 lib/open.{pm,t}
1447                 lib/overload/numbers.pm
1448                 lib/overloading.{pm,t}
1449                 lib/overload{.pm,.t,64.t}
1450                 lib/perl5db.{pl,t}
1451                 lib/perl5db/
1452                 lib/perlbug.t
1453                 lib/sigtrap.{pm,t}
1454                 lib/sort.{pm,t}
1455                 lib/strict.{pm,t}
1456                 lib/subs.{pm,t}
1457                 lib/unicore/
1458                 lib/utf8.{pm,t}
1459                 lib/utf8_heavy.pl
1460                 lib/vars{.pm,.t,_carp.t}
1461                 lib/vmsish.{pm,t}
1462                 ],
1463     },
1464 );
1465
1466 # legacy CPAN flag
1467 for ( values %Modules ) {
1468     $_->{CPAN} = !!$_->{DISTRIBUTION};
1469 }
1470
1471 # legacy UPSTREAM flag
1472 for ( keys %Modules ) {
1473     # Keep any existing UPSTREAM flag so that "overrides" can be applied
1474     next if exists $Modules{$_}{UPSTREAM};
1475
1476     if ($_ eq '_PERLLIB' or $Modules{$_}{FILES} =~ m{^\s*(?:dist|ext|lib)/}) {
1477         $Modules{$_}{UPSTREAM} = 'blead';
1478     }
1479     elsif ($Modules{$_}{FILES} =~ m{^\s*cpan/}) {
1480         $Modules{$_}{UPSTREAM} = 'cpan';
1481     }
1482     else {
1483         warn "Unexpected location of FILES for module $_: $Modules{$_}{FILES}";
1484     }
1485 }
1486
1487 # legacy MAINTAINER field
1488 for ( keys %Modules ) {
1489     # Keep any existing MAINTAINER flag so that "overrides" can be applied
1490     next if exists $Modules{$_}{MAINTAINER};
1491
1492     if ($Modules{$_}{UPSTREAM} eq 'blead') {
1493         $Modules{$_}{MAINTAINER} = 'P5P';
1494         $Maintainers{P5P} = 'perl5-porters <perl5-porters@perl.org>';
1495     }
1496     elsif (exists $Modules{$_}{DISTRIBUTION}) {
1497         (my $pause_id = $Modules{$_}{DISTRIBUTION}) =~ s{/.*$}{};
1498         $Modules{$_}{MAINTAINER} = $pause_id;
1499         $Maintainers{$pause_id} = "<$pause_id\@cpan.org>";
1500     }
1501     else {
1502         warn "No DISTRIBUTION for non-blead module $_";
1503     }
1504 }
1505
1506 1;