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"