solaris packagaing fixes from Brian King
authorGerald Carter <jerry@samba.org>
Mon, 22 Sep 2003 16:12:03 +0000 (16:12 +0000)
committerGerald Carter <jerry@samba.org>
Mon, 22 Sep 2003 16:12:03 +0000 (16:12 +0000)
(This used to be commit 0f8f2b57ea41f5481ec8da2e98958087b6b07a13)

packaging/Solaris/makepkg.sh.tmpl
packaging/Solaris/prototype.master

index 55a2da2c6a093f88143a2badebcf08b2d6397513..d1da9d5f1296de81e1003bb744588e04835aab1a 100755 (executable)
@@ -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 ? ? ?
index ff5ba895b39f048b89e757770b00d561e472005e..6c5aa3e28ab6443f66277880642e3512e51c3f7d 100644 (file)
@@ -37,6 +37,7 @@ d none samba/docs 0755 root other
 #
 # Stuff that goes into lib
 #
+d none samba/lib/charset 0755 root other
 f none samba/lib/smb.conf.example=examples/smb.conf.default 0644 root other
 d none samba/lib/regeditscripts 0755 root other
 f none samba/lib/regeditscripts/NT4_PlainPassword.reg=docs/Registry/NT4_PlainPassword.reg 0444 root other