Updated packaging files from 2.0.0 branch - NOTE: Not yet operative.
[kai/samba.git] / packaging / PHT / TurboLinux / makefile-path.patch
index b9f5984a782501035b292f98d8b4fd5a7b35efd3..37cf817d0dec854c82e4da88cb76c26eb8b279df 100644 (file)
@@ -1,43 +1,34 @@
---- samba-2.0.0/source/Makefile.in.orig        Sat Aug 22 02:48:36 1998
-+++ samba-2.0.0/source/Makefile.in     Fri Aug 21 22:19:32 1998
-@@ -23,11 +23,11 @@
- .SUFFIXES:
- .SUFFIXES: .c .o
--BASEDIR=$(prefix)/samba
-+BASEDIR= /usr
- BINDIR = $(BASEDIR)/bin
--SBINDIR = $(BASEDIR)/bin
--LIBDIR = $(BASEDIR)/lib
--VARDIR = $(BASEDIR)/var
-+SBINDIR = $(BASEDIR)/sbin
-+LIBDIR = /etc
-+VARDIR = /var
- MANDIR = $(BASEDIR)/man
+--- samba-2.0.0/source/Makefile.in.orig        Tue Dec  1 22:32:20 1998
++++ samba-2.0.0/source/Makefile.in     Wed Dec  2 17:11:33 1998
+@@ -25,9 +25,9 @@
+ BINDIR = @bindir@
+ # we don't use sbindir because we want full compatibility with
+ # the previous releases of Samba
+-SBINDIR = @bindir@
++SBINDIR = @sbindir@
+ LIBDIR = @libdir@
+-VARDIR = @localstatedir@
++VARDIR = /var/log/samba
+ MANDIR = @mandir@
  
  # The permissions to give the executables
-@@ -36,19 +36,19 @@
- # set these to where to find various files
- # These can be overridden by command line switches (see smbd(8))
- # or in smb.conf (see smb.conf(5))
--SMBLOGFILE = $(VARDIR)/log.smb
--NMBLOGFILE = $(VARDIR)/log.nmb
-+SMBLOGFILE = $(VARDIR)/log/samba/log.smb
-+NMBLOGFILE = $(VARDIR)/log/samba/log.nmb
- CONFIGFILE = $(LIBDIR)/smb.conf
- LMHOSTSFILE = $(LIBDIR)/lmhosts
+@@ -43,16 +43,16 @@
  DRIVERFILE = $(LIBDIR)/printers.def
- SMB_PASSWD = $(BINDIR)/smbpasswd
--SMB_PASSWD_FILE = $(BASEDIR)/private/smbpasswd
-+SMB_PASSWD_FILE = $(LIBDIR)/smbpasswd
+ PASSWD_PROGRAM = /bin/passwd
+ # This is where smbpasswd et al go
+-PRIVATEDIR = @privatedir@
++PRIVATEDIR = $(LIBDIR)
+ SMB_PASSWD_FILE = $(PRIVATEDIR)/smbpasswd
+ SMB_PASSGRP_FILE = $(PRIVATEDIR)/smbpassgrp
  
  # This is where SWAT images and help files go
--SWATDIR = $(BASEDIR)/swat
-+SWATDIR = $(BASEDIR)/share/swat
+-SWATDIR = @swatdir@
++SWATDIR = /usr/share/swat
  
  # the directory where lock files go
 -LOCKDIR = $(VARDIR)/locks
-+LOCKDIR = $(VARDIR)/lock/samba
++LOCKDIR = /var/lock/samba
  
  # The directory where code page definition files go
  CODEPAGEDIR = $(LIBDIR)/codepages