summaryrefslogtreecommitdiffstats
path: root/examples/redhat/samba-make.patch
blob: 81797baf0e9635a6b7dae230f6eef8d12d155b6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
*** samba-1.9.17a1/source/Makefile.orig	Sun May 11 22:44:55 1997
--- samba-1.9.17a1/source/Makefile	Sun May 11 22:51:53 1997
***************
*** 5,20 ****
  
  # The base manpages directory to put the man pages in
  # Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist.
! MANDIR = /usr/local/man
  
  # The directories to put things in. If you use multiple
  # architectures or share the samba binaries across NFS then
  # you will probably want to change this layout.
! BASEDIR = /usr/local/samba
! BINDIR = /usr/local/bin
! SBINDIR = $(BASEDIR)/bin
! LIBDIR = $(BASEDIR)/lib
! VARDIR = $(BASEDIR)/var
  
  # The permissions to give the executables
  INSTALLPERMS = 0755
--- 5,20 ----
  
  # The base manpages directory to put the man pages in
  # Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist.
! MANDIR = /usr/man
  
  # The directories to put things in. If you use multiple
  # architectures or share the samba binaries across NFS then
  # you will probably want to change this layout.
! BASEDIR = /usr
! BINDIR = $(BASEDIR)/bin
! SBINDIR = $(BASEDIR)/sbin
! LIBDIR = /etc
! VARDIR = /var/log
  
  # The permissions to give the executables
  INSTALLPERMS = 0755
***************
*** 23,35 ****
  # add -DSYSLOG for syslog support
  # RPM_OPT_FLAGS is needed when building an RPM distribution package
  # for RedHat Linux.
! # FLAGS1 = $(RPM_OPT_FLAGS)
! FLAGS1 = -O
  LIBS1 = 
  
  # You will need to use a ANSI C compiler. This means under SunOS 4 you can't 
  # use cc, instead you will have to use gcc. 
! # CC = gcc
  
  # This may help with some versions of make
  SHELL = /bin/sh
--- 23,35 ----
  # add -DSYSLOG for syslog support
  # RPM_OPT_FLAGS is needed when building an RPM distribution package
  # for RedHat Linux.
! FLAGS1 = $(RPM_OPT_FLAGS)
! # FLAGS1 = -O
  LIBS1 = 
  
  # You will need to use a ANSI C compiler. This means under SunOS 4 you can't 
  # use cc, instead you will have to use gcc. 
! CC = gcc
  
  # This may help with some versions of make
  SHELL = /bin/sh
***************
*** 48,54 ****
  LMHOSTSFILE = $(LIBDIR)/lmhosts
  
  # the directory where lock files go
! LOCKDIR = $(VARDIR)/locks
  
  # set this to the default group you want your machine to appear in
  # for browsing. This can also be set in nmbd (see nmbd(8))
--- 48,54 ----
  LMHOSTSFILE = $(LIBDIR)/lmhosts
  
  # the directory where lock files go
! LOCKDIR = /var/lock/samba
  
  # set this to the default group you want your machine to appear in
  # for browsing. This can also be set in nmbd (see nmbd(8))
***************
*** 71,78 ****
  
  # This is for PAM authentication. RedHat Linux uses PAM.
  # If you use PAM, then uncomment the following lines:
! # PAM_FLAGS = -DUSE_PAM
! # PAM_LIBS = -ldl -lpam
  
  # This is for AFS authentication.  If you use AFS then set AFS_BASE 
  # according to your system layout, and uncomment the other lines as well.
--- 71,78 ----
  
  # This is for PAM authentication. RedHat Linux uses PAM.
  # If you use PAM, then uncomment the following lines:
! PAM_FLAGS = -DUSE_PAM
! PAM_LIBS = -ldl -lpam
  
  # This is for AFS authentication.  If you use AFS then set AFS_BASE 
  # according to your system layout, and uncomment the other lines as well.
***************
*** 181,188 ****
  # contributed by Andrew.Tridgell@anu.edu.au
  # AXPROC defines DEC Alpha Processor
  # FLAGSM = -DLINUX -DAXPROC
! # FLAGSM = -DLINUX
! # LIBSM = 
  
  # Use this for Linux with shadow passwords and quota
  # contributed by xeno@mix.hive.no
--- 181,188 ----
  # contributed by Andrew.Tridgell@anu.edu.au
  # AXPROC defines DEC Alpha Processor
  # FLAGSM = -DLINUX -DAXPROC
! FLAGSM = -DLINUX
! LIBSM = 
  
  # Use this for Linux with shadow passwords and quota
  # contributed by xeno@mix.hive.no