[lemonldap-ng] 01/01: Remove network access attempts during tests
Xavier Guimard
xguimard-guest at moszumanska.debian.org
Fri Jul 8 05:11:37 UTC 2016
This is an automated email from the git hooks/post-receive script.
xguimard-guest pushed a commit to branch master
in repository lemonldap-ng.
commit 9ed0079db9e8eb155a866c8c69779c494fb82c40
Author: Xavier Guimard <x.guimard at free.fr>
Date: Fri Jul 8 07:10:25 2016 +0200
Remove network access attempts during tests
Closes: #830223
---
debian/changelog | 6 ++
.../remove-network-access-during-tests.patch | 72 ++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 79 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 3ac5222..055c3fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+lemonldap-ng (1.9.4-3) unstable; urgency=medium
+
+ * Add patch to avoid network access attempts (Closes: #830223)
+
+ -- Xavier Guimard <x.guimard at free.fr> Fri, 08 Jul 2016 07:04:39 +0200
+
lemonldap-ng (1.9.4-2) unstable; urgency=medium
* Fix "FastCGI server restart fails with SysVinit": remove old unused tip
diff --git a/debian/patches/remove-network-access-during-tests.patch b/debian/patches/remove-network-access-during-tests.patch
new file mode 100644
index 0000000..860b914
--- /dev/null
+++ b/debian/patches/remove-network-access-during-tests.patch
@@ -0,0 +1,72 @@
+Description: Remove network access attemps during build
+ During tests, the manager tries to contact all server declared in "reloadUrls"
+ parameter. This patch cleans default list that contains reload.<domain>
+Author: Xavier Guimard <x.guimard at free.fr>
+Bug-Debian: https://bugs.debian.org/830223
+Forwarded: https://jira.ow2.org/browse/LEMONLDAP-1055
+Last-Update: 2016-07-08
+
+--- a/lemonldap-ng-manager/t/conf/lmConf-1.js
++++ b/lemonldap-ng-manager/t/conf/lmConf-1.js
+@@ -142,9 +142,7 @@
+ "Directory": "__PSESSIONDIR__"
+ },
+ "portal": "http://auth.example.com/",
+- "reloadUrls": {
+- "reload.example.com": "http://reload.example.com/reload"
+- },
++ "reloadUrls": {},
+ "securedCookie": 0,
+ "sessionDataToRemember": {},
+ "timeout": 72000,
+--- a/lemonldap-ng-manager/t/jsonfiles/02-base-tree-all-nodes-opened.json
++++ b/lemonldap-ng-manager/t/jsonfiles/02-base-tree-all-nodes-opened.json
+@@ -1437,13 +1437,7 @@
+ }, {
+ "id": "reloadUrls",
+ "title": "reloadUrls",
+- "type": "keyTextContainer",
+- "nodes": [{
+- "data": "http://reload.example.com/reload",
+- "title": "reload.example.com",
+- "id": "reloadUrls/reload.example.com",
+- "type": "keyText"
+- }]
++ "type": "keyTextContainer"
+ }, {
+ "id": "advancedParams",
+ "title": "advancedParams",
+--- a/lemonldap-ng-manager/t/jsonfiles/12-modified.json
++++ b/lemonldap-ng-manager/t/jsonfiles/12-modified.json
+@@ -1448,13 +1448,7 @@
+ }, {
+ "id": "reloadUrls",
+ "title": "reloadUrls",
+- "type": "keyTextContainer",
+- "nodes": [{
+- "data": "http://reload.example.com/reload",
+- "title": "reload.example.com",
+- "id": "reloadUrls/reload.example.com",
+- "type": "keyText"
+- }]
++ "type": "keyTextContainer"
+ }, {
+ "id": "advancedParams",
+ "title": "advancedParams",
+--- a/lemonldap-ng-manager/t/jsonfiles/14-bad.json
++++ b/lemonldap-ng-manager/t/jsonfiles/14-bad.json
+@@ -1437,13 +1437,7 @@
+ }, {
+ "id": "reloadUrls",
+ "title": "reloadUrls",
+- "type": "keyTextContainer",
+- "nodes": [{
+- "data": "http://reload.example.com/reload",
+- "title": "reload.example.com",
+- "id": "reloadUrls/reload.example.com",
+- "type": "keyText"
+- }]
++ "type": "keyTextContainer"
+ }, {
+ "id": "advancedParams",
+ "title": "advancedParams",
diff --git a/debian/patches/series b/debian/patches/series
index 2212c47..c41cdbe 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
javascript-path.patch
avoid-modify-sources.patch
replace-mouse-by-moose.patch
+remove-network-access-during-tests.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/lemonldap-ng.git
More information about the Pkg-perl-cvs-commits
mailing list