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