packages: samba/samba-python.patch (NEW) - new, from git

adamg adamg at pld-linux.org
Mon Nov 9 01:16:38 CET 2009


Author: adamg                        Date: Mon Nov  9 00:16:38 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, from git

---- Files affected:
packages/samba:
   samba-python.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/samba/samba-python.patch
diff -u /dev/null packages/samba/samba-python.patch:1.1
--- /dev/null	Mon Nov  9 01:16:38 2009
+++ packages/samba/samba-python.patch	Mon Nov  9 01:16:33 2009
@@ -0,0 +1,48 @@
+disable python bindings
+
+based on:
+- http://gitweb.samba.org/?p=samba.git;a=commitdiff_plain;h=e349e2c54117c528b9d194f356399c57e2a04b56
+- http://gitweb.samba.org/?p=samba.git;a=commitdiff_plain;h=0d33b0bfca668ef573499a3c2904f1fb071ec7b9
+- http://gitweb.samba.org/?p=samba.git;a=commitdiff_plain;h=ebb79e27dcea6e0b8215b878c9d42bcc9dd960e7
+
+--- a/source3/samba4.mk
++++ b/source3/samba4.mk
+@@ -124,7 +124,7 @@ tallocsrcdir := $(samba4srcdir)/../lib/talloc
+ comsrcdir := $(samba4srcdir)/lib/com
+ override ASN1C = bin/asn1_compile4
+ override ET_COMPILER = bin/compile_et4
+-include $(samba4srcdir)/build/make/python.mk
++#include $(samba4srcdir)/build/make/python.mk
+ include samba4-data.mk
+ include $(samba4srcdir)/static_deps.mk
+ 
+@@ -165,10 +165,17 @@ clean::
+ proto:: $(PROTO_HEADERS)
+ modules:: $(PLUGINS)
+ 
+-pythonmods:: $(PYTHON_PYS) $(PYTHON_SO)
++#pythonmods:: $(PYTHON_PYS) $(PYTHON_SO)
+ 
+-all:: bin/samba4 bin/regpatch4 bin/regdiff4 bin/regshell4 bin/regtree4 bin/smbclient4 bin/wbinfo4 pythonmods setup plugins
++all:: bin/samba4 bin/regpatch4 bin/regdiff4 bin/regshell4 bin/regtree4 bin/smbclient4 bin/wbinfo4 setup plugins
+ torture:: bin/smbtorture4
++
++#
++## This is a fake rule to stop any python being invoked as currently the
++## build system is broken in source3 with python. JRA.
++#
++installpython:: bin/smbtorture4
++
+ everything:: $(patsubst %,%4,$(BINARIES))
+ setup:
+ 	@ln -sf ../source4/setup setup
+--- a/source3/samba4.m4
+--- b/source3/samba4.m4
+@@ -90,7 +90,6 @@
+ 	[],[m4_include(../lib/tevent/samba.m4)]
+ )
+ 
+-SMB_INCLUDE_MK(../lib/tevent/python.mk) 
+ 
+ SMB_EXT_LIB_FROM_PKGCONFIG(LIBLDB, ldb = $LDB_REQUIRED_VERSION,
+ 	[
================================================================


More information about the pld-cvs-commit mailing list