From 00b64ce160e6b4f2dc878bb27640ded614b4c7a9 Mon Sep 17 00:00:00 2001 From: Xavier Beaudouin Date: Tue, 28 Jan 2025 10:19:34 +0100 Subject: database/ldb29: LDAP-Like embedded database ldb is a LDAP-like embedded database. ldb 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 port is needed for Samba 4.20. This commit is just a repocopy. I will update the port to the correct version and connect it to the build in the next commit. PR: 280533 Sponsored by: Klara, Inc. Approved by: 0mp (mentor) Approved by: samba (0mp, kiwi) Differential Revision: https://reviews.freebsd.org/D48656 --- databases/ldb29/files/patch-include_ldb__module.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 databases/ldb29/files/patch-include_ldb__module.h (limited to 'databases/ldb29/files/patch-include_ldb__module.h') diff --git a/databases/ldb29/files/patch-include_ldb__module.h b/databases/ldb29/files/patch-include_ldb__module.h new file mode 100644 index 000000000000..3b62136e9456 --- /dev/null +++ b/databases/ldb29/files/patch-include_ldb__module.h @@ -0,0 +1,15 @@ +--- include/ldb_module.h.orig 2023-03-29 13:42:11 UTC ++++ include/ldb_module.h +@@ -108,6 +108,12 @@ struct ldb_module; + */ + #define LDB_FLAG_INTERNAL_ACCESS_CHECKED 0x400 + ++/* ++ * indicates that this element's values are shared with another element (for ++ * example, in a shallow copy of an ldb_message) and should not be freed ++ */ ++#define LDB_FLAG_INTERNAL_SHARED_VALUES 0x200 ++ + /* an extended match rule that always fails to match */ + #define SAMBA_LDAP_MATCH_ALWAYS_FALSE "1.3.6.1.4.1.7165.4.5.1" + -- cgit v1.2.3