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