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