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