deprecate: expand the documentation
[perl.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 deprecate.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.32.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         'CUSTOMIZED'   => [
160             # CPAN RT 105344
161             't/mkdir.t',
162             # smartmatch changes
163             'lib/autodie/exception.pm',
164             'lib/autodie/hints.pm',
165             't/exceptions.t',
166             't/lib/Hints_pod_examples.pm',
167             # CPAN RT#127762
168             't/recv.t',
169         ],
170     },
171
172     'AutoLoader' => {
173         'DISTRIBUTION' => 'SMUELLER/AutoLoader-5.74.tar.gz',
174         'FILES'        => q[cpan/AutoLoader],
175         'EXCLUDED'     => ['t/00pod.t'],
176     },
177
178     'autouse' => {
179         'DISTRIBUTION' => 'RJBS/autouse-1.11.tar.gz',
180         'FILES'        => q[dist/autouse],
181         'EXCLUDED'     => [qr{^t/release-.*\.t}],
182     },
183
184     'base' => {
185         'DISTRIBUTION' => 'RJBS/base-2.23.tar.gz',
186         'FILES'        => q[dist/base],
187     },
188
189     'bignum' => {
190         'DISTRIBUTION' => 'PJACKLAM/bignum-0.51.tar.gz',
191         'FILES'        => q[cpan/bignum],
192         'EXCLUDED'     => [
193             qr{^t/author-},
194             qr{^t/release-},
195             qw( t/00sig.t
196                 t/01load.t
197                 ),
198         ],
199     },
200
201     'Carp' => {
202         'DISTRIBUTION' => 'XSAWYERX/Carp-1.50.tar.gz',
203         'FILES'        => q[dist/Carp],
204     },
205
206     'Compress::Raw::Bzip2' => {
207         'DISTRIBUTION' => 'PMQS/Compress-Raw-Bzip2-2.084.tar.gz',
208         'FILES'        => q[cpan/Compress-Raw-Bzip2],
209         'EXCLUDED'     => [
210             qr{^t/Test/},
211             'bzip2-src/bzip2-const.patch',
212             'bzip2-src/bzip2-cpp.patch',
213             'bzip2-src/bzip2-unsigned.patch',
214         ],
215     },
216
217     'Compress::Raw::Zlib' => {
218         'DISTRIBUTION' => 'PMQS/Compress-Raw-Zlib-2.084.tar.gz',
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.31.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.22.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                 PAUSE2019.pub
263                 SlayMakefile
264                 t/00signature.t
265                 t/04clean_load.t
266                 t/12cpan.t
267                 t/13tarzip.t
268                 t/14forkbomb.t
269                 t/30shell.coverage
270                 t/30shell.t
271                 t/31sessions.t
272                 t/41distribution.t
273                 t/42distroprefs.t
274                 t/43distroprefspref.t
275                 t/44cpanmeta.t
276                 t/50pod.t
277                 t/51pod.t
278                 t/52podcover.t
279                 t/60credentials.t
280                 t/70_critic.t
281                 t/71_minimumversion.t
282                 t/local_utils.pm
283                 t/perlcriticrc
284                 t/yaml_code.yml
285                 ),
286         ],
287     },
288
289     # Note: When updating CPAN-Meta the META.* files will need to be regenerated
290     # perl -Icpan/CPAN-Meta/lib Porting/makemeta
291     'CPAN::Meta' => {
292         'DISTRIBUTION' => 'DAGOLDEN/CPAN-Meta-2.150010.tar.gz',
293         'FILES'        => q[cpan/CPAN-Meta],
294         'EXCLUDED'     => [
295             qw[t/00-report-prereqs.t
296                t/00-report-prereqs.dd
297               ],
298             qr{^xt},
299             qr{^history},
300         ],
301     },
302
303     'CPAN::Meta::Requirements' => {
304         'DISTRIBUTION' => 'DAGOLDEN/CPAN-Meta-Requirements-2.140.tar.gz',
305         'FILES'        => q[cpan/CPAN-Meta-Requirements],
306         'EXCLUDED'     => [
307             qw(t/00-report-prereqs.t),
308             qw(t/00-report-prereqs.dd),
309             qw(t/version-cleanup.t),
310             qr{^xt},
311         ],
312     },
313
314     'CPAN::Meta::YAML' => {
315         'DISTRIBUTION' => 'DAGOLDEN/CPAN-Meta-YAML-0.018.tar.gz',
316         'FILES'        => q[cpan/CPAN-Meta-YAML],
317         'EXCLUDED'     => [
318             't/00-report-prereqs.t',
319             't/00-report-prereqs.dd',
320             qr{^xt},
321         ],
322     },
323
324     'Data::Dumper' => {
325         'DISTRIBUTION' => 'XSAWYERX/Data-Dumper-2.173.tar.gz',
326         'FILES'        => q[dist/Data-Dumper],
327     },
328
329     'DB_File' => {
330         'DISTRIBUTION' => 'PMQS/DB_File-1.843.tar.gz',
331         'FILES'        => q[cpan/DB_File],
332         'EXCLUDED'     => [
333             qr{^patches/},
334             qw( t/pod.t
335                 fallback.h
336                 fallback.xs
337                 ),
338         ],
339     },
340
341     'Devel::PPPort' => {
342         'DISTRIBUTION' => 'XSAWYERX/Devel-PPPort-3.43.tar.gz',
343         'FILES'        => q[dist/Devel-PPPort],
344         'EXCLUDED'     => [
345             'PPPort.pm',    # we use PPPort_pm.PL instead
346         ],
347     },
348
349     'Devel::SelfStubber' => {
350         'DISTRIBUTION' => 'FLORA/Devel-SelfStubber-1.05.tar.gz',
351         'FILES'        => q[dist/Devel-SelfStubber],
352         'EXCLUDED'     => [qr{^t/release-.*\.t}],
353     },
354
355     'Digest' => {
356         'DISTRIBUTION' => 'GAAS/Digest-1.17.tar.gz',
357         'FILES'        => q[cpan/Digest],
358         'EXCLUDED'     => ['digest-bench'],
359         'CUSTOMIZED'   => [
360             # CVE-2016-1238
361             qw( Digest.pm )
362         ],
363     },
364
365     'Digest::MD5' => {
366         'DISTRIBUTION' => 'GAAS/Digest-MD5-2.55.tar.gz',
367         'FILES'        => q[cpan/Digest-MD5],
368         'EXCLUDED'     => ['rfc1321.txt'],
369     },
370
371     'Digest::SHA' => {
372         'DISTRIBUTION' => 'MSHELOR/Digest-SHA-6.02.tar.gz',
373         'FILES'        => q[cpan/Digest-SHA],
374         'EXCLUDED'     => [
375             qw( t/pod.t
376                 t/podcover.t
377                 examples/dups
378                 ),
379         ],
380     },
381
382     'Dumpvalue' => {
383         'DISTRIBUTION' => 'FLORA/Dumpvalue-1.17.tar.gz',
384         'FILES'        => q[dist/Dumpvalue],
385         'EXCLUDED'     => [qr{^t/release-.*\.t}],
386     },
387
388     'Encode' => {
389         'DISTRIBUTION' => 'DANKOGAI/Encode-3.00.tar.gz',
390         'FILES'        => q[cpan/Encode],
391     },
392
393     'encoding::warnings' => {
394         'DISTRIBUTION' => 'AUDREYT/encoding-warnings-0.11.tar.gz',
395         'FILES'        => q[dist/encoding-warnings],
396         'EXCLUDED'     => [
397             qr{^inc/Module/},
398             qw(t/0-signature.t),
399         ],
400     },
401
402     'Env' => {
403         'DISTRIBUTION' => 'FLORA/Env-1.04.tar.gz',
404         'FILES'        => q[dist/Env],
405         'EXCLUDED'     => [qr{^t/release-.*\.t}],
406     },
407
408     'experimental' => {
409         'DISTRIBUTION' => 'LEONT/experimental-0.020.tar.gz',
410         'FILES'        => q[cpan/experimental],
411         'EXCLUDED'     => [qr{^xt/}],
412         'CUSTOMIZED'   => [
413             # smartmatch changes
414             't/basic.t',
415         ],
416     },
417
418     'Exporter' => {
419         'DISTRIBUTION' => 'TODDR/Exporter-5.73.tar.gz',
420         'FILES'        => q[dist/Exporter],
421         'EXCLUDED' => [
422             qw( t/pod.t
423                 t/use.t
424                 ),
425         ],
426     },
427
428     'ExtUtils::CBuilder' => {
429         'DISTRIBUTION' => 'AMBS/ExtUtils-CBuilder-0.280230.tar.gz',
430         'FILES'        => q[dist/ExtUtils-CBuilder],
431         'EXCLUDED'     => [
432             qw(README.mkdn),
433             qr{^xt},
434         ],
435     },
436
437     'ExtUtils::Constant' => {
438
439         'DISTRIBUTION' => 'NWCLARK/ExtUtils-Constant-0.25.tar.gz',
440         'FILES'    => q[cpan/ExtUtils-Constant],
441         'EXCLUDED' => [
442             qw( lib/ExtUtils/Constant/Aaargh56Hash.pm
443                 examples/perl_keyword.pl
444                 examples/perl_regcomp_posix_keyword.pl
445                 ),
446         ],
447     },
448
449     'ExtUtils::Install' => {
450         'DISTRIBUTION' => 'BINGOS/ExtUtils-Install-2.14.tar.gz',
451         'FILES'        => q[cpan/ExtUtils-Install],
452         'EXCLUDED'     => [
453             qw( t/lib/Test/Builder.pm
454                 t/lib/Test/Builder/Module.pm
455                 t/lib/Test/More.pm
456                 t/lib/Test/Simple.pm
457                 t/pod-coverage.t
458                 t/pod.t
459                 ),
460         ],
461     },
462
463     'ExtUtils::MakeMaker' => {
464         'DISTRIBUTION' => 'BINGOS/ExtUtils-MakeMaker-7.34.tar.gz',
465         'FILES'        => q[cpan/ExtUtils-MakeMaker],
466         'EXCLUDED'     => [
467             qr{^t/lib/Test/},
468             qr{^(bundled|my)/},
469             qr{^t/Liblist_Kid.t},
470             qr{^t/liblist/},
471             qr{^\.perlcriticrc},
472             'PATCHING',
473             'README.packaging',
474             'lib/ExtUtils/MakeMaker/version/vpp.pm',
475         ],
476     },
477
478     'ExtUtils::Manifest' => {
479         'DISTRIBUTION' => 'BINGOS/ExtUtils-Manifest-1.71.tar.gz',
480         'FILES'        => q[cpan/ExtUtils-Manifest],
481         'EXCLUDED'     => [
482             qr(^t/00-report-prereqs),
483             qr(^xt/)
484         ],
485     },
486
487     'ExtUtils::ParseXS' => {
488         'DISTRIBUTION' => 'SMUELLER/ExtUtils-ParseXS-3.35.tar.gz',
489         'FILES'        => q[dist/ExtUtils-ParseXS],
490     },
491
492     'File::Fetch' => {
493         'DISTRIBUTION' => 'BINGOS/File-Fetch-0.56.tar.gz',
494         'FILES'        => q[cpan/File-Fetch],
495     },
496
497     'File::Path' => {
498         'DISTRIBUTION' => 'JKEENAN/File-Path-2.16.tar.gz',
499         'FILES'        => q[cpan/File-Path],
500         'EXCLUDED'     => [
501             qw(t/Path-Class.t),
502             qr{^xt/},
503         ],
504     },
505
506     'File::Temp' => {
507         'DISTRIBUTION' => 'ETHER/File-Temp-0.2309.tar.gz',
508         'FILES'        => q[cpan/File-Temp],
509         'EXCLUDED'     => [
510             qw( README.mkdn
511                 misc/benchmark.pl
512                 misc/results.txt
513                 ),
514             qr[^t/00-report-prereqs],
515             qr{^xt},
516         ],
517     },
518
519     'Filter::Simple' => {
520         'DISTRIBUTION' => 'SMUELLER/Filter-Simple-0.94.tar.gz',
521         'FILES'        => q[dist/Filter-Simple],
522         'EXCLUDED'     => [
523             qr{^demo/}
524         ],
525     },
526
527     'Filter::Util::Call' => {
528         'DISTRIBUTION' => 'RURBAN/Filter-1.59.tar.gz',
529         'FILES'        => q[cpan/Filter-Util-Call
530                  pod/perlfilter.pod
531                 ],
532         'EXCLUDED' => [
533             qr{^decrypt/},
534             qr{^examples/},
535             qr{^Exec/},
536             qr{^lib/Filter/},
537             qr{^tee/},
538             qw( .appveyor.yml
539                 Call/Makefile.PL
540                 Call/ppport.h
541                 Call/typemap
542                 mytest
543                 t/cpp.t
544                 t/decrypt.t
545                 t/exec.t
546                 t/m4.t
547                 t/order.t
548                 t/sh.t
549                 t/tee.t
550                 t/z_kwalitee.t
551                 t/z_manifest.t
552                 t/z_meta.t
553                 t/z_perl_minimum_version.t
554                 t/z_pod-coverage.t
555                 t/z_pod.t
556                 ),
557         ],
558         'MAP' => {
559             'Call/'            => 'cpan/Filter-Util-Call/',
560             't/filter-util.pl' => 'cpan/Filter-Util-Call/filter-util.pl',
561             'perlfilter.pod'   => 'pod/perlfilter.pod',
562             ''                 => 'cpan/Filter-Util-Call/',
563         },
564     },
565
566     'Getopt::Long' => {
567         'DISTRIBUTION' => 'JV/Getopt-Long-2.50.tar.gz',
568         'FILES'        => q[cpan/Getopt-Long],
569         'EXCLUDED'     => [
570             qr{^examples/},
571             qw( perl-Getopt-Long.spec
572                 lib/newgetopt.pl
573                 t/gol-compat.t
574                 ),
575         ],
576     },
577
578     'HTTP::Tiny' => {
579         'DISTRIBUTION' => 'DAGOLDEN/HTTP-Tiny-0.076.tar.gz',
580         'FILES'        => q[cpan/HTTP-Tiny],
581         'EXCLUDED'     => [
582             't/00-report-prereqs.t',
583             't/00-report-prereqs.dd',
584             't/200_live.t',
585             't/200_live_local_ip.t',
586             't/210_live_ssl.t',
587             qr/^eg/,
588             qr/^xt/
589         ],
590     },
591
592     'I18N::Collate' => {
593         'DISTRIBUTION' => 'FLORA/I18N-Collate-1.02.tar.gz',
594         'FILES'        => q[dist/I18N-Collate],
595         'EXCLUDED'     => [qr{^t/release-.*\.t}],
596     },
597
598     'I18N::LangTags' => {
599         'FILES'        => q[dist/I18N-LangTags],
600     },
601
602     'if' => {
603         'DISTRIBUTION' => 'XSAWYERX/if-0.0608.tar.gz',
604         'FILES'        => q[dist/if],
605     },
606
607     'IO' => {
608         'DISTRIBUTION' => 'TODDR/IO-1.39.tar.gz',
609         'FILES'        => q[dist/IO/],
610         'EXCLUDED'     => ['t/test.pl'],
611     },
612
613     'IO-Compress' => {
614         'DISTRIBUTION' => 'PMQS/IO-Compress-2.084.tar.gz',
615         'FILES'        => q[cpan/IO-Compress],
616         'EXCLUDED'     => [
617             qr{^examples/},
618             qr{^t/Test/},
619             't/010examples-bzip2.t',
620             't/010examples-zlib.t',
621             't/cz-05examples.t',
622         ],
623     },
624
625     'IO::Socket::IP' => {
626         'DISTRIBUTION' => 'PEVANS/IO-Socket-IP-0.39.tar.gz',
627         'FILES'        => q[cpan/IO-Socket-IP],
628         'EXCLUDED'     => [
629             qr{^examples/},
630         ],
631     },
632
633     'IO::Zlib' => {
634         'DISTRIBUTION' => 'TOMHUGHES/IO-Zlib-1.10.tar.gz',
635         'FILES'        => q[cpan/IO-Zlib],
636     },
637
638     'IPC::Cmd' => {
639         'DISTRIBUTION' => 'BINGOS/IPC-Cmd-1.02.tar.gz',
640         'FILES'        => q[cpan/IPC-Cmd],
641     },
642
643     'IPC::SysV' => {
644         'DISTRIBUTION' => 'MHX/IPC-SysV-2.07.tar.gz',
645         'FILES'        => q[cpan/IPC-SysV],
646         'EXCLUDED'     => [
647             qw( const-c.inc
648                 const-xs.inc
649                 ),
650         ],
651     },
652
653     'JSON::PP' => {
654         'DISTRIBUTION' => 'ISHIGAKI/JSON-PP-4.00.tar.gz',
655         'FILES'        => q[cpan/JSON-PP],
656     },
657
658     'lib' => {
659         'DISTRIBUTION' => 'SMUELLER/lib-0.63.tar.gz',
660         'FILES'        => q[dist/lib/],
661         'EXCLUDED'     => [
662             qw( forPAUSE/lib.pm
663                 t/00pod.t
664                 ),
665         ],
666     },
667
668     'libnet' => {
669         'DISTRIBUTION' => 'SHAY/libnet-3.11.tar.gz',
670         'FILES'        => q[cpan/libnet],
671         'EXCLUDED'     => [
672             qw( Configure
673                 t/changes.t
674                 t/critic.t
675                 t/pod.t
676                 t/pod_coverage.t
677                 ),
678             qr(^demos/),
679             qr(^t/external/),
680         ],
681     },
682
683     'Locale::Maketext' => {
684         'DISTRIBUTION' => 'TODDR/Locale-Maketext-1.28.tar.gz',
685         'FILES'        => q[dist/Locale-Maketext],
686         'EXCLUDED'     => [
687             qw(
688                 perlcriticrc
689                 t/00_load.t
690                 t/pod.t
691                 ),
692         ],
693     },
694
695     'Locale::Maketext::Simple' => {
696         'DISTRIBUTION' => 'JESSE/Locale-Maketext-Simple-0.21.tar.gz',
697         'FILES'        => q[cpan/Locale-Maketext-Simple],
698         'CUSTOMIZED'   => [
699             # CVE-2016-1238
700             qw( lib/Locale/Maketext/Simple.pm )
701         ],
702     },
703
704     'Math::BigInt' => {
705         'DISTRIBUTION' => 'PJACKLAM/Math-BigInt-1.999816.tar.gz',
706         'FILES'        => q[cpan/Math-BigInt],
707         'EXCLUDED'     => [
708             qr{^examples/},
709             qr{^t/author-},
710             qr{^t/release-},
711             qw( t/00sig.t
712                 t/01load.t
713                 ),
714         ],
715     },
716
717     'Math::BigInt::FastCalc' => {
718         'DISTRIBUTION' => 'PJACKLAM/Math-BigInt-FastCalc-0.5008.tar.gz',
719         'FILES'        => q[cpan/Math-BigInt-FastCalc],
720         'EXCLUDED'     => [
721             qr{^t/author-},
722             qr{^t/release-},
723             qr{^t/Math/BigInt/Lib/TestUtil.pm},
724             qw( t/00sig.t
725                 t/01load.t
726                 ),
727
728             # instead we use the versions of these test
729             # files that come with Math::BigInt:
730             qw( t/bigfltpm.inc
731                 t/bigfltpm.t
732                 t/bigintpm.inc
733                 t/bigintpm.t
734                 t/mbimbf.inc
735                 t/mbimbf.t
736                 ),
737         ],
738     },
739
740     'Math::BigRat' => {
741         'DISTRIBUTION' => 'PJACKLAM/Math-BigRat-0.2614.tar.gz',
742         'FILES'        => q[cpan/Math-BigRat],
743         'EXCLUDED'     => [
744             qr{^t/author-},
745             qr{^t/release-},
746             qw( t/00sig.t
747                 t/01load.t
748                 ),
749         ],
750     },
751
752     'Math::Complex' => {
753         'DISTRIBUTION' => 'ZEFRAM/Math-Complex-1.59.tar.gz',
754         'FILES'        => q[cpan/Math-Complex],
755         'CUSTOMIZED'   => [
756             'lib/Math/Complex.pm', # CPAN RT 118467
757             't/Complex.t',         # CPAN RT 118467
758             't/Trig.t',            # CPAN RT 118467
759         ],
760         'EXCLUDED'     => [
761             qw( t/pod.t
762                 t/pod-coverage.t
763                 ),
764         ],
765     },
766
767     'Memoize' => {
768         'DISTRIBUTION' => 'MJD/Memoize-1.03.tgz',
769         'FILES'        => q[cpan/Memoize],
770         'EXCLUDED'     => ['article.html'],
771         'CUSTOMIZED'   => [
772             # CVE-2016-1238
773             qw( Memoize.pm )
774         ],
775     },
776
777     'MIME::Base64' => {
778         'DISTRIBUTION' => 'GAAS/MIME-Base64-3.15.tar.gz',
779         'FILES'        => q[cpan/MIME-Base64],
780         'EXCLUDED'     => ['t/bad-sv.t'],
781     },
782
783     'Module::CoreList' => {
784         'DISTRIBUTION' => 'BINGOS/Module-CoreList-5.20190120.tar.gz',
785         'FILES'        => q[dist/Module-CoreList],
786     },
787
788     'Module::Load' => {
789         'DISTRIBUTION' => 'BINGOS/Module-Load-0.34.tar.gz',
790         'FILES'        => q[cpan/Module-Load],
791     },
792
793     'Module::Load::Conditional' => {
794         'DISTRIBUTION' => 'BINGOS/Module-Load-Conditional-0.68.tar.gz',
795         'FILES'        => q[cpan/Module-Load-Conditional],
796     },
797
798     'Module::Loaded' => {
799         'DISTRIBUTION' => 'BINGOS/Module-Loaded-0.08.tar.gz',
800         'FILES'        => q[cpan/Module-Loaded],
801     },
802
803     'Module::Metadata' => {
804         'DISTRIBUTION' => 'ETHER/Module-Metadata-1.000033.tar.gz',
805         'FILES'        => q[cpan/Module-Metadata],
806         'EXCLUDED'     => [
807             qw(t/00-report-prereqs.t),
808             qw(t/00-report-prereqs.dd),
809             qr{weaver.ini},
810             qr{^xt},
811         ],
812     },
813
814     'Net::Ping' => {
815         'DISTRIBUTION' => 'RURBAN/Net-Ping-2.71.tar.gz',
816         'FILES'        => q[dist/Net-Ping],
817         'EXCLUDED'     => [
818             qw(README.md.PL),
819             qw(t/020_external.t),
820             qw(t/600_pod.t),
821             qw(t/601_pod-coverage.t),
822         ],
823         'CUSTOMIZED'   => [
824             qw(
825                 lib/Net/Ping.pm
826                 t/000_load.t
827                 t/500_ping_icmp.t
828                 t/501_ping_icmpv6.t
829                 ),
830         ],
831
832     },
833
834     'NEXT' => {
835         'DISTRIBUTION' => 'NEILB/NEXT-0.67.tar.gz',
836         'FILES'        => q[cpan/NEXT],
837         'EXCLUDED'     => [qr{^demo/}],
838         'CUSTOMIZED'   => [ qw(lib/NEXT.pm t/next.t) ],
839     },
840
841     'Params::Check' => {
842         'DISTRIBUTION' => 'BINGOS/Params-Check-0.38.tar.gz',
843         'FILES'        => q[cpan/Params-Check],
844     },
845
846     'parent' => {
847         'DISTRIBUTION' => 'CORION/parent-0.237.tar.gz',
848         'FILES'        => q[cpan/parent],
849         'EXCLUDED'     => [
850             qr{^xt}
851         ],
852     },
853
854     'PathTools' => {
855         'DISTRIBUTION' => 'XSAWYERX/PathTools-3.75.tar.gz',
856         'FILES'        => q[dist/PathTools],
857         'EXCLUDED'     => [
858             qr{^t/lib/Test/},
859             qw( t/rel2abs_vs_symlink.t),
860         ],
861     },
862
863     'Perl::OSType' => {
864         'DISTRIBUTION' => 'DAGOLDEN/Perl-OSType-1.010.tar.gz',
865         'FILES'        => q[cpan/Perl-OSType],
866         'EXCLUDED'     => [qw(tidyall.ini), qr/^xt/, qr{^t/00-}],
867     },
868
869     'perlfaq' => {
870         'DISTRIBUTION' => 'ETHER/perlfaq-5.20190126.tar.gz',
871         'FILES'        => q[cpan/perlfaq],
872         'EXCLUDED'     => [ qr/^inc/, qr/^xt/, qr{^t/00-} ],
873     },
874
875     'PerlIO::via::QuotedPrint' => {
876         'DISTRIBUTION' => 'SHAY/PerlIO-via-QuotedPrint-0.08.tar.gz',
877         'FILES'        => q[cpan/PerlIO-via-QuotedPrint],
878     },
879
880     'Pod::Checker' => {
881         'DISTRIBUTION' => 'MAREKR/Pod-Checker-1.73.tar.gz',
882         'FILES'        => q[cpan/Pod-Checker],
883         'CUSTOMIZED'   => [ qw[
884             t/pod/contains_bad_pod.xr
885             t/pod/selfcheck.t
886             t/pod/testcmp.pl
887             t/pod/testpchk.pl
888         ] ],
889     },
890
891     'Pod::Escapes' => {
892         'DISTRIBUTION' => 'NEILB/Pod-Escapes-1.07.tar.gz',
893         'FILES'        => q[cpan/Pod-Escapes],
894     },
895
896     'Pod::Parser' => {
897         'DISTRIBUTION' => 'MAREKR/Pod-Parser-1.63.tar.gz',
898         'FILES'        => q[cpan/Pod-Parser],
899     },
900
901     'Pod::Perldoc' => {
902         'DISTRIBUTION' => 'MALLEN/Pod-Perldoc-3.28.tar.gz',
903         'FILES'        => q[cpan/Pod-Perldoc],
904
905         # Note that we use the CPAN-provided Makefile.PL, since it
906         # contains special handling of the installation of perldoc.pod
907
908         'EXCLUDED' => [
909             # In blead, the perldoc executable is generated by perldoc.PL
910             # instead
911             # XXX We can and should fix this, but clean up the DRY-failure in
912             # utils first
913             'perldoc',
914
915             # https://rt.cpan.org/Ticket/Display.html?id=116827
916             't/02_module_pod_output.t'
917         ],
918
919         'CUSTOMIZED'   => [
920             # [rt.cpan.org #88204], [rt.cpan.org #120229]
921             'lib/Pod/Perldoc.pm',
922         ],
923     },
924
925     'Pod::Simple' => {
926         'DISTRIBUTION' => 'KHW/Pod-Simple-3.35.tar.gz',
927         'FILES'        => q[cpan/Pod-Simple],
928     },
929
930     'Pod::Usage' => {
931         'DISTRIBUTION' => 'MAREKR/Pod-Usage-1.69.tar.gz',
932         'FILES'        => q[cpan/Pod-Usage],
933     },
934
935     'podlators' => {
936         'DISTRIBUTION' => 'RRA/podlators-4.11.tar.gz',
937         'FILES'        => q[cpan/podlators pod/perlpodstyle.pod],
938         'EXCLUDED'     => [
939             qr{^docs/metadata/},
940         ],
941
942         'MAP' => {
943             ''                 => 'cpan/podlators/',
944             # this file lives outside the cpan/ directory
945             'pod/perlpodstyle.pod' => 'pod/perlpodstyle.pod',
946         },
947     },
948
949     'Safe' => {
950         'DISTRIBUTION' => 'RGARCIA/Safe-2.35.tar.gz',
951         'FILES'        => q[dist/Safe],
952     },
953
954     'Scalar::Util' => {
955         'DISTRIBUTION' => 'PEVANS/Scalar-List-Utils-1.50.tar.gz',
956         'FILES'        => q[cpan/Scalar-List-Utils],
957     },
958
959     'Search::Dict' => {
960         'DISTRIBUTION' => 'DAGOLDEN/Search-Dict-1.07.tar.gz',
961         'FILES'        => q[dist/Search-Dict],
962     },
963
964     'SelfLoader' => {
965         'DISTRIBUTION' => 'SMUELLER/SelfLoader-1.24.tar.gz',
966         'FILES'        => q[dist/SelfLoader],
967         'EXCLUDED'     => ['t/00pod.t'],
968     },
969
970     'Socket' => {
971         'DISTRIBUTION' => 'PEVANS/Socket-2.027.tar.gz',
972         'FILES'        => q[cpan/Socket],
973     },
974
975     'Storable' => {
976         'DISTRIBUTION' => 'XSAWYERX/Storable-3.11.tar.gz',
977         'FILES'        => q[dist/Storable],
978         'EXCLUDED'     => [
979             qr{^t/compat/},
980         ],
981     },
982
983     'Sys::Syslog' => {
984         'DISTRIBUTION' => 'SAPER/Sys-Syslog-0.35.tar.gz',
985         'FILES'        => q[cpan/Sys-Syslog],
986         'EXCLUDED'     => [
987             qr{^eg/},
988             qw( README.win32
989                 t/data-validation.t
990                 t/distchk.t
991                 t/pod.t
992                 t/podcover.t
993                 t/podspell.t
994                 t/portfs.t
995                 win32/PerlLog.RES
996                 ),
997         ],
998     },
999
1000     'Term::ANSIColor' => {
1001         'DISTRIBUTION' => 'RRA/Term-ANSIColor-4.06.tar.gz',
1002         'FILES'        => q[cpan/Term-ANSIColor],
1003         'EXCLUDED'     => [
1004             qr{^docs/},
1005             qr{^examples/},
1006             qr{^t/data/},
1007             qr{^t/docs/},
1008             qr{^t/style/},
1009             qw( t/module/aliases-env.t ),
1010         ],
1011     },
1012
1013     'Term::Cap' => {
1014         'DISTRIBUTION' => 'JSTOWE/Term-Cap-1.17.tar.gz',
1015         'FILES'        => q[cpan/Term-Cap],
1016     },
1017
1018     'Term::Complete' => {
1019         'DISTRIBUTION' => 'FLORA/Term-Complete-1.402.tar.gz',
1020         'FILES'        => q[dist/Term-Complete],
1021         'EXCLUDED'     => [qr{^t/release-.*\.t}],
1022     },
1023
1024     'Term::ReadLine' => {
1025         'DISTRIBUTION' => 'FLORA/Term-ReadLine-1.14.tar.gz',
1026         'FILES'        => q[dist/Term-ReadLine],
1027         'EXCLUDED'     => [qr{^t/release-.*\.t}],
1028     },
1029
1030     'Test' => {
1031         'DISTRIBUTION' => 'JESSE/Test-1.26.tar.gz',
1032         'FILES'        => q[dist/Test],
1033     },
1034
1035     'Test::Harness' => {
1036         'DISTRIBUTION' => 'LEONT/Test-Harness-3.42.tar.gz',
1037         'FILES'        => q[cpan/Test-Harness],
1038         'EXCLUDED'     => [
1039             qr{^examples/},
1040             qr{^xt/},
1041             qw( Changes-2.64
1042                 MANIFEST.CUMMULATIVE
1043                 HACKING.pod
1044                 perlcriticrc
1045                 t/000-load.t
1046                 t/lib/if.pm
1047                 ),
1048         ],
1049     },
1050
1051     'Test::Simple' => {
1052         'DISTRIBUTION' => 'EXODIST/Test-Simple-1.302162.tar.gz',
1053         'FILES'        => q[cpan/Test-Simple],
1054         'EXCLUDED'     => [
1055             qr{^examples/},
1056             qr{^xt/},
1057             qw( appveyor.yml
1058                 t/00compile.t
1059                 t/00-report.t
1060                 t/zzz-check-breaks.t
1061                 ),
1062         ],
1063     },
1064
1065     'Text::Abbrev' => {
1066         'DISTRIBUTION' => 'FLORA/Text-Abbrev-1.02.tar.gz',
1067         'FILES'        => q[dist/Text-Abbrev],
1068         'EXCLUDED'     => [qr{^t/release-.*\.t}],
1069     },
1070
1071     'Text::Balanced' => {
1072         'DISTRIBUTION' => 'SHAY/Text-Balanced-2.03.tar.gz',
1073         'FILES'        => q[cpan/Text-Balanced],
1074         'EXCLUDED'     => [
1075             qw( t/97_meta.t
1076                 t/98_pod.t
1077                 t/99_pmv.t
1078                 ),
1079         ],
1080     },
1081
1082     'Text::ParseWords' => {
1083         'DISTRIBUTION' => 'CHORNY/Text-ParseWords-3.30.tar.gz',
1084         'FILES'        => q[cpan/Text-ParseWords],
1085     },
1086
1087     'Text-Tabs+Wrap' => {
1088         'DISTRIBUTION' => 'MUIR/modules/Text-Tabs+Wrap-2013.0523.tar.gz',
1089         'FILES'        => q[cpan/Text-Tabs],
1090         'EXCLUDED'   => [
1091             qr/^lib\.old/,
1092             't/dnsparks.t',    # see af6492bf9e
1093         ],
1094         'MAP'          => {
1095             ''                        => 'cpan/Text-Tabs/',
1096             'lib.modern/Text/Tabs.pm' => 'cpan/Text-Tabs/lib/Text/Tabs.pm',
1097             'lib.modern/Text/Wrap.pm' => 'cpan/Text-Tabs/lib/Text/Wrap.pm',
1098         },
1099     },
1100
1101     # Jerry Hedden does take patches that are applied to blead first, even
1102     # though that can be hard to discern from the Git history; so it's
1103     # correct for this (and Thread::Semaphore, threads, and threads::shared)
1104     # to be under dist/ rather than cpan/
1105     'Thread::Queue' => {
1106         'DISTRIBUTION' => 'JDHEDDEN/Thread-Queue-3.13.tar.gz',
1107         'FILES'        => q[dist/Thread-Queue],
1108         'EXCLUDED'     => [
1109             qr{^examples/},
1110             qw( t/00_load.t
1111                 t/99_pod.t
1112                 t/test.pl
1113                 ),
1114         ],
1115     },
1116
1117     'Thread::Semaphore' => {
1118         'DISTRIBUTION' => 'JDHEDDEN/Thread-Semaphore-2.13.tar.gz',
1119         'FILES'        => q[dist/Thread-Semaphore],
1120         'EXCLUDED'     => [
1121             qw( examples/semaphore.pl
1122                 t/00_load.t
1123                 t/99_pod.t
1124                 t/test.pl
1125                 ),
1126         ],
1127     },
1128
1129     'threads' => {
1130         'DISTRIBUTION' => 'JDHEDDEN/threads-2.21.tar.gz',
1131         'FILES'        => q[dist/threads],
1132         'EXCLUDED'     => [
1133             qr{^examples/},
1134             qw( t/pod.t
1135                 t/test.pl
1136                 threads.h
1137                 ),
1138         ],
1139     },
1140
1141     'threads::shared' => {
1142         'DISTRIBUTION' => 'JDHEDDEN/threads-shared-1.59.tar.gz',
1143         'FILES'        => q[dist/threads-shared],
1144         'EXCLUDED'     => [
1145             qw( examples/class.pl
1146                 shared.h
1147                 t/pod.t
1148                 t/test.pl
1149                 ),
1150         ],
1151     },
1152
1153     'Tie::File' => {
1154         'DISTRIBUTION' => 'TODDR/Tie-File-1.00.tar.gz',
1155         'FILES'        => q[dist/Tie-File],
1156     },
1157
1158     'Tie::RefHash' => {
1159         'DISTRIBUTION' => 'FLORA/Tie-RefHash-1.39.tar.gz',
1160         'FILES'        => q[cpan/Tie-RefHash],
1161     },
1162
1163     'Time::HiRes' => {
1164         'DISTRIBUTION' => 'JHI/Time-HiRes-1.9759.tar.gz',
1165         'FILES'        => q[dist/Time-HiRes],
1166     },
1167
1168     'Time::Local' => {
1169         'DISTRIBUTION' => 'DROLSKY/Time-Local-1.28.tar.gz',
1170         'FILES'        => q[cpan/Time-Local],
1171         'EXCLUDED'     => [
1172             qr{^xt/},
1173             qw( appveyor.yml
1174                 perlcriticrc
1175                 perltidyrc
1176                 tidyall.ini
1177                 t/00-report-prereqs.t
1178                 t/00-report-prereqs.dd
1179                 ),
1180         ],
1181     },
1182
1183     'Time::Piece' => {
1184         'DISTRIBUTION' => 'ESAYM/Time-Piece-1.33.tar.gz',
1185         'FILES'        => q[cpan/Time-Piece],
1186         'EXCLUDED'     => [ qw[reverse_deps.txt] ],
1187     },
1188
1189     'Unicode::Collate' => {
1190         'DISTRIBUTION' => 'SADAHIRO/Unicode-Collate-1.27.tar.gz',
1191         'FILES'        => q[cpan/Unicode-Collate],
1192         'EXCLUDED'     => [
1193             qr{N$},
1194             qr{^data/},
1195             qr{^gendata/},
1196             qw( disableXS
1197                 enableXS
1198                 mklocale
1199                 ),
1200         ],
1201     },
1202
1203     'Unicode::Normalize' => {
1204         'DISTRIBUTION' => 'KHW/Unicode-Normalize-1.26.tar.gz',
1205         'FILES'        => q[dist/Unicode-Normalize],
1206         'EXCLUDED'     => [
1207             qw( MANIFEST.N
1208                 Normalize.pmN
1209                 disableXS
1210                 enableXS
1211                 ),
1212         ],
1213     },
1214
1215     'version' => {
1216         'DISTRIBUTION' => 'JPEACOCK/version-0.9924.tar.gz',
1217         'FILES'        => q[cpan/version vutil.c vutil.h vxs.inc],
1218         'EXCLUDED' => [
1219             qr{^vutil/lib/},
1220             'vutil/Makefile.PL',
1221             'vutil/ppport.h',
1222             'vutil/vxs.xs',
1223             't/00impl-pp.t',
1224             't/survey_locales',
1225             'vperl/vpp.pm',
1226         ],
1227
1228         # When adding the CPAN-distributed files for version.pm, it is necessary
1229         # to delete an entire block out of lib/version.pm, since that code is
1230         # only necessary with the CPAN release.
1231         'CUSTOMIZED'   => [
1232             qw( lib/version.pm
1233                 ),
1234         ],
1235
1236         'MAP' => {
1237             'vutil/'         => '',
1238             ''               => 'cpan/version/',
1239         },
1240     },
1241
1242     'warnings' => {
1243         'FILES'      => q[
1244                  lib/warnings
1245                  lib/warnings.{pm,t}
1246                  regen/warnings.pl
1247                  t/lib/warnings
1248         ],
1249     },
1250
1251     'Win32' => {
1252         'DISTRIBUTION' => "JDB/Win32-0.52.tar.gz",
1253         'FILES'        => q[cpan/Win32],
1254     },
1255
1256     'Win32API::File' => {
1257         'DISTRIBUTION' => 'CHORNY/Win32API-File-0.1203.tar.gz',
1258         'FILES'        => q[cpan/Win32API-File],
1259         'EXCLUDED'     => [
1260             qr{^ex/},
1261         ],
1262     },
1263
1264     'XSLoader' => {
1265         'DISTRIBUTION' => 'SAPER/XSLoader-0.24.tar.gz',
1266         'FILES'        => q[dist/XSLoader],
1267         'EXCLUDED'     => [
1268             qr{^eg/},
1269             qw( t/00-load.t
1270                 t/01-api.t
1271                 t/distchk.t
1272                 t/pod.t
1273                 t/podcover.t
1274                 t/portfs.t
1275                 ),
1276             'XSLoader.pm',    # we use XSLoader_pm.PL
1277         ],
1278     },
1279
1280     # this pseudo-module represents all the files under ext/ and lib/
1281     # that aren't otherwise claimed. This means that the following two
1282     # commands will check that every file under ext/ and lib/ is
1283     # accounted for, and that there are no duplicates:
1284     #
1285     #    perl Porting/Maintainers --checkmani lib ext
1286     #    perl Porting/Maintainers --checkmani
1287
1288     '_PERLLIB' => {
1289         'FILES'    => q[
1290                 ext/Amiga-ARexx/
1291                 ext/Amiga-Exec/
1292                 ext/B/
1293                 ext/Devel-Peek/
1294                 ext/DynaLoader/
1295                 ext/Errno/
1296                 ext/ExtUtils-Miniperl/
1297                 ext/Fcntl/
1298                 ext/File-DosGlob/
1299                 ext/File-Find/
1300                 ext/File-Glob/
1301                 ext/FileCache/
1302                 ext/GDBM_File/
1303                 ext/Hash-Util-FieldHash/
1304                 ext/Hash-Util/
1305                 ext/I18N-Langinfo/
1306                 ext/IPC-Open3/
1307                 ext/NDBM_File/
1308                 ext/ODBM_File/
1309                 ext/Opcode/
1310                 ext/POSIX/
1311                 ext/PerlIO-encoding/
1312                 ext/PerlIO-mmap/
1313                 ext/PerlIO-scalar/
1314                 ext/PerlIO-via/
1315                 ext/Pod-Functions/
1316                 ext/Pod-Html/
1317                 ext/SDBM_File/
1318                 ext/Sys-Hostname/
1319                 ext/Tie-Hash-NamedCapture/
1320                 ext/Tie-Memoize/
1321                 ext/VMS-DCLsym/
1322                 ext/VMS-Filespec/
1323                 ext/VMS-Stdio/
1324                 ext/Win32CORE/
1325                 ext/XS-APItest/
1326                 ext/XS-Typemap/
1327                 ext/attributes/
1328                 ext/mro/
1329                 ext/re/
1330                 lib/AnyDBM_File.{pm,t}
1331                 lib/Benchmark.{pm,t}
1332                 lib/B/Deparse{.pm,.t,-*.t}
1333                 lib/B/Op_private.pm
1334                 lib/CORE.pod
1335                 lib/Class/Struct.{pm,t}
1336                 lib/Config.t
1337                 lib/Config/Extensions.{pm,t}
1338                 lib/DB.{pm,t}
1339                 lib/DBM_Filter.pm
1340                 lib/DBM_Filter/
1341                 lib/DirHandle.{pm,t}
1342                 lib/English.{pm,t}
1343                 lib/ExtUtils/Embed.pm
1344                 lib/ExtUtils/XSSymSet.pm
1345                 lib/ExtUtils/t/Embed.t
1346                 lib/ExtUtils/typemap
1347                 lib/File/Basename.{pm,t}
1348                 lib/File/Compare.{pm,t}
1349                 lib/File/Copy.{pm,t}
1350                 lib/File/stat{.pm,.t,-7896.t}
1351                 lib/FileHandle.{pm,t}
1352                 lib/FindBin.{pm,t}
1353                 lib/Getopt/Std.{pm,t}
1354                 lib/Internals.pod
1355                 lib/Internals.t
1356                 lib/meta_notation.{pm,t}
1357                 lib/Net/hostent.{pm,t}
1358                 lib/Net/netent.{pm,t}
1359                 lib/Net/protoent.{pm,t}
1360                 lib/Net/servent.{pm,t}
1361                 lib/PerlIO.pm
1362                 lib/Pod/t/InputObjects.t
1363                 lib/Pod/t/Select.t
1364                 lib/Pod/t/Usage.t
1365                 lib/Pod/t/utils.t
1366                 lib/SelectSaver.{pm,t}
1367                 lib/Symbol.{pm,t}
1368                 lib/Thread.{pm,t}
1369                 lib/Tie/Array.pm
1370                 lib/Tie/Array/
1371                 lib/Tie/ExtraHash.t
1372                 lib/Tie/Handle.pm
1373                 lib/Tie/Handle/
1374                 lib/Tie/Hash.{pm,t}
1375                 lib/Tie/Scalar.{pm,t}
1376                 lib/Tie/StdHandle.pm
1377                 lib/Tie/SubstrHash.{pm,t}
1378                 lib/Time/gmtime.{pm,t}
1379                 lib/Time/localtime.{pm,t}
1380                 lib/Time/tm.pm
1381                 lib/UNIVERSAL.pm
1382                 lib/Unicode/README
1383                 lib/Unicode/UCD.{pm,t}
1384                 lib/User/grent.{pm,t}
1385                 lib/User/pwent.{pm,t}
1386                 lib/_charnames.pm
1387                 lib/blib.{pm,t}
1388                 lib/bytes.{pm,t}
1389                 lib/bytes_heavy.pl
1390                 lib/charnames.{pm,t}
1391                 lib/dbm_filter_util.pl
1392                 lib/deprecate.pm
1393                 lib/diagnostics.{pm,t}
1394                 lib/dumpvar.{pl,t}
1395                 lib/feature.{pm,t}
1396                 lib/feature/
1397                 lib/filetest.{pm,t}
1398                 lib/h2ph.t
1399                 lib/h2xs.t
1400                 lib/integer.{pm,t}
1401                 lib/less.{pm,t}
1402                 lib/locale.{pm,t}
1403                 lib/locale_threads.t
1404                 lib/open.{pm,t}
1405                 lib/overload/numbers.pm
1406                 lib/overloading.{pm,t}
1407                 lib/overload{.pm,.t,64.t}
1408                 lib/perl5db.{pl,t}
1409                 lib/perl5db/
1410                 lib/perlbug.t
1411                 lib/sigtrap.{pm,t}
1412                 lib/sort.{pm,t}
1413                 lib/strict.{pm,t}
1414                 lib/subs.{pm,t}
1415                 lib/unicore/
1416                 lib/utf8.{pm,t}
1417                 lib/utf8_heavy.pl
1418                 lib/vars{.pm,.t,_carp.t}
1419                 lib/vmsish.{pm,t}
1420                 ],
1421     },
1422 );
1423
1424 # legacy CPAN flag
1425 for ( values %Modules ) {
1426     $_->{CPAN} = !!$_->{DISTRIBUTION};
1427 }
1428
1429 # legacy UPSTREAM flag
1430 for ( keys %Modules ) {
1431     # Keep any existing UPSTREAM flag so that "overrides" can be applied
1432     next if exists $Modules{$_}{UPSTREAM};
1433
1434     if ($_ eq '_PERLLIB' or $Modules{$_}{FILES} =~ m{^\s*(?:dist|ext|lib)/}) {
1435         $Modules{$_}{UPSTREAM} = 'blead';
1436     }
1437     elsif ($Modules{$_}{FILES} =~ m{^\s*cpan/}) {
1438         $Modules{$_}{UPSTREAM} = 'cpan';
1439     }
1440     else {
1441         warn "Unexpected location of FILES for module $_: $Modules{$_}{FILES}";
1442     }
1443 }
1444
1445 # legacy MAINTAINER field
1446 for ( keys %Modules ) {
1447     # Keep any existing MAINTAINER flag so that "overrides" can be applied
1448     next if exists $Modules{$_}{MAINTAINER};
1449
1450     if ($Modules{$_}{UPSTREAM} eq 'blead') {
1451         $Modules{$_}{MAINTAINER} = 'P5P';
1452         $Maintainers{P5P} = 'perl5-porters <perl5-porters@perl.org>';
1453     }
1454     elsif (exists $Modules{$_}{DISTRIBUTION}) {
1455         (my $pause_id = $Modules{$_}{DISTRIBUTION}) =~ s{/.*$}{};
1456         $Modules{$_}{MAINTAINER} = $pause_id;
1457         $Maintainers{$pause_id} = "<$pause_id\@cpan.org>";
1458     }
1459     else {
1460         warn "No DISTRIBUTION for non-blead module $_";
1461     }
1462 }
1463
1464 1;