Add a samba4 patch when running make samba for alpha18 on Fedora operating system
authorJulien Kerihuel <j.kerihuel@openchange.org>
Wed, 14 Mar 2012 13:42:49 +0000 (13:42 +0000)
committerJulien Kerihuel <j.kerihuel@openchange.org>
Wed, 14 Mar 2012 13:42:49 +0000 (13:42 +0000)
script/installsamba4.sh

index fe09f4004d81384df96cb3c5c505c7f7bcbe1233..a13267c93f955adbdf5c53be969b4b0c30789ac9 100755 (executable)
@@ -221,6 +221,12 @@ download() {
 # Apply patches to samba4
 #
 patch() {
+
+    pushd samba4/source3
+    sed "s/deps='ndr security NDR_SECURITY samba-util UTIL_TDB'/deps='ndr security NDR_SECURITY samba-util UTIL_TDB ccan'/g" wscript_build > wscript_build2
+    mv wscript_build2 wscript_build
+    popd
+
     case "$HOST_OS" in
        *freebsd*)