commit: 5e5ebb72a7d43e87953cd0e078acdbb1f1a9bd6c Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Sun Sep 6 09:57:41 2020 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sun Sep 6 09:57:41 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e5ebb72
net-vpn/vpnc: Switch to tmpfiles.eclass Closes: https://bugs.gentoo.org/740636 Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: David Seifert <soap <AT> gentoo.org> net-vpn/vpnc/Manifest | 2 +- ...un-fhs-3.0.patch => vpnc-0.5.3_p550-r2-var-run-fhs-3.0.patch} | 0 .../{vpnc-0.5.3_p550-r1.ebuild => vpnc-0.5.3_p550-r2.ebuild} | 9 +++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/net-vpn/vpnc/Manifest b/net-vpn/vpnc/Manifest index 65c9cf48cbf..8048d237274 100644 --- a/net-vpn/vpnc/Manifest +++ b/net-vpn/vpnc/Manifest @@ -1 +1 @@ -DIST vpnc-0.5.3_p550-r1.tar.gz 133339 BLAKE2B d4f09a62edbe3b4014c4903d908eecf27ee09705017f715aadc869592fb80d7f4482f08e4681dd9e9c22ae16ae185404e09572800de8cb76419c20f5bf8e17d1 SHA512 3adaf4c73c14c328ca9702c1e3d3c333b0a589f99b52990febf7b22ac87f666f1fc0a1d62e9831ec645567ca01425ea476a7bb62fee214012c97651e0e99b732 +DIST vpnc-0.5.3_p550-r2.tar.gz 133339 BLAKE2B d4f09a62edbe3b4014c4903d908eecf27ee09705017f715aadc869592fb80d7f4482f08e4681dd9e9c22ae16ae185404e09572800de8cb76419c20f5bf8e17d1 SHA512 3adaf4c73c14c328ca9702c1e3d3c333b0a589f99b52990febf7b22ac87f666f1fc0a1d62e9831ec645567ca01425ea476a7bb62fee214012c97651e0e99b732 diff --git a/net-vpn/vpnc/files/vpnc-0.5.3_p550-r1-var-run-fhs-3.0.patch b/net-vpn/vpnc/files/vpnc-0.5.3_p550-r2-var-run-fhs-3.0.patch similarity index 100% rename from net-vpn/vpnc/files/vpnc-0.5.3_p550-r1-var-run-fhs-3.0.patch rename to net-vpn/vpnc/files/vpnc-0.5.3_p550-r2-var-run-fhs-3.0.patch diff --git a/net-vpn/vpnc/vpnc-0.5.3_p550-r1.ebuild b/net-vpn/vpnc/vpnc-0.5.3_p550-r2.ebuild similarity index 91% rename from net-vpn/vpnc/vpnc-0.5.3_p550-r1.ebuild rename to net-vpn/vpnc/vpnc-0.5.3_p550-r2.ebuild index 8e9eeda195c..529bf1d4e35 100644 --- a/net-vpn/vpnc/vpnc-0.5.3_p550-r1.ebuild +++ b/net-vpn/vpnc/vpnc-0.5.3_p550-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit linux-info systemd toolchain-funcs vcs-snapshot +inherit linux-info systemd tmpfiles toolchain-funcs vcs-snapshot DESCRIPTION="Free client for Cisco VPN routing software" HOMEPAGE="https://www.unix-ag.uni-kl.de/~massar/vpnc/" @@ -23,8 +23,7 @@ DEPEND=" !gnutls? ( dev-libs/openssl:0= )" RDEPEND="${DEPEND} resolvconf? ( virtual/resolvconf ) - selinux? ( sec-policy/selinux-vpn ) -" + selinux? ( sec-policy/selinux-vpn )" CONFIG_CHECK="~TUN" @@ -45,7 +44,7 @@ src_install() { newconfd "${FILESDIR}"/vpnc.confd vpnc sed -e "s:/usr/local:${EPREFIX}/usr:" -i "${ED}"/etc/vpnc/vpnc-script || die - systemd_dotmpfilesd "${FILESDIR}"/vpnc-tmpfiles.conf + dotmpfiles "${FILESDIR}"/vpnc-tmpfiles.conf systemd_newunit "${FILESDIR}"/vpnc.service [email protected] # COPYING file resides here, should not be installed @@ -53,6 +52,8 @@ src_install() { } pkg_postinst() { + tmpfiles_process vpnc-tmpfiles.conf + elog "You can generate a configuration file from the original Cisco profiles of your" elog "connection by using /usr/bin/pcf2vpnc to convert the .pcf file" elog "A guide is available at https://wiki.gentoo.org/wiki/Vpnc"
