[net-nds/389-ds-base] bump
This commit is contained in:
parent
5259c2f9d1
commit
4410ffc5ad
314
net-nds/389-ds-base/389-ds-base-2.3.7.ebuild
Normal file
314
net-nds/389-ds-base/389-ds-base-2.3.7.ebuild
Normal file
@ -0,0 +1,314 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
addr2line@0.20.0
|
||||
adler@1.0.2
|
||||
ahash@0.7.6
|
||||
ansi_term@0.12.1
|
||||
atty@0.2.14
|
||||
autocfg@1.1.0
|
||||
backtrace@0.3.68
|
||||
base64@0.13.1
|
||||
bitflags@1.3.2
|
||||
bitflags@2.3.3
|
||||
byteorder@1.4.3
|
||||
cbindgen@0.9.1
|
||||
cc@1.0.79
|
||||
cfg-if@1.0.0
|
||||
clap@2.34.0
|
||||
concread@0.2.21
|
||||
crossbeam-channel@0.5.8
|
||||
crossbeam-deque@0.8.3
|
||||
crossbeam-epoch@0.9.15
|
||||
crossbeam-queue@0.3.8
|
||||
crossbeam-utils@0.8.16
|
||||
crossbeam@0.8.2
|
||||
errno-dragonfly@0.1.2
|
||||
errno@0.3.1
|
||||
fastrand@2.0.0
|
||||
fernet@0.1.4
|
||||
foreign-types-shared@0.1.1
|
||||
foreign-types@0.3.2
|
||||
getrandom@0.2.10
|
||||
gimli@0.27.3
|
||||
hashbrown@0.12.3
|
||||
hermit-abi@0.1.19
|
||||
instant@0.1.12
|
||||
itoa@1.0.9
|
||||
jobserver@0.1.26
|
||||
libc@0.2.147
|
||||
linux-raw-sys@0.4.3
|
||||
lock_api@0.4.10
|
||||
log@0.4.19
|
||||
lru@0.7.8
|
||||
memchr@2.5.0
|
||||
memoffset@0.9.0
|
||||
miniz_oxide@0.7.1
|
||||
object@0.31.1
|
||||
once_cell@1.18.0
|
||||
openssl-macros@0.1.1
|
||||
openssl-sys@0.9.87
|
||||
openssl@0.10.52
|
||||
parking_lot@0.11.2
|
||||
parking_lot_core@0.8.6
|
||||
paste-impl@0.1.18
|
||||
paste@0.1.18
|
||||
pin-project-lite@0.2.10
|
||||
pkg-config@0.3.27
|
||||
ppv-lite86@0.2.17
|
||||
proc-macro-hack@0.5.20+deprecated
|
||||
proc-macro2@1.0.66
|
||||
quote@1.0.32
|
||||
rand@0.8.5
|
||||
rand_chacha@0.3.1
|
||||
rand_core@0.6.4
|
||||
redox_syscall@0.2.16
|
||||
redox_syscall@0.3.5
|
||||
rustc-demangle@0.1.23
|
||||
rustix@0.38.4
|
||||
ryu@1.0.15
|
||||
scopeguard@1.2.0
|
||||
serde@1.0.175
|
||||
serde_derive@1.0.175
|
||||
serde_json@1.0.103
|
||||
smallvec@1.11.0
|
||||
strsim@0.8.0
|
||||
syn@1.0.109
|
||||
syn@2.0.27
|
||||
tempfile@3.7.0
|
||||
textwrap@0.11.0
|
||||
tokio-macros@2.1.0
|
||||
tokio@1.29.1
|
||||
toml@0.5.11
|
||||
unicode-ident@1.0.11
|
||||
unicode-width@0.1.10
|
||||
uuid@0.8.2
|
||||
vcpkg@0.2.15
|
||||
vec_map@0.8.2
|
||||
version_check@0.9.4
|
||||
wasi@0.11.0+wasi-snapshot-preview1
|
||||
winapi-i686-pc-windows-gnu@0.4.0
|
||||
winapi-x86_64-pc-windows-gnu@0.4.0
|
||||
winapi@0.3.9
|
||||
windows-sys@0.48.0
|
||||
windows-targets@0.48.1
|
||||
windows_aarch64_gnullvm@0.48.0
|
||||
windows_aarch64_msvc@0.48.0
|
||||
windows_i686_gnu@0.48.0
|
||||
windows_i686_msvc@0.48.0
|
||||
windows_x86_64_gnu@0.48.0
|
||||
windows_x86_64_gnullvm@0.48.0
|
||||
windows_x86_64_msvc@0.48.0
|
||||
zeroize@1.6.0
|
||||
zeroize_derive@1.4.2
|
||||
"
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit autotools cargo distutils-r1 readme.gentoo-r1 systemd tmpfiles
|
||||
|
||||
DESCRIPTION="389 Directory Server (core libraries and daemons)"
|
||||
HOMEPAGE="https://directory.fedoraproject.org/"
|
||||
SRC_URI="
|
||||
https://github.com/389ds/${PN}/archive/refs/tags/${P}.tar.gz
|
||||
${CARGO_CRATE_URIS}
|
||||
"
|
||||
LICENSE="GPL-3+"
|
||||
# Dependent crate licenses
|
||||
LICENSE+=" Apache-2.0 BSD MIT MPL-2.0 Unicode-DFS-2016"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE_PLUGINS="+accountpolicy +bitwise +dna +pam-passthru"
|
||||
IUSE="${IUSE_PLUGINS} +autobind auto-dn-suffix debug doc +ldapi selinux systemd"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# lib389 tests (which is most of the suite) can't find their own modules.
|
||||
RESTRICT="test"
|
||||
|
||||
# Do not add any AGPL-3 BDB here!
|
||||
# See bug 525110, comment 15.
|
||||
|
||||
# dev-libs/libevent: https://github.com/389ds/389-ds-base/pull/5172
|
||||
DEPEND="
|
||||
>=app-crypt/mit-krb5-1.7-r100[openldap]
|
||||
dev-db/lmdb:=
|
||||
>=dev-libs/cyrus-sasl-2.1.19:2[kerberos]
|
||||
dev-libs/json-c:=
|
||||
>=dev-libs/icu-60.2:=
|
||||
dev-libs/nspr
|
||||
>=dev-libs/nss-3.22[utils]
|
||||
dev-libs/libevent:=
|
||||
dev-libs/libpcre2:=
|
||||
dev-libs/openssl:0=
|
||||
>=net-analyzer/net-snmp-5.1.2:=
|
||||
net-nds/openldap:=[sasl]
|
||||
sys-libs/cracklib
|
||||
sys-libs/db:5.3
|
||||
sys-libs/zlib
|
||||
sys-fs/e2fsprogs
|
||||
pam-passthru? ( sys-libs/pam )
|
||||
selinux? (
|
||||
$(python_gen_cond_dep '
|
||||
sys-libs/libselinux[python,${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
systemd? ( >=sys-apps/systemd-244 )
|
||||
virtual/libcrypt:=
|
||||
"
|
||||
|
||||
BDEPEND=">=sys-devel/autoconf-2.69-r5
|
||||
virtual/pkgconfig
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/argparse-manpage[${PYTHON_USEDEP}]
|
||||
')
|
||||
doc? ( app-doc/doxygen )
|
||||
test? ( dev-util/cmocka )
|
||||
"
|
||||
|
||||
# perl dependencies are for logconv.pl
|
||||
RDEPEND="${DEPEND}
|
||||
!net-nds/389-ds-base:1.4
|
||||
acct-user/dirsrv
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1-modules[${PYTHON_USEDEP}]
|
||||
dev-python/argcomplete[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/python-ldap[sasl,${PYTHON_USEDEP}]
|
||||
dev-python/distro[${PYTHON_USEDEP}]
|
||||
')
|
||||
virtual/perl-Archive-Tar
|
||||
virtual/perl-DB_File
|
||||
virtual/perl-IO
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-IO-Compress
|
||||
virtual/perl-MIME-Base64
|
||||
virtual/perl-Scalar-List-Utils
|
||||
virtual/perl-Time-Local
|
||||
virtual/logger
|
||||
selinux? ( sec-policy/selinux-dirsrv )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-db-gentoo.patch"
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# https://github.com/389ds/389-ds-base/issues/4292
|
||||
if use !systemd; then
|
||||
sed -i \
|
||||
-e 's|WITH_SYSTEMD = 1|WITH_SYSTEMD = 0|' \
|
||||
Makefile.am || die
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable accountpolicy acctpolicy)
|
||||
$(use_enable bitwise)
|
||||
$(use_enable dna)
|
||||
$(use_enable pam-passthru)
|
||||
$(use_enable autobind)
|
||||
$(use_enable auto-dn-suffix)
|
||||
$(use_enable debug)
|
||||
$(use_enable ldapi)
|
||||
$(use_with selinux)
|
||||
$(use_with systemd)
|
||||
$(use_with systemd systemdgroupname "dirsrv.target")
|
||||
$(use_with systemd tmpfiles-d "/usr/lib/tmpfiles.d")
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||
$(use_with !systemd initddir "/etc/init.d")
|
||||
$(use_enable test cmocka)
|
||||
--enable-rust-offline
|
||||
--with-pythonexec="${PYTHON}"
|
||||
--with-fhs
|
||||
--with-openldap
|
||||
--with-db-inc="${EPREFIX}"/usr/include/db5.3
|
||||
--disable-cockpit
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
|
||||
rm .cargo/config || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export CARGO_HOME="${ECARGO_HOME}"
|
||||
|
||||
default
|
||||
|
||||
if use doc; then
|
||||
doxygen docs/slapi.doxy || die
|
||||
fi
|
||||
|
||||
pushd src/lib389 &>/dev/null || die
|
||||
distutils-r1_src_compile
|
||||
popd &>/dev/null || die
|
||||
|
||||
# argparse-manpage dynamic man pages have hardcoded man v1 in header
|
||||
sed -i \
|
||||
"1s/\"1\"/\"8\"/" \
|
||||
src/lib389/man/{openldap_to_ds,ds{conf,ctl,idm,create}}.8 || die
|
||||
}
|
||||
|
||||
src_test () {
|
||||
emake check
|
||||
cd src/lib389 || die
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# -j1 is a temporary workaround for bug #605432
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
|
||||
# Install gentoo style init script
|
||||
# Get these merged upstream
|
||||
newinitd "${FILESDIR}"/389-ds.initd-r1 389-ds
|
||||
newinitd "${FILESDIR}"/389-ds-snmp.initd 389-ds-snmp
|
||||
|
||||
dotmpfiles "${FILESDIR}"/389-ds-base.conf
|
||||
|
||||
# cope with libraries being in /usr/lib/dirsrv
|
||||
dodir /etc/env.d
|
||||
echo "LDPATH=/usr/$(get_libdir)/dirsrv" > "${ED}"/etc/env.d/08dirsrv || die
|
||||
|
||||
if use doc; then
|
||||
docinto html/
|
||||
dodoc -r html/.
|
||||
fi
|
||||
|
||||
pushd src/lib389 &>/dev/null || die
|
||||
distutils-r1_src_install
|
||||
popd &>/dev/null || die
|
||||
|
||||
python_fix_shebang "${ED}"
|
||||
|
||||
readme.gentoo_create_doc
|
||||
|
||||
find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process 389-ds-base.conf
|
||||
|
||||
readme.gentoo_print_elog
|
||||
}
|
101
net-nds/389-ds-base/Manifest
Normal file
101
net-nds/389-ds-base/Manifest
Normal file
@ -0,0 +1,101 @@
|
||||
DIST 389-ds-base-2.3.7.tar.gz 5993070 BLAKE2B 55b36b4be2f64e50c40d4ee3ef41ac17827fcf45e874615dd65fe114b097c6e2402ea8db01e0e647e6dd46491c7a57aa7232d68f952f2350b7dce6fe0d49dfde SHA512 8b3e1de680316edff60c0fc448d2d93351f02a25403d84866165c9ed6dee3eb817393beba79207fc2fc00cef43beb9fab5c1f6cbcaf7d610cca7819dc2acc79d
|
||||
DIST addr2line-0.20.0.crate 39558 BLAKE2B 1f66fcb361161599a87f874a3bf28a05614e235488d02205d4c8e207ae193280949ad957fd0eb383a49f4c1bc287569454d3c6872ed6e31c081e6fd03f8d460e SHA512 f9794772a31dd01096b168b4b4ffe311d4850c69fd77dd72c1e532a94ef7b23c31cccb9033848822521510f1fcc2ad0fdd824cf7efb9ed43828dc0165165b319
|
||||
DIST adler-1.0.2.crate 12778 BLAKE2B a1dc17786adae945ac09d3525e609ed944e6465690787bbb831a1b9d53793cba1989793d0a5606d5d23ee20d36457923d451b1b3530c9ec7072a487aa3e55bbd SHA512 7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1
|
||||
DIST ahash-0.7.6.crate 38030 BLAKE2B aca3661477fcd7822d6d10970151e05c28e1615f8cd7ddaac064b15102027e404b19b0f3f16dd76145048594ea1c22ae27dd08cc05c411efbae9ec7a1ef55ce9 SHA512 61354688b6fb096359faefb6f34be958cd2215d56b88c22c737d24183eaad433f811bc9e64f927e4852c87d2799c22fda82b55cfbef2ed6357ff74f0c4ffec68
|
||||
DIST ansi_term-0.12.1.crate 24838 BLAKE2B f636772c34e2d68cda7b8d3b2b86abda074585a62bd2654812ce92384244655a9197fa66e6939e19a674c0148ca605313d83de262bb18c2339a8a4eb4438a791 SHA512 b840e28b3e7700689a69a39659b1e066560078dd4a58326b91a028915819e7af883399ee53e920db68fd974c58d35bb1ddf8d427af5937d5f696f57c4376b671
|
||||
DIST atty-0.2.14.crate 5470 BLAKE2B 2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab SHA512 d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
|
||||
DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f
|
||||
DIST backtrace-0.3.68.crate 79891 BLAKE2B 38ec5881bdd8f2ee55db9da423e030603a6ad0b50edeb37e0899ca781bbc9f54fdd00e4f27f8589cc34ceaefac05f26fdcdf693cc08d9d06a2811783ba7c5c2a SHA512 4c4e5d47154e64d2192a6358d0861097e31b5a53d5863b03dd38562dccda7cbec584e006ce29563cadfd03b0031ed7a16fa43328f515cc66a296048c9a2f5d89
|
||||
DIST base64-0.13.1.crate 61002 BLAKE2B 3b3a5b26e2ef18e9b4f1ede72b1bd160a1494751878e8441d463f8a514e6cb9ac859231536989e19fb1261fd864617fe31440df1b5855a0ec625521fc6fcef91 SHA512 1eb76aff9a84057f2ccb7082e9c57b015c2d71a28173089b02e7aacd09a7d311bedf0a943529611ada29f8d7b536d7ae4de256d98eee8450003a3a9a652bda4b
|
||||
DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62
|
||||
DIST bitflags-2.3.3.crate 34320 BLAKE2B da9f42fc888e31d50d0b2f0d0cc1bddfa97e0c2d3eac60fd2cc451670f000b5148e58c3c40c348ef1bd516c7a568bcc3a97742ac5bdb9ef4772048eb922171af SHA512 8f063ba2bc3f638ca9200722e1c4370102589fb07aef25efcf63993fbf283cc86d554d11d24719f728ecabe540a47a90ce4113d8719f8e773f2344a66d21ff78
|
||||
DIST byteorder-1.4.3.crate 22512 BLAKE2B d39c546ba7346df315297fc53da4bfc77ecb1f38567ddb788549ee31cae2719a8bc0b7d1f1705abb3cff033aa57af004987d90748f5a31765273b3223a011c0d SHA512 8c8000eb8ecf40351c9ce36a3a8acd7a02f81786d1b11aab85adfeffa0f2267ed74df29b2ca5d1d38128484d1d3cad2b673aa0d0441dcd0620dfd3934bb888fa
|
||||
DIST cbindgen-0.9.1.crate 129676 BLAKE2B 12315522938e941c4a53033f276f6065d6e19ba7cab3ce8aabb17b2ae5fe0c7231e51be33828434d6ca039d79c9414fe8d310a12b07ef1c544ed9b5d8cee74c6 SHA512 0e32563db42363dc82e8aca2f36bdafcdf0ec9156e7238937295c9369d306c2bfa590ea7a9afd61d8b915fc383bb7af8bbb78cde71f6ab30b0c576262c74232b
|
||||
DIST cc-1.0.79.crate 62624 BLAKE2B b3cbed3bd6fcac1c6ea258ec96cd107f859947a35dc89c3dc8f314741b0f668e61518f896ec32ce10c9a7eb20dd350bc177a71810d53ebea59fda062ed9d27db SHA512 cbf0a25f3a23fc540e9d638fabc23f761f1c240ebb4814e761e90437d71fc559cd155768ab9e78fc192220d8a605c66c3af342ed736b719181656170b98d7bf5
|
||||
DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
|
||||
DIST clap-2.34.0.crate 202210 BLAKE2B f383adf1d757ac4b68995132b33837686ce451f85a02a8d05d2c746da398510d05d46330f3efade063c3952aacb1754cdac73dd0afcae0df5340a89f9353aa1c SHA512 c648a761b9996a7e7464a538bb53621bae22090b846a42c3b729beca3363958ae67e3da9f93f58b10a10e043cadf7ff930388680d168646178c2824177832db8
|
||||
DIST concread-0.2.21.crate 854960 BLAKE2B 11b693f52615445afcd789ce228e3c20ede2cc250e2230041324ced7e7f59a8b45c932f85a82d84ff461d02449423c85b7e6134b31110a49890cade330a8f2e9 SHA512 1d09ad7cdb94626b425e7931f3ef30a068804c773edc0af4e9aea4bd47822c5267779b6fce089b1272173f0d82d1067b76def0e2b0e1f43e85bda8f37afa3dd6
|
||||
DIST crossbeam-0.8.2.crate 10502 BLAKE2B 487a7a5f197898ebea0fd41a413647db0fc3380790cfdfc6cb7cf3caef48197bb7c2498579ce676d3c5796480a8541ae37ae03f009d768a6157246b1f7d63a33 SHA512 bd2e54372595daeaddcaa26802780959465bd571cac64f23256b7ecc68ff5c0161a36740a51386ee54abe7c509ad1ff870b6f6877a7921f4335661f2c554c3a0
|
||||
DIST crossbeam-channel-0.5.8.crate 90455 BLAKE2B 017132056f1b40e55fbc7a09b75509d72b0a6123a0e5ea5d6104fe822f73b3ccce670d711d3b84b5ce743dcab5f10445297a6701b71213b77c0d56e2c3fd7160 SHA512 47677d6fe63050c51393e4a0537a3c65d7055c9eae118ebe60c5d716b4f47f23c2b1947b1e1b66bfb34a57c4db3a44631d323e996dd545565fe4f58c25863ff4
|
||||
DIST crossbeam-deque-0.8.3.crate 21746 BLAKE2B c24025c65d7c1c98e442af95491749dd4f777af0509636ed66886dcf656359ec50dc2a5e26327559c6659f6b355d2b0b992dafa691a36571c99637cb47372d0f SHA512 f3201c9afef7d2d119702696f7e5e7997a104b8f7d67c7adebd1cbed84d3a3415636ff674f1ccdfd95d0dc162384e46c6138c8203ede69577b0d5359a4b44672
|
||||
DIST crossbeam-epoch-0.9.15.crate 48553 BLAKE2B 23aa0532d3126e22efc779859478098e505b4ec895c643530a3f7e8dba0543df3d8ffcb6825b1d3869a4418e17d798d464b3e1bb51522435d50f53ac224e22c8 SHA512 d9292c059ef1d156da52950137b2b3ea5eab66c4cc2f763d02078d0b0106980839ebed2ae2aec53e026ee7b3ddc37c4b51370d925ada1ad13d9981934daa7bde
|
||||
DIST crossbeam-queue-0.3.8.crate 16731 BLAKE2B 80a8647bf491adc1a5dc736f662c01e77bcceb4bb2b876eaf684cb2a742a2f46d09e1221f6ca8b19340ddc9ed3a10bf07a08305a5bf069338d00873b1296ad96 SHA512 3c4e855184f8e2656305a59463f0170aab99f9c2df1001f54341b62e05e533864f384477a7a9cbc2b8b1a36bbe4b8076531c11b1492485029ef81ade6e7cbf8b
|
||||
DIST crossbeam-utils-0.8.16.crate 42508 BLAKE2B dfaf9e7cade2cb5a2de90dc622e58a69c5b28fe9f69d3cbb945431683cf48fb409565190e3414a815563afb12631d990476919890fc482ce6b5792fdc25536a7 SHA512 4b8d599a8b93015eea2fd404cdf1526fbb94662fffc7c64d2f0659aeef349e4ad682f61b2b85d075c7f3fbbc4d8106cd7caf6e65dae117ba982f31262df3f831
|
||||
DIST errno-0.3.1.crate 10348 BLAKE2B 72831d0b69f95884a69918249cc0e814eb5eade3205331bec6d2021f8b01a42c4c9b494f2717033d65a4c5230c8490b6ce250d349c1e8e177b20e7e84a860020 SHA512 00d64157d066f1e7601c522c0f4e777eb662ca5cce64682f616de0734857765c343396f7161ac2908c3db0c474995ae157bfe9d8a9880743724d9bd428dfdf54
|
||||
DIST errno-dragonfly-0.1.2.crate 1810 BLAKE2B 781fc26dce5c33d83b9a1fd9be2b2ce9ac2559aaa858957ba6777e143b1e44cdfee48e1b47e3c91a95075a51921d1a421d0b45eb3d8de827cf4dd0ad744a7d8c SHA512 f853f1e1b8dd0f359a8f9a0399b3384c1103cd090d96e2b2204f91a40d40a9eb99383d4aa6a11e5470c51557afacf452d4be2049600d4235d27f59870fa3b916
|
||||
DIST fastrand-2.0.0.crate 14402 BLAKE2B 8bf830151ec616dbc25f216265722e39f8a2cd9ae036b0904b73775a30497368aaf9bb7f49890c330024c3d9b8084749c91f601b60b53bc8cef2da8b0aa71322 SHA512 9449dd52e4b722d5747f68f127843c0d1a402765c2b6186b9526f8ae23293cb1f6b50adcbf18a8ea768292642184cb0eb42b1801d20f6815397903f9977f3cbc
|
||||
DIST fernet-0.1.4.crate 12480 BLAKE2B 45a9c2cae9a8f0a0455cd2cc786542ae22ae1a9f033312cfe29e235f342ca0753d6d090b5951485b09ef8dfa5c667c9b50ad91716dac17ef41d3920d93f1a906 SHA512 6a8efe3465cef6cbc528fab14f86efb12b1b5716d3ae0ab4e9e5532f58d6e177e08317d5f6a91c8ec6c541ff1bef4aaf24dada091e9306841960c193e79efb49
|
||||
DIST foreign-types-0.3.2.crate 7504 BLAKE2B 520818b702d990d296ecd31a8646850202509ccfa18edd0e1b260289619a6c351e758f317ec0824bd76eccb209b6f087057c25f1bd01a47897715013dd834867 SHA512 bf27b8243ed482c202d120383374f19ff09422535e24b9c1aebccc66529bf300ca17b8bbc76d67f98ac092e614497afe3add9dc68aa69c93074df05762f91232
|
||||
DIST foreign-types-shared-0.1.1.crate 5672 BLAKE2B d2e42e04b6657e7a69fe0bd20c672176629c743e49a55fd007bb30e289710b70045d445ae9cae0eeaa747ee708c90e8abd9b5fc39bad8ec0666befe1b696d4f1 SHA512 bafdb2143e136fb0818e2ffd90b5c862b7181647d6568947d4e4531012bbf7a57b597221ec7056c1b562dfc0c3b5dead26d1a4111ebc15e7863737a873518a4a
|
||||
DIST getrandom-0.2.10.crate 34955 BLAKE2B 8e7b8554ae360484ceca2a05f834c2664b08f41cbc6c955663e1f8f22fb5750481518bf1c7b49f49223a99a66914ef013347b9186acc97a20249f3222a13f9d4 SHA512 82af9e0417bff9272ed0478be4ac90426405ce210014b21899c6b95fde1b16893bf46295388ff5f13fa712a04c99c46b770fab83f41a1343af1590a86ca8da3b
|
||||
DIST gimli-0.27.3.crate 287904 BLAKE2B 97ba399c72cde7b11f0a103598747b58b242ebb808c60c037292b992e30d8fc5e212e5620c233e485adbca61cfc433a4697de3ca76c183ed517a93cad4f75c25 SHA512 b3782d510bbfcbcfd8801b4343a6864b91cf954808e935745caaf1b7e7b3f2f94814f1543de9a36a8d4e5c29d08d69be9361aa2b31e7a261d5dc6e7b66ef4ccd
|
||||
DIST hashbrown-0.12.3.crate 102968 BLAKE2B 492072f27eaec45abd2c5d7405c614c0c6a8221425e901bb6174bfa1688ee524408a618650126d6c683b7285b9bf0a21dcdbff7347e4d8f97bf7111defa1b7e5 SHA512 b3700fcd659a21a6b9b3777c18b37a83bf25542b4e8f2b963779a122f5d22e1742c064cfc03e649583e7dd5c6e90ca8407f8c51a0e8755f6a108682853022f76
|
||||
DIST hermit-abi-0.1.19.crate 9979 BLAKE2B 801e8052b85341cca388ada9db4b06bb1bd7b64474185b2ad06c0256b9e597639bd3dd4ba0053ea010f922e53969a4ab47b90d451fd9b94c8f2324055d151ea1 SHA512 1c877fcd562b15d2de9c151fd6c5f3ea4bf48abcb799e6139a180ffad5d64b632f0000d5707bbd92ff23a0e5f349157b9e0f5be8b50f03680b0fa47315dbb78a
|
||||
DIST instant-0.1.12.crate 6128 BLAKE2B 728923f757c1ee4e4a7afb90e460eed81392068961240a538e5c6468e15a0b6491f590fb5f6cc46e6d78901ca232351f65abb9f2f230d8f4983c5e58c4011902 SHA512 fae494c00111c51c840f9dd6a10febe403e27ebb933dd16633a213e9c20f2bc11adeb431c71f8a6713bf88f270a010941e15d83df294e658791934f83a5d2407
|
||||
DIST itoa-1.0.9.crate 10492 BLAKE2B 0d5acef9ae72d3f4b5a387d231952e6025def69da81d38269b4882bc534be7acadc073e526fd8bebdca898a98b2c741735c541e0b6a35ed0f8f8799b906b65b1 SHA512 95f7906edb7d6a2690389167f8c4d01bc37827205bca87d527f2eb33722419ed2f2e8afaa559cc5a0a7e7fac76515c9c44c71c42b536aa34b0e2858c40946b6d
|
||||
DIST jobserver-0.1.26.crate 22645 BLAKE2B 44bcc15330268ea29650e58605c7f21c35108eb64b790c005968955238e948d27b3d12e6bb06bfc0eb4a3fe5f9e5322bc0657200212bf87e08d9e043e008a5a8 SHA512 ad3ebb693018928daf399e918ce35ed0d4e643cfb5c78bde04697e41dc8adf2861023ea1cf2c5033a3026048ca0ebeb7f2f57a966ba8e420558e42dde8d494f7
|
||||
DIST libc-0.2.147.crate 686772 BLAKE2B ab2f0c65d071d46b8b88149add1c8429237ef6d9e0563d56ee1adbf23e6147dbb57fb68fbd02498f8ec75327693237a47e5e5259615ce8b0d5ed7a03bbf4fffb SHA512 bfb3c230b59d623b98726f92b7c3f897b47ba3d22fe9834c15f5b4c1b662289aba35a0ae3acfc704ad74696db8c691ee007b9cc6fa03ae65a18eb6bedc81931e
|
||||
DIST linux-raw-sys-0.4.3.crate 1116245 BLAKE2B 93900384a5ee0c655d60a8fb7a4e5a237ea1402dd531fc236cc55bcce190e10aae9fd04818c708c5f67596e19dea2549bc69c55648cd1ad58150193cf4e71d67 SHA512 13e53092e7c8a766da2860b87034e38e9a9ee56a304d1d3f3617cb005bd939d94c62e34189000fe0bd6cd28bdec7944192c0cb50d6297db802fdb0114e170ec9
|
||||
DIST lock_api-0.4.10.crate 26713 BLAKE2B 113adf8554c65e9782e8fd0360d0398567dfbfddb1fea4928cc152fbab98dbe086e42b81170f6f5c333d61dd3261e8a1ebfbaed786e6bf6378e6afde6d7f9e5c SHA512 ffe8cad8099bc382832181c1ff95e0935993491f247114604201be7d4ddf8402fd4db8fd6499c611f95fbce7d57dc3d3738eddfab31c52f50ab8709e549697db
|
||||
DIST log-0.4.19.crate 38073 BLAKE2B bbc8ce51ad4a01562ecd204a531ec7d82101a342ec26405dfadd1761372f7039297dc97f4899889ebdf4eccbd56345e015d4ec6d2788851e523db56eb541aab3 SHA512 8f11ca6f5a99b61a5f3baeb7a23b7a879b3a5bed666337936bd1d8794864d14a6c4f0747d03505831783f15d8c14ebcf507267915481dfb1b32188b8ab36a038
|
||||
DIST lru-0.7.8.crate 12623 BLAKE2B d831330a8529a3f4272ffdb5234c9ed7804c11e70a0a94ea592a29c8c2ec39b66d4c5f62d55a0053f6b687c4d3dc4eb31219caa376e5330b4945fcdf7f646fe6 SHA512 75188a6118398870ccb39da113a41e9f791180c22eb3655f3a3dbbad444bc6873406e96f3fead814c154ee97e4a4da14f9848919ec9daeacb7dd2ce808e23ceb
|
||||
DIST memchr-2.5.0.crate 65812 BLAKE2B 57966413a1f933dcb2d2d4ccb29c247070f65a83299b2a9f5aa83f5a48a5c5f1c4c7c632fa63bd19f9508e9291e7258db2f16e2813a56fd84e0856f70f1e67ab SHA512 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa
|
||||
DIST memoffset-0.9.0.crate 9033 BLAKE2B 19090c1af8b8cf54a2cf7593748aff4d3dc685ec7080aa476139c1721ef71555495e1bc513b1efaddc7e7702f83e0e1c2a8f71ff40009d266539484c9297e0ed SHA512 2f04f9b6fed31e94388c18162ad275897a835df7b9ac827f4df0f4b0ecf71064ef247f7ad11dbc27d7a6d448984a0f29d1c000e3c8d5fa6e121fa9571770ec55
|
||||
DIST miniz_oxide-0.7.1.crate 55194 BLAKE2B 56afbe0c0b3eca98105ae2d507493f365353cce29a6b04910ff26bc75899400fdbd067756cbda7b3d86f047fb8f3d737de00043a4a7348a813cc43e45824e33f SHA512 5eb6ffe34a866403273ff0267ff7838aeb50722ca57a03d5a1d842a5f19a3b4af570b133a3b9d64d78eafe49e4b9732b92dd63fd9c6b0ce59b3295daf10f6a3c
|
||||
DIST object-0.31.1.crate 272843 BLAKE2B 1f2e8ce0bfc2f428889df856bf8fcefcdc754d5c9a934a65b65903ed10c143daa1408e97a1f190996ea451541d215d4e4d7a53c5d2c8d9a6c9ffe4ac6513a56c SHA512 e9cc2eb5ba516e4a08cf3fd5f496d05bc74ddbf1846d6b6ad6fd25a689aa315652fc5710be6bc68fdd678673b7ec8d63b4ce999f1fcfd5b281154bc25a915e9c
|
||||
DIST once_cell-1.18.0.crate 32969 BLAKE2B a08d5beee50a7add28bd9e50b18709e7b34574f0f55f80909d5efb7ac5917e5f30bdcf3fb43ddd0a4f420a427390c7ffe1cc1c7191a3a1d939bc6e3139e6eef7 SHA512 9328968afdf3535b2d9e0113d75afa725259d76994ef2e1948ad7efa4ec8a65bac7cfdc31b749d5cd55ad4e28d2e28ac57b871e3067b89182453c7e2413a13b8
|
||||
DIST openssl-0.10.52.crate 257165 BLAKE2B b4accd62f52caa549b3d89109ed3a1e8a9916d30c63f4f0b7574b64855d0fe5a009648ba423de389778bf2c9f11171bb31389a3fb15fc26e548d886f271f6fef SHA512 92ba2341c5cfa42ccd1e537ff222e560fe3246eba35523575f6d3d6891aff6a88a07ee8836e2d192f6b1ef32dbb4385d5ba67777e6ce72b9c04800476e92aa11
|
||||
DIST openssl-macros-0.1.1.crate 5601 BLAKE2B 69dc1c1f3b7bc4f934cae0dce64c3efa501162e5279efd6af3b74f7a7716c04b6996b306b310f1c045cfa2eff2895314a47ecbb020a817e461c6d77d0bc11e92 SHA512 57e75c84f78fb83f884eeaedb0dd135ecb40192dad2facd908e6a575c9b65b38a2c93bca4630e09ea5a82c77d8bc8364cb2f5778cbfe9d8f484cafe3346b883c
|
||||
DIST openssl-sys-0.9.87.crate 65702 BLAKE2B 578cab5b9bb3cb4dde866f3492aa3ca36fef7eb5d367ca46f3f93f388121ce131cd85b0b59a703e9bf989a7b891784fb54270027acc00f217356b3d2d9a60bd6 SHA512 b2f8fdd679aac50b2f830db32ca09e203c7d40a6bc0d83dcf66efe641a38a65e86d8ba9881b4fb073069fa54a7ff206e24d28b29788a2cce0c60e5e1e3d3ac39
|
||||
DIST parking_lot-0.11.2.crate 39869 BLAKE2B 67c555e87b68f5763a7790563fd8d542e126bcb77f91267f3b76c51fd73060a2c32dcb91f9d0db7ea772e555d91576c8d7ff48053a9c35fbd3b749d2459a660c SHA512 526b176363dffa59501c18324bb723a3846ef5b0ff9bf1d890e40ad10e7023284f7c8012eda87520eaa94515ee828d9ef52692a9ed590a55e176383d6d472f9e
|
||||
DIST parking_lot_core-0.8.6.crate 32567 BLAKE2B 9943244f813879ab85eae0b9a6bd8f8f0070fe190bc43148a832b217ad546bc97e58707a3987072965a79ae8bc2fa839aebac272f2de00993b8ac1ca0c5fc5ef SHA512 906241f8e2d71784d572fb78978c9550b19af9c4e32fe3b2da751287806d0faeba61f5bd36f7aab026970b2bffaaa1f62ddc10c64dc348eae61bf7b51297ef80
|
||||
DIST paste-0.1.18.crate 12259 BLAKE2B ed72b93a27166b0989743c2528d4a41f4b87ffdd0c588557d11a5f37f85d5b8f03ced86150af6209f9fa8d0f6efee705769b26a2f4dc3363f35cc3ac12c0e6ad SHA512 a4d9c75f6f358d6c86eb0a66cdf22eedec180db37358ca2870a992e215d5b389b7991837d8f2769742ac1b093674cb4352ef9d6754a249253472fbcb3a81c001
|
||||
DIST paste-impl-0.1.18.crate 9451 BLAKE2B e465c4c7eef44d02eb1b61b5290090513607b452f4adc11487947b7047ddc44905d7a02df827feb2142f0e74583afdd9648c1c66086f10e1bd861b663200bf8c SHA512 c635efee46cb251b76ee9427432f81a0d944cdf1d0a95693d824c6085e7dea7e1e3f48c692ae27946f69e4e78d8080220058acf98e5c8a78482007349f8a7a4b
|
||||
DIST pin-project-lite-0.2.10.crate 28026 BLAKE2B a8e9cb7b276da5f375113606948ad0253d0ebbd1ca5a9b59b1c71cab67ca514ee32b542fe9e6915b33d0387a8bc9f04149fc32227f9a828f16bae966a0cbf26a SHA512 8800c296f4d152324bbcbcfc4e8b7c3199ad8af5a73cd86f89893bb9759d67e1a614676aef0ee93cbff2e7af788a3cace3b05a2cbd1f1cc32c59e4138f7d5437
|
||||
DIST pkg-config-0.3.27.crate 18838 BLAKE2B 1295eb4f08751b3663cb2c7c2753f29bf2ccd80f4e5856909fe10b6f006c37fb9672c9518b9b416546469faa18821512673a66543c0bd1e848bddabc456d0a90 SHA512 41e9b8d4fce6b8244c2ac8566318a001b481bd42a182f1a832c81ce93c6a023e18af03aa3500b134c30195219d35080433bdba69b2594e9665081debfbb4533a
|
||||
DIST ppv-lite86-0.2.17.crate 22242 BLAKE2B 48c4a31a3b555fa37072c4de083580bb769747c7668748541af472778b5b58c3e7ab2b5e178760f542f973774f09910bdd4058ae5fb9d6b10c103eb76cfd0d3d SHA512 539d916e7e5869d832045c1aa88aec519bd000227f9b01d4dd0bfc9ffb640d5f5eb21b05eba718174773c97192a655ad3cb31b53ceb914dd19179a6699b3583a
|
||||
DIST proc-macro-hack-0.5.20+deprecated.crate 15045 BLAKE2B fb7b9fa57ad64f2920e801482bfccc762bb7b2c8c1db7da32f393c7b47414fab37234c8a408a4ca9d7072a541df22b07775fc509f76f352fb6be9fe822f84dfd SHA512 278e786f8e0c93e346de900666b3d55d366324167a2e5e553565870c4444bfe661cf8c151a29cbd3176a4905ec49d69cffb81ae1e4a129f30404f930972c4b43
|
||||
DIST proc-macro2-1.0.66.crate 43575 BLAKE2B 9eb3e816b00fcf625c280ba14ad269f5893d0523473a24de07c21945f6f932fbd08efb3c339b35d903245510e3f065e1478439b024a325f2bb9f97bc7bcbb18d SHA512 85f5a762f9411142e5ac28144bd380f07f0633ed2e44d8a2545be9fb8f42abaca6b5d45631b4be83b8e8b9beca7438bc52f25615c3a410a3a1249474b1aca407
|
||||
DIST quote-1.0.32.crate 28037 BLAKE2B 7b243ac7929f3b2e1d91a51a2dc2b11dd29bc017be9db588c83bd137609e2f991a4f3ff8682c7c11c177153e517c4f818285cce3237f435aa43ad0126c4bab6d SHA512 13cae36920dcbd0ad1978be63f20b35b8424d02b4d9992032fa78c7770d61d1fa7ec1532a48793cab48e703236b7bee7843041253b9e83700903228078b4c025
|
||||
DIST rand-0.8.5.crate 87113 BLAKE2B 516f26bb2a969d0d79e957818133f35d2c0b4d9f1b401098ea23c5b80d27599e842b9298c0c5e46e2a6cb6953857bf8a9fb71ec9366c5ce6708cf17df14f179c SHA512 8b33a8988906ba5e2057a9a84bdd11f867a5536c22f5056eec59ed4ec4e3a6da2fd773da4c0510d343762e5a4ea0f007db4c4a7cef87a47f90e36c1a84d86fb2
|
||||
DIST rand_chacha-0.3.1.crate 15251 BLAKE2B 645771b2c3e274f085e0837a20306b1d59f6e9032fba8eb38a6d1b30180d15e2f89ffa2a162bf6358da41e030098242d81e71dab4321980d0a4f6ddfc2974ce3 SHA512 8198c580b1b9b0429758ffa49cd8138fa3ce724f0dcf73c767ea7e55611d6a2e4c7cad9950896510def500ce4062b594386c947ac3d89425b4e5c9b04d0b8075
|
||||
DIST rand_core-0.6.4.crate 22666 BLAKE2B 8b6b66d50aade877f2779c006f8038db450f808c66d73d79efa66c4178dc03db06f12201bf0e7930181c4b0f4030c49b20cce6eb7839763cf2217cad9710789a SHA512 36c67eb845aa2ccca49d6d680f28d418229bbc5a050729e487fe6b9f9f384fdd7b8d67fc6508b90b79ffb3c26688e72feceb3ecae57d3d7f59338aeb62296f79
|
||||
DIST redox_syscall-0.2.16.crate 24012 BLAKE2B 9497a52044458b1435ea16e86ee072e379b6b11ee31602ea72d6b6072a4a99426f409c2e58108a4e9c36dc193fa49c83951e71f4fd4e158eafff18c594dc01ad SHA512 63b5d876baaf99f5cf737679bc6ac7a9e3d8a41aa93f5c59416ce7e3841e2513bff678773553cfe62fb452707f82acc384ea63aec932a31bf94679cd1caddd27
|
||||
DIST redox_syscall-0.3.5.crate 23404 BLAKE2B 85aa4299d9816666bf576f523da5cdeae87b3c8fbb2af103e82258d23f73303c068a4b6c3ef4117ad67958cb31e41f836a9f59f2ce1bc52c23605e34399afcf1 SHA512 16f8f4766932bb54e4740cfdb4f0802f76246c0bf88c1d76c69c115949b124b625d8c3b85d8947073c2e9544f425aa16c10f71fabe3c03d29e424c47fe4ccdde
|
||||
DIST rustc-demangle-0.1.23.crate 28970 BLAKE2B 611d2e41a8a9799db2f8bcb8fc8fefcda361d055a417d2bfaaf2dedcce9d6f388c69d905a28c65e6691b4d408d7922ccdc97ce524c87c3cccb8467e314bc87b9 SHA512 8cd29800254b1305ad50f1fc008838c52d9659f97a51a68e9f2bd6d0a60126f3ebdd1c79760f96445b3bf998d0773526ddf663b174acca81babdc0b423247247
|
||||
DIST rustix-0.38.4.crate 323637 BLAKE2B 2ea5f1374a96b7a50c68bd28a9189623e2002dfc4d983978be9f5f04e2ae0cb2825a22a554ab78a7b92dff7bd126e1a4f768d185e78dd48dc257eeb96f93526a SHA512 46b25e0e2f82185797ef12dcdb2e90b08cb19af1dcb6a6b3fdf5048ea9c428c5194c0612528a560adf70915f0e41659f682cff854146cfb6341f7dad659f622d
|
||||
DIST ryu-1.0.15.crate 46906 BLAKE2B 6d6949e43aaa27fba0ec6002fa11ba859af8d867f87c90d88413267186abbf6302b817985bca3d577ab3fab2e319e11756f144473a16330dfd8fc7b604cdc4b3 SHA512 4655b5647f919082a9b84b889539ae7fb23a1201057cf280efe79c58cb5f040864efb7812cda5021bf6d34838a15d173ac8bdb0fb9fa2dba85173d3efa5a826b
|
||||
DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb93e5105aeebdb475a52485e9e185255249e1dce8f83cd80534e7402d485aac3efa7e8493b13135de27550cd4bc4 SHA512 6247719a15fe1e4e2d179127b9a934bd2f99367724f41175ed9522f58824b6bc69b35002eae66b35880375ff61d77ac43ddaa78cbde7160a35183a1da32d3fbb
|
||||
DIST serde-1.0.175.crate 77599 BLAKE2B 0bd3b44f037c7a4beb59a7d73369f5255e83037dea37b3d1b3e0054666723ec04489937c5e820203b63f3c262c803b60769bbe780103fd4dce3128eface61597 SHA512 11d9812592d61105c86b943dc749104baf8723c1f1f4dbadb4cf5dbe2b053559d9453312ebb741ee7ef8555f0f187ed0cc4a235cb3ba0bd72fbc1ecf0ca861ea
|
||||
DIST serde_derive-1.0.175.crate 379830 BLAKE2B 7366daddcd1200f888dcf5e5c80daa2ce57092235eb6bc55399b1d36d35aeea6b02d0328ccdc9c8e988ff6726a4a877125950adaabb305705eef90f5bbe62181 SHA512 c09b2125b3141ecb2e7376095b5cc83a3f6cae1c9c3a46e71c0326cdb722df2af24c221a2b9457ecab5bdb5393e9153066751882efc134852178a91a009c4858
|
||||
DIST serde_json-1.0.103.crate 146095 BLAKE2B c10ccaef03dc4b0dfdc238e3d3b738faf43cd81cda1bcdc0296aae61a43260314ec03552ae14847bf88163d3c62d564ab563c55c8710f936b86f6f02dd7167ff SHA512 f63cd940426e6f40d999bb53d84122a2a8b87092b24262fd517f149983cde6715df818954baf7d2e7ebfb22d99b6f85042ea24e882b007888473d89c857a82cb
|
||||
DIST smallvec-1.11.0.crate 34680 BLAKE2B e54d56f6bbffbfa7ce5fe5f04e325b2e5cf19d290e4be278bc00a136e26284625b9c18c7c2b10b7fb8fad0ea7e3770f3cdbcfbaa913f5ac08d0a2f8b4e0de188 SHA512 41bfbecbc2c244497568a41724d65791ec3fd6d8057813d521367cca316c09c2b28fb3973826236b01c1f5d2f905d8d22b0c3c47f957a9ff5d7685591f15ccd7
|
||||
DIST strsim-0.8.0.crate 9309 BLAKE2B 40a8be506c43ee1ffe006ddc7dee98c3d418bdd205d57b78f5d1e4c9312feb57e1eaf952e02d92d4e0932db240c6fba45beb06ea8c4fc6de1cf1faa8b6a3a939 SHA512 1d55a8d946cd55f5f37d06aea536549ded95739fa58c0f2da285a0041154c181f663682bdcac643aa198b3e762d694a04f058db985c62ebe22b5c16327ba6d34
|
||||
DIST syn-1.0.109.crate 237611 BLAKE2B e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9 SHA512 12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d
|
||||
DIST syn-2.0.27.crate 241653 BLAKE2B dba085a8ffccc01a0ccacb7a2fbee328bc691cf0b8ef5c934f76ddf54d1e079fa79a6dfa02a69a8f3b72c456875a81d87a15add807d94dc01d434e8c162b5d6e SHA512 e3bb266edf16f2febecb903071344419ec4fc090d9f62de1cfb41fb15d46943efcd191b51d3284d3c38455b8fe6e6c8b8e614343810689257ee4b4bb72abde54
|
||||
DIST tempfile-3.7.0.crate 31754 BLAKE2B 50df09733ac358ccaa92be5e2284ce4df7f256285f2e9575637888b995af7a2e09d80cc7d228041143a36e08472d9c9f896e419d8208281fd5c768972dd6aa43 SHA512 cfa8fc57b8605edc6f4fecc167df17e484b24ab01f7f1a6cf19ed6f6161b77f124e55c8359a93d0a07970e25ca6aece4509338a66a3c683c4c473fa5ac9532df
|
||||
DIST textwrap-0.11.0.crate 17322 BLAKE2B 257428908342774593bbd3528fcdae710712ff54e8a711393a24356d8ba0e16e466a4b20c05f942c48ca76b3b5b5aaa90ec202f782cad892caa8b71ccf124da6 SHA512 f5c0fe4f28ff1a3a0931e8e235b5157a45f67967985bcc752418c5ec3481fca44a8ae4800088889b37e8cd0533f53d3c456d5ffd19b767b3f83a87b49a2e209a
|
||||
DIST tokio-1.29.1.crate 693627 BLAKE2B 31564e39fda61ab60899879b6900cd51b0f8c45d6b4c09527455826ce8ea70b028e8a95a0d7ca96a84a51eada59c20c15b22682fef60576dc63b6c157edb3316 SHA512 915385a79155f595afe802e292bd0a7dc1c3d58935d9c1d743bd51baf5e94268fd52bc2d5d93b20b7d0224dc7c1b9dcab4c66aae369cb2774a6c0c04ccfcf386
|
||||
DIST tokio-macros-2.1.0.crate 11472 BLAKE2B ae03d8812bc2b8f833e0ca77f1df8edeb8e0476c06f8f5104fa632ce77369ec54a80ff3da86439192971bf2e11147eade3765c447d76238b768732702004db95 SHA512 e2a24c1befd512d68b5d8b26a3f1d940dd10bfe0979b5d61a71052478d9fd19b28eb7bcbeaca4cf3c9736fd3da0386c899e3a619f47c2d9f7e6b497140586b9d
|
||||
DIST toml-0.5.11.crate 54910 BLAKE2B 9ecd5103b33ab47d4be23c897c7095ca381cb79bedcaac4918cddc36fc7cf5d34ab664da52c2273d935f04486e9325241d6b66785d50aac78453c219aab49e1e SHA512 eddb82aeb8fdeb5436579292c6f7a64a90a2c7bb54070beb437bc7890b99795d0505faa8d6451a99e8bcf440f78db8a1b273a697c8ad44275cc4163a9ee49317
|
||||
DIST unicode-ident-1.0.11.crate 42067 BLAKE2B 3c7cac3d2bf1cbf1cf04716a482f130123e8e6940f7a90a17bc62fca44ac0069688165538f5329b95a72f735b594cfb85e3250738393ffd1b53cb0cd95077d89 SHA512 9682bbee339fb987c9d0bb6a54406d37b28b5c3587372d406402e4341900fec97e3234cd03b5c98b90b6378fd533dc452cac3de90d3ade19c4b09657e4abf6df
|
||||
DIST unicode-width-0.1.10.crate 18968 BLAKE2B 6174e307fd3ee290d0a5d1d31233baaa5315cdb73f19b8580718e9f9eb04cfd3aeaeb474af1e50c4b9fecc6fc777937dedc527c9dc9ed14ccf42af099e591f31 SHA512 9836a8d489d18ea1ecfe1957ed6d5da7dce825e138cd1848aef093fa8d2eb83fcf01eabb1a2446df4f5ede4e67316e9e81b5d58b59d4e8c5d67870e8fa5dca3b
|
||||
DIST uuid-0.8.2.crate 37909 BLAKE2B e6ede5f8ae05572d4c55909eb3fe6946de6f10ad9bf71bd357739bc01201bf93f59ccbb3dabcbfd7b3e54b0c98c3b52d21f1bf1877b7283c6df623e9b2b3f33f SHA512 5a1f5ead9a920b9bbc120c02049c24b62ec215765e486d3a15c5015ef49fa506206efb737e6f6555cf6e2eddddfe55f0ca1d7dcfa9aa8bcf3e0ef570a54fa2d8
|
||||
DIST vcpkg-0.2.15.crate 228735 BLAKE2B 6b6bacd9a7fa38919241f45a97f58cae957e58d3aac99df208a26aa718e4f1644f4ccefa31b09151e5c1952288e0e5837c363918b98c7f55079a948a952c1c50 SHA512 7322a21e8811b2fe4e79e09dc321458068ecdf1953f05d36233f3278ecc0b1dfc64194db7010dd46fcf692285f42475beb090c6c6cac0c8f9fe0eb5c770e3172
|
||||
DIST vec_map-0.8.2.crate 14466 BLAKE2B 8f109fbff19604b82ea2aa61c952e2ce9b5597ccc8e1ef4e847648e2de08dece8c4debe92889edeccb8d393645fd0b62436b49d236ded7ad181c4a51239a9539 SHA512 4f1ef59bc2c437e79f1f84fe021bce5aa8ccd581f500f3d5776913d5f17d45b03ccee64f5bd03d47656318cfc9344a1f4311079d471fa409a8e4e94c143973f9
|
||||
DIST version_check-0.9.4.crate 14895 BLAKE2B fa1fa4008af165bfc1fdbe560488afd9d232cfafee94104fbcc4cbc52f234849bff9ddfa88109a1ac682f6d9c1d86b0459893d223f64e65adc08966aaf93dc89 SHA512 b172dc9a3759a4a683ffc39b9a40b03b9974b626a088217de87090466cef695226557c226cf3e469b2b25ee7297b7eb0d7719878cab42457f80146a81943c0c8
|
||||
DIST wasi-0.11.0+wasi-snapshot-preview1.crate 28131 BLAKE2B fe501889f25d65e2d032f885cc50c4f8bf7dd70fd5cbc438de349838370d8699e9627b0a4fc76030ea9fe6d508f41d0c9928a875fdbc47e73bfb17241cf7b155 SHA512 043500ab28cd9cb779475255da5d109ebab7fccca72b64873dc28d77bc5a157ba8d96b9e8f05223b5b36c7089bb7b4ba87657fc69bac16b78972f897294a865f
|
||||
DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97
|
||||
DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2
|
||||
DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513
|
||||
DIST windows-sys-0.48.0.crate 2628884 BLAKE2B 551e900de4f67187ef034b60df9fd0e0d8f82a3100ef28e1eabd543ac129d882dc86ffcc1714071aba09e4cb2ae2d2f07ace1a32b99fd989ce525cf05991edab SHA512 bdf534bcf3face31e9ebe11427a911a53f89f4ff5eaea8cccd094e139bfe14b2aec602b1cab1df774794d999477439d9adc6b627a8e33c20334fc348ba2c47ed
|
||||
DIST windows-targets-0.48.1.crate 6902 BLAKE2B 8e6cd47dea52131c66983cbf4982e88f7bd30416dfae4e380f7afb39f67ee0ac88d40769668dd5aba40d4415f9f00cbc2ac98d598506fed26029f5ec4df3a2c5 SHA512 e48179620cce528292167f1d5ee2deea0659569c996dc90eb4ab62b9ea8baee6c0bea3ab739e06d8793c9690bfc895545ed0039cb633ca39293de79c42ea9de2
|
||||
DIST windows_aarch64_gnullvm-0.48.0.crate 366543 BLAKE2B 9b10f65089fe6da3ff38a1061783f635644ae84f567f891eaced280af68f7ff3919b34289e8850aa34554bb0346903273ff0a7fa743ca8794c2d23a9f1b0185f SHA512 80c5aa74c5669f7acff3882a8e7575f15e8d7cc58c11a1cb731ff423eb9cc9ba43cc6b80e52803c0d44e6a9001655ba87de6f43a9fe858da6d6e3a5c983a2711
|
||||
DIST windows_aarch64_msvc-0.48.0.crate 671479 BLAKE2B 0c80f210437628e1d878d1d14e884fea532c7539b3030aa76d46f27d02372c715c6e33d7efdbbd770666472b44a66c30711a33d819ede9cdcd51c96355802d45 SHA512 617e47a7202f1db4dbd3ecea509682135ccd85e3a458c0331b9bc7aa1d84e5756b59c881cb098d5c6d4c951248d13c8253a8e8a50938e1997bd19ceba77262df
|
||||
DIST windows_i686_gnu-0.48.0.crate 741490 BLAKE2B 5a4a584f8d8ee5bbd2d4c5b6749a66f2d43fc9e4ef90faab2227709b270f0d46fc26578c029edd96877c71309316ddb32d91c39f46d88f9a484c614f866e3dbe SHA512 15149fdd48b61b6d993acd392dbd353d0280d984ea88745217e4207937174bb90cdd9701f69ff0fe06a842f03607cbb57937d20d79ab577181e605a8a8fadc68
|
||||
DIST windows_i686_msvc-0.48.0.crate 730056 BLAKE2B 4e4ad6ed94948145199c2ed50fc65e4af08455a0fd058bb0f763d481f30b029f99a2b8dbac087b29e762500a19270f6683baf62ba99d141eb002a5b0b5c8ea05 SHA512 11a50800e709712dbea907275bc0faa46d2eb2969118445ed5b932d9c5957a09592a5b26a40e554c1f5fd56c6d074a07637e6f88eedd2224e1001e62df7b469b
|
||||
DIST windows_x86_64_gnu-0.48.0.crate 703595 BLAKE2B b227efb78a99c43d0538cceadada3fa1840df29adc665787fdcf845b73e77d782da8a9f9aa602e1da61401b550d0107176feb6c397c922a6240b38cc8f04a180 SHA512 38eff1164fb37dbd2bbe53404b20cba92de84cbbd5e4eb9ad60d51fb43d6fdb8b87a1488e2c88ebd4b3ff3b708f93fdc05df4b14a285d3ff11c33ff0d9828602
|
||||
DIST windows_x86_64_gnullvm-0.48.0.crate 366536 BLAKE2B 295dc3aef18c604d1579978045f4058b1a315083a8ab842bddf5800ec3460b1530ad88c3464acab712a229290aca235810de8a3b6a253859a354d9fa97277e58 SHA512 8d82fad4c8445030844708aa026a62f1ca43362b8e15f14b0d226c7e9cda04ffa0715087b6a025dbb738e8891de24fcc4a2df071a532917cf03c4a46f934f396
|
||||
DIST windows_x86_64_msvc-0.48.0.crate 671422 BLAKE2B abb063610dcc38581657133182b7d9efeed5553df67bd2bd6f30f1668a645186e4824f9ef556a5abc84ace10b1b437b6325bbda6df5a64ce880d7dcb743ac786 SHA512 6e598b8e3ac54912a8ebac01b0dd2c58fd282072527d7fedc7f6ebecdfb7dcb09ae46c22293bc0117849437f8b053db5e90406e7a38276f0f0afd06be3966795
|
||||
DIST zeroize-1.6.0.crate 19049 BLAKE2B 8dad6af58edd7b22ece7dfefa47b478dfb74efd1e08c03c571c9cd50962a8eda8cdb59fab91fd44053f8acde8d1d84efac4bc48c5e6576255620ef21f2813de2 SHA512 9ebc81c10516440476b5c198dd4ff0d284a0a37cee11a2cdfb5a1995f95b72d05beb827483b16e8b764f720fbcf30a5e5d8b1517cfbbf572bcb27c2efb18393b
|
||||
DIST zeroize_derive-1.4.2.crate 11141 BLAKE2B a40add656369a3a40d5b5f3397a77a1e9f803d4b8ae5b7d51c9f2ebb332a289b3c1ea528655806a26998e081a1cc9f4b07828664542de8d8d2619faf079d25c5 SHA512 d6966b024ce5e265c93e7056659ccbb97bbf6baa30f759fd96dc4391a6487426637f61f0a2713b6160019d778cf7d8ff1f25bb33d6c4f4585b990baae418b226
|
@ -0,0 +1,167 @@
|
||||
https://bugs.gentoo.org/899702
|
||||
https://github.com/389ds/389-ds-base/commit/c0e2f68423ddde9bb91250d3f96dfc8617889514
|
||||
|
||||
From c0e2f68423ddde9bb91250d3f96dfc8617889514 Mon Sep 17 00:00:00 2001
|
||||
From: Viktor Ashirov <vashirov@redhat.com>
|
||||
Date: Mon, 13 Feb 2023 18:39:20 +0100
|
||||
Subject: [PATCH] Issue 5642 - Build fails against setuptools 67.0.0
|
||||
|
||||
Bug Description:
|
||||
`setuptools` 67.0.0 vendors `packaging` 23.0 which dropped `LegacyVersion`.
|
||||
|
||||
Fix Description:
|
||||
Replace `LegacyVersion` with `DSVersion` to compare version strings that are
|
||||
not compatible with PEP 440 and PEP 508.
|
||||
|
||||
Reviewed by: @mreynolds389, @progier389
|
||||
|
||||
Fixes: https://github.com/389ds/389-ds-base/issues/5642
|
||||
--- a/src/lib389/lib389/nss_ssl.py
|
||||
+++ b/src/lib389/lib389/nss_ssl.py
|
||||
@@ -23,16 +23,9 @@
|
||||
from lib389.passwd import password_generate
|
||||
from lib389._mapped_object_lint import DSLint
|
||||
from lib389.lint import DSCERTLE0001, DSCERTLE0002
|
||||
-from lib389.utils import ensure_str, format_cmd_list
|
||||
+from lib389.utils import ensure_str, format_cmd_list, DSVersion
|
||||
import uuid
|
||||
|
||||
-# Setuptools ships with 'packaging' module, let's use it from there
|
||||
-try:
|
||||
- from pkg_resources.extern.packaging.version import LegacyVersion
|
||||
-# Fallback to a normal 'packaging' module in case 'setuptools' is stripped
|
||||
-except:
|
||||
- from packaging.version import LegacyVersion
|
||||
-
|
||||
KEYBITS = 4096
|
||||
CA_NAME = 'Self-Signed-CA'
|
||||
CERT_NAME = 'Server-Cert'
|
||||
@@ -249,7 +242,7 @@ def openssl_rehash(self, certdir):
|
||||
openssl_version = check_output(['/usr/bin/openssl', 'version']).decode('utf-8').strip()
|
||||
except subprocess.CalledProcessError as e:
|
||||
raise ValueError(e.output.decode('utf-8').rstrip())
|
||||
- rehash_available = LegacyVersion(openssl_version.split(' ')[1]) >= LegacyVersion('1.1.0')
|
||||
+ rehash_available = DSVersion(openssl_version.split(' ')[1]) >= DSVersion('1.1.0')
|
||||
|
||||
if rehash_available:
|
||||
cmd = ['/usr/bin/openssl', 'rehash', certdir]
|
||||
--- /dev/null
|
||||
+++ b/src/lib389/lib389/tests/dsversion_test.py
|
||||
@@ -0,0 +1,12 @@
|
||||
+from lib389.utils import DSVersion
|
||||
+import pytest
|
||||
+
|
||||
+versions = [('1.3.10.1', '1.3.2.1'),
|
||||
+ ('2.3.2', '1.4.4.4'),
|
||||
+ ('2.3.2.202302121950git1b4f5a5bf', '2.3.2'),
|
||||
+ ('1.1.0a', '1.1.0')]
|
||||
+
|
||||
+@pytest.mark.parametrize("x,y", versions)
|
||||
+def test_dsversion(x, y):
|
||||
+ assert DSVersion(x) > DSVersion(y)
|
||||
+
|
||||
--- a/src/lib389/lib389/utils.py
|
||||
+++ b/src/lib389/lib389/utils.py
|
||||
@@ -42,12 +42,6 @@ def wait(self):
|
||||
import subprocess
|
||||
import math
|
||||
import errno
|
||||
-# Setuptools ships with 'packaging' module, let's use it from there
|
||||
-try:
|
||||
- from pkg_resources.extern.packaging.version import LegacyVersion
|
||||
-# Fallback to a normal 'packaging' module in case 'setuptools' is stripped
|
||||
-except:
|
||||
- from packaging.version import LegacyVersion
|
||||
from socket import getfqdn
|
||||
from ldapurl import LDAPUrl
|
||||
from contextlib import closing
|
||||
@@ -1218,6 +1212,76 @@ def generate_ds_params(inst_num, role=ReplicaRole.STANDALONE):
|
||||
|
||||
return instance_data
|
||||
|
||||
+class DSVersion():
|
||||
+ def __init__(self, version):
|
||||
+ self._version = str(version)
|
||||
+ self._key = _cmpkey(self._version)
|
||||
+
|
||||
+ def __str__(self):
|
||||
+ return self._version
|
||||
+
|
||||
+ def __repr__(self):
|
||||
+ return f"<DSVersion('{self}')>"
|
||||
+
|
||||
+ def __hash__(self):
|
||||
+ return hash(self._key)
|
||||
+
|
||||
+ def __lt__(self, other):
|
||||
+ if not isinstance(other, DSVersion):
|
||||
+ return NotImplemented
|
||||
+
|
||||
+ return self._key < other._key
|
||||
+
|
||||
+ def __le__(self, other):
|
||||
+ if not isinstance(other, DSVersion):
|
||||
+ return NotImplemented
|
||||
+
|
||||
+ return self._key <= other._key
|
||||
+
|
||||
+ def __eq__(self, other):
|
||||
+ if not isinstance(other, DSVersion):
|
||||
+ return NotImplemented
|
||||
+
|
||||
+ return self._key == other._key
|
||||
+
|
||||
+ def __ge__(self, other):
|
||||
+ if not isinstance(other, DSVersion):
|
||||
+ return NotImplemented
|
||||
+
|
||||
+ return self._key >= other._key
|
||||
+
|
||||
+ def __gt__(self, other):
|
||||
+ if not isinstance(other, DSVersion):
|
||||
+ return NotImplemented
|
||||
+
|
||||
+ return self._key > other._key
|
||||
+
|
||||
+ def __ne__(self, other):
|
||||
+ if not isinstance(other, DSVersion):
|
||||
+ return NotImplemented
|
||||
+
|
||||
+ return self._key != other._key
|
||||
+
|
||||
+
|
||||
+def _parse_version_parts(s):
|
||||
+ for part in re.compile(r"(\d+ | [a-z]+ | \. | -)", re.VERBOSE).split(s):
|
||||
+
|
||||
+ if not part or part == ".":
|
||||
+ continue
|
||||
+
|
||||
+ if part[:1] in "0123456789":
|
||||
+ # pad for numeric comparison
|
||||
+ yield part.zfill(8)
|
||||
+ else:
|
||||
+ yield "*" + part
|
||||
+
|
||||
+def _cmpkey(version):
|
||||
+ parts = []
|
||||
+ for part in _parse_version_parts(version.lower()):
|
||||
+ parts.append(part)
|
||||
+
|
||||
+ return tuple(parts)
|
||||
+
|
||||
|
||||
def get_ds_version(paths=None):
|
||||
"""
|
||||
@@ -1245,9 +1309,9 @@ def ds_is_related(relation, *ver, instance=None):
|
||||
if len(ver) > 1:
|
||||
for cmp_ver in ver:
|
||||
if cmp_ver.startswith(ds_ver[:3]):
|
||||
- return ops[relation](LegacyVersion(ds_ver),LegacyVersion(cmp_ver))
|
||||
+ return ops[relation](DSVersion(ds_ver), DSVersion(cmp_ver))
|
||||
else:
|
||||
- return ops[relation](LegacyVersion(ds_ver), LegacyVersion(ver[0]))
|
||||
+ return ops[relation](DSVersion(ds_ver), DSVersion(ver[0]))
|
||||
|
||||
|
||||
def ds_is_older(*ver, instance=None):
|
||||
|
17
net-nds/389-ds-base/files/389-ds-base-db-gentoo.patch
Normal file
17
net-nds/389-ds-base/files/389-ds-base-db-gentoo.patch
Normal file
@ -0,0 +1,17 @@
|
||||
diff --git a/m4/db.m4 b/m4/db.m4
|
||||
index c916c2b83..a9dd5ef2b 100644
|
||||
--- a/m4/db.m4
|
||||
+++ b/m4/db.m4
|
||||
@@ -96,9 +96,9 @@ if test -z "$db_inc"; then
|
||||
fi
|
||||
|
||||
dnl figure out which version of db we're using from the header file
|
||||
-db_ver_maj=`grep DB_VERSION_MAJOR $db_incdir/db.h | awk '{print $3}'`
|
||||
-db_ver_min=`grep DB_VERSION_MINOR $db_incdir/db.h | awk '{print $3}'`
|
||||
-db_ver_pat=`grep DB_VERSION_PATCH $db_incdir/db.h | awk '{print $3}'`
|
||||
+db_ver_maj=`gcc -E -fdirectives-only $db_incdir/db.h | grep DB_VERSION_MAJOR | awk '{print $3}'`
|
||||
+db_ver_min=`gcc -E -fdirectives-only $db_incdir/db.h | grep DB_VERSION_MINOR | awk '{print $3}'`
|
||||
+db_ver_pat=`gcc -E -fdirectives-only $db_incdir/db.h | grep DB_VERSION_PATCH | awk '{print $3}'`
|
||||
|
||||
dnl Ensure that we have libdb at least 4.7, older versions aren't supported
|
||||
if test ${db_ver_maj} -lt 4; then
|
3
net-nds/389-ds-base/files/389-ds-base.conf
Normal file
3
net-nds/389-ds-base/files/389-ds-base.conf
Normal file
@ -0,0 +1,3 @@
|
||||
d /var/log/dirsrv 0700 dirsrv dirsrv -
|
||||
d /var/lib/dirsrv 0700 dirsrv dirsrv -
|
||||
d /run/lock/dirsrv 0770 dirsrv dirsrv -
|
43
net-nds/389-ds-base/files/389-ds-snmp.initd
Normal file
43
net-nds/389-ds-base/files/389-ds-snmp.initd
Normal file
@ -0,0 +1,43 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
PIDFILE="/run/ldap-agent.pid"
|
||||
CONFIGFILE="/etc/dirsrv/config/ldap-agent.conf"
|
||||
|
||||
# instance support in progress
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use logger snmpd
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting 389 Directory Server ldap-snmp agent"
|
||||
start-stop-daemon --start --quiet -b \
|
||||
--pidfile ${PIDFILE} --exec /usr/sbin/ldap-agent -- ${CONFIGFILE}
|
||||
eend ${?}
|
||||
if [ "${?}" != "0" ]; then
|
||||
local entries=/etc/dirsrv/slapd-*
|
||||
if [ -n "${entries}" ]; then
|
||||
ewarn "Please make sure that ${CONFIGFILE} contains at least"
|
||||
ewarn "one of the following entries:"
|
||||
for entry in ${entries}; do
|
||||
entry=$(basename ${entry})
|
||||
ewarn "server ${entry}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping 389 Directory Server ldap-snmp agent"
|
||||
start-stop-daemon --stop --quiet --pidfile ${PIDFILE}
|
||||
eend ${?}
|
||||
}
|
||||
|
||||
restart() {
|
||||
svc_stop
|
||||
sleep 2
|
||||
svc_start
|
||||
}
|
89
net-nds/389-ds-base/files/389-ds.initd-r1
Normal file
89
net-nds/389-ds-base/files/389-ds.initd-r1
Normal file
@ -0,0 +1,89 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
DIRSRV_EXEC="/usr/sbin/ns-slapd"
|
||||
PID_DIRECTORY="/run/dirsrv"
|
||||
LOCK_DIRECTORY="/var/lock/dirsrv"
|
||||
DIRSRV_CONF_DIR="/etc/dirsrv"
|
||||
DS_INSTANCES=${DIRSRV_CONF_DIR}/slapd-*
|
||||
|
||||
depend() {
|
||||
need net logger
|
||||
use dns
|
||||
provide dirsrv ldap
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
if [ -z "${DS_INSTANCES}" ]; then
|
||||
eerror "389 Directory Server has not been configured."
|
||||
eend 1
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig || return 1
|
||||
|
||||
for instance in ${DS_INSTANCES}; do
|
||||
instance=$(basename ${instance})
|
||||
# skip .removed instances, bug #338133
|
||||
if [ "${instance%%.removed}" != "${instance}" ]; then
|
||||
continue
|
||||
fi
|
||||
# Create the required directories in case they got nuked
|
||||
mkdir -p ${PID_DIRECTORY}
|
||||
mkdir -p ${LOCK_DIRECTORY}/${instance}
|
||||
# This will probably break one day, we should be pulling out the suitespotuser from dse.ldif
|
||||
chown dirsrv: ${PID_DIRECTORY}
|
||||
chown dirsrv: ${LOCK_DIRECTORY}/${instance}
|
||||
ebegin "Starting 389 Directory Server: instance ${instance}"
|
||||
start-stop-daemon --start --quiet -m \
|
||||
--pidfile ${PID_DIRECTORY}/${instance}.startpid \
|
||||
--exec ${DIRSRV_EXEC} -- -D ${DIRSRV_CONF_DIR}/${instance} \
|
||||
-i ${PID_DIRECTORY}/${instance}.pid \
|
||||
-w ${PID_DIRECTORY}/${instance}.startpid
|
||||
sts=${?}
|
||||
eend ${sts}
|
||||
if [ "${sts}" != "0" ]; then
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
|
||||
stop() {
|
||||
checkconfig || return 1
|
||||
|
||||
for instance in ${DS_INSTANCES}; do
|
||||
instance=$(basename ${instance})
|
||||
if [ "${instance%%.removed}" != "${instance}" ]; then
|
||||
continue
|
||||
fi
|
||||
ebegin "Stopping 389 Directory Server: instance ${instance}"
|
||||
start-stop-daemon --stop --quiet \
|
||||
--pidfile ${PID_DIRECTORY}/${instance}.pid \
|
||||
--exec ${DIRSRV_EXEC}
|
||||
eend ${?}
|
||||
done
|
||||
}
|
||||
|
||||
status() {
|
||||
for instance in ${DS_INSTANCES}; do
|
||||
instance=$(basename ${instance})
|
||||
if [ "${instance%%.removed}" != "${instance}" ]; then
|
||||
continue
|
||||
fi
|
||||
if [ -e ${PID_DIRECTORY}/${instance}.pid ]; then
|
||||
pid=$(cat ${PID_DIRECTORY}/${instance}.pid)
|
||||
if [ $(echo "$pid" | grep -c $pid) -ge 1 ]; then
|
||||
einfo "389 Directory Server: instance ${instance} (pid $pid) running."
|
||||
else
|
||||
ewarn "389 Directory Server: instance ${instance} (pid $pid) NOT running."
|
||||
fi
|
||||
else
|
||||
eerror "389 Directory Server: instance ${instance} is NOT running."
|
||||
fi
|
||||
done
|
||||
}
|
10
net-nds/389-ds-base/files/README.gentoo
Normal file
10
net-nds/389-ds-base/files/README.gentoo
Normal file
@ -0,0 +1,10 @@
|
||||
If you are planning to use 389-ds-snmp (ldap-agent),
|
||||
make sure to properly configure: /etc/dirsrv/config/ldap-agent.conf
|
||||
adding proper 'server' entries, and adding the lines below to
|
||||
=> /etc/snmp/snmpd.conf
|
||||
master agent
|
||||
agentXSocket /var/agentx/master"
|
||||
|
||||
To start 389 Directory Server (LDAP service) at boot:"
|
||||
|
||||
rc-update add 389-ds default"
|
37
net-nds/389-ds-base/metadata.xml
Normal file
37
net-nds/389-ds-base/metadata.xml
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>Dessa@gmake.de</email>
|
||||
<name>Robert Förster</name>
|
||||
</maintainer>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>chris@christopherpritchard.co.uk</email>
|
||||
<name>Chris Pritchard</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="accountpolicy">Enable account policy plugin - automatically lock
|
||||
an account after a certain amount of time has elapsed</flag>
|
||||
<flag name="bitwise">Enable bitwise plugin - supported data in raw/bitwise
|
||||
format</flag>
|
||||
<flag name="dna">Enable dna (distributed numeric assignment ) plugin - to
|
||||
automatically assign unique uid numbers to new user entries as they
|
||||
are created.</flag>
|
||||
<flag name="pam-passthru">Enable pam-passthru plugin - for simple and
|
||||
fast system services used in ldap</flag>
|
||||
<flag name="autobind">Enable auto bind over unix domain socket (LDAPI)
|
||||
support</flag>
|
||||
<flag name="auto-dn-suffix">Enable auto bind with auto dn suffix over unix
|
||||
domain socket (LDAPI) support</flag>
|
||||
<flag name="ldapi">Enable LDAP over unix domain socket (LDAPI) support</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/389ds/389-ds-base/issues</bugs-to>
|
||||
<remote-id type="cpe">cpe:/a:fedoraproject:389_directory_server</remote-id>
|
||||
<remote-id type="github">389ds/389-ds-base</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user