Projects
Kolab:3.4
389-ds-base
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 6
View file
389-ds-base.spec
Changed
@@ -35,6 +35,8 @@ Source: %{name}-%{version}.tar.bz2 # Patch1: Make init scripts LSB conform Patch1: 389-ds-base-1.2.11.15_dirsrv_init.patch +# Patch2: Fix Kolab bug 2229 +Patch2: fix-sasl-path.diff BuildRequires: bzip2 BuildRequires: cyrus-sasl-devel >= 2.1.19
View file
fix-sasl-path.diff
Added
@@ -0,0 +1,38 @@ +--- 389-ds-base-1.2.11.15/ldap/servers/slapd/ldaputil.c.orig 2012-09-25 18:16:09.000000000 +0200 ++++ 389-ds-base-1.2.11.15/ldap/servers/slapd/ldaputil.c 2014-05-08 06:48:04.000000000 +0200 +@@ -682,8 +682,16 @@ + if (!(pluginpath = getenv("SASL_PATH"))) { + #if defined(LINUX) && defined(__LP64__) + pluginpath = "/usr/lib64/sasl2"; ++ if (PR_SUCCESS != PR_Access(pluginpath, PR_ACCESS_EXISTS)) { ++ /* Since the path does not exist, try gnu triplet. */ ++ pluginpath = "/usr/lib/x86_64-linux-gnu/sasl2"; ++ } + #else + pluginpath = "/usr/lib/sasl2"; ++ if (PR_SUCCESS != PR_Access(pluginpath, PR_ACCESS_EXISTS)) { ++ /* Since the path does not exist, try gnu triplet. */ ++ pluginpath = "/usr/lib/i386-linux-gnu/sasl2"; ++ } + #endif + } + } +--- 389-ds-base-1.2.11.15/ldap/servers/slapd/saslbind.c.orig 2012-09-25 18:16:09.000000000 +0200 ++++ 389-ds-base-1.2.11.15/ldap/servers/slapd/saslbind.c 2014-05-08 06:48:04.000000000 +0200 +@@ -530,8 +530,16 @@ + if (!(pluginpath = getenv("SASL_PATH"))) { + #if defined(LINUX) && defined(__LP64__) + pluginpath = "/usr/lib64/sasl2"; ++ if (PR_SUCCESS != PR_Access(pluginpath, PR_ACCESS_EXISTS)) { ++ /* Since the path does not exist, try gnu triplet. */ ++ pluginpath = "/usr/lib/x86_64-linux-gnu/sasl2"; ++ } + #else + pluginpath = "/usr/lib/sasl2"; ++ if (PR_SUCCESS != PR_Access(pluginpath, PR_ACCESS_EXISTS)) { ++ /* Since the path does not exist, try gnu triplet. */ ++ pluginpath = "/usr/lib/i386-linux-gnu/sasl2"; ++ } + #endif + } + }
View file
389-ds-base.dsc
Changed
@@ -2,7 +2,7 @@ Source: 389-ds-base Binary: 389-ds, 389-ds-base-libs, 389-ds-base-libs-dbg, 389-ds-base-dev, 389-ds-base, 389-ds-base-dbg Architecture: any all -Version: 1.2.11.15-1 +Version: 1.2.11.15-2 Maintainer: Debian 389ds Team <pkg-fedora-ds-maintainers@lists.alioth.debian.org> Uploaders: Timo Aaltonen <tjaalton@ubuntu.com>, Krzysztof Klimonda <kklimonda@syntaxhighlighted.com> Homepage: http://directory.fedoraproject.org
View file
debian.changelog
Changed
@@ -1,3 +1,10 @@ +389-ds-base (1.2.11.15-2) unstable; urgency=low + + * Fix for Kolab bug 2229: 389 DS needs content of /usr/lib/x86_64-linux-gnu/sasl2 at /usr/lib/sasl2 + by using the patch from the debian sid packages (rediffed) + + -- Jochen Hein <jochen@jochen.org> Thu, 8 May 2014 05:43:39 +0200 + 389-ds-base (1.2.11.15-1) unstable; urgency=low * Package 1.2.11.15
View file
debian.series
Changed
@@ -1,1 +1,2 @@ debian-default_user.patch -p1 +fix-sasl-path.diff -p1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.