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 a2dd7437d9230..6d019790c6e4a 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 0cae2c0bd2c08..fbf53aa5227fc 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 d22b2acaad21f..ef6abcc59657e 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 8e5ba4775e4dc..b796e7383a4a5 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 5ab87e049ce3e..cf531fec3296f 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 36d74c43e4f42..06f4baa533ab2 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"