5.22.1 has been released

This commit is contained in:
Peter Martini 2015-12-13 22:27:16 -05:00
parent 0277d2edfe
commit 952b34b915
6 changed files with 23 additions and 23 deletions

View file

@ -1,12 +1,12 @@
diff --git a/patchlevel.h b/patchlevel.h
index a0ad78b..1812032 100644
index bd56612..3d5f668 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"
+ ,"Devel::PatchPerl 1.38"
,NULL
};

View file

@ -9,14 +9,14 @@ 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 \
RUN curl -SL https://cpan.metacpan.org/authors/id/S/SH/SHAY/perl-5.22.1.tar.bz2 -o perl-5.22.1.tar.bz2 \
&& echo '29f9b320b0299577a3e1d02e9e8ef8f26f160332 *perl-5.22.1.tar.bz2' | sha1sum -c - \
&& tar --strip-components=1 -xjf perl-5.22.1.tar.bz2 -C /usr/src/perl \
&& rm perl-5.22.1.tar.bz2 \
&& cat *.patch | patch -p1 \
&& ./Configure -Dusethreads -Duse64bitall -des \
&& make -j$(nproc) \
&& make test_harness \
&& TEST_JOBS=$(nproc) make test_harness \
&& make install \
&& cd /usr/src \
&& curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
@ -26,4 +26,4 @@ RUN curl -SL https://cpan.metacpan.org/authors/id/R/RJ/RJBS/perl-5.22.0.tar.bz2
WORKDIR /root
CMD ["perl5.22.0","-de0"]
CMD ["perl5.22.1","-de0"]

View file

@ -1,12 +1,12 @@
diff --git a/patchlevel.h b/patchlevel.h
index a0ad78b..1812032 100644
index bd56612..3d5f668 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"
+ ,"Devel::PatchPerl 1.38"
,NULL
};

View file

@ -9,14 +9,14 @@ 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 \
RUN curl -SL https://cpan.metacpan.org/authors/id/S/SH/SHAY/perl-5.22.1.tar.bz2 -o perl-5.22.1.tar.bz2 \
&& echo '29f9b320b0299577a3e1d02e9e8ef8f26f160332 *perl-5.22.1.tar.bz2' | sha1sum -c - \
&& tar --strip-components=1 -xjf perl-5.22.1.tar.bz2 -C /usr/src/perl \
&& rm perl-5.22.1.tar.bz2 \
&& cat *.patch | patch -p1 \
&& ./Configure -Duse64bitall -des \
&& make -j$(nproc) \
&& make test_harness \
&& TEST_JOBS=$(nproc) make test_harness \
&& make install \
&& cd /usr/src \
&& curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
@ -26,4 +26,4 @@ RUN curl -SL https://cpan.metacpan.org/authors/id/R/RJ/RJBS/perl-5.22.0.tar.bz2
WORKDIR /root
CMD ["perl5.22.0","-de0"]
CMD ["perl5.22.1","-de0"]

View file

@ -39,6 +39,6 @@ releases:
sha1: eedf9e3be3c83bef15911996ed18703cffe4d113
pause: SHAY
- version: 5.22.0
sha1: 400338c91c56420d98142cbfcb84d418cae2c98c
pause: RJBS
- version: 5.22.1
sha1: 29f9b320b0299577a3e1d02e9e8ef8f26f160332
pause: SHAY

View file

@ -88,8 +88,8 @@ for my $release (@{$yaml->{releases}}) {
for my $config (keys %builds) {
my $output = $template;
$output =~ s/{{$_}}/$release->{$_}/mg for (qw(version pause extra_flags sha1));
$output =~ s/{{args}}/$builds{$config}/mg;
$output =~ s/\{\{$_\}\}/$release->{$_}/mg for (qw(version pause extra_flags sha1));
$output =~ s/\{\{args\}\}/$builds{$config}/mg;
my $dir = sprintf "%i.%03i.%03i-%s",
($release->{version} =~ /(\d+)\.(\d+)\.(\d+)/),
@ -104,9 +104,9 @@ for my $release (@{$yaml->{releases}}) {
}
if (defined $release->{test_parallel} && $release->{test_parallel} eq "no") {
$output =~ s/{{test}}/make test_harness/;
$output =~ s/\{\{test\}\}/make test_harness/;
} elsif (!defined $release->{test_parallel} || $release->{test_parallel} eq "yes") {
$output =~ s/{{test}}/TEST_JOBS=\$(nproc) make test_harness/;
$output =~ s/\{\{test\}\}/TEST_JOBS=\$(nproc) make test_harness/;
} else {
die "test_parallel was provided for $release->{version} but is invalid; should be 'yes' or 'no'\n";
}