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