mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user