[Pkg-samba-maint] [Git][samba-team/samba][mjt-4.16] 8 commits: Update autodeps.py from python- to python3-

Michael Tokarev (@mjt) gitlab at salsa.debian.org
Sun Mar 27 23:34:31 BST 2022



Michael Tokarev pushed to branch mjt-4.16 at Debian Samba Team / samba


Commits:
ac1c81a8 by Mathieu Parent at 2022-03-28T00:44:29+03:00
Update autodeps.py from python- to python3-

- - - - -
8ae3122f by Michael Tokarev at 2022-03-28T01:05:57+03:00
internal-ldb: Copy files from ldb source package

- - - - -
210c838a by Michael Tokarev at 2022-03-28T01:29:21+03:00
internal-ldb: fix private libraries names in ldb install files, list ldb files explicitly

- - - - -
d0ddc38d by Mathieu Parent at 2022-03-28T01:29:21+03:00
internal-ldb: Copy control stanzas

- - - - -
cde4bc01 by Michael Tokarev at 2022-03-28T01:29:21+03:00
internal-ldb: Update build dependencies

- Import missing dependencies from ldb source
- Remove ldb as buildep

- - - - -
9218d486 by Mathieu Parent at 2022-03-28T01:29:21+03:00
internal-ldb: d/rules

- - - - -
feaa86dc by Mathieu Parent at 2022-03-28T01:29:21+03:00
internal-ldb: Force LDB as standalone (patch/hack)

- - - - -
9bcae32a by Michael Tokarev at 2022-03-28T01:34:07+03:00
d/copyright: heimdal sources are moved

- - - - -


17 changed files:

- debian/autodeps.py
- debian/control
- debian/copyright
- + debian/ldb-tools.install
- + debian/libldb-dev.examples
- + debian/libldb-dev.install
- + debian/libldb2.install
- + debian/libldb2.symbols
- + debian/patches/Force-LDB-as-standalone.patch
- debian/patches/series
- + debian/python3-ldb-dev.install
- + debian/python3-ldb-dev.lintian-overrides
- + debian/python3-ldb.install
- + debian/python3-ldb.lintian-overrides
- + debian/python3-ldb.symbols.in
- debian/rules
- debian/samba-dev.install


Changes:

=====================================
debian/autodeps.py
=====================================
@@ -118,12 +118,9 @@ def update_control():
     min_tevent_version = eq_config.find_oldest_compatible("tevent", tevent_version)
 
     update_deps(source, "Build-Depends", "libtdb-dev", min_tdb_version)
-    update_deps(source, "Build-Depends", "python-tdb", min_tdb_version)
+    update_deps(source, "Build-Depends", "python3-tdb", min_tdb_version)
     update_deps(source, "Build-Depends", "libtalloc-dev", min_talloc_version)
-    update_deps(source, "Build-Depends", "python-talloc-dev", min_talloc_version)
-    update_deps(source, "Build-Depends", "libldb-dev", min_ldb_version, 2)
-    update_deps(source, "Build-Depends", "python-ldb-dev", min_ldb_version, 2)
-    update_deps(source, "Build-Depends", "python-ldb", min_ldb_version, 2)
+    update_deps(source, "Build-Depends", "python3-talloc-dev", min_talloc_version)
     update_deps(source, "Build-Depends", "libtevent-dev", min_tevent_version)
 
     with open("debian/control", "wb+") as o:


=====================================
debian/control
=====================================
@@ -34,7 +34,7 @@ Build-Depends: bison,
                libjansson-dev,
                libjson-perl,
                libldap2-dev,
-               libldb-dev (>= 2:2.5.0~),
+               liblmdb-dev,
                libncurses5-dev,
                libpam0g-dev,
                libparse-yapp-perl,
@@ -55,8 +55,6 @@ Build-Depends: bison,
                python3-dev,
                python3-dnspython,
                python3-etcd,
-               python3-ldb (>= 2:2.5.0~),
-               python3-ldb-dev (>= 2:2.5.0~),
                python3-markdown,
                python3-talloc-dev (>= 2.3.3~),
                python3-tdb (>= 1.4.6~),
@@ -478,3 +476,100 @@ Description: clustered database to store temporary data
   * CTDB supports a system of application specific management scripts, allowing
     applications that depend on network or filesystem resources to be managed in
     a highly available manner on a cluster.
+
+Package: libldb2
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Architecture: any
+Section: libs
+Depends: ${misc:Depends},
+         ${shlibs:Depends}
+Replaces: libldb0
+Breaks: ldb-tools (<<1.1.30~),
+        libldb0,
+        libldb1 (<< 2:2~),
+        libsamdb0 (<< 4.0.0~alpha17~git20110724.dfsg1-1),
+        python-samba (<< 2:4.7.0~),
+        samba (<<2:4.7.0~),
+        samba-dsdb-modules (<< 2:4.7.0~),
+        samba-libs (<< 2:4.7.0~),
+        samba-testsuite (<< 2:4.7.0~)
+Description: LDAP-like embedded database - shared library
+ ldb is a LDAP-like embedded database built on top of TDB.
+ .
+ It provides a fast database with an LDAP-like API designed
+ to be used within an application. In some ways it can be seen as a
+ intermediate solution between key-value pair databases and a real LDAP
+ database.
+ .
+ This package contains the shared library file.
+
+Package: ldb-tools
+Section: utils
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends}
+Description: LDAP-like embedded database - tools
+ ldb is a LDAP-like embedded database built on top of TDB.
+ .
+ What ldb does is provide a fast database with an LDAP-like API designed
+ to be used within an application. In some ways it can be seen as a
+ intermediate solution between key-value pair databases and a real LDAP
+ database.
+ .
+ This package contains bundled test and utility binaries
+
+Package: libldb-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: libc6-dev,
+         libldb2 (= ${binary:Version}),
+         libtalloc-dev,
+         libtevent-dev,
+         libtdb-dev,
+         pkg-config,
+         ${misc:Depends}
+Description: LDAP-like embedded database - development files
+ ldb is a LDAP-like embedded database built on top of TDB.
+ .
+ What ldb does is provide a fast database with an LDAP-like API designed
+ to be used within an application. In some ways it can be seen as a
+ intermediate solution between key-value pair databases and a real LDAP
+ database.
+ .
+ This package contains the development files.
+
+Package: python3-ldb
+Pre-Depends: ${misc:Pre-Depends}
+Section: python
+Architecture: any
+Depends: libldb2 (= ${binary:Version}),
+         ${misc:Depends},
+         ${python3:Depends},
+         ${shlibs:Depends}
+Provides: ${python:Provides}
+Breaks: ${python:Breaks}
+Description: Python 3 bindings for LDB
+ ldb is a LDAP-like embedded database built on top of TDB.
+ .
+ This package contains the Python 3 bindings.
+
+Package: python3-ldb-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: libc6-dev,
+         libldb-dev,
+         pkg-config,
+         python3-ldb (= ${binary:Version}),
+         ${misc:Depends}
+Description: LDB Python 3 bindings - development files
+ ldb is a LDAP-like embedded database built on top of TDB.
+ .
+ It is a fast database with an LDAP-like API designed
+ to be used within an application. In some ways it can be seen as a
+ intermediate solution between key-value pair databases and a real LDAP
+ database.
+ .
+ This package contains the development files for the Python 3 bindings.


=====================================
debian/copyright
=====================================
@@ -11,7 +11,7 @@ Files: *
 Copyright: 1992-2012 Andrew Tridgell and the Samba Team
 License: GPL-3.0+
 
-Files: source4/heimdal/*
+Files: third_party/heimdal/*
 Copyright:
  1996-2005 Kungliga Tekniska Högskolan
  (Royal Institute of Technology, Stockholm, Sweden).


=====================================
debian/ldb-tools.install
=====================================
@@ -0,0 +1,8 @@
+usr/bin/ldb*
+usr/lib/*/samba/libldb-cmdline-samba4.so.0
+usr/share/man/man1/ldbadd.1
+usr/share/man/man1/ldbdel.1
+usr/share/man/man1/ldbedit.1
+usr/share/man/man1/ldbmodify.1
+usr/share/man/man1/ldbrename.1
+usr/share/man/man1/ldbsearch.1


=====================================
debian/libldb-dev.examples
=====================================
@@ -0,0 +1,2 @@
+lib/ldb/examples/ldbreader.c
+lib/ldb/examples/ldifreader.c


=====================================
debian/libldb-dev.install
=====================================
@@ -0,0 +1,9 @@
+usr/include/samba-4.0/ldb.h
+usr/include/samba-4.0/ldb_errors.h
+usr/include/samba-4.0/ldb_handlers.h
+usr/include/samba-4.0/ldb_module.h
+usr/include/samba-4.0/ldb_version.h
+#usr/lib/*/samba/libldb.a
+usr/lib/*/libldb.so
+usr/lib/*/pkgconfig/ldb.pc
+usr/share/man/man3/ldb.3


=====================================
debian/libldb2.install
=====================================
@@ -0,0 +1,9 @@
+#!/bin/sh
+echo 'usr/lib/*/ldb/modules'
+echo 'usr/lib/*/libldb.so.*'
+if [ "$DEB_HOST_ARCH_BITS" != 32 ]; then
+    echo 'usr/lib/*/samba/libldb-mdb-int-samba4.so.0'
+fi
+echo 'usr/lib/*/samba/libldb-key-value-samba4.so.0'
+echo 'usr/lib/*/samba/libldb-tdb-err-map-samba4.so.0'
+echo 'usr/lib/*/samba/libldb-tdb-int-samba4.so.0'


=====================================
debian/libldb2.symbols
=====================================
@@ -0,0 +1,361 @@
+libldb.so.2 #PACKAGE# #MINVER#
+* Build-Depends-Package: libldb-dev
+ LDB_0.9.10 at LDB_0.9.10 0.9.21
+ LDB_0.9.12 at LDB_0.9.12 0.9.21
+ LDB_0.9.15 at LDB_0.9.15 0.9.21
+ LDB_0.9.16 at LDB_0.9.16 0.9.21
+ LDB_0.9.17 at LDB_0.9.17 0.9.21
+ LDB_0.9.18 at LDB_0.9.18 0.9.21
+ LDB_0.9.19 at LDB_0.9.19 0.9.21
+ LDB_0.9.20 at LDB_0.9.20 0.9.21
+ LDB_0.9.22 at LDB_0.9.22 0.9.22
+ LDB_0.9.23 at LDB_0.9.23 0.9.23
+ LDB_0.9.24 at LDB_0.9.24 0.9.24
+ LDB_1.0.0 at LDB_1.0.0 1.0.2~
+ LDB_1.0.1 at LDB_1.0.1 1.0.1~
+ LDB_1.0.2 at LDB_1.0.2 1.0.2~
+ LDB_1.1.0 at LDB_1.1.0 1.1.0
+ LDB_1.1.1 at LDB_1.1.1 1.1.1~
+ LDB_1.1.2 at LDB_1.1.2 1.1.2~
+ LDB_1.1.3 at LDB_1.1.3 1.1.3
+ LDB_1.1.4 at LDB_1.1.4 1.1.4
+ LDB_1.1.5 at LDB_1.1.5 1.1.5
+ LDB_1.1.6 at LDB_1.1.6 1.1.6
+ LDB_1.1.7 at LDB_1.1.7 1.1.12
+ LDB_1.1.8 at LDB_1.1.8 1.1.12
+ LDB_1.1.9 at LDB_1.1.9 1.1.12
+ LDB_1.1.10 at LDB_1.1.10 1.1.12
+ LDB_1.1.11 at LDB_1.1.11 1.1.12
+ LDB_1.1.12 at LDB_1.1.12 1.1.12
+ LDB_1.1.13 at LDB_1.1.13 1.1.13
+ LDB_1.1.14 at LDB_1.1.14 1:1.1.15
+ LDB_1.1.15 at LDB_1.1.15 1:1.1.15
+ LDB_1.1.16 at LDB_1.1.16 1:1.1.16
+ LDB_1.1.17 at LDB_1.1.17 1:1.1.17
+ LDB_1.1.18 at LDB_1.1.18 1:1.1.18
+ LDB_1.1.19 at LDB_1.1.19 1:1.1.19
+ LDB_1.1.20 at LDB_1.1.20 1:1.1.20
+ LDB_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.0.5 at LDB_2.0.5 2:2.0.5
+ LDB_2.1.0 at LDB_2.1.0 2:2.1.0
+ LDB_2.1.1 at LDB_2.1.1 2:2.1.1
+ LDB_2.2.0 at LDB_2.2.0 2:2.2.0
+ LDB_2.4.0 at LDB_2.4.0 2:2.5.0
+ LDB_2.4.1 at LDB_2.4.1 2:2.5.0
+ LDB_2.5.0 at LDB_2.5.0 2:2.5.0
+ ldb_check_critical_controls at LDB_0.9.22 0.9.22
+ ldb_controls_except_specified at LDB_0.9.22 0.9.22
+ ldb_control_to_string at LDB_1.0.2 1.0.2~git20110403
+ ldb_add at LDB_0.9.10 0.9.21
+ ldb_any_comparison at LDB_0.9.10 0.9.21
+ ldb_asprintf_errstring at LDB_0.9.10 0.9.21
+ ldb_attr_casefold at LDB_0.9.10 0.9.21
+ ldb_attr_dn at LDB_0.9.10 0.9.21
+ ldb_attr_in_list at LDB_0.9.10 0.9.21
+ ldb_attr_list_copy at LDB_0.9.10 0.9.21
+ ldb_attr_list_copy_add at LDB_0.9.10 0.9.21
+ ldb_base64_decode at LDB_0.9.10 0.9.21
+ ldb_base64_encode at LDB_0.9.10 0.9.21
+ ldb_binary_decode at LDB_0.9.10 0.9.21
+ ldb_binary_encode at LDB_0.9.10 0.9.21
+ ldb_binary_encode_string at LDB_0.9.10 0.9.21
+ ldb_build_add_req at LDB_0.9.10 0.9.21
+ ldb_build_del_req at LDB_0.9.10 0.9.21
+ ldb_build_extended_req at LDB_0.9.10 0.9.21
+ ldb_build_mod_req at LDB_0.9.10 0.9.21
+ ldb_build_rename_req at LDB_0.9.10 0.9.21
+ ldb_build_search_req at LDB_0.9.10 0.9.21
+ ldb_build_search_req_ex at LDB_0.9.10 0.9.21
+ ldb_casefold at LDB_0.9.10 0.9.21
+ ldb_casefold_default at LDB_0.9.10 0.9.21
+ ldb_comparison_binary at LDB_0.9.10 0.9.21
+ ldb_comparison_fold at LDB_0.9.10 0.9.21
+ ldb_connect at LDB_0.9.10 0.9.21
+ ldb_control_to_string at LDB_1.0.2 1.0.2
+ ldb_debug at LDB_0.9.10 0.9.21
+ ldb_debug_add at LDB_0.9.10 0.9.21
+ ldb_debug_end at LDB_0.9.10 0.9.21
+ ldb_debug_set at LDB_0.9.10 0.9.21
+ ldb_delete at LDB_0.9.10 0.9.21
+ ldb_dn_add_base at LDB_0.9.10 0.9.21
+ ldb_dn_add_base_fmt at LDB_0.9.10 0.9.21
+ ldb_dn_add_child at LDB_0.9.10 0.9.21
+ ldb_dn_add_child_fmt at LDB_0.9.10 0.9.21
+ ldb_dn_add_child_val at LDB_1.5.1 2:1.5.4
+ ldb_dn_alloc_casefold at LDB_0.9.10 0.9.21
+ ldb_dn_alloc_linearized at LDB_0.9.10 0.9.21
+ ldb_dn_canonical_ex_string at LDB_0.9.10 0.9.21
+ ldb_dn_canonical_string at LDB_0.9.10 0.9.21
+ ldb_dn_check_local at LDB_0.9.10 0.9.21
+ ldb_dn_check_special at LDB_0.9.10 0.9.21
+ ldb_dn_compare at LDB_0.9.10 0.9.21
+ ldb_dn_compare_base at LDB_0.9.10 0.9.21
+ ldb_dn_copy at LDB_0.9.10 0.9.21
+ ldb_dn_escape_value at LDB_0.9.10 0.9.21
+ ldb_dn_extended_add_syntax at LDB_0.9.10 0.9.21
+ ldb_dn_extended_filter at LDB_0.9.10 0.9.21
+ ldb_dn_extended_syntax_by_name at LDB_0.9.10 0.9.21
+ ldb_dn_from_ldb_val at LDB_0.9.10 0.9.21
+ ldb_dn_get_casefold at LDB_0.9.10 0.9.21
+ ldb_dn_get_comp_num at LDB_0.9.10 0.9.21
+ ldb_dn_get_component_name at LDB_0.9.10 0.9.21
+ ldb_dn_get_component_val at LDB_0.9.10 0.9.21
+ ldb_dn_get_extended_comp_num at LDB_0.9.23 0.9.23
+ ldb_dn_get_extended_component at LDB_0.9.10 0.9.21
+ ldb_dn_get_extended_linearized at LDB_0.9.10 0.9.21
+ ldb_dn_get_ldb_context at LDB_1.1.22 2:1.1.23
+ ldb_dn_get_linearized at LDB_0.9.10 0.9.21
+ ldb_dn_get_parent at LDB_0.9.10 0.9.21
+ ldb_dn_get_rdn_name at LDB_0.9.10 0.9.21
+ ldb_dn_get_rdn_val at LDB_0.9.10 0.9.21
+ ldb_dn_has_extended at LDB_0.9.10 0.9.21
+ ldb_dn_is_null at LDB_0.9.10 0.9.21
+ ldb_dn_is_special at LDB_0.9.10 0.9.21
+ ldb_dn_is_valid at LDB_0.9.10 0.9.21
+ ldb_dn_map_local at LDB_0.9.10 0.9.21
+ ldb_dn_map_rebase_remote at LDB_0.9.10 0.9.21
+ ldb_dn_map_remote at LDB_0.9.10 0.9.21
+ ldb_dn_minimise at LDB_0.9.23 0.9.23
+ ldb_dn_new at LDB_0.9.10 0.9.21
+ ldb_dn_new_fmt at LDB_0.9.10 0.9.21
+ ldb_dn_remove_base_components at LDB_0.9.10 0.9.21
+ ldb_dn_remove_child_components at LDB_0.9.10 0.9.21
+ ldb_dn_remove_extended_components at LDB_0.9.10 0.9.21
+ ldb_dn_replace_components at LDB_1.1.2 1.1.2~
+ ldb_dn_set_component at LDB_0.9.10 0.9.21
+ ldb_dn_set_extended_component at LDB_0.9.10 0.9.21
+ ldb_dn_update_components at LDB_0.9.10 0.9.21
+ ldb_dn_validate at LDB_0.9.10 0.9.21
+ ldb_dump_results at LDB_0.9.10 0.9.21
+ ldb_error_at at LDB_0.9.15 0.9.21
+ ldb_errstring at LDB_0.9.10 0.9.21
+ ldb_extended at LDB_0.9.10 0.9.21
+ ldb_extended_default_callback at LDB_0.9.10 0.9.21
+ ldb_filter_attrs at LDB_2.0.1 2:2.0.1
+ ldb_filter_from_tree at LDB_0.9.10 0.9.21
+ ldb_get_config_basedn at LDB_0.9.10 0.9.21
+ ldb_get_create_perms at LDB_0.9.10 0.9.21
+ ldb_get_default_basedn at LDB_0.9.10 0.9.21
+ ldb_get_event_context at LDB_0.9.10 0.9.21
+ ldb_get_flags at LDB_0.9.10 0.9.21
+ ldb_get_opaque at LDB_0.9.10 0.9.21
+ ldb_get_root_basedn at LDB_0.9.10 0.9.21
+ ldb_get_schema_basedn at LDB_0.9.10 0.9.21
+ ldb_global_init at LDB_0.9.10 0.9.21
+ ldb_handle_get_event_context at LDB_1.1.30 2:1.2.2
+ ldb_handle_new at LDB_0.9.10 0.9.21
+ ldb_handle_use_global_event_context at LDB_1.1.30 2:1.2.2
+ ldb_handler_copy at LDB_0.9.10 0.9.21
+ ldb_handler_fold at LDB_0.9.10 0.9.21
+ ldb_init at LDB_0.9.10 0.9.21
+ ldb_ldif_message_redacted_string at LDB_1.2.2 2:1.2.2
+ ldb_ldif_message_string at LDB_0.9.10 0.9.21
+ ldb_ldif_parse_modrdn at LDB_1.1.0 1.1.0
+ ldb_ldif_read at LDB_0.9.10 0.9.21
+ ldb_ldif_read_file at LDB_0.9.10 0.9.21
+ ldb_ldif_read_file_state at LDB_1.1.5 1.1.5
+ ldb_ldif_read_free at LDB_0.9.10 0.9.21
+ ldb_ldif_read_string at LDB_0.9.10 0.9.21
+ ldb_ldif_write at LDB_0.9.10 0.9.21
+ ldb_ldif_write_file at LDB_0.9.10 0.9.21
+ ldb_ldif_write_redacted_trace_string at LDB_1.1.12 1.1.12
+ ldb_ldif_write_string at LDB_0.9.10 0.9.21
+ ldb_load_modules at LDB_0.9.10 0.9.21
+ ldb_map_add at LDB_0.9.22 0.9.22
+ ldb_map_delete at LDB_0.9.22 0.9.22
+ ldb_map_init at LDB_0.9.10 0.9.21
+ ldb_map_modify at LDB_0.9.22 0.9.22
+ ldb_map_rename at LDB_0.9.22 0.9.22
+ ldb_map_search at LDB_0.9.22 0.9.22
+ ldb_match_message at LDB_1.3.0 2:1.3.0
+ ldb_match_msg at LDB_0.9.10 0.9.21
+ ldb_match_msg_error at LDB_0.9.15 0.9.21
+ ldb_match_msg_objectclass at LDB_0.9.10 0.9.21
+ ldb_mod_register_control at LDB_0.9.10 0.9.21
+ ldb_modify at LDB_0.9.10 0.9.21
+ ldb_modify_default_callback at LDB_0.9.12 0.9.21
+ ldb_module_call_chain at LDB_0.9.19 0.9.21
+ ldb_module_connect_backend at LDB_0.9.19 0.9.21
+ ldb_module_done at LDB_0.9.10 0.9.21
+ ldb_module_flags at LDB_0.9.19 0.9.21
+ ldb_module_get_ctx at LDB_0.9.10 0.9.21
+ ldb_module_get_name at LDB_0.9.10 0.9.21
+ ldb_module_get_ops at LDB_0.9.10 0.9.21
+ ldb_module_get_private at LDB_0.9.10 0.9.21
+ ldb_module_init_chain at LDB_0.9.19 0.9.21
+ ldb_module_load_list at LDB_0.9.19 0.9.21
+ ldb_module_new at LDB_0.9.10 0.9.21
+ ldb_module_next at LDB_0.9.19 0.9.21
+ ldb_module_popt_options at LDB_0.9.19 0.9.21
+ ldb_module_send_entry at LDB_0.9.10 0.9.21
+ ldb_module_send_referral at LDB_0.9.10 0.9.21
+ ldb_module_set_next at LDB_0.9.19 0.9.21
+ ldb_module_set_private at LDB_0.9.10 0.9.21
+ ldb_modules_hook at LDB_0.9.18 0.9.21
+ ldb_modules_list_from_string at LDB_0.9.10 0.9.21
+ ldb_modules_load at LDB_0.9.18 0.9.21
+ ldb_msg_add at LDB_0.9.10 0.9.21
+ ldb_msg_add_empty at LDB_0.9.10 0.9.21
+ ldb_msg_add_fmt at LDB_0.9.10 0.9.21
+ ldb_msg_add_linearized_dn at LDB_0.9.10 0.9.21
+ ldb_msg_add_steal_string at LDB_0.9.10 0.9.21
+ ldb_msg_add_steal_value at LDB_0.9.10 0.9.21
+ ldb_msg_add_string at LDB_0.9.10 0.9.21
+ ldb_msg_add_value at LDB_0.9.10 0.9.21
+ ldb_msg_canonicalize at LDB_0.9.10 0.9.21
+ ldb_msg_check_string_attribute at LDB_0.9.10 0.9.21
+ ldb_msg_copy at LDB_0.9.10 0.9.21
+ ldb_msg_copy_attr at LDB_0.9.10 0.9.21
+ ldb_msg_copy_shallow at LDB_0.9.10 0.9.21
+ ldb_msg_diff at LDB_0.9.10 0.9.21
+ ldb_msg_difference at LDB_0.9.15 0.9.21
+ ldb_msg_element_compare at LDB_0.9.10 0.9.21
+ ldb_msg_element_compare_name at LDB_0.9.10 0.9.21
+ ldb_msg_element_equal_ordered at LDB_1.1.6 1:1.1.6
+ ldb_msg_find_attr_as_bool at LDB_0.9.10 0.9.21
+ ldb_msg_find_attr_as_dn at LDB_0.9.10 0.9.21
+ ldb_msg_find_attr_as_double at LDB_0.9.10 0.9.21
+ ldb_msg_find_attr_as_int64 at LDB_0.9.10 0.9.21
+ ldb_msg_find_attr_as_int at LDB_0.9.10 0.9.21
+ ldb_msg_find_attr_as_string at LDB_0.9.10 0.9.21
+ ldb_msg_find_attr_as_uint64 at LDB_0.9.10 0.9.21
+ ldb_msg_find_attr_as_uint at LDB_0.9.10 0.9.21
+ ldb_msg_find_common_values at LDB_1.1.31 2:1.2.2
+ ldb_msg_find_duplicate_val at LDB_1.1.31 2:1.2.2
+ ldb_msg_find_element at LDB_0.9.10 0.9.21
+ ldb_msg_find_ldb_val at LDB_0.9.10 0.9.21
+ ldb_msg_find_val at LDB_0.9.10 0.9.21
+ ldb_msg_new at LDB_0.9.10 0.9.21
+ ldb_msg_normalize at LDB_0.9.15 0.9.21
+ ldb_msg_remove_attr at LDB_0.9.10 0.9.21
+ ldb_msg_remove_element at LDB_0.9.10 0.9.21
+ ldb_msg_rename_attr at LDB_0.9.10 0.9.21
+ ldb_msg_sanity_check at LDB_0.9.10 0.9.21
+ ldb_msg_sort_elements at LDB_0.9.10 0.9.21
+ ldb_next_del_trans at LDB_0.9.10 0.9.21
+ ldb_next_end_trans at LDB_0.9.10 0.9.21
+ ldb_next_init at LDB_0.9.10 0.9.21
+ ldb_next_prepare_commit at LDB_0.9.10 0.9.21
+ ldb_next_read_lock at LDB_1.2.0 2:1.2.2
+ ldb_next_read_unlock at LDB_1.2.0 2:1.2.2
+ ldb_next_remote_request at LDB_0.9.10 0.9.21
+ ldb_next_request at LDB_0.9.10 0.9.21
+ ldb_next_start_trans at LDB_0.9.10 0.9.21
+ ldb_op_default_callback at LDB_0.9.10 0.9.21
+ ldb_options_copy at LDB_2.0.4 2:2.0.4
+ ldb_options_find at LDB_0.9.17 0.9.21
+ ldb_options_get at LDB_2.0.5 2:2.0.5
+ ldb_pack_data at LDB_1.1.14 1:2.0.2
+ ldb_parse_control_from_string at LDB_1.0.2 1.0.2~git20110403
+ ldb_parse_control_strings at LDB_0.9.10 0.9.21
+ ldb_parse_tree at LDB_0.9.10 0.9.21
+ ldb_parse_tree_attr_replace at LDB_0.9.10 0.9.21
+ ldb_parse_tree_copy_shallow at LDB_0.9.10 0.9.21
+ ldb_parse_tree_walk at LDB_1.1.2 1.1.2~
+ ldb_qsort at LDB_0.9.10 0.9.21
+ ldb_register_backend at LDB_0.9.10 0.9.21
+ ldb_register_extended_match_rule at LDB_1.1.19 1:1.1.20
+ ldb_register_hook at LDB_0.9.18 0.9.21
+ ldb_register_module at LDB_0.9.10 0.9.21
+ ldb_rename at LDB_0.9.10 0.9.21
+ ldb_reply_add_control at LDB_0.9.10 0.9.21
+ ldb_reply_get_control at LDB_0.9.10 0.9.21
+ ldb_req_get_custom_flags at LDB_1.1.0 1.1.0
+ ldb_req_is_untrusted at LDB_0.9.16 0.9.21
+ ldb_req_location at LDB_0.9.15 0.9.21
+ ldb_req_mark_trusted at LDB_0.9.24 0.9.24
+ ldb_req_mark_untrusted at LDB_0.9.16 0.9.21
+ ldb_req_set_custom_flags at LDB_1.1.0 1.1.0
+ ldb_req_set_location at LDB_0.9.15 0.9.21
+ ldb_request at LDB_0.9.10 0.9.21
+ ldb_request_add_control at LDB_0.9.10 0.9.21
+ ldb_request_done at LDB_0.9.10 0.9.21
+ ldb_request_get_control at LDB_0.9.10 0.9.21
+ ldb_request_get_status at LDB_0.9.10 0.9.21
+ ldb_request_replace_control at LDB_0.9.15 0.9.21
+ ldb_request_set_state at LDB_0.9.10 0.9.21
+ ldb_reset_err_string at LDB_0.9.10 0.9.21
+ ldb_schema_attribute_add at LDB_0.9.10 0.9.21
+ ldb_schema_attribute_add_with_syntax at LDB_0.9.10 0.9.21
+ ldb_schema_attribute_by_name at LDB_0.9.10 0.9.21
+ ldb_schema_attribute_fill_with_syntax at LDB_1.1.29 2:1.1.29
+ ldb_schema_attribute_remove at LDB_0.9.10 0.9.21
+ ldb_schema_attribute_remove_flagged at LDB_1.1.29 2:1.1.29
+ ldb_schema_attribute_set_override_handler at LDB_0.9.10 0.9.21
+ ldb_schema_set_override_indexlist at LDB_1.1.30 2:1.2.2
+ ldb_schema_set_override_GUID_index at LDB_1.3.0 2:1.3.0
+ ldb_search at LDB_0.9.10 0.9.21
+ ldb_search_default_callback at LDB_0.9.10 0.9.21
+ ldb_sequence_number at LDB_0.9.10 0.9.21
+ ldb_set_create_perms at LDB_0.9.10 0.9.21
+ ldb_set_debug at LDB_0.9.10 0.9.21
+ ldb_set_debug_stderr at LDB_0.9.10 0.9.21
+ ldb_set_default_dns at LDB_0.9.10 0.9.21
+ ldb_set_errstring at LDB_0.9.10 0.9.21
+ ldb_set_event_context at LDB_0.9.10 0.9.21
+ ldb_set_flags at LDB_0.9.10 0.9.21
+ ldb_set_modules_dir at LDB_0.9.10 0.9.21
+ ldb_set_opaque at LDB_0.9.10 0.9.21
+ ldb_set_require_private_event_context at LDB_1.1.30 2:1.2.2
+ ldb_set_timeout at LDB_0.9.10 0.9.21
+ ldb_set_timeout_from_prev_req at LDB_0.9.10 0.9.21
+ ldb_set_utf8_default at LDB_0.9.10 0.9.21
+ ldb_set_utf8_fns at LDB_0.9.10 0.9.21
+ ldb_setup_wellknown_attributes at LDB_0.9.10 0.9.21
+ ldb_should_b64_encode at LDB_0.9.10 0.9.21
+ ldb_standard_syntax_by_name at LDB_0.9.10 0.9.21
+ ldb_strerror at LDB_0.9.10 0.9.21
+ ldb_string_to_time at LDB_0.9.10 0.9.21
+ ldb_string_utc_to_time at LDB_0.9.10 0.9.21
+ ldb_timestring at LDB_0.9.10 0.9.21
+ ldb_timestring_utc at LDB_0.9.10 0.9.21
+ ldb_transaction_cancel at LDB_0.9.10 0.9.21
+ ldb_transaction_cancel_noerr at LDB_0.9.10 0.9.21
+ ldb_transaction_commit at LDB_0.9.10 0.9.21
+ ldb_transaction_prepare_commit at LDB_0.9.10 0.9.21
+ ldb_transaction_start at LDB_0.9.10 0.9.21
+ ldb_unpack_data at LDB_1.1.14 1:1.1.15
+ ldb_unpack_data_flags at LDB_2.0.1 2:2.0.1
+ ldb_unpack_get_format at LDB_2.0.2 2:2.0.2
+ ldb_val_dup at LDB_0.9.10 0.9.21
+ ldb_val_equal_exact at LDB_0.9.10 0.9.21
+ ldb_val_map_local at LDB_0.9.10 0.9.21
+ ldb_val_map_remote at LDB_0.9.10 0.9.21
+ ldb_val_string_cmp at LDB_1.1.1 1.1.1~
+ ldb_val_to_time at LDB_0.9.10 0.9.21
+ ldb_valid_attr_name at LDB_0.9.10 0.9.21
+ ldb_vdebug at LDB_1.1.10 1.1.12
+ ldb_wait at LDB_0.9.10 0.9.21
+ ldb_save_controls at LDB_0.9.22 0.9.22


=====================================
debian/patches/Force-LDB-as-standalone.patch
=====================================
@@ -0,0 +1,25 @@
+From 052023a67ca022b8bf323574c540964cf656f0b2 Mon Sep 17 00:00:00 2001
+From: Mathieu Parent <math.parent at gmail.com>
+Date: Sun, 19 Dec 2021 22:29:13 +0100
+Subject: [PATCH] Force LDB as standalone
+
+---
+ lib/ldb/wscript | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/ldb/wscript b/lib/ldb/wscript
+index 57dfdd6fe6b..70a982da352 100644
+--- a/lib/ldb/wscript
++++ b/lib/ldb/wscript
+@@ -68,7 +68,7 @@ def configure(conf):
+     #
+     conf.CONFIG_PATH('LDB_MODULESDIR', conf.SUBST_ENV_VAR('MODULESDIR') + '/ldb')
+ 
+-    conf.env.standalone_ldb = conf.IN_LAUNCH_DIR()
++    conf.env.standalone_ldb = conf.IN_LAUNCH_DIR() or True
+ 
+     if not conf.env.standalone_ldb:
+         max_ldb_version = [int(x) for x in VERSION.split(".")]
+-- 
+2.30.2
+


=====================================
debian/patches/series
=====================================
@@ -9,5 +9,6 @@ add-so-version-to-private-libraries
 smbd.service-Run-update-apparmor-samba-profile-befor.patch
 fix-nfs-service-name-to-nfs-kernel-server.patch
 ctdb-config-enable-syslog-by-default.patch
+Force-LDB-as-standalone.patch
 provide-missing-hex_encode_buf-in-smbconf.diff
 remove-gssapi-gssapi-h.patch


=====================================
debian/python3-ldb-dev.install
=====================================
@@ -0,0 +1,4 @@
+#! /usr/bin/dh-exec
+usr/include/samba-4.0/pyldb.h ${DEB_PY3_INCDIR}
+usr/lib/*/libpyldb-util.cpython-*.so
+usr/lib/*/pkgconfig/pyldb-util.cpython-*.pc


=====================================
debian/python3-ldb-dev.lintian-overrides
=====================================
@@ -0,0 +1,2 @@
+# This is actually a -dev package
+python3-ldb-dev: wrong-section-according-to-package-name python3-ldb-dev => python


=====================================
debian/python3-ldb.install
=====================================
@@ -0,0 +1,3 @@
+usr/lib/*/libpyldb-util.cpython-*.so.*
+usr/lib/python3/dist-packages/_ldb_text.py
+usr/lib/python3/dist-packages/ldb.cpython-*.so


=====================================
debian/python3-ldb.lintian-overrides
=====================================
@@ -0,0 +1 @@
+python3-ldb: package-name-doesnt-match-sonames libpyldb-util.cpython-*


=====================================
debian/python3-ldb.symbols.in
=====================================
@@ -0,0 +1,66 @@
+#!/usr/bin/dh-exec
+libpyldb-util${DEB_PY3_EXTENSION_SUFFIX}.2 python3-ldb #MINVER#
+ PYLDB_UTIL${DEB_PY3_EXTENSION_UPCASE}_2.5.0 at PYLDB_UTIL${DEB_PY3_EXTENSION_UPCASE}_2.5.0 2:2.5.0
+#include "python3-ldb.symbols.common" PYLDB_UTIL_1.1.2 at PYLDB_UTIL_1.1.2 2:2.0.7
+ PYLDB_UTIL_1.1.2 at PYLDB_UTIL_1.1.2 2:2.2.0
+ PYLDB_UTIL_1.1.3 at PYLDB_UTIL_1.1.3 2:2.0.7
+ PYLDB_UTIL_1.1.4 at PYLDB_UTIL_1.1.4 2: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.2 at PYLDB_UTIL_2.0.2 2:2.0.7
+ PYLDB_UTIL_2.0.3 at PYLDB_UTIL_2.0.3 2:2.0.7
+ PYLDB_UTIL_2.0.4 at PYLDB_UTIL_2.0.4 2:2.0.7
+ PYLDB_UTIL_2.0.5 at PYLDB_UTIL_2.0.5 2:2.0.7
+ PYLDB_UTIL_2.1.0 at PYLDB_UTIL_2.1.0 2:2.1.0
+ PYLDB_UTIL_2.1.1 at PYLDB_UTIL_2.1.1 2:2.1.1
+ PYLDB_UTIL_2.2.0 at PYLDB_UTIL_2.2.0 2:2.2.0
+ PYLDB_UTIL_2.4.0 at PYLDB_UTIL_2.4.0 2:2.5.0
+ PYLDB_UTIL_2.4.1 at PYLDB_UTIL_2.4.1 2:2.5.0
+ PYLDB_UTIL_2.5.0 at PYLDB_UTIL_2.5.0 2:2.5.0
+ pyldb_Dn_FromDn at PYLDB_UTIL_1.1.2 2:2.0.7
+ pyldb_Object_AsDn at PYLDB_UTIL_1.1.2 2:2.0.7
+ pyldb_check_type at PYLDB_UTIL_2.1.0 2:2.1.0


=====================================
debian/rules
=====================================
@@ -15,16 +15,17 @@ DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
 
-LDB_VERSION = $(shell pkg-config --modversion ldb)
-LDB_EPOCH = $(shell dpkg-query -f '$${Version}' -W libldb-dev | sed 's/:.*//')
+LDB_VERSION = $(shell grep "^VERSION = '" lib/ldb/wscript | cut -d"'" -f2)
+LDB_EPOCH = 2
+LDB_DEB_VERSION = "$(LDB_EPOCH):$(LDB_VERSION)+samba$(DEB_VERSION_UPSTREAM_REVISION)"
 LDB_NEXT_VERSION = $(shell python3 -c "x = '$(LDB_VERSION)'.split('.'); x[-1] = str(int(x[-1])+1); print('.'.join(x))")
 # samba ships ldb modules, which are specific to the ldb version, so we need a
 # strict dependency on the upstream ldb version
-# this also mean samba needs a rebuild when the upstream ldb version changes
 LDB_DEPENDS = "libldb2 (<< $(LDB_EPOCH):$(LDB_NEXT_VERSION)~), libldb2 (>> $(LDB_EPOCH):$(LDB_VERSION)~)"
 export PYSHORT=python3
 export PYTHON=$(shell which $(PYSHORT))
 export PYTHON_CONFIG="$(PYTHON)-config"
+PYTHON_SUFFIX = $(shell python3-config --extension-suffix | sed 's/\.so$$//')
 V = 1
 WAF := $(PYTHON) ./buildtools/bin/waf $(if ${V},-v)
 WAF_NO_PARALLEL := $(WAF) -j 1
@@ -65,7 +66,7 @@ conf_args = \
 		--enable-avahi \
 		--disable-rpath \
 		--disable-rpath-install \
-		--bundled-libraries=NONE,pytevent,iniparser,roken,replace,wind,hx509,asn1,heimbase,hcrypto,krb5,gssapi,heimntlm,hdb,kdc,com_err,compile_et,asn1_compile \
+		--bundled-libraries=NONE,pytevent,ldb,pyldb,pyldb-util$(PYTHON_SUFFIX),iniparser,roken,replace,wind,hx509,asn1,heimbase,hcrypto,krb5,gssapi,heimntlm,hdb,kdc,com_err,compile_et,asn1_compile \
 		--builtin-libraries=ccan \
 		--minimum-library-version="$(shell ./debian/autodeps.py --minimum-library-version)" \
 		--with-cluster-support \
@@ -202,6 +203,10 @@ endif
 	echo "d /run/samba 0755 root root -" > $(DESTDIR)/usr/lib/tmpfiles.d/samba.conf
 	echo "d /run/ctdb 0755 root root -" > $(DESTDIR)/usr/lib/tmpfiles.d/ctdb.conf
 
+override_dh_install:
+	DEB_PY3_INCDIR=$(shell python3-config --includes | sed 's,^-I\([^ ]*\).*,\1,') \
+		dh_install
+
 override_dh_installdocs-arch:
 	cp ctdb/config/events/README ctdb/README.eventscripts
 	cp ctdb/config/notification.README ctdb/README.notification
@@ -301,7 +306,9 @@ endif
 	    -e debian/samba-vfs-modules/usr/lib/*/samba/vfs/snapper.so
 
 override_dh_gencontrol:
-	dh_gencontrol -- -Vldb:Depends=$(LDB_DEPENDS)
+	dh_gencontrol -plibldb2 -pldb-tools -plibldb-dev -ppython3-ldb -ppython3-ldb-dev \
+	  -- -v$(LDB_DEB_VERSION)
+	dh_gencontrol --remaining-packages -- -Vldb:Depends=$(LDB_DEPENDS)
 
 override_dh_auto_clean:
 	-$(WAF) clean


=====================================
debian/samba-dev.install
=====================================
@@ -1,6 +1,7 @@
 # list all *.h under samba-4.0 except:
 # libsmbclient.h: libsmbclient-dev
 # wbclient.h: libwbclient-dev
+# ldb*.h (except ldb_wrap.h): libldb-dev
 usr/include/samba-4.0/charset.h
 usr/include/samba-4.0/core/*.h
 usr/include/samba-4.0/credentials.h



View it on GitLab: https://salsa.debian.org/samba-team/samba/-/compare/bc6f455815b4ccd5ec5988207a3bdbd07cc64a46...9bcae32ab6f724b8925325e6c314df15d4b02297

-- 
View it on GitLab: https://salsa.debian.org/samba-team/samba/-/compare/bc6f455815b4ccd5ec5988207a3bdbd07cc64a46...9bcae32ab6f724b8925325e6c314df15d4b02297
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20220327/c53dccec/attachment-0001.htm>


More information about the Pkg-samba-maint mailing list