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