Commit 0213229c authored by Robert Lyon's avatar Robert Lyon

Bug 1727524: Updating SimpleSAMLphp to latest release

behatnotneeded

Change-Id: I2dde01166da1a001edfee3b2cc97badfe6ceb2a4
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent f11b2928
...@@ -62,7 +62,7 @@ ifdef simplesamlphp ...@@ -62,7 +62,7 @@ ifdef simplesamlphp
@echo "SimpleSAMLphp already exists - doing nothing" @echo "SimpleSAMLphp already exists - doing nothing"
else else
@echo "Pulling SimpleSAMLphp from download ..." @echo "Pulling SimpleSAMLphp from download ..."
@curl -sSL https://github.com/simplesamlphp/simplesamlphp/releases/download/v1.14.16/simplesamlphp-1.14.16.tar.gz | tar --transform 's/simplesamlphp-[0-9]+\.[0-9]+\.[0-9]+/simplesamlphp/x1' -C htdocs/auth/saml/extlib -xzf - @curl -sSL https://github.com/simplesamlphp/simplesamlphp/releases/download/v1.14.17/simplesamlphp-1.14.17.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. # SimpleSAMLPHP release tarball already has all composer dependencies.
# @php external/composer.phar --working-dir=htdocs/auth/saml/extlib/simplesamlphp update --no-dev # @php external/composer.phar --working-dir=htdocs/auth/saml/extlib/simplesamlphp update --no-dev
@echo "Deleting unneeded files ..." @echo "Deleting unneeded files ..."
......
...@@ -22,5 +22,10 @@ function xmldb_auth_saml_upgrade($oldversion=0) { ...@@ -22,5 +22,10 @@ function xmldb_auth_saml_upgrade($oldversion=0) {
set_config_plugin('auth', 'saml', 'version', '1.14.16'); set_config_plugin('auth', 'saml', 'version', '1.14.16');
} }
if ($oldversion < 2016062902) {
// Set library version to download
set_config_plugin('auth', 'saml', 'version', '1.14.17');
}
return $status; return $status;
} }
...@@ -311,7 +311,7 @@ class PluginAuthSaml extends PluginAuth { ...@@ -311,7 +311,7 @@ class PluginAuthSaml extends PluginAuth {
public static function install_auth_default() { public static function install_auth_default() {
// Set library version to download // Set library version to download
set_config_plugin('auth', 'saml', 'version', '1.14.16'); set_config_plugin('auth', 'saml', 'version', '1.14.17');
} }
private static function create_certificates($numberofdays = 3650) { private static function create_certificates($numberofdays = 3650) {
......
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
defined('INTERNAL') || die(); defined('INTERNAL') || die();
$config = new StdClass; $config = new StdClass;
$config->version = 2016062901; $config->version = 2016062902;
$config->release = '1.2.1'; $config->release = '1.2.2';
$config->name = 'saml'; $config->name = 'saml';
$config->requires_config = 1; $config->requires_config = 1;
$config->requires_parent = 0; $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