JHT ==> Updated and commented RedHat Linux smb.conf file.
[Samba.git] / examples / redhat / samba-make.patch
blob0c290867e0dda37b5903e5745c91bf4a560e0aec
1 *** samba-1.9.16p10/source/Makefile.orig
2 --- samba-1.9.16p10/source/Makefile
3 ***************
4 *** 5,20 ****
6 # The base manpages directory to put the man pages in
7 # Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist.
8 ! MANDIR = /usr/local/man
10 # The directories to put things in. If you use multiple
11 # architectures or share the samba binaries across NFS then
12 # you will probably want to change this layout.
13 ! BASEDIR = /usr/local/samba
14 ! BINDIR = $(BASEDIR)/bin
15 ! SBINDIR = $(BASEDIR)/bin
16 ! LIBDIR = $(BASEDIR)/lib
17 ! VARDIR = $(BASEDIR)/var
19 # The permissions to give the executables
20 INSTALLPERMS = 0755
21 --- 5,20 ----
23 # The base manpages directory to put the man pages in
24 # Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist.
25 ! MANDIR = /usr/man
27 # The directories to put things in. If you use multiple
28 # architectures or share the samba binaries across NFS then
29 # you will probably want to change this layout.
30 ! BASEDIR = /
31 ! BINDIR = $(BASEDIR)usr/bin
32 ! SBINDIR = $(BASEDIR)usr/sbin
33 ! LIBDIR = /etc
34 ! VARDIR = /var
36 # The permissions to give the executables
37 INSTALLPERMS = 0755
38 ***************
39 *** 23,35 ****
40 # add -DSYSLOG for syslog support
41 # RPM_OPT_FLAGS is needed when building an RPM distribution package
42 # for RedHat Linux.
43 ! # FLAGS1 = $(RPM_OPT_FLAGS)
44 FLAGS1 = -O
45 LIBS1 =
47 # You will need to use a ANSI C compiler. This means under SunOS 4 you can't
48 # use cc, instead you will have to use gcc.
49 ! # CC = gcc
51 # This may help with some versions of make
52 SHELL = /bin/sh
53 --- 23,35 ----
54 # add -DSYSLOG for syslog support
55 # RPM_OPT_FLAGS is needed when building an RPM distribution package
56 # for RedHat Linux.
57 ! FLAGS1 = $(RPM_OPT_FLAGS)
58 FLAGS1 = -O
59 LIBS1 =
61 # You will need to use a ANSI C compiler. This means under SunOS 4 you can't
62 # use cc, instead you will have to use gcc.
63 ! CC = gcc
65 # This may help with some versions of make
66 SHELL = /bin/sh
67 ***************
68 *** 42,54 ****
69 # set these to where to find various files
70 # These can be overridden by command line switches (see smbd(8))
71 # or in smb.conf (see smb.conf(5))
72 ! SMBLOGFILE = $(VARDIR)/log.smb
73 ! NMBLOGFILE = $(VARDIR)/log.nmb
74 CONFIGFILE = $(LIBDIR)/smb.conf
75 LMHOSTSFILE = $(LIBDIR)/lmhosts
77 # the directory where lock files go
78 ! LOCKDIR = $(VARDIR)/locks
80 # set this to the default group you want your machine to appear in
81 # for browsing. This can also be set in nmbd (see nmbd(8))
82 --- 42,54 ----
83 # set these to where to find various files
84 # These can be overridden by command line switches (see smbd(8))
85 # or in smb.conf (see smb.conf(5))
86 ! SMBLOGFILE = $(VARDIR)/log/log.smb
87 ! NMBLOGFILE = $(VARDIR)/log/log.nmb
88 CONFIGFILE = $(LIBDIR)/smb.conf
89 LMHOSTSFILE = $(LIBDIR)/lmhosts
91 # the directory where lock files go
92 ! LOCKDIR = $(VARDIR)/lock/samba
94 # set this to the default group you want your machine to appear in
95 # for browsing. This can also be set in nmbd (see nmbd(8))
96 ***************
97 *** 71,78 ****
99 # This is for PAM authentication. RedHat Linux uses PAM.
100 # If you use PAM, then uncomment the following lines:
101 ! # PAM_FLAGS = -DUSE_PAM -DNO_CRYPT
102 ! # PAM_LIBS = -ldl -lpam
104 # This is for AFS authentication. If you use AFS then set AFS_BASE
105 # according to your system layout, and uncomment the other lines as well.
106 --- 71,78 ----
108 # This is for PAM authentication. RedHat Linux uses PAM.
109 # If you use PAM, then uncomment the following lines:
110 ! PAM_FLAGS = -DUSE_PAM -DNO_CRYPT
111 ! PAM_LIBS = -ldl -lpam
113 # This is for AFS authentication. If you use AFS then set AFS_BASE
114 # according to your system layout, and uncomment the other lines as well.
115 ***************
116 *** 178,185 ****
118 # Use this for Linux without shadow passwords
119 # contributed by Andrew.Tridgell@anu.edu.au
120 ! # FLAGSM = -DLINUX
121 ! # LIBSM =
123 # Use this for Linux with shadow passwords and quota
124 # contributed by xeno@mix.hive.no
125 --- 178,187 ----
127 # Use this for Linux without shadow passwords
128 # contributed by Andrew.Tridgell@anu.edu.au
129 ! # AXPROC defines DEC Alpha Processor
130 ! # FLAGSM = -DLINUX -DAXPROC
131 ! FLAGSM = -DLINUX
132 ! LIBSM =
134 # Use this for Linux with shadow passwords and quota
135 # contributed by xeno@mix.hive.no