Skip to content

Commit 2d146ef

Browse files
committed
Add Perl 5.22! 🎉
1 parent 9145338 commit 2d146ef

File tree

5 files changed

+87
-0
lines changed

5 files changed

+87
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/patchlevel.h b/patchlevel.h
2+
index a0ad78b..1812032 100644
3+
--- a/patchlevel.h
4+
+++ b/patchlevel.h
5+
@@ -137,6 +137,7 @@ static const char * const local_patches[] = {
6+
,"uncommitted-changes"
7+
#endif
8+
PERL_GIT_UNPUSHED_COMMITS /* do not remove this line */
9+
+ ,"Devel::PatchPerl 1.34"
10+
,NULL
11+
};
12+

5.022.000-64bit,threaded/Dockerfile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
FROM buildpack-deps
2+
MAINTAINER Peter Martini <PeterCMartini@GMail.com>
3+
4+
RUN apt-get update \
5+
&& apt-get install -y curl procps \
6+
&& rm -fr /var/lib/apt/lists/*
7+
8+
RUN mkdir /usr/src/perl
9+
COPY *.patch /usr/src/perl/
10+
WORKDIR /usr/src/perl
11+
12+
RUN curl -SL https://cpan.metacpan.org/authors/id/R/RJ/RJBS/perl-5.22.0.tar.bz2 -o perl-5.22.0.tar.bz2 \
13+
&& echo '400338c91c56420d98142cbfcb84d418cae2c98c *perl-5.22.0.tar.bz2' | sha1sum -c - \
14+
&& tar --strip-components=1 -xjf perl-5.22.0.tar.bz2 -C /usr/src/perl \
15+
&& rm perl-5.22.0.tar.bz2 \
16+
&& cat *.patch | patch -p1 \
17+
&& ./Configure -Dusethreads -Duse64bitall -des \
18+
&& make -j$(nproc) \
19+
&& make test_harness \
20+
&& make install \
21+
&& cd /usr/src \
22+
&& curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
23+
&& chmod +x cpanm \
24+
&& ./cpanm App::cpanminus \
25+
&& rm -fr ./cpanm /root/.cpanm /usr/src/perl
26+
27+
WORKDIR /root
28+
29+
CMD ["perl5.22.0","-de0"]

5.022.000-64bit/DevelPatchPerl.patch

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/patchlevel.h b/patchlevel.h
2+
index a0ad78b..1812032 100644
3+
--- a/patchlevel.h
4+
+++ b/patchlevel.h
5+
@@ -137,6 +137,7 @@ static const char * const local_patches[] = {
6+
,"uncommitted-changes"
7+
#endif
8+
PERL_GIT_UNPUSHED_COMMITS /* do not remove this line */
9+
+ ,"Devel::PatchPerl 1.34"
10+
,NULL
11+
};
12+

5.022.000-64bit/Dockerfile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
FROM buildpack-deps
2+
MAINTAINER Peter Martini <PeterCMartini@GMail.com>
3+
4+
RUN apt-get update \
5+
&& apt-get install -y curl procps \
6+
&& rm -fr /var/lib/apt/lists/*
7+
8+
RUN mkdir /usr/src/perl
9+
COPY *.patch /usr/src/perl/
10+
WORKDIR /usr/src/perl
11+
12+
RUN curl -SL https://cpan.metacpan.org/authors/id/R/RJ/RJBS/perl-5.22.0.tar.bz2 -o perl-5.22.0.tar.bz2 \
13+
&& echo '400338c91c56420d98142cbfcb84d418cae2c98c *perl-5.22.0.tar.bz2' | sha1sum -c - \
14+
&& tar --strip-components=1 -xjf perl-5.22.0.tar.bz2 -C /usr/src/perl \
15+
&& rm perl-5.22.0.tar.bz2 \
16+
&& cat *.patch | patch -p1 \
17+
&& ./Configure -Duse64bitall -des \
18+
&& make -j$(nproc) \
19+
&& make test_harness \
20+
&& make install \
21+
&& cd /usr/src \
22+
&& curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
23+
&& chmod +x cpanm \
24+
&& ./cpanm App::cpanminus \
25+
&& rm -fr ./cpanm /root/.cpanm /usr/src/perl
26+
27+
WORKDIR /root
28+
29+
CMD ["perl5.22.0","-de0"]

Releases.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,8 @@ releases:
3939
sha1: 63126c683b4c79c35008a47d56f7beae876c569f
4040
pause: SHAY
4141
test_parallel: no
42+
43+
- version: 5.22.0
44+
sha1: 400338c91c56420d98142cbfcb84d418cae2c98c
45+
pause: RJBS
46+
test_parallel: no

0 commit comments

Comments
 (0)