net-mail/stalwart-mail: fix warnings

Signed-off-by: Thomas Raschbacher <lordvan@gentoo.org>
This commit is contained in:
Thomas Raschbacher
2025-01-01 22:08:43 +01:00
parent 78fa92df70
commit 36ea1618c1
2 changed files with 11 additions and 8 deletions

View File

@@ -8,4 +8,7 @@
<use>
<flag name="rocks">Enables rocksdb storage backend</flag>
</use>
<upstream>
<remote-id type="github">stalwartlabs/mail-server</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,4 +1,4 @@
# Copyright 2024 Gentoo Authors
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.13.4
@@ -745,28 +745,28 @@ SRC_URI="https://github.com/stalwartlabs/mail-server/archive/refs/tags/v${PV}.ta
${CARGO_CRATE_URIS}
"
S="${WORKDIR}/mail-server-${PV}"
LICENSE="|| ( AGPL-3 )"
# Dependent crate licenses
LICENSE+="
AGPL-3 Apache-2.0 BSD-2 BSD Boost-1.0 CC0-1.0 ISC LGPL-2+ MIT
MPL-2.0 Unicode-3.0 ZLIB
"
SLOT="0"
KEYWORDS="~amd64"
IUSE="sqlite postgres mysql +rocks"
RDEPEND="acct-group/stalwart-mail
acct-user/stalwart-mail"
S="${WORKDIR}/mail-server-${PV}"
SLOT="0"
KEYWORDS="~amd64"
IUSE="sqlite postgres mysql +rocks"
DOCS="resources/config README.md SECURITY.md UPGRADING.md CONTRIBUTING.md CHANGELOG.md"
src_unpack() {
cargo_src_unpack
sed -i -e "s%__PATH__/etc/%${ROOT}/opt/stalwart-mail/etc/%g" "${S}"/resources/systemd/stalwart-mail.service || die
sed -i -e "s%__PATH__/bin/%${ROOT}/usr/bin/%g" "${S}"/resources/systemd/stalwart-mail.service || die
sed -i -e "s%__PATH__/etc/%/opt/stalwart-mail/etc/%g" "${S}"/resources/systemd/stalwart-mail.service || die
sed -i -e "s%__PATH__/bin/%/usr/bin/%g" "${S}"/resources/systemd/stalwart-mail.service || die
}
src_configure() {