Mailing List Archive

svn commit: r1861756 - in /perl/modperl/trunk/build: make_rpm_spec win32_fetch_apxs
Author: stevehay
Date: Fri Jun 21 07:50:51 2019
New Revision: 1861756

URL: http://svn.apache.org/viewvc?rev=1861756&view=rev
Log:
Ensure secure URLs are used in build scripts

Modified:
perl/modperl/trunk/build/make_rpm_spec
perl/modperl/trunk/build/win32_fetch_apxs

Modified: perl/modperl/trunk/build/make_rpm_spec
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/build/make_rpm_spec?rev=1861756&r1=1861755&r2=1861756&view=diff
==============================================================================
--- perl/modperl/trunk/build/make_rpm_spec (original)
+++ perl/modperl/trunk/build/make_rpm_spec Fri Jun 21 07:50:51 2019
@@ -16,7 +16,7 @@ open(my $spec, ">mod_perl.spec") || die
print $spec <<"EOF";
%define _version $mod_perl2::VERSION_TRIPLET
%define _release $release
-%define _source http://apache.org/dist/perl/$tarname
+%define _source https://apache.org/dist/perl/$tarname
%define _dirname $path
%define _httpd_min_ver $httpd_ver
%define _perl_min_ver 5.6.1
@@ -30,7 +30,7 @@ Summary: An embedded Perl interpr
Group: System Environment/Daemons
License: Apache License, Version 2.0
Packager: mod_perl Development Team <dev@perl.apache.org>
-URL: http://perl.apache.org/
+URL: https://perl.apache.org/
Source: %{_source}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: httpd >= %{_httpd_min_ver}

Modified: perl/modperl/trunk/build/win32_fetch_apxs
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/build/win32_fetch_apxs?rev=1861756&r1=1861755&r2=1861756&view=diff
==============================================================================
--- perl/modperl/trunk/build/win32_fetch_apxs (original)
+++ perl/modperl/trunk/build/win32_fetch_apxs Fri Jun 21 07:50:51 2019
@@ -49,7 +49,7 @@ but a development port is available. You
- install apxs by answering "yes" at the prompt below,
- quit now, run the "fetch_win32_apxs.pl" script in the build/ directory
to fetch and install the utilities, and then rebuild mod_perl,
-- quit now, and from http://apache.org/dist/perl/win32-bin/ grab
+- quit now, and from https://apache.org/dist/perl/win32-bin/ grab
apxs_win32.tar.gz; when unpacked, this contains a README explaining
how to install the utilities. Afterwards, rebuild mod_perl.
----------------------------------------------------------------------
@@ -72,7 +72,7 @@ LWP::Simple->import(qw(is_success getsto

my $file = 'apxs_win32.tar.gz';
unless (-e $file) {
- my $remote = 'http://apache.org/dist/perl/win32-bin/' . $file;
+ my $remote = 'https://apache.org/dist/perl/win32-bin/' . $file;
print "Fetching $remote ... ";
die "Download of $remote failed"
unless (is_success(getstore($remote, $file)));