In Samba 3.0.21rc2: 1) I can create the Solaris package for Samba using the supplied shell script makepkg.sh. But pkgadd fails with an error message about duplicate paths. The problem does not occur if I fix file pkginfo.master before running makepkg.sh 2) The supplied shell script makepkg.sh rebuilds Samba from source with the wrong configure options. This problem can be worked around by specifying "nobuild" parameter to prevent a build from being run. But I think the script should not rebuild Samba by default. This is a bad feature that shold be changed.
In Samba 3.0.21rc2: A number of errors occur when make test is run on Solaris8, Solaris9 due to shell syntax errors and platform dependencies in various scripts. And loopback interface is not "lo" - it is lo0 on the Solaris machines which I used for testing. ./source/script/tests/functions: 37c37 < if test $? == 0; then --- > if test $? = 0; then 77c77 < if test $? == 0; then --- > if test $? = 0; then In ./source/script/tests/runtests.sh: 3c3 < if [ "x$1" == "x" ]; then --- > if [ "x$1" = "x" ]; then 8c8 < if [ $# == 2 ]; then --- > if [ $# = 2 ]; then 19c19 < export PREFIX_ABS=`pwd` --- > PREFIX_ABS=`pwd`; export PREFIX_ABS 26c26 < USERNAME=`whoami` --- > USERNAME=`who am i |awk '{print $1}` 52c52 < if test "x`smbd -b | grep SOCKET_WRAPPER`" == "x"; then --- > if test "x`smbd -b | grep SOCKET_WRAPPER`" = "x"; then 83c83 < interfaces = lo --- > interfaces = lo0
I'm applying the patch except the change to the loopback interface. I'll deal with that later.