diff options
author | Eric Sandall | 2009-01-20 15:02:27 -0800 |
---|---|---|
committer | Eric Sandall | 2009-04-18 13:24:49 -0700 |
commit | 9115a43133b9d4f43e1648e4fba39f37b5b9cac5 (patch) | |
tree | 7a609cfefb47831ffc83f2b8cc4e3fef62defdb7 /net/samba4/INSTALL | |
parent | 1fa141f792144ff7e02e1c5ddb4c8ae157dfa3fe (diff) |
samba4: Added new spell for Samba 4.x experimental branch
Diffstat (limited to 'net/samba4/INSTALL')
-rwxr-xr-x | net/samba4/INSTALL | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/net/samba4/INSTALL b/net/samba4/INSTALL new file mode 100755 index 0000000000..e493217db7 --- /dev/null +++ b/net/samba4/INSTALL @@ -0,0 +1,56 @@ +make_normal && +make install && +if is_depends_enabled $SPELL python; then + make python_install +fi && + +cd .. && + +mkdir -p $INSTALL_ROOT/usr/share/samba/codepages && +mkdir -p $INSTALL_ROOT/var/{spool,cache,log}/samba && + +mkdir -m 700 -p $INSTALL_ROOT/etc/samba/private && +if [[ ! -f $INSTALL_ROOT/etc/samba/private/smbpasswd ]]; then + touch $INSTALL_ROOT/etc/samba/private/smbpasswd && + chmod 600 $INSTALL_ROOT/etc/samba/private/smbpasswd +fi + +# +# Install libwinbind if it exists +# +#if [[ -f source4/nsswitch/libnss_winbind.so ]] +#then +# echo "Installing nsswitch/libnss_winbind.so to $INSTALL_ROOT/lib" && +# install -m 644 source4/nsswitch/libnss_winbind.so \ +# $INSTALL_ROOT/lib && +# echo "Symlinking libnss_winbind.so.2 to libnss_winbind.so" && +# pushd $INSTALL_ROOT/lib && +# ln -sf libnss_winbind.so \ +# libnss_winbind.so.2 && +# popd +#fi && + +#if [[ -f source4/nsswitch/libnss_wins.so ]] +#then +# echo "Installing nsswitch/libnss_wins.so to $INSTALL_ROOT/lib" && +# install -m 644 source4/nsswitch/libnss_wins.so \ +# $INSTALL_ROOT/lib && +# echo "Symlinking libnss_wins.so.2 to libnss_wins.so" && +# pushd $INSTALL_ROOT/lib && +# ln -sf libnss_wins.so \ +# libnss_wins.so.2 && +# popd +#fi && + +# Setup the symlink for CUPS: +#if spell_ok cups; then +# if ! [ -e ${INSTALL_ROOT}/usr/lib/cups/backend/smb ]; then +# ln -s ${INSTALL_ROOT}/usr/bin/smbspool ${INSTALL_ROOT}/usr/lib/cups/backend/smb +# fi +#fi + +if [[ -h $INSTALL_ROOT/usr/include/samba ]]; then + rm -f $INSTALL_ROOT/usr/include/samba +fi + +ln -sf /usr/include/samba-4.0/samba $INSTALL_ROOT/usr/include/samba |