From 4ee0776c9de1493ce9c5caaf7b842e93d447aa3f Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 17 Oct 2012 18:03:55 +0200 Subject: [PATCH 1/3] wafsamba: If we define a realname and a soname create a symlink. This is needed that libnss_winbind.so.2 and libnss_wins.so.2 will get a corresponding symlinks. Signed-off-by: Andreas Schneider --- buildtools/wafsamba/samba_install.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildtools/wafsamba/samba_install.py b/buildtools/wafsamba/samba_install.py index 5e53989..aa7f143 100644 --- a/buildtools/wafsamba/samba_install.py +++ b/buildtools/wafsamba/samba_install.py @@ -103,6 +103,8 @@ def install_library(self): if getattr(self, 'samba_realname', None): install_name = self.samba_realname install_link = None + if getattr(self, 'soname', ''): + install_link = self.soname if getattr(self, 'samba_type', None) == 'PYTHON': inst_name = bld.make_libname(t.target, nolibprefix=True, python=True) else: -- 1.8.0 From d7af77460500d786ee23a847516e7000387060aa Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 17 Oct 2012 18:16:15 +0200 Subject: [PATCH 2/3] waf: Create a libnss_winbind.so symlink. This fixes bug #9299. Signed-off-by: Andreas Schneider --- nsswitch/wscript_build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsswitch/wscript_build b/nsswitch/wscript_build index 0802687..1d47264 100644 --- a/nsswitch/wscript_build +++ b/nsswitch/wscript_build @@ -18,9 +18,9 @@ bld.SAMBA_LIBRARY('nss_winbind', source='winbind_nss_linux.c', deps='winbind-client', realname='libnss_winbind.so.2', + soname='libnss_winbind.so', vnum='2') - if bld.CONFIG_SET('WITH_PAM_MODULES') and bld.CONFIG_SET('HAVE_PAM_START'): bld.SAMBA_LIBRARY('pamwinbind', source='pam_winbind.c', -- 1.8.0 From 8cd5e5cec0f7023f209eb4ecb5afe0e1848d47e7 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 17 Oct 2012 18:17:27 +0200 Subject: [PATCH 3/3] waf: Create a libnss_wins.so symlink. This fixes bug #9299. Signed-off-by: Andreas Schneider --- source3/wscript_build | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/wscript_build b/source3/wscript_build index 7e39ec3..97828c6 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -657,6 +657,7 @@ bld.SAMBA3_LIBRARY('nss_wins', source=WINBIND_WINS_NSS_SRC, deps='''param libsmb LIBTSOCKET''', realname='libnss_wins.so.2', + soname='libnss_wins.so', vnum='2') bld.SAMBA3_LIBRARY('gse', -- 1.8.0