commit: 8684fd59e701173cab6a220204b6f43097e18faf Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Jul 31 03:11:20 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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 ""