diff options
author | David Seifert <soap@gentoo.org> | 2020-09-06 11:57:41 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-09-06 11:57:41 +0200 |
commit | 5e5ebb72a7d43e87953cd0e078acdbb1f1a9bd6c (patch) | |
tree | af054a74d92ec81ba1df92722ea5dc03bc9f250e /net-vpn | |
parent | app-mobilephone/sobexsrv: ebuild fixes (diff) | |
download | gentoo-5e5ebb72a7d43e87953cd0e078acdbb1f1a9bd6c.tar.gz gentoo-5e5ebb72a7d43e87953cd0e078acdbb1f1a9bd6c.tar.bz2 gentoo-5e5ebb72a7d43e87953cd0e078acdbb1f1a9bd6c.zip |
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@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r-- | net-vpn/vpnc/Manifest | 2 | ||||
-rw-r--r-- | net-vpn/vpnc/files/vpnc-0.5.3_p550-r2-var-run-fhs-3.0.patch (renamed from net-vpn/vpnc/files/vpnc-0.5.3_p550-r1-var-run-fhs-3.0.patch) | 0 | ||||
-rw-r--r-- | net-vpn/vpnc/vpnc-0.5.3_p550-r2.ebuild (renamed from net-vpn/vpnc/vpnc-0.5.3_p550-r1.ebuild) | 9 |
3 files changed, 6 insertions, 5 deletions
diff --git a/net-vpn/vpnc/Manifest b/net-vpn/vpnc/Manifest index 65c9cf48cbff..8048d237274f 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 index e574b51fba63..e574b51fba63 100644 --- 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 diff --git a/net-vpn/vpnc/vpnc-0.5.3_p550-r1.ebuild b/net-vpn/vpnc/vpnc-0.5.3_p550-r2.ebuild index 8e9eeda195c7..529bf1d4e355 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 vpnc@.service # 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" |