This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Bump version version and remove/update customisations
[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
20     ANNOUNCE Announce Artistic AUTHORS BENCHMARK BUGS Build.PL
21     CHANGELOG ChangeLog Changelog CHANGES Changes CONTRIBUTING COPYING Copying
22     cpanfile CREDITS dist.ini GOALS HISTORY INSTALL INSTALL.SKIP LICENSE
23     Makefile.PL MANIFEST MANIFEST.SKIP META.json META.yml MYMETA.json
24     MYMETA.yml NEW NOTES perlcritic.rc ppport.h README README.PATCHING
25     SIGNATURE THANKS TODO Todo VERSION WHATSNEW .perlcriticrc.perltidyrc
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-1.96.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-1.96.tar.gz',
123         'FILES'        => q[cpan/Archive-Tar],
124         'BUGS'         => 'bug-archive-tar@rt.cpan.org',
125     },
126
127     'Attribute::Handlers' => {
128         'DISTRIBUTION' => 'SMUELLER/Attribute-Handlers-0.93.tar.gz',
129         'FILES'        => q[dist/Attribute-Handlers],
130     },
131
132     'autodie' => {
133         'DISTRIBUTION' => 'PJF/autodie-2.23.tar.gz',
134         'FILES'        => q[cpan/autodie],
135         'EXCLUDED'     => [
136             qr{benchmarks},
137             # All these tests depend upon external
138             # modules that don't exist when we're
139             # building the core.  Hence, they can
140             # never run, and should not be merged.
141             qw( t/author-critic.t
142                 t/boilerplate.t
143                 t/critic.t
144                 t/fork.t
145                 t/kwalitee.t
146                 t/lex58.t
147                 t/pod-coverage.t
148                 t/pod.t
149                 t/release-pod-coverage.t
150                 t/release-pod-syntax.t
151                 t/socket.t
152                 t/system.t
153                 )
154         ],
155         'CUSTOMIZED'   => [
156             # Waiting to be merged upstream: see CPAN RT#87237
157             qw( t/utf8_open.t ),
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' => 'FLORA/autouse-1.07.tar.gz',
169         'FILES'        => q[dist/autouse],
170         'EXCLUDED'     => [qr{^t/release-.*\.t}],
171     },
172
173     'B::Debug' => {
174         'DISTRIBUTION' => 'RURBAN/B-Debug-1.19.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' => 'FLORA/bignum-0.32.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.32.tar.gz',
197         'FILES'        => q[dist/Carp],
198     },
199
200     'CGI' => {
201         'DISTRIBUTION' => 'MARKSTOS/CGI.pm-3.64.tar.gz',
202         'FILES'        => q[cpan/CGI],
203         'EXCLUDED'     => [
204             qr{^examples/},
205             qw( cgi_docs.html
206                 t/gen-tests/gen-start-end-tags.pl
207                 t/fast.t
208                 ),
209         ],
210         'DEPRECATED' => '5.019007',
211     },
212
213     'Compress::Raw::Bzip2' => {
214         'DISTRIBUTION' => 'PMQS/Compress-Raw-Bzip2-2.064.tar.gz',
215         'FILES'        => q[cpan/Compress-Raw-Bzip2],
216         'EXCLUDED'     => [
217             qr{^t/Test/},
218             'bzip2-src/bzip2-cpp.patch',
219         ],
220     },
221
222     'Compress::Raw::Zlib' => {
223         'DISTRIBUTION' => 'PMQS/Compress-Raw-Zlib-2.064.tar.gz',
224
225         'FILES'    => q[cpan/Compress-Raw-Zlib],
226         'EXCLUDED' => [
227             qr{^examples/},
228             qr{^t/Test/},
229             qw( t/000prereq.t
230                 t/99pod.t
231                 ),
232         ],
233         # Waiting to be merged upstream; see CPAN RT#92657
234         'CUSTOMIZED'  => ['Zlib.xs'],
235     },
236
237     'Config::Perl::V' => {
238         'DISTRIBUTION' => 'HMBRAND/Config-Perl-V-0.19.tgz',
239         'FILES'        => q[cpan/Config-Perl-V],
240         'EXCLUDED'     => ['examples/show-v.pl'],
241         # Waiting to be merged upstream: see CPAN RT#92534
242         'CUSTOMIZED'   => ['t/20_plv510.t', 't/21_plv518.t'],
243     },
244
245     'constant' => {
246         'DISTRIBUTION' => 'SAPER/constant-1.27.tar.gz',
247         'FILES'        => q[dist/constant],
248         'EXCLUDED'     => [
249             qw( t/00-load.t
250                 t/more-tests.t
251                 t/pod-coverage.t
252                 t/pod.t
253                 eg/synopsis.pl
254                 ),
255         ],
256     },
257
258     'CPAN' => {
259         'DISTRIBUTION' => 'ANDK/CPAN-2.03-TRIAL.tar.gz',
260         'FILES'        => q[cpan/CPAN],
261         'EXCLUDED'     => [
262             qr{^distroprefs/},
263             qr{^inc/Test/},
264             qr{^t/CPAN/authors/},
265             qw( lib/CPAN/Admin.pm
266                 scripts/cpan-mirrors
267                 PAUSE2015.pub
268                 SlayMakefile
269                 t/00signature.t
270                 t/04clean_load.t
271                 t/12cpan.t
272                 t/13tarzip.t
273                 t/14forkbomb.t
274                 t/30shell.coverage
275                 t/30shell.t
276                 t/31sessions.t
277                 t/41distribution.t
278                 t/42distroprefs.t
279                 t/44cpanmeta.t
280                 t/43distroprefspref.t
281                 t/50pod.t
282                 t/51pod.t
283                 t/52podcover.t
284                 t/60credentials.t
285                 t/70_critic.t
286                 t/71_minimumversion.t
287                 t/CPAN/CpanTestDummies-1.55.pm
288                 t/CPAN/TestConfig.pm
289                 t/CPAN/TestMirroredBy
290                 t/CPAN/TestPatch.txt
291                 t/CPAN/modules/02packages.details.txt
292                 t/CPAN/modules/03modlist.data
293                 t/data/META-dynamic.json
294                 t/data/META-dynamic.yml
295                 t/data/META-static.json
296                 t/data/META-static.yml
297                 t/data/MYMETA.json
298                 t/data/MYMETA.yml
299                 t/local_utils.pm
300                 t/perlcriticrc
301                 t/yaml_code.yml
302                 ),
303         ],
304     },
305
306     # Note: When updating CPAN-Meta the META.* files will need to be regenerated
307     # perl -Icpan/CPAN-Meta/lib Porting/makemeta
308     'CPAN::Meta' => {
309         'DISTRIBUTION' => 'DAGOLDEN/CPAN-Meta-2.133380.tar.gz',
310         'FILES'        => q[cpan/CPAN-Meta],
311         'EXCLUDED'     => [
312             qw(t/00-compile.t),
313             qw[t/00-report-prereqs.t],
314             qr{t/README-data.txt},
315             qr{^xt},
316             qr{^history},
317         ],
318     },
319
320     'CPAN::Meta::Requirements' => {
321         'DISTRIBUTION' => 'DAGOLDEN/CPAN-Meta-Requirements-2.125.tar.gz',
322         'FILES'        => q[cpan/CPAN-Meta-Requirements],
323         'EXCLUDED'     => [
324             qw(t/00-compile.t),
325             qw(t/00-report-prereqs.t),
326             qr{^xt},
327         ],
328     },
329
330     'CPAN::Meta::YAML' => {
331         'DISTRIBUTION' => 'DAGOLDEN/CPAN-Meta-YAML-0.010.tar.gz',
332         'FILES'        => q[cpan/CPAN-Meta-YAML],
333         'EXCLUDED'     => [
334             't/00-compile.t',
335             't/04_scalar.t',    # requires YAML.pm
336             qr{^xt},
337         ],
338     },
339
340     'Data::Dumper' => {
341         'DISTRIBUTION' => 'SMUELLER/Data-Dumper-2.145.tar.gz',
342         'FILES'        => q[dist/Data-Dumper],
343     },
344
345     'DB_File' => {
346         'DISTRIBUTION' => 'PMQS/DB_File-1.831.tar.gz',
347         'FILES'        => q[cpan/DB_File],
348         'EXCLUDED'     => [
349             qr{^patches/},
350             qw( t/pod.t
351                 fallback.h
352                 fallback.xs
353                 ),
354         ],
355     },
356
357     'Devel::PPPort' => {
358         'DISTRIBUTION' => 'MHX/Devel-PPPort-3.21.tar.gz',
359         # RJBS has asked MHX to have UPSTREAM be 'blead'
360         # (i.e. move this from cpan/ to dist/)
361         'FILES'        => q[cpan/Devel-PPPort],
362         'EXCLUDED'     => [
363             'PPPort.pm',    # we use PPPort_pm.PL instead
364             'README.md',
365         ]
366     },
367
368     'Devel::SelfStubber' => {
369         'DISTRIBUTION' => 'FLORA/Devel-SelfStubber-1.05.tar.gz',
370         'FILES'        => q[dist/Devel-SelfStubber],
371         'EXCLUDED'     => [qr{^t/release-.*\.t}],
372     },
373
374     'Digest' => {
375         'DISTRIBUTION' => 'GAAS/Digest-1.17.tar.gz',
376         'FILES'        => q[cpan/Digest],
377         'EXCLUDED'     => ['digest-bench'],
378     },
379
380     'Digest::MD5' => {
381         'DISTRIBUTION' => 'GAAS/Digest-MD5-2.53.tar.gz',
382         'FILES'        => q[cpan/Digest-MD5],
383         'EXCLUDED'     => ['rfc1321.txt'],
384         # Waiting to be merged upstream: see CPAN RT#89612
385         'CUSTOMIZED'   => ['t/files.t'],
386     },
387
388     'Digest::SHA' => {
389         'DISTRIBUTION' => 'MSHELOR/Digest-SHA-5.86.tar.gz',
390         'FILES'        => q[cpan/Digest-SHA],
391         'EXCLUDED'     => [
392             qw( t/pod.t
393                 t/podcover.t
394                 examples/dups
395                 ),
396         ],
397     },
398
399     'Dumpvalue' => {
400         'DISTRIBUTION' => 'FLORA/Dumpvalue-1.17.tar.gz',
401         'FILES'        => q[dist/Dumpvalue],
402         'EXCLUDED'     => [qr{^t/release-.*\.t}],
403     },
404
405     'Encode' => {
406         'DISTRIBUTION' => 'DANKOGAI/Encode-2.57.tar.gz',
407         'FILES'        => q[cpan/Encode],
408     },
409
410     'encoding::warnings' => {
411         'DISTRIBUTION' => 'AUDREYT/encoding-warnings-0.11.tar.gz',
412         'FILES'        => q[cpan/encoding-warnings],
413         'EXCLUDED'     => [
414             qr{^inc/Module/},
415             qw(t/0-signature.t),
416         ],
417     },
418
419     'Env' => {
420         'DISTRIBUTION' => 'FLORA/Env-1.04.tar.gz',
421         'FILES'        => q[dist/Env],
422         'EXCLUDED'     => [qr{^t/release-.*\.t}],
423     },
424
425     'Exporter' => {
426         'DISTRIBUTION' => 'TODDR/Exporter-5.68.tar.gz',
427         'FILES'        => q[dist/Exporter],
428         'EXCLUDED' => [
429             qw( t/pod.t
430                 t/use.t
431                 ),
432         ],
433     },
434
435     'ExtUtils::CBuilder' => {
436         'DISTRIBUTION' => 'AMBS/ExtUtils/ExtUtils-CBuilder-0.280212.tar.gz',
437         'FILES'        => q[dist/ExtUtils-CBuilder],
438         'EXCLUDED'     => [
439             qw(README.mkdn),
440             qr{^xt},
441         ],
442     },
443
444     'ExtUtils::Command' => {
445         'DISTRIBUTION' => 'FLORA/ExtUtils-Command-1.18.tar.gz',
446         'FILES'        => q[dist/ExtUtils-Command],
447         'EXCLUDED'     => [qr{^t/release-}],
448     },
449
450     'ExtUtils::Constant' => {
451
452         # Nick has confirmed that while we have diverged from CPAN,
453         # this package isn't primarily maintained in core
454         # Another release will happen "Sometime"
455         'DISTRIBUTION' => '',    #'NWCLARK/ExtUtils-Constant-0.16.tar.gz',
456         'FILES'    => q[cpan/ExtUtils-Constant],
457         'EXCLUDED' => [
458             qw( lib/ExtUtils/Constant/Aaargh56Hash.pm
459                 examples/perl_keyword.pl
460                 examples/perl_regcomp_posix_keyword.pl
461                 ),
462         ],
463     },
464
465     'ExtUtils::Install' => {
466         'DISTRIBUTION' => 'YVES/ExtUtils-Install-1.54.tar.gz',
467         'FILES'        => q[dist/ExtUtils-Install],
468         'EXCLUDED'     => [
469             qw( t/lib/Test/Builder.pm
470                 t/lib/Test/Builder/Module.pm
471                 t/lib/Test/More.pm
472                 t/lib/Test/Simple.pm
473                 t/pod-coverage.t
474                 t/pod.t
475                 ),
476         ],
477     },
478
479     'ExtUtils::MakeMaker' => {
480         'DISTRIBUTION' => 'BINGOS/ExtUtils-MakeMaker-6.88.tar.gz',
481         'FILES'        => q[cpan/ExtUtils-MakeMaker],
482         'EXCLUDED'     => [
483             qr{^t/lib/Test/},
484             qr{^(bundled|my)/},
485             qr{^t/Liblist_Kid.t},
486             qr{^t/liblist/},
487             qr{^\.perlcriticrc},
488             'PATCHING',
489             'README.packaging',
490         ],
491     },
492
493     'ExtUtils::Manifest' => {
494         'DISTRIBUTION' => 'FLORA/ExtUtils-Manifest-1.63.tar.gz',
495         'FILES'        => q[dist/ExtUtils-Manifest],
496         'EXCLUDED'     => [qr(t/release-.*\.t)],
497     },
498
499     'ExtUtils::ParseXS' => {
500         'DISTRIBUTION' => 'SMUELLER/ExtUtils-ParseXS-3.22.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' => 'DLAND/File-Path-2.09.tar.gz',
511         'FILES'        => q[cpan/File-Path],
512         'EXCLUDED'     => [
513             qw( eg/setup-extra-tests
514                 t/pod.t
515                 )
516         ],
517         'MAP' => {
518             ''   => 'cpan/File-Path/lib/File/',
519             't/' => 'cpan/File-Path/t/',
520         },
521     },
522
523     'File::Temp' => {
524         'DISTRIBUTION' => 'DAGOLDEN/File-Temp-0.2304.tar.gz',
525         'FILES'        => q[cpan/File-Temp],
526         'EXCLUDED'     => [
527             qw( misc/benchmark.pl
528                 misc/results.txt
529                 ),
530             qw[t/00-report-prereqs.t],
531             qr{^xt},
532         ],
533     },
534
535     'Filter::Simple' => {
536         'DISTRIBUTION' => 'SMUELLER/Filter-Simple-0.88.tar.gz',
537         'FILES'        => q[dist/Filter-Simple],
538         'EXCLUDED'     => [
539             qr{^demo/}
540         ],
541     },
542
543     'Filter::Util::Call' => {
544         'DISTRIBUTION' => 'RURBAN/Filter-1.49.tar.gz',
545         'FILES'        => q[cpan/Filter-Util-Call
546                  pod/perlfilter.pod
547                 ],
548         'EXCLUDED' => [
549             qr{^decrypt/},
550             qr{^examples/},
551             qr{^Exec/},
552             qr{^lib/Filter/},
553             qr{^tee/},
554             qw( Call/Makefile.PL
555                 Call/ppport.h
556                 Call/typemap
557                 mytest
558                 t/cpp.t
559                 t/decrypt.t
560                 t/exec.t
561                 t/order.t
562                 t/sh.t
563                 t/tee.t
564                 t/z_kwalitee.t
565                 t/z_meta.t
566                 t/z_perl_minimum_version.t
567                 t/z_pod-coverage.t
568                 t/z_pod.t
569                 ),
570         ],
571         'MAP' => {
572             'Call/'          => 'cpan/Filter-Util-Call/',
573             'filter-util.pl' => 'cpan/Filter-Util-Call/filter-util.pl',
574             'perlfilter.pod' => 'pod/perlfilter.pod',
575             ''               => 'cpan/Filter-Util-Call/',
576         },
577     },
578
579     'Getopt::Long' => {
580         'DISTRIBUTION' => 'JV/Getopt-Long-2.42.tar.gz',
581         'FILES'        => q[cpan/Getopt-Long],
582         'EXCLUDED'     => [
583             qr{^examples/},
584             qw( perl-Getopt-Long.spec
585                 lib/newgetopt.pl
586                 t/gol-compat.t
587                 ),
588         ],
589     },
590
591     'HTTP::Tiny' => {
592         'DISTRIBUTION' => 'DAGOLDEN/HTTP-Tiny-0.039.tar.gz',
593         'FILES'        => q[cpan/HTTP-Tiny],
594         'EXCLUDED'     => [
595             't/00-compile.t',
596             't/00-report-prereqs.t',
597             't/200_live.t',
598             't/200_live_local_ip.t',
599             't/210_live_ssl.t',
600             qr/^eg/,
601             qr/^xt/
602         ],
603     },
604
605     'I18N::Collate' => {
606         'DISTRIBUTION' => 'FLORA/I18N-Collate-1.02.tar.gz',
607         'FILES'        => q[dist/I18N-Collate],
608         'EXCLUDED'     => [qr{^t/release-.*\.t}],
609     },
610
611     'I18N::LangTags' => {
612         'FILES'        => q[dist/I18N-LangTags],
613     },
614
615     'if' => {
616         'DISTRIBUTION' => 'ILYAZ/modules/if-0.0601.tar.gz',
617         'FILES'        => q[dist/if],
618     },
619
620     'IO' => {
621         'DISTRIBUTION' => 'GBARR/IO-1.25.tar.gz',
622         'FILES'        => q[dist/IO/],
623         'EXCLUDED'     => ['t/test.pl'],
624     },
625
626     'IO-Compress' => {
627         'DISTRIBUTION' => 'PMQS/IO-Compress-2.064.tar.gz',
628         'FILES'        => q[cpan/IO-Compress],
629         'EXCLUDED'     => [
630             qr{^examples/},
631             qr{^t/Test/},
632             't/010examples-bzip2.t',
633             't/010examples-zlib.t',
634             't/cz-05examples.t',
635         ],
636     },
637
638     'IO::Zlib' => {
639         'DISTRIBUTION' => 'TOMHUGHES/IO-Zlib-1.10.tar.gz',
640         'FILES'        => q[cpan/IO-Zlib],
641     },
642
643     'IPC::Cmd' => {
644         'DISTRIBUTION' => 'BINGOS/IPC-Cmd-0.92.tar.gz',
645         'FILES'        => q[cpan/IPC-Cmd],
646     },
647
648     'IPC::SysV' => {
649         'DISTRIBUTION' => 'MHX/IPC-SysV-2.04.tar.gz',
650         'FILES'        => q[cpan/IPC-SysV],
651         'EXCLUDED'     => [
652             qw( const-c.inc
653                 const-xs.inc
654                 ),
655         ],
656     },
657
658     'JSON::PP' => {
659         'DISTRIBUTION' => 'MAKAMAKA/JSON-PP-2.27203.tar.gz',
660         'FILES'        => q[cpan/JSON-PP],
661     },
662
663     'lib' => {
664         'DISTRIBUTION' => 'SMUELLER/lib-0.63.tar.gz',
665         'FILES'        => q[dist/lib/],
666         'EXCLUDED'     => [
667             qw( forPAUSE/lib.pm
668                 t/00pod.t
669                 ),
670         ],
671     },
672
673     'libnet' => {
674         'DISTRIBUTION' => 'SHAY/libnet-1.24.tar.gz',
675         'FILES'        => q[cpan/libnet],
676         'EXCLUDED'     => [
677             qw( Configure
678                 install-nomake
679                 ),
680             qr(^demos/),
681         ],
682         # Customized for perl since we cannot use either an auto-generated
683         # script or the version in the CPAN distro.
684         'CUSTOMIZED' => ['Makefile.PL'],
685     },
686
687     'Locale-Codes' => {
688         'DISTRIBUTION' => 'SBECK/Locale-Codes-3.29.tar.gz',
689         'FILES'        => q[cpan/Locale-Codes],
690         'EXCLUDED'     => [
691             qw( README.first
692                 t/pod_coverage.t
693                 t/pod.t),
694             qr{^t/runtests},
695             qr{^t/runtests\.bat},
696             qr{^internal/},
697             qr{^examples/},
698         ],
699     },
700
701     'Locale::Maketext' => {
702         'DISTRIBUTION' => 'TODDR/Locale-Maketext-1.23.tar.gz',
703         'FILES'        => q[dist/Locale-Maketext],
704         'EXCLUDED'     => [
705             qw(
706                 perlcriticrc
707                 t/00_load.t
708                 t/pod.t
709                 ),
710         ],
711     },
712
713     'Locale::Maketext::Simple' => {
714         'DISTRIBUTION' => 'JESSE/Locale-Maketext-Simple-0.21.tar.gz',
715         'FILES'        => q[cpan/Locale-Maketext-Simple],
716     },
717
718     'Math::BigInt' => {
719         'DISTRIBUTION' => 'PJACKLAM/Math-BigInt-1.997.tar.gz',
720         'FILES'        => q[dist/Math-BigInt],
721         'EXCLUDED'     => [
722             qr{^inc/},
723             qr{^examples/},
724             qw( t/00sig.t
725                 t/01load.t
726                 t/02pod.t
727                 t/03podcov.t
728                 ),
729         ],
730     },
731
732     'Math::BigInt::FastCalc' => {
733         'DISTRIBUTION' => 'PJACKLAM/Math-BigInt-FastCalc-0.30.tar.gz',
734         'FILES'        => q[dist/Math-BigInt-FastCalc],
735         'EXCLUDED'     => [
736             qr{^inc/},
737             qw( t/00sig.t
738                 t/01load.t
739                 t/02pod.t
740                 t/03podcov.t
741                 ),
742
743             # instead we use the versions of these test
744             # files that come with Math::BigInt:
745             qw( t/bigfltpm.inc
746                 t/bigfltpm.t
747                 t/bigintpm.inc
748                 t/bigintpm.t
749                 t/mbimbf.inc
750                 t/mbimbf.t
751                 ),
752         ],
753     },
754
755     'Math::BigRat' => {
756         'DISTRIBUTION' => 'PJACKLAM/Math-BigRat-0.2602.tar.gz',
757         'FILES'        => q[dist/Math-BigRat],
758         'EXCLUDED'     => [
759             qr{^inc/},
760             qw( t/00sig.t
761                 t/01load.t
762                 t/02pod.t
763                 t/03podcov.t
764                 ),
765         ],
766     },
767
768     'Math::Complex' => {
769         'DISTRIBUTION' => 'ZEFRAM/Math-Complex-1.59.tar.gz',
770         'FILES'        => q[cpan/Math-Complex],
771         'EXCLUDED'     => [
772             qw( t/pod.t
773                 t/pod-coverage.t
774                 ),
775         ],
776     },
777
778     'Memoize' => {
779         'DISTRIBUTION' => 'MJD/Memoize-1.03.tgz',
780         'FILES'        => q[cpan/Memoize],
781         'EXCLUDED'     => ['article.html'],
782     },
783
784     'MIME::Base64' => {
785         'DISTRIBUTION' => 'GAAS/MIME-Base64-3.14.tar.gz',
786         'FILES'        => q[cpan/MIME-Base64],
787         'EXCLUDED'     => ['t/bad-sv.t'],
788     },
789
790     #
791     # To update Module-Build in blead see
792     # https://github.com/Perl-Toolchain-Gang/Module-Build/blob/master/devtools/patching_blead.pod
793     #
794
795     'Module::Build' => {
796         'DISTRIBUTION' => 'LEONT/Module-Build-0.4204.tar.gz',
797         'FILES'        => q[cpan/Module-Build],
798         'EXCLUDED'     => [
799             qw( t/par.t
800                 t/signature.t
801                 ),
802             qr{^contrib/},
803             qr{^inc},
804         ],
805         # Generated file, not part of the CPAN distro:
806         'CUSTOMIZED' => ['lib/Module/Build/ConfigData.pm'],
807         'DEPRECATED' => '5.019000',
808     },
809
810     'Module::CoreList' => {
811         'DISTRIBUTION' => 'BINGOS/Module-CoreList-3.04.tar.gz',
812         'FILES'        => q[dist/Module-CoreList],
813     },
814
815     'Module::Load' => {
816         'DISTRIBUTION' => 'BINGOS/Module-Load-0.30.tar.gz',
817         'FILES'        => q[cpan/Module-Load],
818     },
819
820     'Module::Load::Conditional' => {
821         'DISTRIBUTION' => 'BINGOS/Module-Load-Conditional-0.62.tar.gz',
822         'FILES'        => q[cpan/Module-Load-Conditional],
823     },
824
825     'Module::Loaded' => {
826         'DISTRIBUTION' => 'BINGOS/Module-Loaded-0.08.tar.gz',
827         'FILES'        => q[cpan/Module-Loaded],
828     },
829
830     'Module::Metadata' => {
831         'DISTRIBUTION' => 'ETHER/Module-Metadata-1.000019.tar.gz',
832         'FILES'        => q[cpan/Module-Metadata],
833         'EXCLUDED'     => [
834             qr{^maint},
835             qr{^xt},
836         ],
837     },
838
839     'Net::Ping' => {
840         'DISTRIBUTION' => 'SMPETERS/Net-Ping-2.41.tar.gz',
841         'FILES'        => q[dist/Net-Ping],
842         'EXCLUDED'     => [
843             qr{^.travis.yml},
844             qr{^README.md},
845         ],
846     },
847
848     'NEXT' => {
849         'DISTRIBUTION' => 'FLORA/NEXT-0.65.tar.gz',
850         'FILES'        => q[cpan/NEXT],
851         'EXCLUDED'     => [qr{^demo/}],
852     },
853
854     'Package::Constants' => {
855         'DISTRIBUTION' => 'BINGOS/Package-Constants-0.04.tar.gz',
856         'FILES'        => q[cpan/Package-Constants],
857         'DEPRECATED'   => '5.019006',
858     },
859
860     'Params::Check' => {
861         'DISTRIBUTION' => 'BINGOS/Params-Check-0.38.tar.gz',
862         'FILES'        => q[cpan/Params-Check],
863     },
864
865     'parent' => {
866         'DISTRIBUTION' => 'CORION/parent-0.228.tar.gz',
867         'FILES'        => q[cpan/parent],
868     },
869
870     'Parse::CPAN::Meta' => {
871         'DISTRIBUTION' => 'DAGOLDEN/Parse-CPAN-Meta-1.4409.tar.gz',
872         'FILES'        => q[cpan/Parse-CPAN-Meta],
873         'EXCLUDED'     => [
874             qw(t/00-compile.t),
875             qw[t/00-report-prereqs.t],
876             qr{^xt},
877         ],
878     },
879
880     'PathTools' => {
881         'DISTRIBUTION' => 'SMUELLER/PathTools-3.40.tar.gz',
882         'FILES'        => q[dist/PathTools],
883         'EXCLUDED'     => [qr{^t/lib/Test/}],
884     },
885
886     'Perl::OSType' => {
887         'DISTRIBUTION' => 'DAGOLDEN/Perl-OSType-1.007.tar.gz',
888         'FILES'        => q[cpan/Perl-OSType],
889         'EXCLUDED'     => [qw(tidyall.ini), qr/^xt/, qr{^t/00-}],
890     },
891
892     'perlfaq' => {
893         'DISTRIBUTION' => 'LLAP/perlfaq-5.0150044.tar.gz',
894         'FILES'        => q[cpan/perlfaq],
895         'EXCLUDED'     => [
896             qw( t/release-pod-syntax.t
897                 t/release-eol.t
898                 t/release-no-tabs.t
899                 )
900         ],
901     },
902
903     'PerlIO::via::QuotedPrint' => {
904         'DISTRIBUTION' => 'ELIZABETH/PerlIO-via-QuotedPrint-0.07.tar.gz',
905         'FILES'        => q[cpan/PerlIO-via-QuotedPrint],
906
907         # Waiting to be merged upstream: see CPAN RT#54047
908         'CUSTOMIZED'   => [
909             qw( t/QuotedPrint.t
910                 ),
911         ],
912
913     },
914
915     'Pod::Checker' => {
916         'DISTRIBUTION' => 'MAREKR/Pod-Checker-1.60.tar.gz',
917         'FILES'        => q[cpan/Pod-Checker],
918     },
919
920     'Pod::Escapes' => {
921         'DISTRIBUTION' => 'SBURKE/Pod-Escapes-1.04.tar.gz',
922         'FILES'        => q[cpan/Pod-Escapes],
923     },
924
925     'Pod::Parser' => {
926         'DISTRIBUTION' => 'MAREKR/Pod-Parser-1.61.tar.gz',
927         'FILES'        => q[cpan/Pod-Parser],
928     },
929
930     'Pod::Perldoc' => {
931         'DISTRIBUTION' => 'MALLEN/Pod-Perldoc-3.21.tar.gz',
932         'FILES'        => q[cpan/Pod-Perldoc],
933
934         # Note that we use the CPAN-provided Makefile.PL, since it
935         # contains special handling of the installation of perldoc.pod
936
937         # In blead, the perldoc executable is generated by perldoc.PL
938         # instead
939         # XXX We can and should fix this, but clean up the DRY-failure in utils
940         # first
941         'EXCLUDED' => ['perldoc'],
942     },
943
944     'Pod::Simple' => {
945         'DISTRIBUTION' => 'DWHEELER/Pod-Simple-3.28.tar.gz',
946         'FILES'        => q[cpan/Pod-Simple],
947     },
948
949     'Pod::Usage' => {
950         'DISTRIBUTION' => 'MAREKR/Pod-Usage-1.63.tar.gz',
951         'FILES'        => q[cpan/Pod-Usage],
952     },
953
954     'podlators' => {
955         'DISTRIBUTION' => 'RRA/podlators-2.5.3.tar.gz',
956         'FILES'        => q[cpan/podlators pod/perlpodstyle.pod],
957
958         # The perl distribution has pod2man.PL and pod2text.PL,  which are
959         # run to create pod2man and pod2text, while the CPAN distribution
960         # just has the post-generated pod2man and pod2text files.
961         # The following entries attempt to codify that odd fact.
962         'CUSTOMIZED' => [
963             qw( scripts/pod2man.PL
964                 scripts/pod2text.PL
965                 ),
966         ],
967         'MAP' => {
968             ''                 => 'cpan/podlators/',
969             'scripts/pod2man'  => 'cpan/podlators/scripts/pod2man.PL',
970             'scripts/pod2text' => 'cpan/podlators/scripts/pod2text.PL',
971
972             # this file lives outside the cpan/ directory
973             'pod/perlpodstyle.pod' => 'pod/perlpodstyle.pod',
974         },
975     },
976
977     'Safe' => {
978         'DISTRIBUTION' => 'RGARCIA/Safe-2.35.tar.gz',
979         'FILES'        => q[dist/Safe],
980     },
981
982     'Scalar-List-Utils' => {
983         'DISTRIBUTION' => 'PEVANS/Scalar-List-Utils-1.38.tar.gz',
984         'FILES'    => q[cpan/Scalar-List-Utils],
985     },
986
987     'Search::Dict' => {
988         'DISTRIBUTION' => 'DAGOLDEN/Search-Dict-1.07.tar.gz',
989         'FILES'        => q[dist/Search-Dict],
990     },
991
992     'SelfLoader' => {
993         'DISTRIBUTION' => 'SMUELLER/SelfLoader-1.20.tar.gz',
994         'FILES'        => q[dist/SelfLoader],
995         'EXCLUDED'     => ['t/00pod.t'],
996     },
997
998     'Socket' => {
999         'DISTRIBUTION' => 'PEVANS/Socket-2.013.tar.gz',
1000         'FILES'        => q[cpan/Socket],
1001     },
1002
1003     'Storable' => {
1004         'DISTRIBUTION' => 'AMS/Storable-2.45.tar.gz',
1005         'FILES'        => q[dist/Storable],
1006     },
1007
1008     'Sys::Syslog' => {
1009         'DISTRIBUTION' => 'SAPER/Sys-Syslog-0.33.tar.gz',
1010         'FILES'        => q[cpan/Sys-Syslog],
1011         'EXCLUDED'     => [
1012             qr{^eg/},
1013             qw( README.win32
1014                 t/data-validation.t
1015                 t/distchk.t
1016                 t/pod.t
1017                 t/podcover.t
1018                 t/podspell.t
1019                 t/portfs.t
1020                 win32/PerlLog.RES
1021                 ),
1022         ],
1023     },
1024
1025     'Term::ANSIColor' => {
1026         'DISTRIBUTION' => 'RRA/Term-ANSIColor-4.02.tar.gz',
1027         'FILES'        => q[cpan/Term-ANSIColor],
1028         'EXCLUDED'     => [
1029             qr{^examples/},
1030             qr{^t/data/},
1031             qw( t/aliases-env.t
1032                 t/critic.t
1033                 t/minimum-version.t
1034                 t/pod-spelling.t
1035                 t/pod-coverage.t
1036                 t/pod.t
1037                 t/strict.t
1038                 t/synopsis.t
1039                 ),
1040         ],
1041     },
1042
1043     'Term::Cap' => {
1044         'DISTRIBUTION' => 'JSTOWE/Term-Cap-1.15.tar.gz',
1045         'FILES'        => q[cpan/Term-Cap],
1046     },
1047
1048     'Term::Complete' => {
1049         'DISTRIBUTION' => 'FLORA/Term-Complete-1.402.tar.gz',
1050         'FILES'        => q[dist/Term-Complete],
1051         'EXCLUDED'     => [qr{^t/release-.*\.t}],
1052     },
1053
1054     'Term::ReadLine' => {
1055         'DISTRIBUTION' => 'FLORA/Term-ReadLine-1.14.tar.gz',
1056         'FILES'        => q[dist/Term-ReadLine],
1057         'EXCLUDED'     => [qr{^t/release-.*\.t}],
1058     },
1059
1060     'Test' => {
1061         'DISTRIBUTION' => 'JESSE/Test-1.26.tar.gz',
1062         'FILES'        => q[cpan/Test],
1063     },
1064
1065     'Test::Harness' => {
1066         'DISTRIBUTION' => 'LEONT/Test-Harness-3.30.tar.gz',
1067         'FILES'        => q[cpan/Test-Harness],
1068         'EXCLUDED'     => [
1069             qr{^examples/},
1070             qr{^inc/},
1071             qr{^t/lib/Test/},
1072             qr{^xt/},
1073             qw( Changes-2.64
1074                 MANIFEST.CUMMULATIVE
1075                 NotBuild.PL
1076                 HACKING.pod
1077                 perlcriticrc
1078                 t/000-load.t
1079                 t/lib/if.pm
1080                 ),
1081         ],
1082     },
1083
1084     'Test::Simple' => {
1085         'DISTRIBUTION' => 'RJBS/Test-Simple-1.001002.tar.gz',
1086         'FILES'        => q[cpan/Test-Simple],
1087         'EXCLUDED'     => [
1088             qr{^t/xt},
1089             qw( .perlcriticrc
1090                 .perltidyrc
1091                 examples/indent.pl
1092                 examples/subtest.t
1093                 t/00compile.t
1094                 t/pod.t
1095                 t/pod-coverage.t
1096                 t/Builder/reset_outputs.t
1097                 lib/Test/Builder/IO/Scalar.pm
1098                 ),
1099         ],
1100     },
1101
1102     'Text::Abbrev' => {
1103         'DISTRIBUTION' => 'FLORA/Text-Abbrev-1.02.tar.gz',
1104         'FILES'        => q[dist/Text-Abbrev],
1105         'EXCLUDED'     => [qr{^t/release-.*\.t}],
1106     },
1107
1108     'Text::Balanced' => {
1109         'DISTRIBUTION' => 'ADAMK/Text-Balanced-2.02.tar.gz',
1110         'FILES'        => q[cpan/Text-Balanced],
1111         'EXCLUDED'     => [
1112             qw( t/97_meta.t
1113                 t/98_pod.t
1114                 t/99_pmv.t
1115                 ),
1116         ],
1117
1118         # Waiting to be merged upstream: see CPAN RT#87788
1119         'CUSTOMIZED'   => [
1120             qw( t/01_compile.t
1121                 t/02_extbrk.t
1122                 t/03_extcbk.t
1123                 t/04_extdel.t
1124                 t/05_extmul.t
1125                 t/06_extqlk.t
1126                 t/07_exttag.t
1127                 t/08_extvar.t
1128                 t/09_gentag.t
1129                 ),
1130         ],
1131
1132     },
1133
1134     'Text::ParseWords' => {
1135         'DISTRIBUTION' => 'CHORNY/Text-ParseWords-3.29.tar.gz',
1136         'FILES'        => q[cpan/Text-ParseWords],
1137
1138         # Waiting to be merged upstream: see CPAN RT#50929
1139         'CUSTOMIZED'   => [
1140             qw( t/ParseWords.t
1141                 t/taint.t
1142                 ),
1143         ],
1144
1145         # For the benefit of make_ext.pl, we have to have this accessible:
1146         'MAP' => {
1147             'ParseWords.pm' => 'cpan/Text-ParseWords/lib/Text/ParseWords.pm',
1148             ''              => 'cpan/Text-ParseWords/',
1149         },
1150     },
1151
1152     'Text-Tabs+Wrap' => {
1153         'DISTRIBUTION' => 'MUIR/modules/Text-Tabs+Wrap-2013.0523.tar.gz',
1154         'FILES'        => q[cpan/Text-Tabs],
1155         'EXCLUDED'   => [
1156             qr/^lib\.old/,
1157             't/dnsparks.t',    # see af6492bf9e
1158         ],
1159         'MAP'          => {
1160             ''                        => 'cpan/Text-Tabs/',
1161             'lib.modern/Text/Tabs.pm' => 'cpan/Text-Tabs/lib/Text/Tabs.pm',
1162             'lib.modern/Text/Wrap.pm' => 'cpan/Text-Tabs/lib/Text/Wrap.pm',
1163         },
1164     },
1165
1166     'Thread::Queue' => {
1167         'DISTRIBUTION' => 'JDHEDDEN/Thread-Queue-3.02.tar.gz',
1168         'FILES'        => q[dist/Thread-Queue],
1169         'EXCLUDED'     => [
1170             qr{^examples/},
1171             qw( t/00_load.t
1172                 t/99_pod.t
1173                 t/test.pl
1174                 ),
1175         ],
1176     },
1177
1178     'Thread::Semaphore' => {
1179         'DISTRIBUTION' => 'JDHEDDEN/Thread-Semaphore-2.12.tar.gz',
1180         'FILES'        => q[dist/Thread-Semaphore],
1181         'EXCLUDED'     => [
1182             qw( examples/semaphore.pl
1183                 t/00_load.t
1184                 t/99_pod.t
1185                 t/test.pl
1186                 ),
1187         ],
1188     },
1189
1190     'threads' => {
1191         'DISTRIBUTION' => 'JDHEDDEN/threads-1.89.tar.gz',
1192         'FILES'        => q[dist/threads],
1193         'EXCLUDED'     => [
1194             qr{^examples/},
1195             qw( t/pod.t
1196                 t/test.pl
1197                 threads.h
1198                 ),
1199         ],
1200     },
1201
1202     'threads::shared' => {
1203         'DISTRIBUTION' => 'JDHEDDEN/threads-shared-1.45.tar.gz',
1204         'FILES'        => q[dist/threads-shared],
1205         'EXCLUDED'     => [
1206             qw( examples/class.pl
1207                 shared.h
1208                 t/pod.t
1209                 t/test.pl
1210                 ),
1211         ],
1212     },
1213
1214     'Tie::File' => {
1215         'DISTRIBUTION' => 'TODDR/Tie-File-0.98.tar.gz',
1216         'FILES'        => q[dist/Tie-File],
1217     },
1218
1219     'Tie::RefHash' => {
1220         'DISTRIBUTION' => 'FLORA/Tie-RefHash-1.39.tar.gz',
1221         'FILES'        => q[cpan/Tie-RefHash],
1222     },
1223
1224     'Time::HiRes' => {
1225         'DISTRIBUTION' => 'ZEFRAM/Time-HiRes-1.9726.tar.gz',
1226         'FILES'        => q[cpan/Time-HiRes],
1227     },
1228
1229     'Time::Local' => {
1230         'DISTRIBUTION' => 'DROLSKY/Time-Local-1.2300.tar.gz',
1231         'FILES'        => q[cpan/Time-Local],
1232         'EXCLUDED'     => [
1233             qr{^t/release-.*\.t},
1234         ],
1235     },
1236
1237     'Time::Piece' => {
1238         'DISTRIBUTION' => 'RJBS/Time-Piece-1.27.tar.gz',
1239         'FILES'        => q[cpan/Time-Piece],
1240     },
1241
1242     'Unicode::Collate' => {
1243         'DISTRIBUTION' => 'SADAHIRO/Unicode-Collate-1.04.tar.gz',
1244         'FILES'        => q[cpan/Unicode-Collate],
1245         'EXCLUDED'     => [
1246             qr{N$},
1247             qr{^data/},
1248             qr{^gendata/},
1249             qw( disableXS
1250                 enableXS
1251                 mklocale
1252                 ),
1253         ],
1254     },
1255
1256     'Unicode::Normalize' => {
1257         'DISTRIBUTION' => 'SADAHIRO/Unicode-Normalize-1.17.tar.gz',
1258         'FILES'        => q[cpan/Unicode-Normalize],
1259         'EXCLUDED'     => [
1260             qw( MANIFEST.N
1261                 Normalize.pmN
1262                 disableXS
1263                 enableXS
1264                 ),
1265         ],
1266     },
1267
1268     'version' => {
1269         'DISTRIBUTION' => 'JPEACOCK/version-0.9908.tar.gz',
1270         'FILES'        => q[cpan/version vutil.c vutil.h vxs.inc],
1271         'EXCLUDED' => [
1272             qr{^vutil/lib/},
1273             'vutil/ppport.h',
1274             'vutil/vxs.xs',
1275             't/survey_locales',
1276         ],
1277
1278         # When adding the CPAN-distributed files for version.pm, it is necessary
1279         # to delete an entire block out of lib/version.pm, since that code is
1280         # only necessary with the CPAN release.
1281         'CUSTOMIZED'   => [
1282             qw( lib/version.pm
1283                 ),
1284         ],
1285
1286         'MAP' => {
1287             'vperl/'         => 'cpan/version/lib/version/',
1288             'vutil/'         => '',
1289             ''               => 'cpan/version/',
1290         },
1291     },
1292
1293     'warnings' => {
1294         'FILES'      => q[
1295                  lib/warnings
1296                  lib/warnings.{pm,t}
1297                  regen/warnings.pl
1298                  t/lib/warnings
1299         ],
1300     },
1301
1302     'Win32' => {
1303         'DISTRIBUTION' => "JDB/Win32-0.48.tar.gz",
1304         'FILES'        => q[cpan/Win32],
1305     },
1306
1307     'Win32API::File' => {
1308         'DISTRIBUTION' => 'CHORNY/Win32API-File-0.1201.tar.gz',
1309         'FILES'        => q[cpan/Win32API-File],
1310         'EXCLUDED'     => [
1311             qr{^ex/},
1312             't/pod.t',
1313         ],
1314     },
1315
1316     'XSLoader' => {
1317         'DISTRIBUTION' => 'SAPER/XSLoader-0.16.tar.gz',
1318         'FILES'        => q[dist/XSLoader],
1319         'EXCLUDED'     => [
1320             qr{^eg/},
1321             qw( t/00-load.t
1322                 t/01-api.t
1323                 t/distchk.t
1324                 t/pod.t
1325                 t/podcover.t
1326                 t/portfs.t
1327                 ),
1328             'XSLoader.pm',    # we use XSLoader_pm.PL
1329         ],
1330     },
1331
1332     # this pseudo-module represents all the files under ext/ and lib/
1333     # that aren't otherwise claimed. This means that the following two
1334     # commands will check that every file under ext/ and lib/ is
1335     # accounted for, and that there are no duplicates:
1336     #
1337     #    perl Porting/Maintainers --checkmani lib ext
1338     #    perl Porting/Maintainers --checkmani
1339
1340     '_PERLLIB' => {
1341         'FILES'    => q[
1342                 ext/B/
1343                 ext/Devel-Peek/
1344                 ext/DynaLoader/
1345                 ext/Errno/
1346                 ext/ExtUtils-Miniperl/
1347                 ext/Fcntl/
1348                 ext/File-DosGlob/
1349                 ext/File-Find/
1350                 ext/File-Glob/
1351                 ext/FileCache/
1352                 ext/GDBM_File/
1353                 ext/Hash-Util-FieldHash/
1354                 ext/Hash-Util/
1355                 ext/I18N-Langinfo/
1356                 ext/IPC-Open3/
1357                 ext/NDBM_File/
1358                 ext/ODBM_File/
1359                 ext/Opcode/
1360                 ext/POSIX/
1361                 ext/PerlIO-encoding/
1362                 ext/PerlIO-mmap/
1363                 ext/PerlIO-scalar/
1364                 ext/PerlIO-via/
1365                 ext/Pod-Functions/
1366                 ext/Pod-Html/
1367                 ext/SDBM_File/
1368                 ext/Sys-Hostname/
1369                 ext/Tie-Hash-NamedCapture/
1370                 ext/Tie-Memoize/
1371                 ext/VMS-DCLsym/
1372                 ext/VMS-Filespec/
1373                 ext/VMS-Stdio/
1374                 ext/Win32CORE/
1375                 ext/XS-APItest/
1376                 ext/XS-Typemap/
1377                 ext/arybase/
1378                 ext/attributes/
1379                 ext/mro/
1380                 ext/re/
1381                 lib/AnyDBM_File.{pm,t}
1382                 lib/Benchmark.{pm,t}
1383                 lib/B/Deparse{.pm,.t,-core.t}
1384                 lib/CORE.pod
1385                 lib/Class/Struct.{pm,t}
1386                 lib/Config.t
1387                 lib/Config/Extensions.{pm,t}
1388                 lib/DB.{pm,t}
1389                 lib/DBM_Filter.pm
1390                 lib/DBM_Filter/
1391                 lib/DirHandle.{pm,t}
1392                 lib/English.{pm,t}
1393                 lib/ExtUtils/Embed.pm
1394                 lib/ExtUtils/XSSymSet.pm
1395                 lib/ExtUtils/t/Embed.t
1396                 lib/ExtUtils/typemap
1397                 lib/File/Basename.{pm,t}
1398                 lib/File/Compare.{pm,t}
1399                 lib/File/Copy.{pm,t}
1400                 lib/File/stat{.pm,.t,-7896.t}
1401                 lib/FileHandle.{pm,t}
1402                 lib/FindBin.{pm,t}
1403                 lib/Getopt/Std.{pm,t}
1404                 lib/Internals.t
1405                 lib/Net/hostent.{pm,t}
1406                 lib/Net/netent.{pm,t}
1407                 lib/Net/protoent.{pm,t}
1408                 lib/Net/servent.{pm,t}
1409                 lib/PerlIO.pm
1410                 lib/Pod/t/InputObjects.t
1411                 lib/Pod/t/Select.t
1412                 lib/Pod/t/Usage.t
1413                 lib/Pod/t/utils.t
1414                 lib/SelectSaver.{pm,t}
1415                 lib/Symbol.{pm,t}
1416                 lib/Thread.{pm,t}
1417                 lib/Tie/Array.pm
1418                 lib/Tie/Array/
1419                 lib/Tie/ExtraHash.t
1420                 lib/Tie/Handle.pm
1421                 lib/Tie/Handle/
1422                 lib/Tie/Hash.{pm,t}
1423                 lib/Tie/Scalar.{pm,t}
1424                 lib/Tie/StdHandle.pm
1425                 lib/Tie/SubstrHash.{pm,t}
1426                 lib/Time/gmtime.{pm,t}
1427                 lib/Time/localtime.{pm,t}
1428                 lib/Time/tm.pm
1429                 lib/UNIVERSAL.pm
1430                 lib/Unicode/README
1431                 lib/Unicode/UCD.{pm,t}
1432                 lib/User/grent.{pm,t}
1433                 lib/User/pwent.{pm,t}
1434                 lib/_charnames.pm
1435                 lib/blib.{pm,t}
1436                 lib/bytes.{pm,t}
1437                 lib/bytes_heavy.pl
1438                 lib/charnames.{pm,t}
1439                 lib/dbm_filter_util.pl
1440                 lib/deprecate.pm
1441                 lib/diagnostics.{pm,t}
1442                 lib/dumpvar.{pl,t}
1443                 lib/feature.{pm,t}
1444                 lib/feature/
1445                 lib/filetest.{pm,t}
1446                 lib/h2ph.t
1447                 lib/h2xs.t
1448                 lib/integer.{pm,t}
1449                 lib/less.{pm,t}
1450                 lib/locale.{pm,t}
1451                 lib/open.{pm,t}
1452                 lib/overload/numbers.pm
1453                 lib/overloading.{pm,t}
1454                 lib/overload{.pm,.t,64.t}
1455                 lib/perl5db.{pl,t}
1456                 lib/perl5db/
1457                 lib/sigtrap.{pm,t}
1458                 lib/sort.{pm,t}
1459                 lib/strict.{pm,t}
1460                 lib/subs.{pm,t}
1461                 lib/unicore/
1462                 lib/utf8.{pm,t}
1463                 lib/utf8_heavy.pl
1464                 lib/vars{.pm,.t,_carp.t}
1465                 lib/vmsish.{pm,t}
1466                 ],
1467     },
1468 );
1469
1470 # legacy CPAN flag
1471 for ( values %Modules ) {
1472     $_->{CPAN} = !!$_->{DISTRIBUTION};
1473 }
1474
1475 # legacy UPSTREAM flag
1476 for ( keys %Modules ) {
1477     # Keep any existing UPSTREAM flag so that "overrides" can be applied
1478     next if exists $Modules{$_}{UPSTREAM};
1479
1480     if ($_ eq '_PERLLIB' or $Modules{$_}{FILES} =~ m{^\s*(?:dist|ext|lib)/}) {
1481         $Modules{$_}{UPSTREAM} = 'blead';
1482     }
1483     elsif ($Modules{$_}{FILES} =~ m{^\s*cpan/}) {
1484         $Modules{$_}{UPSTREAM} = 'cpan';
1485     }
1486     else {
1487         warn "Unexpected location of FILES for module $_: $Modules{$_}{FILES}";
1488     }
1489 }
1490
1491 # legacy MAINTAINER field
1492 for ( keys %Modules ) {
1493     # Keep any existing MAINTAINER flag so that "overrides" can be applied
1494     next if exists $Modules{$_}{MAINTAINER};
1495
1496     if ($Modules{$_}{UPSTREAM} eq 'blead') {
1497         $Modules{$_}{MAINTAINER} = 'P5P';
1498         $Maintainers{P5P} = 'perl5-porters <perl5-porters@perl.org>';
1499     }
1500     elsif (exists $Modules{$_}{DISTRIBUTION}) {
1501         (my $pause_id = $Modules{$_}{DISTRIBUTION}) =~ s{/.*$}{};
1502         $Modules{$_}{MAINTAINER} = $pause_id;
1503         $Maintainers{$pause_id} = "<$pause_id\@cpan.org>";
1504     }
1505     else {
1506         warn "No DISTRIBUTION for non-blead module $_";
1507     }
1508 }
1509
1510 1;