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 C8B1C13933E for ; Sat, 31 Jul 2021 22:17:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C45CE097D; Sat, 31 Jul 2021 22:17:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 D7141E097D for ; Sat, 31 Jul 2021 22:17:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 57DED3438D4 for ; Sat, 31 Jul 2021 22:17:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 637C4850 for ; Sat, 31 Jul 2021 22:17:25 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1627769619.8684fd59e701173cab6a220204b6f43097e18faf.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/munin/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/munin/munin-2.0.66-r2.ebuild net-analyzer/munin/munin-2.0.66-r3.ebuild net-analyzer/munin/munin-2.0.67-r4.ebuild net-analyzer/munin/munin-2.0.67-r5.ebuild net-analyzer/munin/munin-2.0.67-r6.ebuild net-analyzer/munin/munin-2.0.67-r7.ebuild X-VCS-Directories: net-analyzer/munin/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8684fd59e701173cab6a220204b6f43097e18faf X-VCS-Branch: master Date: Sat, 31 Jul 2021 22:17:25 +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: a5482e56-fb4b-4488-9c56-9a74c45e0fa3 X-Archives-Hash: 27a944b717748912b64cefecbd413f68 commit: 8684fd59e701173cab6a220204b6f43097e18faf Author: Sam James gentoo org> AuthorDate: Sat Jul 31 03:11:20 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jul 31 22:13:39 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8684fd59 net-analyzer/munin: [QA] call tmpfiles_process in pkg_postinst This is needed to actually apply the tmpfiles configuration we've installed in the ebuild. See tmpfiles.eclass documentation. Revbump because the new tmpfiles inherit adds a new dependency (virtual/tmpfiles). Signed-off-by: Sam James gentoo.org> .../munin/{munin-2.0.66-r2.ebuild => munin-2.0.66-r3.ebuild} | 9 +++++---- .../munin/{munin-2.0.67-r4.ebuild => munin-2.0.67-r6.ebuild} | 9 +++++---- .../munin/{munin-2.0.67-r5.ebuild => munin-2.0.67-r7.ebuild} | 9 +++++---- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/net-analyzer/munin/munin-2.0.66-r2.ebuild b/net-analyzer/munin/munin-2.0.66-r3.ebuild similarity index 98% rename from net-analyzer/munin/munin-2.0.66-r2.ebuild rename to net-analyzer/munin/munin-2.0.66-r3.ebuild index 7a5621b5deb..4d6837047b5 100644 --- a/net-analyzer/munin/munin-2.0.66-r2.ebuild +++ b/net-analyzer/munin/munin-2.0.66-r3.ebuild @@ -5,7 +5,7 @@ EAPI=7 PATCHSET=1 -inherit java-pkg-opt-2 systemd +inherit java-pkg-opt-2 systemd tmpfiles MY_P=${P/_/-} @@ -131,7 +131,7 @@ src_configure() { local cgiuser=$(usex apache2 apache munin) - cat >> "${S}"/Makefile.config <<- EOF + cat >> "${S}"/Makefile.config <<- EOF || die PREFIX=\$(DESTDIR)/usr CONFDIR=\$(DESTDIR)/etc/munin DOCDIR=${T}/useless/doc @@ -204,8 +204,7 @@ src_install() { newinitd "${FILESDIR}"/munin-asyncd.init.2 munin-asyncd - dodir /usr/lib/tmpfiles.d - cat > "${D}"/usr/lib/tmpfiles.d/${CATEGORY}:${PN}:${SLOT}.conf <<- EOF + newtmpfiles - ${CATEGORY}:${PN}:${SLOT}.conf <<-EOF || die d /run/munin 0700 munin munin - - EOF @@ -374,6 +373,8 @@ pkg_config() { } pkg_postinst() { + tmpfiles_process ${CATEGORY}:${PN}:${SLOT}.conf + elog "Please follow the munin documentation to set up the plugins you" elog "need, afterwards start munin-node." elog "" diff --git a/net-analyzer/munin/munin-2.0.67-r4.ebuild b/net-analyzer/munin/munin-2.0.67-r6.ebuild similarity index 98% rename from net-analyzer/munin/munin-2.0.67-r4.ebuild rename to net-analyzer/munin/munin-2.0.67-r6.ebuild index 9f666d4ad68..b4ad2481fd4 100644 --- a/net-analyzer/munin/munin-2.0.67-r4.ebuild +++ b/net-analyzer/munin/munin-2.0.67-r6.ebuild @@ -5,7 +5,7 @@ EAPI=7 PATCHSET=1 -inherit java-pkg-opt-2 systemd +inherit java-pkg-opt-2 systemd tmpfiles MY_P=${P/_/-} @@ -131,7 +131,7 @@ src_configure() { local cgiuser=$(usex apache2 apache munin) - cat >> "${S}"/Makefile.config <<- EOF + cat >> "${S}"/Makefile.config <<- EOF || die PREFIX=\$(DESTDIR)/usr CONFDIR=\$(DESTDIR)/etc/munin DOCDIR=${T}/useless/doc @@ -204,8 +204,7 @@ src_install() { newinitd "${FILESDIR}"/munin-asyncd.init.2 munin-asyncd - dodir /usr/lib/tmpfiles.d - cat > "${D}"/usr/lib/tmpfiles.d/${CATEGORY}:${PN}:${SLOT}.conf <<- EOF + newtmpfiles - ${CATEGORY}:${PN}:${SLOT}.conf <<-EOF || die d /run/munin 0700 munin munin - - EOF @@ -374,6 +373,8 @@ pkg_config() { } pkg_postinst() { + tmpfiles_process ${CATEGORY}:${PN}:${SLOT}.conf + elog "Please follow the munin documentation to set up the plugins you" elog "need, afterwards start munin-node." elog "" diff --git a/net-analyzer/munin/munin-2.0.67-r5.ebuild b/net-analyzer/munin/munin-2.0.67-r7.ebuild similarity index 98% rename from net-analyzer/munin/munin-2.0.67-r5.ebuild rename to net-analyzer/munin/munin-2.0.67-r7.ebuild index a0ed5615dc5..00a940ba1b5 100644 --- a/net-analyzer/munin/munin-2.0.67-r5.ebuild +++ b/net-analyzer/munin/munin-2.0.67-r7.ebuild @@ -5,7 +5,7 @@ EAPI=7 PATCHSET=1 -inherit java-pkg-opt-2 systemd +inherit java-pkg-opt-2 systemd tmpfiles MY_P=${P/_/-} @@ -131,7 +131,7 @@ src_configure() { local cgiuser=$(usex apache2 apache munin) - cat >> "${S}"/Makefile.config <<- EOF + cat >> "${S}"/Makefile.config <<- EOF || die PREFIX=\$(DESTDIR)/usr CONFDIR=\$(DESTDIR)/etc/munin DOCDIR=${T}/useless/doc @@ -204,8 +204,7 @@ src_install() { newinitd "${FILESDIR}"/munin-asyncd.init.2 munin-asyncd - dodir /usr/lib/tmpfiles.d - cat > "${D}"/usr/lib/tmpfiles.d/${CATEGORY}:${PN}:${SLOT}.conf <<- EOF + newtmpfiles - ${CATEGORY}:${PN}:${SLOT}.conf <<-EOF || die d /run/munin 0700 munin munin - - EOF @@ -372,6 +371,8 @@ pkg_config() { } pkg_postinst() { + tmpfiles_process ${CATEGORY}:${PN}:${SLOT}.conf + elog "Please follow the munin documentation to set up the plugins you" elog "need, afterwards start munin-node." elog ""