forked from mirrors/nixpkgs
samba: split 4.x-no-persistent-install.patch
reason: Second hunk does not work on 4.8-master
This commit is contained in:
parent
d085af7b7d
commit
d937ea3101
15
pkgs/servers/samba/4.x-no-persistent-install-dynconfig.patch
Normal file
15
pkgs/servers/samba/4.x-no-persistent-install-dynconfig.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
diff -ru3 samba-4.4.6/dynconfig/wscript samba-4.4.6-new/dynconfig/wscript
|
||||
--- samba-4.4.6/dynconfig/wscript 2016-01-26 14:45:46.000000000 +0300
|
||||
+++ samba-4.4.6-new/dynconfig/wscript 2016-10-15 22:21:18.159705132 +0300
|
||||
@@ -416,11 +416,3 @@
|
||||
public_headers=os_path_relpath(os.path.join(Options.launch_dir, version_header), bld.curdir),
|
||||
header_path='samba',
|
||||
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}");
|
||||
-
|
||||
- # these might be on non persistent storage
|
||||
- bld.INSTALL_DIRS("", "${LOCKDIR} ${PIDDIR} ${SOCKET_DIR}")
|
|
@ -37,18 +37,3 @@ diff -ru3 samba-4.4.6/ctdb/wscript samba-4.4.6-new/ctdb/wscript
|
|||
# Unit tests
|
||||
ctdb_unit_tests = [
|
||||
'db_hash_test',
|
||||
diff -ru3 samba-4.4.6/dynconfig/wscript samba-4.4.6-new/dynconfig/wscript
|
||||
--- samba-4.4.6/dynconfig/wscript 2016-01-26 14:45:46.000000000 +0300
|
||||
+++ samba-4.4.6-new/dynconfig/wscript 2016-10-15 22:21:18.159705132 +0300
|
||||
@@ -416,11 +416,3 @@
|
||||
public_headers=os_path_relpath(os.path.join(Options.launch_dir, version_header), bld.curdir),
|
||||
header_path='samba',
|
||||
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}");
|
||||
-
|
||||
- # these might be on non persistent storage
|
||||
- bld.INSTALL_DIRS("", "${LOCKDIR} ${PIDDIR} ${SOCKET_DIR}")
|
||||
|
|
|
@ -31,6 +31,7 @@ stdenv.mkDerivation rec {
|
|||
patches =
|
||||
[ ./4.x-no-persistent-install.patch
|
||||
./patch-source3__libads__kerberos_keytab.c.patch
|
||||
./4.x-no-persistent-install-dynconfig.patch
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
|
|
Loading…
Reference in a new issue