copy trunk to buildroot-ng branch
[15.05/openwrt.git] / package / samba / patches / 301-config_files_path.patch
1 diff -ruN samba-2.0.10-old/source/Makefile.in samba-2.0.10-new/source/Makefile.in
2 --- samba-2.0.10-old/source/Makefile.in 2005-08-22 03:03:17.000000000 +0200
3 +++ samba-2.0.10-new/source/Makefile.in 2005-08-22 03:08:23.000000000 +0200
4 @@ -31,6 +31,8 @@
5  MANDIR = @mandir@
6  SAMBABOOK = @sambabook@
7  
8 +CONFIGDIR = @sysconfdir@
9 +
10  # The permissions to give the executables
11  INSTALLPERMS = 0755
12  
13 @@ -39,9 +41,9 @@
14  # or in smb.conf (see smb.conf(5))
15  SMBLOGFILE = $(VARDIR)/smb
16  NMBLOGFILE = $(VARDIR)/nmb
17 -CONFIGFILE = $(LIBDIR)/smb.conf
18 -LMHOSTSFILE = $(LIBDIR)/lmhosts
19 -DRIVERFILE = $(LIBDIR)/printers.def
20 +CONFIGFILE = $(CONFIGDIR)/smb.conf
21 +LMHOSTSFILE = $(CONFIGDIR)/lmhosts
22 +DRIVERFILE = $(CONFIGDIR)/printers.def
23  PASSWD_PROGRAM = /bin/passwd
24  # This is where smbpasswd et al go
25  PRIVATEDIR = @privatedir@