From b53b4039b422d28c39389ea8f42f19061b48102f Mon Sep 17 00:00:00 2001 From: nico Date: Mon, 22 Aug 2005 07:11:48 +0000 Subject: add samba package git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1719 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/samba/patches/301-config_files_path.patch | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 package/samba/patches/301-config_files_path.patch (limited to 'package/samba/patches/301-config_files_path.patch') diff --git a/package/samba/patches/301-config_files_path.patch b/package/samba/patches/301-config_files_path.patch new file mode 100644 index 000000000..089d9f6ef --- /dev/null +++ b/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@ -- cgit v1.2.3