[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2371-g76bf5a4

Jelmer Vernooij jelmer at samba.org
Wed Jun 17 22:54:56 GMT 2009


The branch, master has been updated
       via  76bf5a4edeecd366da58fdb1f64a023d1f2a8461 (commit)
       via  57c514afec55c390cfe3b548e5f96d199e580e71 (commit)
      from  7d20e8f7f4d3d1a17b3817cea370304f2f437809 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 76bf5a4edeecd366da58fdb1f64a023d1f2a8461
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Thu Jun 18 00:53:05 2009 +0200

    configure: Use Python tdb bindings from the system, if found.

commit 57c514afec55c390cfe3b548e5f96d199e580e71
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Jun 17 21:48:02 2009 +0200

    Remove outdated Python status file.

-----------------------------------------------------------------------

Summary of changes:
 source4/TODO                    |    4 ++--
 source4/configure.ac            |   13 ++++++++++---
 source4/scripting/python/STATUS |   14 --------------
 3 files changed, 12 insertions(+), 19 deletions(-)
 delete mode 100644 source4/scripting/python/STATUS


Changeset truncated at 500 lines:

diff --git a/source4/TODO b/source4/TODO
index 5efebed..2d7853f 100644
--- a/source4/TODO
+++ b/source4/TODO
@@ -1,7 +1,7 @@
 build/smb_build/TODO
 lib/registry/TODO
-lib/tdr/TODO
-pidl/TODO
+../lib/tdr/TODO
+../pidl/TODO
 
 - seperate adminlog mechanism (as opposed to the current DEBUG log,
   which is not really aimed at administrators but more at developers)
diff --git a/source4/configure.ac b/source4/configure.ac
index a841ab1..c99205a 100644
--- a/source4/configure.ac
+++ b/source4/configure.ac
@@ -53,15 +53,22 @@ SMB_INCLUDED_LIB_PKGCONFIG(LIBTALLOC, talloc >= TALLOC_MIN_VERSION, [],
 )
 
 SMB_INCLUDED_LIB_PKGCONFIG(LIBTDB, tdb >= TDB_MIN_VERSION,
-	[],
+	[
+		AC_MSG_CHECKING([for Python TDB bindings])
+		if $PYTHON -c "from tdb import open" 2>/dev/null; then
+			AC_MSG_RESULT(yes)
+		else
+			SMB_INCLUDE_MK(../lib/tdb/python.mk) 
+			AC_MSG_RESULT(no)
+		fi
+	 ],
 	[
 		m4_include(../lib/tdb/libtdb.m4)
 		SMB_INCLUDE_MK(../lib/tdb/config.mk)
+		SMB_INCLUDE_MK(../lib/tdb/python.mk) 
 	]
 )
 
-SMB_INCLUDE_MK(../lib/tdb/python.mk) 
-
 SMB_INCLUDED_LIB_PKGCONFIG(LIBTEVENT, tevent = TEVENT_REQUIRED_VERSION,
 	[],[m4_include(../lib/tevent/samba.m4)]
 )
diff --git a/source4/scripting/python/STATUS b/source4/scripting/python/STATUS
deleted file mode 100644
index ee67b8b..0000000
--- a/source4/scripting/python/STATUS
+++ /dev/null
@@ -1,14 +0,0 @@
-dsdb/samdb/ldb_modules/tests/samba3sam.py: Fix remaining failing tests
-lib/ldb/tests/python/ldap.py: Fix remaining 3 FIXME's
-command-line vampire
-provisioning: combine some of the python dictionaries
-finish scripting/bin/smbstatus.py
-
-not important before making Python the default:
-- hierarchy (rename samr -> dcerpc.samr, misc -> samba.misc, etc)
-- scripting/python/samba/upgrade.py
-- install python modules into system
-- SWAT
-- __ndr_pack__/__ndr_unpack__ members for the NDR struct bindings
-- generate docstrings in DCE/RPC bindings
-- eliminate some variables from the python interface because they can be induced


-- 
Samba Shared Repository


More information about the samba-cvs mailing list