commit:     7eecfaa183560e055a588fa3479281d22c464886
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 30 22:57:03 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 30 23:30:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eecfaa1

net-misc/asterisk: [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/asterisk/asterisk-13.38.3.ebuild | 2 ++
 net-misc/asterisk/asterisk-16.19.1.ebuild | 2 ++
 net-misc/asterisk/asterisk-18.5.1.ebuild  | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/net-misc/asterisk/asterisk-13.38.3.ebuild 
b/net-misc/asterisk/asterisk-13.38.3.ebuild
index 400218a388d..f20b32b8542 100644
--- a/net-misc/asterisk/asterisk-13.38.3.ebuild
+++ b/net-misc/asterisk/asterisk-13.38.3.ebuild
@@ -322,6 +322,8 @@ src_install() {
 }
 
 pkg_postinst() {
+       tmpfiles_process asterisk.conf
+
        if [ -z "${REPLACING_VERSIONS}" ]; then
                elog "Asterisk Wiki: https://wiki.asterisk.org/wiki/";
                elog "Gentoo VoIP IRC Channel: #gentoo-voip @ irc.libera.chat"

diff --git a/net-misc/asterisk/asterisk-16.19.1.ebuild 
b/net-misc/asterisk/asterisk-16.19.1.ebuild
index 10706b53e50..77e488e7b79 100644
--- a/net-misc/asterisk/asterisk-16.19.1.ebuild
+++ b/net-misc/asterisk/asterisk-16.19.1.ebuild
@@ -331,6 +331,8 @@ src_install() {
 }
 
 pkg_postinst() {
+       tmpfiles_process asterisk.conf
+
        if [ -z "${REPLACING_VERSIONS}" ]; then
                elog "Asterisk Wiki: https://wiki.asterisk.org/wiki/";
                elog "Gentoo VoIP IRC Channel: #gentoo-voip @ irc.libera.chat"

diff --git a/net-misc/asterisk/asterisk-18.5.1.ebuild 
b/net-misc/asterisk/asterisk-18.5.1.ebuild
index 1334c613ae6..e3f72db7541 100644
--- a/net-misc/asterisk/asterisk-18.5.1.ebuild
+++ b/net-misc/asterisk/asterisk-18.5.1.ebuild
@@ -330,6 +330,8 @@ src_install() {
 }
 
 pkg_postinst() {
+       tmpfiles_process asterisk.conf
+
        if [ -z "${REPLACING_VERSIONS}" ]; then
                elog "Asterisk Wiki: https://wiki.asterisk.org/wiki/";
                elog "Gentoo VoIP IRC Channel: #gentoo-voip @ irc.libera.chat"

Reply via email to