summaryrefslogtreecommitdiff
path: root/packaging/Solaris
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-08-21 15:07:43 +0000
committerGerald Carter <jerry@samba.org>2003-08-21 15:07:43 +0000
commitc3c3ea33677730d6df50ae1319efc010da77aad0 (patch)
treea6195e9af98fd07588532d375cb55b435f23b759 /packaging/Solaris
parentf8c388399688d74bae57bdf9d188924038476f93 (diff)
downloadsamba-c3c3ea33677730d6df50ae1319efc010da77aad0.tar.gz
samba-c3c3ea33677730d6df50ae1319efc010da77aad0.tar.bz2
samba-c3c3ea33677730d6df50ae1319efc010da77aad0.zip
packaging fix for winbind NSS libraries from Brian King
(This used to be commit 04369b39897aec899957fb08665959b530ff9210)
Diffstat (limited to 'packaging/Solaris')
-rwxr-xr-xpackaging/Solaris/makepkg.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/packaging/Solaris/makepkg.sh b/packaging/Solaris/makepkg.sh
index bd370e9a62..8423a1a9b4 100755
--- a/packaging/Solaris/makepkg.sh
+++ b/packaging/Solaris/makepkg.sh
@@ -32,6 +32,16 @@ add_dynamic_entries()
fi
done
+ # add libraries to /lib for winbind
+ echo "#\n# Libraries \n#"
+ if [ -f $DISTR_BASE/source/nsswitch/libnss_winbind.so ] ; then
+ echo f none /usr/lib/libnss_winbind.so=source/nsswitch/libnss_winbind.so 0755 root other
+ echo s none /usr/lib/libnss_winbind.so.1=/usr/lib/libnss_winbind.so 0755 root other
+ echo s none /usr/lib/libnss_winbind.so.2=/usr/lib/libnss_winbind.so 0755 root other
+ echo s none /usr/lib/nss_winbind.so.1=/usr/lib/libnss_winbind.so 0755 root other
+ echo s none /usr/lib/nss_winbind.so.2=/usr/lib/libnss_winbind.so 0755 root other
+ fi
+
# Add the manpages
echo "#\n# man pages \n#"
echo d none /usr ? ? ?