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