commit:     ae0671e33e5e8fb255704bd87fb1a646b6c74372
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 30 22:57:29 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 30 23:30:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae0671e3

net-misc/lldpd: [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.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/lldpd/lldpd-1.0.10-r1.ebuild | 4 ++++
 net-misc/lldpd/lldpd-1.0.11-r1.ebuild | 4 ++++
 net-misc/lldpd/lldpd-1.0.7-r1.ebuild  | 4 ++++
 net-misc/lldpd/lldpd-1.0.9-r1.ebuild  | 4 ++++
 4 files changed, 16 insertions(+)

diff --git a/net-misc/lldpd/lldpd-1.0.10-r1.ebuild 
b/net-misc/lldpd/lldpd-1.0.10-r1.ebuild
index 64eceb88cec..426784b1213 100644
--- a/net-misc/lldpd/lldpd-1.0.10-r1.ebuild
+++ b/net-misc/lldpd/lldpd-1.0.10-r1.ebuild
@@ -100,3 +100,7 @@ src_install() {
        systemd_dounit "${FILESDIR}"/${PN}.service
        newtmpfiles "${FILESDIR}"/tmpfilesd ${PN}.conf
 }
+
+pkg_postinst() {
+       tmpfiles_process ${PN}.conf
+}

diff --git a/net-misc/lldpd/lldpd-1.0.11-r1.ebuild 
b/net-misc/lldpd/lldpd-1.0.11-r1.ebuild
index d31dbbc2f76..5aae55e4aaa 100644
--- a/net-misc/lldpd/lldpd-1.0.11-r1.ebuild
+++ b/net-misc/lldpd/lldpd-1.0.11-r1.ebuild
@@ -100,3 +100,7 @@ src_install() {
        systemd_dounit "${FILESDIR}"/${PN}.service
        newtmpfiles "${FILESDIR}"/tmpfilesd ${PN}.conf
 }
+
+pkg_postinst() {
+       tmpfiles_process ${PN}.conf
+}

diff --git a/net-misc/lldpd/lldpd-1.0.7-r1.ebuild 
b/net-misc/lldpd/lldpd-1.0.7-r1.ebuild
index b2c5422b944..857f1e6a860 100644
--- a/net-misc/lldpd/lldpd-1.0.7-r1.ebuild
+++ b/net-misc/lldpd/lldpd-1.0.7-r1.ebuild
@@ -96,3 +96,7 @@ src_install() {
        systemd_dounit "${FILESDIR}"/${PN}.service
        newtmpfiles "${FILESDIR}"/tmpfilesd ${PN}.conf
 }
+
+pkg_postinst() {
+       tmpfiles_process ${PN}.conf
+}

diff --git a/net-misc/lldpd/lldpd-1.0.9-r1.ebuild 
b/net-misc/lldpd/lldpd-1.0.9-r1.ebuild
index 9009b6cd9a3..97aadd996be 100644
--- a/net-misc/lldpd/lldpd-1.0.9-r1.ebuild
+++ b/net-misc/lldpd/lldpd-1.0.9-r1.ebuild
@@ -96,3 +96,7 @@ src_install() {
        systemd_dounit "${FILESDIR}"/${PN}.service
        newtmpfiles "${FILESDIR}"/tmpfilesd ${PN}.conf
 }
+
+pkg_postinst() {
+       tmpfiles_process ${PN}.conf
+}

Reply via email to