diff options
author | David Seifert <soap@gentoo.org> | 2022-09-17 19:08:19 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-09-17 19:08:19 +0200 |
commit | 3d29e1fd4ef2b653d44f6ee61281ac12e2b4efe7 (patch) | |
tree | bc8fd6efa79be95e5b4cbee2563751c52a5eecd3 /net-vpn | |
parent | x11-themes/tela-icon-theme: sync live ebuild (diff) | |
download | gentoo-3d29e1fd4ef2b653d44f6ee61281ac12e2b4efe7.tar.gz gentoo-3d29e1fd4ef2b653d44f6ee61281ac12e2b4efe7.tar.bz2 gentoo-3d29e1fd4ef2b653d44f6ee61281ac12e2b4efe7.zip |
net-vpn/vpnc: drop 0.5.3_p550-r2
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r-- | net-vpn/vpnc/vpnc-0.5.3_p550-r2.ebuild | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/net-vpn/vpnc/vpnc-0.5.3_p550-r2.ebuild b/net-vpn/vpnc/vpnc-0.5.3_p550-r2.ebuild deleted file mode 100644 index fbe052a03af0..000000000000 --- a/net-vpn/vpnc/vpnc-0.5.3_p550-r2.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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/" -SRC_URI="https://github.com/streambinder/vpnc/archive/fa0689c.tar.gz -> ${PF}.tar.gz" - -LICENSE="GPL-2 BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86" -IUSE="resolvconf +gnutls selinux" -RESTRICT="!gnutls? ( bindist )" - -DEPEND=" - dev-lang/perl - dev-libs/libgcrypt:0= - >=sys-apps/iproute2-2.6.19.20061214[-minimal] - gnutls? ( net-libs/gnutls:0= ) - !gnutls? ( dev-libs/openssl:0= )" -RDEPEND="${DEPEND} - resolvconf? ( virtual/resolvconf ) - selinux? ( sec-policy/selinux-vpn )" - -CONFIG_CHECK="~TUN" - -S="${WORKDIR}/${PF}" -PATCHES=( "${FILESDIR}"/${PF}-var-run-fhs-3.0.patch ) - -src_configure() { - tc-export CC - export OPENSSL_GPL_VIOLATION=$(usex !gnutls) -} - -src_install() { - emake PREFIX="/usr" DESTDIR="${ED}" install - dodoc README.md TODO VERSION - - keepdir /etc/vpnc/scripts.d - newinitd "${FILESDIR}"/vpnc-3.init vpnc - newconfd "${FILESDIR}"/vpnc.confd vpnc - sed -e "s:/usr/local:${EPREFIX}/usr:" -i "${ED}"/etc/vpnc/vpnc-script || die - - dotmpfiles "${FILESDIR}"/vpnc-tmpfiles.conf - systemd_newunit "${FILESDIR}"/vpnc.service vpnc@.service - - # COPYING file resides here, should not be installed - rm -r "${ED}"/usr/share/doc/vpnc/ || die -} - -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" - - if use gnutls; then - elog "Will build with GnuTLS (default) instead of OpenSSL so you may even redistribute binaries." - elog "See the Makefile itself and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440318" - else - ewarn "Building SSL support with OpenSSL instead of GnuTLS. This means that" - ewarn "you are not allowed to re-distibute the binaries due to conflicts between BSD license and GPL," - ewarn "see the vpnc Makefile and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440318" - fi -} |