summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2024-10-17 14:52:07 -0500
committerBen Kohler <bkohler@gentoo.org>2024-10-17 15:00:00 -0500
commitef491d1a5565afd390e02adf41a69abbe97fa2ca (patch)
treeb523ffcd568d007fa7767d9dcf6746906ade7097 /net-fs
parentdev-ml/odoc: add 2.4.3 (diff)
downloadgentoo-ef491d1a5565afd390e02adf41a69abbe97fa2ca.tar.gz
gentoo-ef491d1a5565afd390e02adf41a69abbe97fa2ca.tar.bz2
gentoo-ef491d1a5565afd390e02adf41a69abbe97fa2ca.zip
net-fs/samba: add new (conditional) dep on lmdb
This is used conditionally for the bundled ldb, same as on the previously split sys-libs/ldb package. Closes: https://bugs.gentoo.org/941721 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/samba/metadata.xml3
-rw-r--r--net-fs/samba/samba-4.21.1.ebuild8
2 files changed, 7 insertions, 4 deletions
diff --git a/net-fs/samba/metadata.xml b/net-fs/samba/metadata.xml
index 0839deab51b0..b2a746fcfc9b 100644
--- a/net-fs/samba/metadata.xml
+++ b/net-fs/samba/metadata.xml
@@ -16,8 +16,9 @@
<flag name="cluster">Enable support for clustering</flag>
<flag name="glusterfs">Enable support for Glusterfs filesystem via <pkg>sys-cluster/glusterfs</pkg></flag>
<flag name="gpg">Use <pkg>app-crypt/gpgme</pkg> for AD DC</flag>
- <flag name="json">Enable json audit support through <pkg>dev-libs/jansson</pkg></flag>
<flag name="iprint">Enabling iPrint technology by Novell</flag>
+ <flag name="json">Enable json audit support through <pkg>dev-libs/jansson</pkg></flag>
+ <flag name="lmdb">Enable LMDB backend for bundled ldb</flag>
<flag name="profiling-data">Enables support for collecting profiling data</flag>
<flag name="quota">Enables support for user quotas</flag>
<flag name="regedit">Enable support for regedit command-line tool</flag>
diff --git a/net-fs/samba/samba-4.21.1.ebuild b/net-fs/samba/samba-4.21.1.ebuild
index e1985456f25d..b5be6bbfc3df 100644
--- a/net-fs/samba/samba-4.21.1.ebuild
+++ b/net-fs/samba/samba-4.21.1.ebuild
@@ -23,9 +23,9 @@ S="${WORKDIR}/${MY_P}"
LICENSE="GPL-3"
SLOT="0/2.10.0"
IUSE="acl addc ads ceph client cluster cups debug fam glusterfs gpg"
-IUSE+=" iprint json ldap llvm-libunwind pam profiling-data python quota +regedit selinux"
-IUSE+=" snapper spotlight syslog system-heimdal +system-mitkrb5 systemd test unwind winbind"
-IUSE+=" zeroconf"
+IUSE+=" iprint json ldap llvm-libunwind lmdb pam profiling-data python quota"
+IUSE+=" +regedit selinux snapper spotlight syslog system-heimdal +system-mitkrb5"
+IUSE+=" systemd test unwind winbind zeroconf"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
addc? ( json python !system-mitkrb5 winbind )
@@ -99,6 +99,7 @@ COMMON_DEPEND="
gpg? ( app-crypt/gpgme:= )
json? ( dev-libs/jansson:= )
ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] )
+ lmdb? ( >=dev-db/lmdb-0.9.16:=[${MULTILIB_USEDEP}] )
pam? ( sys-libs/pam )
python? (
sys-libs/talloc[python,${PYTHON_SINGLE_USEDEP}]
@@ -291,6 +292,7 @@ multilib_src_configure() {
$(use_with ldap)
$(use_with profiling-data)
--private-libraries='!ldb'
+ $(usex lmdb '' --without-ldb-lmdb)
# bug #683148
--jobs 1
)