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