From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 26B60138359 for ; Wed, 23 Sep 2020 20:21:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47277E0809; Wed, 23 Sep 2020 20:21:01 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2D5E3E0809 for ; Wed, 23 Sep 2020 20:21:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0907B340D03 for ; Wed, 23 Sep 2020 20:20:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 61F9B2EC for ; Wed, 23 Sep 2020 20:20:43 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1600892355.ed73f41c299d750f7f07bad56014a3f1d138950c.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/ddclient/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/ddclient/ddclient-3.9.1.ebuild X-VCS-Directories: net-dns/ddclient/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: ed73f41c299d750f7f07bad56014a3f1d138950c X-VCS-Branch: master Date: Wed, 23 Sep 2020 20:20:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6df15809-93a5-4464-a82a-b5fc11beec51 X-Archives-Hash: e8750a739d687dfef4ac651e9885d070 commit: ed73f41c299d750f7f07bad56014a3f1d138950c Author: Emily Mills emlove me> AuthorDate: Wed Sep 23 18:56:30 2020 +0000 Commit: Conrad Kostecki gentoo 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 emlove.me> Signed-off-by: Conrad Kostecki 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 +}