Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/coredns/
Date: Tue, 29 Jun 2021 16:22:37
Message-Id: 1624983626.61c9ea967c3a12525da219caeb22de79a225cc7f.floppym@gentoo
1 commit: 61c9ea967c3a12525da219caeb22de79a225cc7f
2 Author: David Michael <fedora.dm0 <AT> gmail <DOT> com>
3 AuthorDate: Mon Jun 28 18:10:43 2021 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 29 16:20:26 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61c9ea96
7
8 net-dns/coredns: migrate to tmpfiles.eclass
9
10 The systemd_newtmpfilesd function is deprecated.
11
12 Package-Manager: Portage-3.0.20, Repoman-3.0.2
13 Signed-off-by: David Michael <fedora.dm0 <AT> gmail.com>
14 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
15
16 net-dns/coredns/coredns-1.8.3.ebuild | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
18
19 diff --git a/net-dns/coredns/coredns-1.8.3.ebuild b/net-dns/coredns/coredns-1.8.3.ebuild
20 index 5bd6ee625fd..fb5faae345e 100644
21 --- a/net-dns/coredns/coredns-1.8.3.ebuild
22 +++ b/net-dns/coredns/coredns-1.8.3.ebuild
23 @@ -834,7 +834,7 @@ EGO_SUM=(
24 "sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod"
25 )
26
27 -inherit fcaps go-module systemd
28 +inherit fcaps go-module systemd tmpfiles
29 go-module_set_globals
30
31 ARCHIVE_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
32 @@ -874,7 +874,7 @@ src_install() {
33 newins "${FILESDIR}"/coredns.logrotated coredns
34
35 systemd_dounit "${FILESDIR}"/coredns.service
36 - systemd_newtmpfilesd "${FILESDIR}"/coredns.tmpfiles "${PN}.conf"
37 + newtmpfiles "${FILESDIR}"/coredns.tmpfiles "${PN}.conf"
38 }
39
40 src_test() {