From 5b17f2a9e47fd57bd11db28abb48a71f8321c035 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 22 Sep 2003 16:12:34 +0000 Subject: solaris packagaing fixes from Brian King (This used to be commit e8d7e9cc9bb26e6b124d036a3702f242fae3bd85) --- packaging/Solaris/makepkg.sh.tmpl | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'packaging/Solaris/makepkg.sh.tmpl') diff --git a/packaging/Solaris/makepkg.sh.tmpl b/packaging/Solaris/makepkg.sh.tmpl index 55a2da2c6a..d1da9d5f12 100755 --- a/packaging/Solaris/makepkg.sh.tmpl +++ b/packaging/Solaris/makepkg.sh.tmpl @@ -18,7 +18,14 @@ add_dynamic_entries() for binfile in * do if [ -f $binfile ]; then - echo f none samba/bin/$binfile=source/bin/$binfile 0755 root other + case $file in + CP*.so) + echo echo f none samba/lib/charset/$binfile=source/bin/$binfile 0755 root other + ;; + *) + echo f none samba/bin/$binfile=source/bin/$binfile 0755 root other + ;; + esac fi done @@ -42,6 +49,13 @@ add_dynamic_entries() echo s none /usr/lib/nss_winbind.so.2=/usr/lib/libnss_winbind.so 0755 root other fi + # add the .dat codepages + echo "#\n# Codepages \n#" + for file in $DISTR_BASE/source/codepages/*.dat ; do + bfile=`basename $file` + echo f none /usr/local/samba/lib/$bfile=source/codepages/$bfile + done + # Add the manpages echo "#\n# man pages \n#" echo d none /usr ? ? ? -- cgit