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