# Copyright 2024-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Autogenerated by pycargoebuild 0.15.0 EAPI=8 CRATES=" " declare -A GIT_CRATES=( [opentelemetry-http]='https://github.com/stalwartlabs/opentelemetry-rust;274b4d324794280ce6f4def095a3428197a9e6e3;opentelemetry-rust-%commit%/opentelemetry-http' [opentelemetry-otlp]='https://github.com/stalwartlabs/opentelemetry-rust;274b4d324794280ce6f4def095a3428197a9e6e3;opentelemetry-rust-%commit%/opentelemetry-otlp' [opentelemetry-proto]='https://github.com/stalwartlabs/opentelemetry-rust;274b4d324794280ce6f4def095a3428197a9e6e3;opentelemetry-rust-%commit%/opentelemetry-proto' [opentelemetry-semantic-conventions]='https://github.com/stalwartlabs/opentelemetry-rust;274b4d324794280ce6f4def095a3428197a9e6e3;opentelemetry-rust-%commit%/opentelemetry-semantic-conventions' [opentelemetry]='https://github.com/stalwartlabs/opentelemetry-rust;274b4d324794280ce6f4def095a3428197a9e6e3;opentelemetry-rust-%commit%/opentelemetry' [opentelemetry_sdk]='https://github.com/stalwartlabs/opentelemetry-rust;274b4d324794280ce6f4def095a3428197a9e6e3;opentelemetry-rust-%commit%/opentelemetry-sdk' ) RUST_MIN_VER="1.88.0" inherit cargo systemd DESCRIPTION="Stalwart Mail Server" HOMEPAGE="https://stalw.art" SRC_URI="https://github.com/stalwartlabs/stalwart/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz ${CARGO_CRATE_URIS} " if [[ ${PKGBUMPING} != ${PVR} ]]; then SRC_URI+=" https://dev.gentoo.org/~lordvan/stalwart-${PV}-crates.tar.xz " fi S="${WORKDIR}/stalwart-${PV}" LICENSE="|| ( AGPL-3 )" # Dependent crate licenses LICENSE+=" AGPL-3 Apache-2.0 BSD-2 BSD Boost-1.0 CC0-1.0 CDLA-Permissive-2.0 ISC LGPL-2+ MIT MPL-2.0 Unicode-3.0 ZLIB BZIP2 " # 0.16.x has breaking changes so avoid installing new server with old cli DEPEND+=" !!