about summary refs log tree commit diff
path: root/pkgs/servers/samba/4.x-no-persistent-install.patch
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-01-02 21:21:34 -0800
committerWilliam A. Kennington III <william@wkennington.com>2015-01-03 21:45:16 -0800
commitcc73af1d10d122e9da968a3847b83c975b5f198f (patch)
tree6ea376347df5aad92fe3fbc7c85be476422891c9 /pkgs/servers/samba/4.x-no-persistent-install.patch
parentc9d963c4e64fed7c13e91df86c31927ed0d48877 (diff)
downloadnixlib-cc73af1d10d122e9da968a3847b83c975b5f198f.tar
nixlib-cc73af1d10d122e9da968a3847b83c975b5f198f.tar.gz
nixlib-cc73af1d10d122e9da968a3847b83c975b5f198f.tar.bz2
nixlib-cc73af1d10d122e9da968a3847b83c975b5f198f.tar.lz
nixlib-cc73af1d10d122e9da968a3847b83c975b5f198f.tar.xz
nixlib-cc73af1d10d122e9da968a3847b83c975b5f198f.tar.zst
nixlib-cc73af1d10d122e9da968a3847b83c975b5f198f.zip
samba: Add version 4 as the default
Diffstat (limited to 'pkgs/servers/samba/4.x-no-persistent-install.patch')
-rw-r--r--pkgs/servers/samba/4.x-no-persistent-install.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/servers/samba/4.x-no-persistent-install.patch b/pkgs/servers/samba/4.x-no-persistent-install.patch
new file mode 100644
index 000000000000..68d0cf76aa55
--- /dev/null
+++ b/pkgs/servers/samba/4.x-no-persistent-install.patch
@@ -0,0 +1,18 @@
+diff --git a/dynconfig/wscript b/dynconfig/wscript
+index aa4e66e..d53f433 100755
+--- a/dynconfig/wscript
++++ b/dynconfig/wscript
+@@ -379,9 +379,9 @@ def build(bld):
+                         cflags=cflags)
+ 
+     # install some extra empty directories
+-    bld.INSTALL_DIRS("", "${CONFIGDIR} ${PRIVATE_DIR} ${LOGFILEBASE}");
+-    bld.INSTALL_DIRS("", "${PRIVATE_DIR} ${PRIVILEGED_SOCKET_DIR}")
+-    bld.INSTALL_DIRS("", "${STATEDIR} ${CACHEDIR}");
++    #bld.INSTALL_DIRS("", "${CONFIGDIR} ${PRIVATE_DIR} ${LOGFILEBASE}");
++    #bld.INSTALL_DIRS("", "${PRIVATE_DIR} ${PRIVILEGED_SOCKET_DIR}")
++    #bld.INSTALL_DIRS("", "${STATEDIR} ${CACHEDIR}");
+ 
+     # these might be on non persistent storage
+-    bld.INSTALL_DIRS("", "${LOCKDIR} ${PIDDIR} ${SOCKET_DIR}")
++    #bld.INSTALL_DIRS("", "${LOCKDIR} ${PIDDIR} ${SOCKET_DIR}")