From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/ddclient/
Date: Wed, 23 Sep 2020 20:20:43 +0000 (UTC) [thread overview]
Message-ID: <1600892355.ed73f41c299d750f7f07bad56014a3f1d138950c.conikost@gentoo> (raw)
commit: ed73f41c299d750f7f07bad56014a3f1d138950c
Author: Emily Mills <emily <AT> emlove <DOT> me>
AuthorDate: Wed Sep 23 18:56:30 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Sep 23 20:19:15 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed73f41c
net-dns/ddclient: Process tmpfiles after install
Previously, the ddclient cache directory was not created until a reboot.
Switching to the new tmpfiles eclass lets us process the tmpfile config
after installing to ensure the service can be started immediately.
Closes: https://github.com/gentoo/gentoo/pull/17647
Signed-off-by: Emily Mills <emily <AT> emlove.me>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
net-dns/ddclient/ddclient-3.9.1.ebuild | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/net-dns/ddclient/ddclient-3.9.1.ebuild b/net-dns/ddclient/ddclient-3.9.1.ebuild
index cd30dfa85f2..8cdf7b8d9a9 100644
--- a/net-dns/ddclient/ddclient-3.9.1.ebuild
+++ b/net-dns/ddclient/ddclient-3.9.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit systemd
+inherit systemd tmpfiles
DESCRIPTION="Perl client used to update dynamic DNS entries"
HOMEPAGE="https://ddclient.net/"
@@ -51,7 +51,7 @@ src_install() {
newinitd "${FILESDIR}"/ddclient.initd-r6 ddclient
systemd_newunit "${FILESDIR}"/ddclient.service-r1 ddclient.service
- systemd_newtmpfilesd "${FILESDIR}"/ddclient.tmpfiles ddclient.conf
+ newtmpfiles "${FILESDIR}"/ddclient.tmpfiles ddclient.conf
dodoc Change* README* RELEASENOTE TODO UPGRADE
@@ -60,3 +60,7 @@ src_install() {
dodoc sample-*
fi
}
+
+pkg_postinst() {
+ tmpfiles_process ddclient.conf
+}
next reply other threads:[~2020-09-23 20:21 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-23 20:20 Conrad Kostecki [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-22 20:01 [gentoo-commits] repo/gentoo:master commit in: net-dns/ddclient/ Conrad Kostecki
2024-01-24 6:35 Sam James
2024-01-24 6:28 Sam James
2024-01-24 6:16 Sam James
2024-01-24 6:16 Sam James
2024-01-24 6:16 Sam James
2024-01-24 6:16 Sam James
2024-01-23 23:35 Conrad Kostecki
2023-12-23 21:51 Conrad Kostecki
2023-12-13 19:29 Arthur Zamarin
2023-12-13 19:29 Arthur Zamarin
2023-12-13 0:37 Sam James
2023-12-13 0:37 Sam James
2023-12-13 0:37 Sam James
2023-12-13 0:37 Sam James
2023-11-12 0:24 Conrad Kostecki
2022-12-10 19:06 Sam James
2022-12-10 18:17 Arthur Zamarin
2022-12-10 17:47 Sam James
2022-12-10 17:45 Sam James
2022-11-11 23:24 Conrad Kostecki
2022-11-10 0:10 Conrad Kostecki
2022-11-10 0:10 Conrad Kostecki
2022-10-31 23:46 Conrad Kostecki
2022-10-10 22:01 Conrad Kostecki
2022-10-04 20:34 Conrad Kostecki
2021-12-03 19:35 Sam James
2021-12-02 2:50 Yixun Lan
2020-12-06 18:45 Sam James
2020-10-11 20:17 Conrad Kostecki
2020-08-05 19:48 Conrad Kostecki
2020-08-05 14:17 Agostino Sarubbo
2020-08-05 13:53 Agostino Sarubbo
2020-08-01 9:01 Sergei Trofimovich
2020-07-31 2:38 Sam James
2020-05-13 0:35 Aaron W. Swenson
2020-05-11 11:36 Aaron W. Swenson
2020-02-04 18:09 Conrad Kostecki
2019-12-24 14:43 Mikle Kolyada
2019-12-15 18:03 Agostino Sarubbo
2019-12-15 14:15 Agostino Sarubbo
2019-12-15 14:07 Agostino Sarubbo
2019-12-15 13:43 Agostino Sarubbo
2019-12-15 13:36 Sergei Trofimovich
2019-10-12 10:36 Andreas Sturmlechner
2019-10-12 9:15 Joonas Niilola
2019-04-17 12:21 Mikle Kolyada
2019-03-19 2:03 Thomas Deutschmann
2019-03-13 23:24 Sergei Trofimovich
2019-03-02 15:37 Mikle Kolyada
2019-02-28 15:07 Mikle Kolyada
2019-02-27 8:20 Sergei Trofimovich
2019-02-27 7:55 Sergei Trofimovich
2019-02-24 12:55 Aaron W. Swenson
2019-02-22 20:17 Sergei Trofimovich
2018-12-08 12:09 Mikle Kolyada
2018-11-07 22:46 Sergei Trofimovich
2018-10-29 1:01 Matt Turner
2018-10-18 7:52 Tobias Klausmann
2018-10-15 19:03 Sergei Trofimovich
2018-10-15 18:43 Sergei Trofimovich
2018-10-14 22:35 Sergei Trofimovich
2018-10-14 1:44 Thomas Deutschmann
2018-09-04 9:48 Aaron Swenson
2016-04-11 20:29 Patrice Clement
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=1600892355.ed73f41c299d750f7f07bad56014a3f1d138950c.conikost@gentoo \
--to=conikost@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