75fc5f5cf3
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29351 3c298f89-4303-0410-b956-a3cf2f4a3e73
36 lines
1.4 KiB
Diff
36 lines
1.4 KiB
Diff
--- a/source/Makefile.in
|
|
+++ b/source/Makefile.in
|
|
@@ -92,7 +92,7 @@ INSTALLPERMS = 0755
|
|
# or in smb.conf (see smb.conf(5))
|
|
LOGFILEBASE = @logfilebase@
|
|
CONFIGFILE = $(CONFIGDIR)/smb.conf
|
|
-LMHOSTSFILE = $(CONFIGDIR)/lmhosts
|
|
+LMHOSTSFILE = /etc/lmhosts
|
|
|
|
# This is where smbpasswd et al go
|
|
PRIVATEDIR = @privatedir@
|
|
--- a/source/configure
|
|
+++ b/source/configure
|
|
@@ -1536,8 +1536,8 @@ Optional Packages:
|
|
--with-fhs Use FHS-compliant paths (default=no)
|
|
--with-privatedir=DIR Where to put smbpasswd ($ac_default_prefix/private)
|
|
--with-rootsbindir=DIR Which directory to use for root sbin ($ac_default_prefix/sbin)
|
|
- --with-lockdir=DIR Where to put lock files ($ac_default_prefix/var/locks)
|
|
- --with-piddir=DIR Where to put pid files ($ac_default_prefix/var/locks)
|
|
+ --with-lockdir=DIR Where to put lock files ($ac_default_prefix/var/lock)
|
|
+ --with-piddir=DIR Where to put pid files ($ac_default_prefix/var/run)
|
|
--with-swatdir=DIR Where to put SWAT files ($ac_default_prefix/swat)
|
|
--with-configdir=DIR Where to put configuration files ($libdir)
|
|
--with-logfilebase=DIR Where to put log files ($VARDIR)
|
|
@@ -2295,8 +2295,8 @@ fi
|
|
|
|
|
|
rootsbindir="\${SBINDIR}"
|
|
-lockdir="\${VARDIR}/locks"
|
|
-piddir="\${VARDIR}/locks"
|
|
+lockdir="\${VARDIR}/lock"
|
|
+piddir="\${VARDIR}/run"
|
|
test "${mandir}" || mandir="\${prefix}/man"
|
|
logfilebase="\${VARDIR}"
|
|
privatedir="\${prefix}/private"
|