From 20aba88ca56efec2163aaf0a449098eebcfc2237 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 12 May 2008 11:57:33 +0200 Subject: [PATCH 1/3] modify configuration before creating metadatas --- endpoints/configure.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/endpoints/configure.php b/endpoints/configure.php index 7947d01..318f308 100644 --- a/endpoints/configure.php +++ b/endpoints/configure.php @@ -18,19 +18,20 @@ if (isset($_POST)) { && (isset($_POST['idp_metadata']) || isset($_POST['idp_metadata_url']))) { - $ret = $configgen->makeConfig( + $error = ""; + try { + $configgen->importConfigFromPost($_POST); + $ret = $configgen->makeConfig( $_POST['organization'], $_POST['idp_metadata'], $_POST['idp_metadata_url'], isset($_POST['clear_pkey']), $error); - - if ($ret) { - try { - $configgen->importConfigFromPost($_POST); - } catch (Exception $e) { - lassospkit_showCode($e); + if ($ret) { + lassospkit_showCode($error); } + } catch (Exception $e) { + lassospkit_showCode($e); } } } From 21af42f6797f6898e5269253971f6dd2940c9878 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 30 Jun 2008 13:12:05 +0200 Subject: [PATCH 2/3] add a new debian release to the changelog --- debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index 796860b..49f9d12 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +spkitlasso (0.2-1) intrepid; urgency=low + + * Packaging bzr r107 from my branch. + + -- Benjamin Dauvergne Mon, 30 Jun 2008 13:03:25 +0200 + spkitlasso (0.2) unstable; urgency=low * Setup the library into /usr/share/php/spkitlasso From c9c6ec9ae6c3781d5fa382c2131856b6b69642a1 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 2 Dec 2008 14:30:36 +0100 Subject: [PATCH 3/3] Fix depends --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index ee5a694..b55f4be 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Standards-Version: 3.7.2 Package: spkitlasso Architecture: any -Depends: php-lasso +Depends: php5-lasso Description: Simple library to use Lasso PHP bindings inside service providers This package provides PHP 5 classes and a procedural API to use Lasso basic protocols like SSO, Identity Federation, Identity Defederation and SLO,