Skip to content

Add Perl 5.22! #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 1, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions 5.022.000-64bit,threaded/DevelPatchPerl.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/patchlevel.h b/patchlevel.h
index a0ad78b..1812032 100644
--- a/patchlevel.h
+++ b/patchlevel.h
@@ -137,6 +137,7 @@ static const char * const local_patches[] = {
,"uncommitted-changes"
#endif
PERL_GIT_UNPUSHED_COMMITS /* do not remove this line */
+ ,"Devel::PatchPerl 1.34"
,NULL
};

29 changes: 29 additions & 0 deletions 5.022.000-64bit,threaded/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
FROM buildpack-deps
MAINTAINER Peter Martini <PeterCMartini@GMail.com>

RUN apt-get update \
&& apt-get install -y curl procps \
&& rm -fr /var/lib/apt/lists/*

RUN mkdir /usr/src/perl
COPY *.patch /usr/src/perl/
WORKDIR /usr/src/perl

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 \
&& echo '400338c91c56420d98142cbfcb84d418cae2c98c *perl-5.22.0.tar.bz2' | sha1sum -c - \
&& tar --strip-components=1 -xjf perl-5.22.0.tar.bz2 -C /usr/src/perl \
&& rm perl-5.22.0.tar.bz2 \
&& cat *.patch | patch -p1 \
&& ./Configure -Dusethreads -Duse64bitall -des \
&& make -j$(nproc) \
&& make test_harness \
&& make install \
&& cd /usr/src \
&& curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
&& chmod +x cpanm \
&& ./cpanm App::cpanminus \
&& rm -fr ./cpanm /root/.cpanm /usr/src/perl

WORKDIR /root

CMD ["perl5.22.0","-de0"]
12 changes: 12 additions & 0 deletions 5.022.000-64bit/DevelPatchPerl.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/patchlevel.h b/patchlevel.h
index a0ad78b..1812032 100644
--- a/patchlevel.h
+++ b/patchlevel.h
@@ -137,6 +137,7 @@ static const char * const local_patches[] = {
,"uncommitted-changes"
#endif
PERL_GIT_UNPUSHED_COMMITS /* do not remove this line */
+ ,"Devel::PatchPerl 1.34"
,NULL
};

29 changes: 29 additions & 0 deletions 5.022.000-64bit/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
FROM buildpack-deps
MAINTAINER Peter Martini <PeterCMartini@GMail.com>

RUN apt-get update \
&& apt-get install -y curl procps \
&& rm -fr /var/lib/apt/lists/*

RUN mkdir /usr/src/perl
COPY *.patch /usr/src/perl/
WORKDIR /usr/src/perl

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 \
&& echo '400338c91c56420d98142cbfcb84d418cae2c98c *perl-5.22.0.tar.bz2' | sha1sum -c - \
&& tar --strip-components=1 -xjf perl-5.22.0.tar.bz2 -C /usr/src/perl \
&& rm perl-5.22.0.tar.bz2 \
&& cat *.patch | patch -p1 \
&& ./Configure -Duse64bitall -des \
&& make -j$(nproc) \
&& make test_harness \
&& make install \
&& cd /usr/src \
&& curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
&& chmod +x cpanm \
&& ./cpanm App::cpanminus \
&& rm -fr ./cpanm /root/.cpanm /usr/src/perl

WORKDIR /root

CMD ["perl5.22.0","-de0"]
5 changes: 5 additions & 0 deletions Releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,8 @@ releases:
sha1: 63126c683b4c79c35008a47d56f7beae876c569f
pause: SHAY
test_parallel: no

- version: 5.22.0
sha1: 400338c91c56420d98142cbfcb84d418cae2c98c
pause: RJBS
test_parallel: no