Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (cabd8c140ccacd8fc4144e08305904717dadd61d)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (cabd8c140ccacd8fc4144e08305904717dadd61d)
  • Date: Thu, 17 Dec 2009 13:55:41 -0600

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

python-pypi/trac-ldapplugin/DETAILS | 1 +
python-pypi/trac-ldapplugin/HISTORY | 5 +++++
python-pypi/trac-ldapplugin/PRE_BUILD | 4 ++++
python-pypi/trac-ldapplugin/perm.patch | 20 ++++++++++++++++++++
4 files changed, 30 insertions(+)

New commits:
commit cabd8c140ccacd8fc4144e08305904717dadd61d
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

trac-ldapplugin: fixed running with Trac 0.11.6

diff --git a/python-pypi/trac-ldapplugin/DETAILS
b/python-pypi/trac-ldapplugin/DETAILS
index 25375e2..7eb166f 100755
--- a/python-pypi/trac-ldapplugin/DETAILS
+++ b/python-pypi/trac-ldapplugin/DETAILS
@@ -1,5 +1,6 @@
SPELL=trac-ldapplugin
VERSION=0.6.0
+ PATCHLEVEL=1
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_URL[0]=http://spacehopper.org/mirrors/$SOURCE

SOURCE_HASH=sha512:3632ef224d615402be29bae14b5679c5f5d6b2c610cbc08e1525c69dbbcdcd2cc81b4aa3498b1b4144f38973e6a4969cbdff2ff2c8d8964392d3b8526cfbf81d
diff --git a/python-pypi/trac-ldapplugin/HISTORY
b/python-pypi/trac-ldapplugin/HISTORY
index 4159638..134014f 100644
--- a/python-pypi/trac-ldapplugin/HISTORY
+++ b/python-pypi/trac-ldapplugin/HISTORY
@@ -1,2 +1,7 @@
+2009-12-17 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * PRE_BUILD: added, to apply the patch
+ * perm.patch: added, to fix working with Trac 0.11.6/0.12
+
2009-10-17 Vlad Glagolev <stealth AT sourcemage.org>
* DEPENDS, DETAILS: spell created
diff --git a/python-pypi/trac-ldapplugin/PRE_BUILD
b/python-pypi/trac-ldapplugin/PRE_BUILD
new file mode 100755
index 0000000..a331efb
--- /dev/null
+++ b/python-pypi/trac-ldapplugin/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p0 < "$SPELL_DIRECTORY/perm.patch"
diff --git a/python-pypi/trac-ldapplugin/perm.patch
b/python-pypi/trac-ldapplugin/perm.patch
new file mode 100644
index 0000000..420151a
--- /dev/null
+++ b/python-pypi/trac-ldapplugin/perm.patch
@@ -0,0 +1,20 @@
+--- ldapplugin/api.py.orig
++++ ldapplugin/api.py
+@@ -62,7 +62,7 @@
+ self._ldapcfg = {}
+ for name,value in self.config.options('ldap'):
+ if name in LDAP_DIRECTORY_PARAMS:
+- self._ldapcfg[name] = value
++ self._ldapcfg[str(name)] = value
+ # user entry local cache
+ self._cache = {}
+ # max time to live for a cache entry
+@@ -178,7 +178,7 @@
+ self._ldapcfg = {}
+ for name,value in self.config.options('ldap'):
+ if name in LDAP_DIRECTORY_PARAMS:
+- self._ldapcfg[name] = value
++ self._ldapcfg[str(name)] = value
+ # user entry local cache
+ self._cache = {}
+ # max time to live for a cache entry



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (cabd8c140ccacd8fc4144e08305904717dadd61d), Vlad Glagolev, 12/17/2009

Archive powered by MHonArc 2.6.24.

Top of Page