summaryrefslogtreecommitdiff
path: root/openwrt/package/samba/patches/301-config_files_path.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-08-22 07:11:48 +0000
committerNicolas Thill <nico@openwrt.org>2005-08-22 07:11:48 +0000
commit78a3bc69d8ced21c04ce7b185099bd9d541a394f (patch)
treed76860a3187384df72163ca9a0c4bee58ef45cae /openwrt/package/samba/patches/301-config_files_path.patch
parentebcfbc5c9abe13e0c5adac3d936d42e18ce3ec47 (diff)
downloadmtk-20170518-78a3bc69d8ced21c04ce7b185099bd9d541a394f.zip
mtk-20170518-78a3bc69d8ced21c04ce7b185099bd9d541a394f.tar.gz
mtk-20170518-78a3bc69d8ced21c04ce7b185099bd9d541a394f.tar.bz2
add samba package
SVN-Revision: 1719
Diffstat (limited to 'openwrt/package/samba/patches/301-config_files_path.patch')
-rw-r--r--openwrt/package/samba/patches/301-config_files_path.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/openwrt/package/samba/patches/301-config_files_path.patch b/openwrt/package/samba/patches/301-config_files_path.patch
new file mode 100644
index 0000000..089d9f6
--- /dev/null
+++ b/openwrt/package/samba/patches/301-config_files_path.patch
@@ -0,0 +1,25 @@
+diff -ruN samba-2.0.10-old/source/Makefile.in samba-2.0.10-new/source/Makefile.in
+--- samba-2.0.10-old/source/Makefile.in 2005-08-22 03:03:17.000000000 +0200
++++ samba-2.0.10-new/source/Makefile.in 2005-08-22 03:08:23.000000000 +0200
+@@ -31,6 +31,8 @@
+ MANDIR = @mandir@
+ SAMBABOOK = @sambabook@
+
++CONFIGDIR = @sysconfdir@
++
+ # The permissions to give the executables
+ INSTALLPERMS = 0755
+
+@@ -39,9 +41,9 @@
+ # or in smb.conf (see smb.conf(5))
+ SMBLOGFILE = $(VARDIR)/smb
+ NMBLOGFILE = $(VARDIR)/nmb
+-CONFIGFILE = $(LIBDIR)/smb.conf
+-LMHOSTSFILE = $(LIBDIR)/lmhosts
+-DRIVERFILE = $(LIBDIR)/printers.def
++CONFIGFILE = $(CONFIGDIR)/smb.conf
++LMHOSTSFILE = $(CONFIGDIR)/lmhosts
++DRIVERFILE = $(CONFIGDIR)/printers.def
+ PASSWD_PROGRAM = /bin/passwd
+ # This is where smbpasswd et al go
+ PRIVATEDIR = @privatedir@