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

net-misc/exabgp: [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/exabgp/exabgp-4.2.11-r1.ebuild | 6 +++++-
 net-misc/exabgp/exabgp-4.2.11-r2.ebuild | 4 ++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/net-misc/exabgp/exabgp-4.2.11-r1.ebuild 
b/net-misc/exabgp/exabgp-4.2.11-r1.ebuild
index a61e484d126..1ec8278c564 100644
--- a/net-misc/exabgp/exabgp-4.2.11-r1.ebuild
+++ b/net-misc/exabgp/exabgp-4.2.11-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -54,3 +54,7 @@ python_install_all() {
 
        doman doc/man/*.?
 }
+
+pkg_postinst() {
+       tmpfiles_process ${PN}.conf
+}

diff --git a/net-misc/exabgp/exabgp-4.2.11-r2.ebuild 
b/net-misc/exabgp/exabgp-4.2.11-r2.ebuild
index 3e7774c0353..be3a94116ae 100644
--- a/net-misc/exabgp/exabgp-4.2.11-r2.ebuild
+++ b/net-misc/exabgp/exabgp-4.2.11-r2.ebuild
@@ -57,3 +57,7 @@ python_install_all() {
 
        doman doc/man/*.?
 }
+
+pkg_postinst() {
+       tmpfiles_process ${PN}.conf
+}

Reply via email to