made "hide files" and "veto files" into per-service parameter sections,
[Samba.git] / examples / redhat / samba-make.patch
blob81797baf0e9635a6b7dae230f6eef8d12d155b6e
1 *** samba-1.9.17a1/source/Makefile.orig Sun May 11 22:44:55 1997
2 --- samba-1.9.17a1/source/Makefile Sun May 11 22:51:53 1997
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 = /usr/local/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 = /usr
31 ! BINDIR = $(BASEDIR)/bin
32 ! SBINDIR = $(BASEDIR)/sbin
33 ! LIBDIR = /etc
34 ! VARDIR = /var/log
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 *** 48,54 ****
69 LMHOSTSFILE = $(LIBDIR)/lmhosts
71 # the directory where lock files go
72 ! LOCKDIR = $(VARDIR)/locks
74 # set this to the default group you want your machine to appear in
75 # for browsing. This can also be set in nmbd (see nmbd(8))
76 --- 48,54 ----
77 LMHOSTSFILE = $(LIBDIR)/lmhosts
79 # the directory where lock files go
80 ! LOCKDIR = /var/lock/samba
82 # set this to the default group you want your machine to appear in
83 # for browsing. This can also be set in nmbd (see nmbd(8))
84 ***************
85 *** 71,78 ****
87 # This is for PAM authentication. RedHat Linux uses PAM.
88 # If you use PAM, then uncomment the following lines:
89 ! # PAM_FLAGS = -DUSE_PAM
90 ! # PAM_LIBS = -ldl -lpam
92 # This is for AFS authentication. If you use AFS then set AFS_BASE
93 # according to your system layout, and uncomment the other lines as well.
94 --- 71,78 ----
96 # This is for PAM authentication. RedHat Linux uses PAM.
97 # If you use PAM, then uncomment the following lines:
98 ! PAM_FLAGS = -DUSE_PAM
99 ! PAM_LIBS = -ldl -lpam
101 # This is for AFS authentication. If you use AFS then set AFS_BASE
102 # according to your system layout, and uncomment the other lines as well.
103 ***************
104 *** 181,188 ****
105 # contributed by Andrew.Tridgell@anu.edu.au
106 # AXPROC defines DEC Alpha Processor
107 # FLAGSM = -DLINUX -DAXPROC
108 ! # FLAGSM = -DLINUX
109 ! # LIBSM =
111 # Use this for Linux with shadow passwords and quota
112 # contributed by xeno@mix.hive.no
113 --- 181,188 ----
114 # contributed by Andrew.Tridgell@anu.edu.au
115 # AXPROC defines DEC Alpha Processor
116 # FLAGSM = -DLINUX -DAXPROC
117 ! FLAGSM = -DLINUX
118 ! LIBSM =
120 # Use this for Linux with shadow passwords and quota
121 # contributed by xeno@mix.hive.no