Skip to content

Commit d6c2111

Browse files
author
Mikachu2333
authored
更新 Perl recipe (#304)
1 parent 9dfffbb commit d6c2111

File tree

2 files changed

+26
-16
lines changed

2 files changed

+26
-16
lines changed

src/framework/mirror.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* | BingChunMoLi <[email protected]>
1111
* |
1212
* Created On : <2023-08-29>
13-
* Last Modified : <2025-08-27>
13+
* Last Modified : <2025-10-07>
1414
*
1515
* 通用镜像站
1616
* ------------------------------------------------------------*/

src/recipe/lang/Perl.c

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,36 @@ pl_perl_prelude ()
1010
chef_prep_this (pl_perl, gs);
1111

1212
chef_set_created_on (this, "2023-09-31");
13-
chef_set_last_updated (this, "2025-08-10");
14-
chef_set_sources_last_updated (this, "2025-08-21");
13+
chef_set_last_updated (this, "2025-10-07");
14+
chef_set_sources_last_updated (this, "2025-10-07");
1515

16-
chef_set_chef (this, NULL);
17-
chef_set_cooks (this, 1, "@ccmywish");
18-
chef_set_sauciers (this, 1, "@hezonglun");
16+
chef_set_chef (this, NULL);
17+
chef_set_cooks (this, 1, "@ccmywish");
18+
chef_set_sauciers (this, 2, "@hezonglun", "@Mikachu2333");
1919

20-
chef_allow_local_mode (this, CanNot, NULL, NULL);
21-
chef_forbid_english(this);
22-
chef_allow_user_define(this);
20+
chef_allow_local_mode (this, CanNot, NULL, NULL);
21+
chef_forbid_english (this);
22+
chef_allow_user_define (this);
2323

2424
def_sources_begin()
25-
{&UpstreamProvider, "https://www.cpan.org/", DelegateToUpstream},
26-
{&Bfsu, "https://mirrors.bfsu.edu.cn/CPAN/", DelegateToMirror},
27-
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/CPAN/", DelegateToMirror},
28-
{&Bjtu, "https://mirror.bjtu.edu.cn/cpan/", DelegateToMirror},
29-
{&Hust, "https://mirrors.hust.edu.cn/CPAN/", DelegateToMirror},
30-
{&Ali, "https://mirrors.aliyun.com/CPAN/", DelegateToMirror},
31-
{&Lzuoss, "https://mirror.lzu.edu.cn/CPAN/", DelegateToMirror}
25+
{&UpstreamProvider, "https://www.cpan.org/", FeedByPrelude},
26+
{&MirrorZ, "https://mirrors.cernet.edu.cn/CPAN/", FeedByPrelude},
27+
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/CPAN/", FeedByPrelude},
28+
{&Bfsu, "https://mirrors.bfsu.edu.cn/CPAN/", FeedByPrelude},
29+
{&Cqu, "https://mirrors.cqu.edu.cn/CPAN/", FeedByPrelude},
30+
{&Bjtu, "https://mirror.bjtu.edu.cn/cpan/", FeedByPrelude},
31+
{&Nju, "https://mirrors.nju.edu.cn/CPAN/", FeedByPrelude},
32+
{&Nyist, "https://mirror.nyist.edu.cn/CPAN/", FeedByPrelude},
33+
{&Ustc, "https://mirrors.ustc.edu.cn/CPAN/", FeedByPrelude},
34+
{&Sjtug_Siyuan, "https://mirror.sjtu.edu.cn/cpan/", FeedByPrelude},
35+
{&Iscas, "https://mirror.iscas.ac.cn/CPAN/", FeedByPrelude},
36+
{&Zju, "https://mirrors.zju.edu.cn/CPAN/", FeedByPrelude},
37+
{&Lzuoss, "https://mirrors.lzu.edu.cn/CPAN/", FeedByPrelude},
38+
{&Hust, "https://mirrors.hust.edu.cn/CPAN/", FeedByPrelude},
39+
{&Ali, "https://mirrors.aliyun.com/CPAN/", FeedByPrelude}
3240
def_sources_end()
41+
42+
chef_set_sources_speed_measure_url_with_postfix (this, "authors/id/D/DB/DBAURAIN/Bio-MUST-Apps-FortyTwo-0.213470.tar.gz");
3343
}
3444

3545

0 commit comments

Comments
 (0)