Diff 389-ds-base-1.4.4.19-r4 with a 389-ds-base-2.1.0-r4
/usr/portage/net-nds/389-ds-base/389-ds-base-2.1.0-r4.ebuild 2023-10-09 14:52:34.720368482 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
CRATES=" |
7 | 7 |
ahash-0.7.6 |
... | ... | |
116 | 116 |
DISTUTILS_SINGLE_IMPL=1 |
117 | 117 |
DISTUTILS_USE_SETUPTOOLS=rdepend |
118 | 118 | |
119 |
inherit autotools distutils-r1 systemd tmpfiles db-use cargo |
|
119 |
inherit autotools distutils-r1 systemd tmpfiles cargo |
|
120 | 120 | |
121 | 121 |
DESCRIPTION="389 Directory Server (core libraries and daemons)" |
122 | 122 |
HOMEPAGE="https://directory.fedoraproject.org/" |
... | ... | |
124 | 124 |
$(cargo_crate_uris ${CRATES})" |
125 | 125 |
LICENSE="GPL-3+ Apache-2.0 BSD MIT MPL-2.0" |
126 | 126 |
SLOT="0" |
127 |
KEYWORDS="~amd64" |
|
127 |
KEYWORDS="~amd64 ~arm64" |
|
128 | 128 |
IUSE_PLUGINS="+accountpolicy +bitwise +dna +pam-passthru" |
129 | 129 |
IUSE="${IUSE_PLUGINS} +autobind auto-dn-suffix debug doc +ldapi selinux systemd" |
130 | 130 | |
... | ... | |
133 | 133 |
# lib389 tests (which is most of the suite) can't find their own modules. |
134 | 134 |
RESTRICT="test" |
135 | 135 | |
136 |
# always list newer first |
|
137 | 136 |
# Do not add any AGPL-3 BDB here! |
138 | 137 |
# See bug 525110, comment 15. |
139 |
BERKDB_SLOTS=( 5.3 ) |
|
140 | 138 | |
141 | 139 |
DEPEND=" |
142 | 140 |
>=app-crypt/mit-krb5-1.7-r100[openldap] |
141 |
dev-db/lmdb:= |
|
143 | 142 |
>=dev-libs/cyrus-sasl-2.1.19:2[kerberos] |
144 | 143 |
>=dev-libs/icu-60.2:= |
145 | 144 |
dev-libs/nspr |
... | ... | |
148 | 147 |
dev-libs/libpcre:3 |
149 | 148 |
dev-libs/openssl:0= |
150 | 149 |
>=net-analyzer/net-snmp-5.1.2:= |
151 |
net-nds/openldap:=[sasl] |
|
152 |
|| ( |
|
153 |
$(for slot in ${BERKDB_SLOTS[@]} ; do printf '%s\n' "sys-libs/db:${slot}" ; done) |
|
154 |
) |
|
150 |
<net-nds/openldap-2.6:=[sasl] |
|
155 | 151 |
sys-libs/cracklib |
152 |
sys-libs/db:5.3 |
|
156 | 153 |
sys-fs/e2fsprogs |
157 | 154 |
pam-passthru? ( sys-libs/pam ) |
158 | 155 |
selinux? ( |
... | ... | |
176 | 173 | |
177 | 174 |
# perl dependencies are for logconv.pl |
178 | 175 |
RDEPEND="${DEPEND} |
179 |
!net-nds/389-ds-base:2.1 |
|
176 |
!net-nds/389-ds-base:1.4 |
|
180 | 177 |
acct-user/dirsrv |
181 | 178 |
acct-group/dirsrv |
182 | 179 |
${PYTHON_DEPS} |
... | ... | |
243 | 240 |
--with-pythonexec="${PYTHON}" |
244 | 241 |
--with-fhs |
245 | 242 |
--with-openldap |
246 |
--with-db-inc="$(db_includedir)" |
|
243 |
--with-db-inc="${EPREFIX}"/usr/include/db5.3 |
|
247 | 244 |
--disable-cockpit |
248 | 245 |
) |
249 | 246 |