Apache Lucene open-source search software
Switch from LWP::Simple to wget invocation for downloading JIRA project info - because the JIRA URL uses the https: protocol, LWP::Simple requires the LWP::Protocol::https module, which is not included by default in many Perl installations, e.g. Debian-based distros
Steven Rowe7525579b6db0
diff --git a/lucene/src/site/changes/changes2html.pl b/lucene/src/site/changes/changes2html.plindex d07a03d62b4..f95d63e06e0 100755--- a/lucene/src/site/changes/changes2html.pl+++ b/lucene/src/site/changes/changes2html.pl@@ -23,7 +23,6 @@use strict;use warnings;-use LWP::Simple;my $project_info_url = 'https://issues.apache.org/jira/rest/api/2.0.alpha1/project/LUCENE';my $jira_url_prefix = 'http://issues.apache.org/jira/browse/';@@ -674,7 +673,8 @@ sub setup_release_dates {'2.4.0' => '2008-10-06', '2.4.1' => '2009-03-09','2.9.0' => '2009-09-23', '2.9.1' => '2009-11-06','3.0.0' => '2009-11-25');- my $project_info_json = get($project_info_url) || die "Unable to download $project_info_url";++ my $project_info_json = `wget --no-check-certificate -O - $project_info_url`;my $project_info = json2perl($project_info_json);for my $version (@{$project_info->{versions}}) {if ($version->{releaseDate}) {