home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Divers / samba-1.9.18p7.tar.gz / samba-1.9.18p7.tar / samba-1.9.18p7 / packaging / Caldera / samba-make.patch < prev    next >
Text File  |  1998-03-27  |  2KB  |  75 lines

  1. --- samba-1.9.18p4/source/Makefile.orig    Fri Mar 20 09:09:25 1998
  2. +++ samba-1.9.18p4/source/Makefile    Fri Mar 27 19:38:50 1998
  3. @@ -5,11 +5,11 @@
  4.  ###########################################################################
  5.  
  6.  # The base directory for all samba files
  7. -BASEDIR = /usr/local/samba
  8. +BASEDIR = /usr
  9.  
  10.  # The base manpages directory to put the man pages in
  11.  # Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist.
  12. -MANDIR = /usr/local/man
  13. +MANDIR = /usr/man
  14.  
  15.  # The directories to put things in. If you use multiple
  16.  # architectures or share the samba binaries across NFS then
  17. @@ -18,9 +18,9 @@
  18.  #       normally only applies to nmbd and smbd
  19.  #       SBINDIR implies a secure binary directory
  20.  BINDIR = $(BASEDIR)/bin
  21. -SBINDIR = $(BASEDIR)/bin
  22. -LIBDIR = $(BASEDIR)/lib
  23. -VARDIR = $(BASEDIR)/var
  24. +SBINDIR = $(BASEDIR)/sbin
  25. +LIBDIR = /etc
  26. +VARDIR = /var/log/samba
  27.  
  28.  # The permissions to give the executables
  29.  INSTALLPERMS = 0755
  30. @@ -32,7 +32,7 @@
  31.  
  32.  # You will need to use a ANSI C compiler. This means under SunOS 4 you can't 
  33.  # use cc, instead you will have to use gcc. 
  34. -# CC = gcc
  35. +CC = gcc
  36.  
  37.  # This may help with some versions of make
  38.  SHELL = /bin/sh
  39. @@ -51,11 +51,11 @@
  40.  LMHOSTSFILE = $(LIBDIR)/lmhosts
  41.  DRIVERFILE = $(LIBDIR)/printers.def
  42.  SMB_PASSWD = $(BINDIR)/smbpasswd
  43. -SMB_PASSWD_FILE = $(BASEDIR)/private/smbpasswd
  44. +SMB_PASSWD_FILE = $(LIBDIR)/smbpasswd
  45.  WEB_ROOT = $(BASEDIR)
  46.  
  47.  # the directory where lock files go
  48. -LOCKDIR = $(VARDIR)/locks
  49. +LOCKDIR = /var/lock/samba
  50.  
  51.  # The directory where code page definition files go
  52.  CODEPAGEDIR = $(LIBDIR)/codepages
  53. @@ -90,8 +90,8 @@
  54.  
  55.  # This is for PAM authentication. RedHat Linux uses PAM.
  56.  # If you use PAM, then uncomment the following lines:
  57. -# PAM_FLAGS = -DUSE_PAM
  58. -# PAM_LIBS = -ldl -lpam
  59. +PAM_FLAGS = -DUSE_PAM
  60. +PAM_LIBS = -ldl -lpam
  61.  
  62.  # This is for AFS authentication.  If you use AFS then set AFS_BASE 
  63.  # according to your system layout, and uncomment the other lines as well.
  64. @@ -215,8 +215,8 @@
  65.  # contributed by Andrew.Tridgell@anu.edu.au & John.Terpstra@aquasoft.com.au
  66.  # AXPROC defines DEC Alpha Processor
  67.  # FLAGSM = -DLINUX -DAXPROC -DFAST_SHARE_MODES
  68. -# FLAGSM = -DLINUX -DFAST_SHARE_MODES
  69. -# LIBSM = 
  70. +FLAGSM = -DLINUX -DFAST_SHARE_MODES
  71. +LIBSM = 
  72.  
  73.  # Use this for Linux with shadow passwords and quota - but not using PAM!
  74.  # contributed by xeno@mix.hive.no
  75.