1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Add two mirror sites to the end of list with hardcoded search by module name.

This should help portscout bot in detection of new version on CPAN while author
of module is changed. CPAN:macro require author's CPAN-name and this change
allow to fallback try try look by module name.

Discussed with: sunpoet@
This commit is contained in:
Andrej Zverev 2012-06-08 10:16:22 +00:00
parent 0a24c1d482
commit 5943ec5f33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298748

View File

@ -930,7 +930,9 @@ MASTER_SITE_PERL_CPAN_BY+= \
http://backpan.perl.org/%CPANSORT%/%SUBDIR%/ \
ftp://ftp.funet.fi/pub/languages/perl/CPAN/%CPANSORT%/%SUBDIR%/ \
http://cpan.nctu.edu.tw/%CPANSORT%/%SUBDIR%/ \
http://ftp.twaren.net/Unix/Lang/CPAN/%CPANSORT%/%SUBDIR%/
http://ftp.twaren.net/Unix/Lang/CPAN/%CPANSORT%/%SUBDIR%/ \
ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%SUBDIR%/ \
http://www.cpan.dk/modules/by-module/%SUBDIR%/
_PERL_CPAN_FLAG=${MASTER_SITE_SUBDIR:C/(CPAN):.*$/\1/}
_PERL_CPAN_ID= ${MASTER_SITE_SUBDIR:C/^CPAN:(.)(.)(.*)$/\1\/\1\2\/\1\2\3/}