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