From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1308130-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 2B058139337
	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 E251CE0920;
	Sat, 31 Jul 2021 22:17:27 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.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 BA2F7E0920
	for <gentoo-commits@lists.gentoo.org>; Sat, 31 Jul 2021 22:17:27 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(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 73C6B3438E2
	for <gentoo-commits@lists.gentoo.org>; Sat, 31 Jul 2021 22:17:26 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 14A9E847
	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: <1627769616.739734a4794a5f183b60a79dcdb2fa35ad090ff2.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/libreswan/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-vpn/libreswan/libreswan-3.32-r2.ebuild net-vpn/libreswan/libreswan-3.32-r3.ebuild net-vpn/libreswan/libreswan-3.32-r4.ebuild net-vpn/libreswan/libreswan-3.32-r5.ebuild net-vpn/libreswan/libreswan-4.2-r1.ebuild net-vpn/libreswan/libreswan-4.2-r2.ebuild net-vpn/libreswan/libreswan-4.3-r1.ebuild net-vpn/libreswan/libreswan-4.3-r2.ebuild net-vpn/libreswan/libreswan-4.4-r2.ebuild net-vpn/libreswan/libreswan-4.4-r3.ebuild net-vpn/libreswan/libreswan-4.4-r4.ebuild net-vpn/libreswan/libreswan-4.4-r5.ebuild
X-VCS-Directories: net-vpn/libreswan/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 739734a4794a5f183b60a79dcdb2fa35ad090ff2
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: d35f4489-fdb8-4762-a323-cc1177cc4958
X-Archives-Hash: 27313537f01fee43f6c00d3927221a6c

commit:     739734a4794a5f183b60a79dcdb2fa35ad090ff2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 31 03:02:34 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 31 22:13:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=739734a4

net-vpn/libreswan: [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>

 .../libreswan/{libreswan-3.32-r2.ebuild => libreswan-3.32-r4.ebuild}  | 4 +++-
 .../libreswan/{libreswan-3.32-r3.ebuild => libreswan-3.32-r5.ebuild}  | 4 +++-
 .../libreswan/{libreswan-4.2-r1.ebuild => libreswan-4.2-r2.ebuild}    | 4 +++-
 .../libreswan/{libreswan-4.3-r1.ebuild => libreswan-4.3-r2.ebuild}    | 4 +++-
 .../libreswan/{libreswan-4.4-r2.ebuild => libreswan-4.4-r4.ebuild}    | 4 +++-
 .../libreswan/{libreswan-4.4-r3.ebuild => libreswan-4.4-r5.ebuild}    | 4 +++-
 6 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/net-vpn/libreswan/libreswan-3.32-r2.ebuild b/net-vpn/libreswan/libreswan-3.32-r4.ebuild
similarity index 97%
rename from net-vpn/libreswan/libreswan-3.32-r2.ebuild
rename to net-vpn/libreswan/libreswan-3.32-r4.ebuild
index a2dd7437d92..6d019790c6e 100644
--- a/net-vpn/libreswan/libreswan-3.32-r2.ebuild
+++ b/net-vpn/libreswan/libreswan-3.32-r4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd toolchain-funcs
+inherit systemd toolchain-funcs tmpfiles
 
 DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
 HOMEPAGE="https://libreswan.org/"
@@ -107,6 +107,8 @@ src_install() {
 }
 
 pkg_postinst() {
+	tmpfiles_process libreswan.conf
+
 	local IPSEC_CONFDIR=${ROOT}/etc/ipsec.d
 	if [[ ! -f ${IPSEC_CONFDIR}/cert8.db && ! -f ${IPSEC_CONFDIR}/cert9.db ]] ; then
 		ebegin "Setting up NSS database in ${IPSEC_CONFDIR} with empty password"

diff --git a/net-vpn/libreswan/libreswan-3.32-r3.ebuild b/net-vpn/libreswan/libreswan-3.32-r5.ebuild
similarity index 97%
rename from net-vpn/libreswan/libreswan-3.32-r3.ebuild
rename to net-vpn/libreswan/libreswan-3.32-r5.ebuild
index 0cae2c0bd2c..fbf53aa5227 100644
--- a/net-vpn/libreswan/libreswan-3.32-r3.ebuild
+++ b/net-vpn/libreswan/libreswan-3.32-r5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd toolchain-funcs
+inherit systemd toolchain-funcs tmpfiles
 
 DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
 HOMEPAGE="https://libreswan.org/"
@@ -107,6 +107,8 @@ src_install() {
 }
 
 pkg_postinst() {
+	tmpfiles_process libreswan.conf
+
 	local IPSEC_CONFDIR=${ROOT}/etc/ipsec.d
 	if [[ ! -f ${IPSEC_CONFDIR}/cert8.db && ! -f ${IPSEC_CONFDIR}/cert9.db ]] ; then
 		ebegin "Setting up NSS database in ${IPSEC_CONFDIR} with empty password"

diff --git a/net-vpn/libreswan/libreswan-4.2-r1.ebuild b/net-vpn/libreswan/libreswan-4.2-r2.ebuild
similarity index 97%
rename from net-vpn/libreswan/libreswan-4.2-r1.ebuild
rename to net-vpn/libreswan/libreswan-4.2-r2.ebuild
index d22b2acaad2..ef6abcc5965 100644
--- a/net-vpn/libreswan/libreswan-4.2-r1.ebuild
+++ b/net-vpn/libreswan/libreswan-4.2-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd toolchain-funcs
+inherit systemd toolchain-funcs tmpfiles
 
 DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
 HOMEPAGE="https://libreswan.org/"
@@ -110,6 +110,8 @@ src_install() {
 }
 
 pkg_postinst() {
+	tmpfiles_process libreswan.conf
+
 	local IPSEC_CONFDIR=${ROOT}/var/lib/ipsec/nss
 	if [[ ! -f ${IPSEC_CONFDIR}/cert8.db && ! -f ${IPSEC_CONFDIR}/cert9.db ]] ; then
 		ebegin "Setting up NSS database in ${IPSEC_CONFDIR} with empty password"

diff --git a/net-vpn/libreswan/libreswan-4.3-r1.ebuild b/net-vpn/libreswan/libreswan-4.3-r2.ebuild
similarity index 97%
rename from net-vpn/libreswan/libreswan-4.3-r1.ebuild
rename to net-vpn/libreswan/libreswan-4.3-r2.ebuild
index 8e5ba4775e4..b796e7383a4 100644
--- a/net-vpn/libreswan/libreswan-4.3-r1.ebuild
+++ b/net-vpn/libreswan/libreswan-4.3-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd toolchain-funcs
+inherit systemd toolchain-funcs tmpfiles
 
 DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
 HOMEPAGE="https://libreswan.org/"
@@ -110,6 +110,8 @@ src_install() {
 }
 
 pkg_postinst() {
+	tmpfiles_process libreswan.conf
+
 	local IPSEC_CONFDIR=${ROOT}/var/lib/ipsec/nss
 	if [[ ! -f ${IPSEC_CONFDIR}/cert8.db && ! -f ${IPSEC_CONFDIR}/cert9.db ]] ; then
 		ebegin "Setting up NSS database in ${IPSEC_CONFDIR} with empty password"

diff --git a/net-vpn/libreswan/libreswan-4.4-r2.ebuild b/net-vpn/libreswan/libreswan-4.4-r4.ebuild
similarity index 97%
rename from net-vpn/libreswan/libreswan-4.4-r2.ebuild
rename to net-vpn/libreswan/libreswan-4.4-r4.ebuild
index 5ab87e049ce..cf531fec329 100644
--- a/net-vpn/libreswan/libreswan-4.4-r2.ebuild
+++ b/net-vpn/libreswan/libreswan-4.4-r4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd toolchain-funcs
+inherit systemd toolchain-funcs tmpfiles
 
 DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
 HOMEPAGE="https://libreswan.org/"
@@ -110,6 +110,8 @@ src_install() {
 }
 
 pkg_postinst() {
+	tmpfiles_process libreswan.conf
+
 	local IPSEC_CONFDIR=${ROOT}/var/lib/ipsec/nss
 	if [[ ! -f ${IPSEC_CONFDIR}/cert8.db && ! -f ${IPSEC_CONFDIR}/cert9.db ]] ; then
 		ebegin "Setting up NSS database in ${IPSEC_CONFDIR} with empty password"

diff --git a/net-vpn/libreswan/libreswan-4.4-r3.ebuild b/net-vpn/libreswan/libreswan-4.4-r5.ebuild
similarity index 97%
rename from net-vpn/libreswan/libreswan-4.4-r3.ebuild
rename to net-vpn/libreswan/libreswan-4.4-r5.ebuild
index 36d74c43e4f..06f4baa533a 100644
--- a/net-vpn/libreswan/libreswan-4.4-r3.ebuild
+++ b/net-vpn/libreswan/libreswan-4.4-r5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd toolchain-funcs
+inherit systemd toolchain-funcs tmpfiles
 
 DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
 HOMEPAGE="https://libreswan.org/"
@@ -110,6 +110,8 @@ src_install() {
 }
 
 pkg_postinst() {
+	tmpfiles_process libreswan.conf
+
 	local IPSEC_CONFDIR=${ROOT}/var/lib/ipsec/nss
 	if [[ ! -f ${IPSEC_CONFDIR}/cert8.db && ! -f ${IPSEC_CONFDIR}/cert9.db ]] ; then
 		ebegin "Setting up NSS database in ${IPSEC_CONFDIR} with empty password"