Commit 73c09ef7 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1999347: Updating SSPHP to 1.19.7



Change-Id: Iaef5a173d6af428da66de0d0c46b97aeda975eb8
Signed-off-by: default avatarRobert Lyon <robertl@catalyst.net.nz>
parent 16f0c412
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -153,7 +153,7 @@ ifdef simplesamlphp
	@echo "SimpleSAMLphp already exists - doing nothing"
else
	@echo "Pulling SimpleSAMLphp from download ..."
	@curl -sSL https://github.com/simplesamlphp/simplesamlphp/releases/download/v1.19.5/simplesamlphp-1.19.5.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.
	@curl -sSL https://github.com/simplesamlphp/simplesamlphp/releases/download/v1.19.7/simplesamlphp-1.19.7.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 append_composer.php htdocs/auth/saml/extlib/simplesamlphp/composer.json simplesamlphp/composer-module-installer
	@php external/composer.phar --working-dir=htdocs/auth/saml/extlib/simplesamlphp require predis/predis
	@echo "Copying www/resources/* files to sp/resources/ ..."
+4 −0
Original line number Diff line number Diff line
@@ -89,5 +89,9 @@ function xmldb_auth_saml_upgrade($oldversion=0) {
        set_config_plugin('auth', 'saml', 'version', '1.19.5');
    }

    if ($oldversion < 2022121200) {
        set_config_plugin('auth', 'saml', 'version', '1.19.7');
    }

    return $status;
}
+1 −1
Original line number Diff line number Diff line
@@ -866,7 +866,7 @@ class PluginAuthSaml extends PluginAuth {

    public static function install_auth_default() {
        // Set library version to download
        set_config_plugin('auth', 'saml', 'version', '1.19.5');
        set_config_plugin('auth', 'saml', 'version', '1.19.7');
    }

    private static function delete_old_certificates() {
+2 −2
Original line number Diff line number Diff line
@@ -12,8 +12,8 @@
defined('INTERNAL') || die();

$config = new stdClass();
$config->version = 2022020100;
$config->release = '1.11.0';
$config->version = 2022121200;
$config->release = '1.12.0';
$config->name = 'saml';
$config->requires_config = 1;
$config->requires_parent = 0;