public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kenton Groombridge" <concord@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-voip/murmur/
Date: Sun,  9 Jun 2024 16:36:35 +0000 (UTC)	[thread overview]
Message-ID: <1717950927.4f9b82151f9db60951268508ee4986d21bcebe18.concord@gentoo> (raw)

commit:     4f9b82151f9db60951268508ee4986d21bcebe18
Author:     Kenton Groombridge <concord <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  9 16:32:51 2024 +0000
Commit:     Kenton Groombridge <concord <AT> gentoo <DOT> org>
CommitDate: Sun Jun  9 16:35:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f9b8215

net-voip/murmur: fix split-usr handling of systemd unit rename

Closes: https://bugs.gentoo.org/933856
Signed-off-by: Kenton Groombridge <concord <AT> gentoo.org>

 net-voip/murmur/murmur-1.5.634.ebuild | 5 +++--
 net-voip/murmur/murmur-9999.ebuild    | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/net-voip/murmur/murmur-1.5.634.ebuild b/net-voip/murmur/murmur-1.5.634.ebuild
index 93abe94c1455..be38ba9a0de5 100644
--- a/net-voip/murmur/murmur-1.5.634.ebuild
+++ b/net-voip/murmur/murmur-1.5.634.ebuild
@@ -144,8 +144,9 @@ src_install() {
 	fperms 750 /var/lib/murmur /var/log/murmur
 
 	mv "${ED}"/etc/murmur/mumble-server.ini "${ED}"/etc/murmur/murmur.ini || die
-	mv "${ED}"/usr/lib/systemd/system/mumble-server.service "${ED}"/usr/lib/systemd/system/murmur.service || die
-	sed -ie 's|mumble-server\.ini|murmur.ini|' "${ED}"/usr/lib/systemd/system/murmur.service || die
+	mv "${D}/$(systemd_get_systemunitdir)/mumble-server.service" \
+		"${D}/$(systemd_get_systemunitdir)/murmur.service" || die
+	sed -i 's|mumble-server\.ini|murmur.ini|' "${D}/$(systemd_get_systemunitdir)/murmur.service" || die
 
 	readme.gentoo_create_doc
 }

diff --git a/net-voip/murmur/murmur-9999.ebuild b/net-voip/murmur/murmur-9999.ebuild
index 93abe94c1455..be38ba9a0de5 100644
--- a/net-voip/murmur/murmur-9999.ebuild
+++ b/net-voip/murmur/murmur-9999.ebuild
@@ -144,8 +144,9 @@ src_install() {
 	fperms 750 /var/lib/murmur /var/log/murmur
 
 	mv "${ED}"/etc/murmur/mumble-server.ini "${ED}"/etc/murmur/murmur.ini || die
-	mv "${ED}"/usr/lib/systemd/system/mumble-server.service "${ED}"/usr/lib/systemd/system/murmur.service || die
-	sed -ie 's|mumble-server\.ini|murmur.ini|' "${ED}"/usr/lib/systemd/system/murmur.service || die
+	mv "${D}/$(systemd_get_systemunitdir)/mumble-server.service" \
+		"${D}/$(systemd_get_systemunitdir)/murmur.service" || die
+	sed -i 's|mumble-server\.ini|murmur.ini|' "${D}/$(systemd_get_systemunitdir)/murmur.service" || die
 
 	readme.gentoo_create_doc
 }


             reply	other threads:[~2024-06-09 16:36 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-09 16:36 Kenton Groombridge [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-05 14:31 [gentoo-commits] repo/gentoo:master commit in: net-voip/murmur/ Kenton Groombridge
2024-06-10 14:36 Kenton Groombridge
2024-06-08 19:14 Kenton Groombridge
2024-06-08 19:14 Kenton Groombridge
2024-03-07 15:54 Kenton Groombridge
2024-03-07 15:54 Kenton Groombridge
2024-02-09 14:41 Kenton Groombridge
2023-08-14 22:50 Kenton Groombridge
2022-12-26  1:10 Kenton Groombridge
2022-12-07 18:34 Kenton Groombridge
2022-12-07 18:34 Kenton Groombridge
2022-10-27 23:46 Sam James
2022-10-20 10:52 Jakov Smolić
2022-09-17 16:47 Kenton Groombridge
2022-09-14 17:01 Kenton Groombridge
2022-09-04 13:03 David Seifert
2022-09-04 10:51 Agostino Sarubbo
2022-08-31 19:22 Jakov Smolić
2022-08-31 14:52 Kenton Groombridge
2022-08-31 14:52 Kenton Groombridge
2022-08-31 14:52 Kenton Groombridge
2022-08-21 21:07 Kenton Groombridge
2022-08-18 16:45 Arthur Zamarin
2022-08-17 21:13 Sam James
2022-07-03 19:18 Kenton Groombridge
2022-07-03 19:18 Kenton Groombridge
2022-07-03 19:18 Kenton Groombridge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1717950927.4f9b82151f9db60951268508ee4986d21bcebe18.concord@gentoo \
    --to=concord@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox