summaryrefslogtreecommitdiff
path: root/packaging/Solaris/makepkg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Solaris/makepkg.sh')
-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 ? ? ?