Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/mstpd/
Date: Wed, 15 Sep 2021 12:36:24
Message-Id: 1631709271.24304c1b500773ed0a350d38456331c681fe8a83.jsmolic@gentoo
1 commit: 24304c1b500773ed0a350d38456331c681fe8a83
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 15 12:34:31 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 15 12:34:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24304c1b
7
8 net-misc/mstpd: Change localstatedir to "${EPREFIX}/"
9
10 - Old value would reference legacy directory (/var/run), which would
11 result in the following message:
12 ```
13 /lib/systemd/system/mstpd.service:8: PIDFile= references a path below
14 legacy directory /var/run/, updating /var/run/mstpd.pid →
15 /run/mstpd.pid; please update the unit file accordingly.
16 ```
17
18 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
19
20 net-misc/mstpd/{mstpd-0.0.9.ebuild => mstpd-0.0.9-r1.ebuild} | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23 diff --git a/net-misc/mstpd/mstpd-0.0.9.ebuild b/net-misc/mstpd/mstpd-0.0.9-r1.ebuild
24 similarity index 95%
25 rename from net-misc/mstpd/mstpd-0.0.9.ebuild
26 rename to net-misc/mstpd/mstpd-0.0.9-r1.ebuild
27 index 06a8a8618cf..29d66dea87e 100644
28 --- a/net-misc/mstpd/mstpd-0.0.9.ebuild
29 +++ b/net-misc/mstpd/mstpd-0.0.9-r1.ebuild
30 @@ -22,7 +22,7 @@ src_configure() {
31 econf \
32 --with-bashcompletiondir="$(get_bashcompdir)" \
33 --with-systemdunitdir="$(systemd_get_systemunitdir)" \
34 - --localstatedir="${EPREFIX}"/var
35 + --localstatedir="${EPREFIX}"/
36 }
37
38 src_install() {