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