Commit fb0858a2 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Robert Lyon

Bug 1811282: upgrade simplesaml to 1.16.3

behatnotneeded

Change-Id: I9925a6a5265cc768140c41015c63feed163e88ce
(cherry picked from commit 0080525a)
parent b57eb311
......@@ -62,8 +62,8 @@ ifdef simplesamlphp
@echo "SimpleSAMLphp already exists - doing nothing"
else
@echo "Pulling SimpleSAMLphp from download ..."
@curl -sSL https://github.com/simplesamlphp/simplesamlphp/releases/download/v1.15.0/simplesamlphp-1.15.0.tar.gz | tar --transform 's/simplesamlphp-[0-9]+\.[0-9]+\.[0-9]+/simplesamlphp/x1' -C htdocs/auth/saml/extlib -xzf - # SimpleSAMLPHP release tarball already has all composer dependencies.
# @php external/composer.phar --working-dir=htdocs/auth/saml/extlib/simplesamlphp update --no-dev
@curl -sSL https://github.com/simplesamlphp/simplesamlphp/releases/download/v1.16.3/simplesamlphp-1.16.3.tar.gz | tar --transform 's/simplesamlphp-[0-9]+\.[0-9]+\.[0-9]+/simplesamlphp/x1' -C htdocs/auth/saml/extlib -xzf - # SimpleSAMLPHP release tarball already has all composer dependencies.
@php external/composer.phar --working-dir=htdocs/auth/saml/extlib/simplesamlphp require predis/predis
@echo "Copying www/resources/* files to sp/resources/ ..."
@cp -R htdocs/auth/saml/extlib/simplesamlphp/www/resources/ htdocs/auth/saml/sp/
@echo "Deleting unneeded files ..."
......
......@@ -34,5 +34,16 @@ function xmldb_auth_saml_upgrade($oldversion=0) {
set_config_plugin('auth', 'saml', 'version', '1.15.0');
}
if ($oldversion < 2018021600) {
// Set library version to download
set_config_plugin('auth', 'saml', 'version', '1.15.1');
}
if ($oldversion < 2018080300) {
set_config_plugin('auth', 'saml', 'version', '1.16.1');
}
if ($oldversion < 2019011100) {
set_config_plugin('auth', 'saml', 'version', '1.16.3');
}
return $status;
}
......@@ -10,9 +10,9 @@
defined('INTERNAL') || die();
$config = new StdClass;
$config->version = 2017122000;
$config->release = '1.2.3';
$config = new stdClass();
$config->version = 2019011100;
$config->release = '1.5.0';
$config->name = 'saml';
$config->requires_config = 1;
$config->requires_parent = 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment