From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1308132-garchives=archives.gentoo.org@lists.gentoo.org>
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 E90C0139337
	for <garchives@archives.gentoo.org>; Sat, 31 Jul 2021 22:17:29 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4E65FE0961;
	Sat, 31 Jul 2021 22:17:29 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 286C3E0961
	for <gentoo-commits@lists.gentoo.org>; 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 5840D3438DA
	for <gentoo-commits@lists.gentoo.org>; Sat, 31 Jul 2021 22:17:28 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 9E721858
	for <gentoo-commits@lists.gentoo.org>; Sat, 31 Jul 2021 22:17:25 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1627769622.7c7f1bcbfbedf8181a40c6de460a15d9988de8cc.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/man-db/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-apps/man-db/man-db-2.9.4-r1.ebuild sys-apps/man-db/man-db-2.9.4.ebuild sys-apps/man-db/man-db-9999.ebuild
X-VCS-Directories: sys-apps/man-db/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 7c7f1bcbfbedf8181a40c6de460a15d9988de8cc
X-VCS-Branch: master
Date: Sat, 31 Jul 2021 22:17:25 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 5ce461e9-35e6-4fa3-8839-b1179836f2cd
X-Archives-Hash: f359fcf04d0289d6eaf3f78a8acc0d28

commit:     7c7f1bcbfbedf8181a40c6de460a15d9988de8cc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 31 03:16:52 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 31 22:13:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c7f1bcb

sys-apps/man-db: [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>

 sys-apps/man-db/{man-db-2.9.4.ebuild => man-db-2.9.4-r1.ebuild} | 4 +++-
 sys-apps/man-db/man-db-9999.ebuild                              | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys-apps/man-db/man-db-2.9.4.ebuild b/sys-apps/man-db/man-db-2.9.4-r1.ebuild
similarity index 98%
rename from sys-apps/man-db/man-db-2.9.4.ebuild
rename to sys-apps/man-db/man-db-2.9.4-r1.ebuild
index ee7a1ac42db..3bdd29d11b1 100644
--- a/sys-apps/man-db/man-db-2.9.4.ebuild
+++ b/sys-apps/man-db/man-db-2.9.4-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd prefix
+inherit systemd prefix tmpfiles
 
 DESCRIPTION="a man replacement that utilizes berkdb instead of flat files"
 HOMEPAGE="http://www.nongnu.org/man-db/"
@@ -192,6 +192,8 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
+	tmpfiles_process man-db.conf
+
 	if [[ $(ver_cut 2 ${REPLACING_VERSIONS}) -lt 7 ]] ; then
 		einfo "Rebuilding man-db from scratch with new database format!"
 		su man -s /bin/sh -c 'mandb --quiet --create' 2>/dev/null

diff --git a/sys-apps/man-db/man-db-9999.ebuild b/sys-apps/man-db/man-db-9999.ebuild
index f5b96175573..66b83690c0b 100644
--- a/sys-apps/man-db/man-db-9999.ebuild
+++ b/sys-apps/man-db/man-db-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd prefix
+inherit systemd prefix tmpfiles
 
 DESCRIPTION="a man replacement that utilizes berkdb instead of flat files"
 HOMEPAGE="http://www.nongnu.org/man-db/"
@@ -192,6 +192,8 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
+	tmpfiles_process man-db.conf
+
 	if [[ $(ver_cut 2 ${REPLACING_VERSIONS}) -lt 7 ]] ; then
 		einfo "Rebuilding man-db from scratch with new database format!"
 		su man -s /bin/sh -c 'mandb --quiet --create' 2>/dev/null