public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-mail/stalwart-mail/
@ 2025-01-01 21:10 Thomas Raschbacher
  0 siblings, 0 replies; only message in thread
From: Thomas Raschbacher @ 2025-01-01 21:10 UTC (permalink / raw
  To: gentoo-commits

commit:     36ea1618c15b25aa51d876b1dfb7aecf8ce6a6c8
Author:     Thomas Raschbacher <lordvan <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  1 21:08:43 2025 +0000
Commit:     Thomas Raschbacher <lordvan <AT> gentoo <DOT> org>
CommitDate: Wed Jan  1 21:09:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36ea1618

net-mail/stalwart-mail: fix warnings

Signed-off-by: Thomas Raschbacher <lordvan <AT> gentoo.org>

 net-mail/stalwart-mail/metadata.xml                |  3 +++
 net-mail/stalwart-mail/stalwart-mail-0.10.7.ebuild | 16 ++++++++--------
 2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/net-mail/stalwart-mail/metadata.xml b/net-mail/stalwart-mail/metadata.xml
index d5549a5afdb7..90e605af1ee8 100644
--- a/net-mail/stalwart-mail/metadata.xml
+++ b/net-mail/stalwart-mail/metadata.xml
@@ -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>

diff --git a/net-mail/stalwart-mail/stalwart-mail-0.10.7.ebuild b/net-mail/stalwart-mail/stalwart-mail-0.10.7.ebuild
index 044e50b3e693..e3a343d11b08 100644
--- a/net-mail/stalwart-mail/stalwart-mail-0.10.7.ebuild
+++ b/net-mail/stalwart-mail/stalwart-mail-0.10.7.ebuild
@@ -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() {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-01-01 21:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-01 21:10 [gentoo-commits] repo/gentoo:master commit in: net-mail/stalwart-mail/ Thomas Raschbacher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox