diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-11-19 20:18:47 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-11-19 20:18:47 +0000 |
commit | f458dc3b2bd9d252c0f7e7ede6e8f061acefb963 (patch) | |
tree | eec1cb96817f3f22e22b742220dd63384f66ba9d /net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.0.1a-r1.ebuild | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-f458dc3b2bd9d252c0f7e7ede6e8f061acefb963.tar.gz gentoo-2-f458dc3b2bd9d252c0f7e7ede6e8f061acefb963.tar.bz2 gentoo-2-f458dc3b2bd9d252c0f7e7ede6e8f061acefb963.zip |
fix typo in patch #33848
Diffstat (limited to 'net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.0.1a-r1.ebuild')
-rw-r--r-- | net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.0.1a-r1.ebuild | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.0.1a-r1.ebuild b/net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.0.1a-r1.ebuild new file mode 100644 index 000000000000..b97ebfe1af0e --- /dev/null +++ b/net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.0.1a-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.0.1a-r1.ebuild,v 1.1 2003/11/19 20:18:47 vapier Exp $ + +MY_PV=${PV/a/.A-k9} +DESCRIPTION="Cisco VPN Client (3DES)" +HOMEPAGE="http://www.cisco.com/en/US/products/sw/secursw/ps2308/index.html" +SRC_URI="vpnclient-linux-${MY_PV}.tar.gz" + +LICENSE="cisco-vpn-client" +SLOT="${KV}" +KEYWORDS="-* x86" +RESTRICT="fetch" + +DEPEND="virtual/glibc + virtual/linux-sources + >=sys-apps/sed-4" + +S=${WORKDIR}/vpnclient + +VPNDIR=/etc/CiscoSystemsVPNClient + +pkg_nofetch() { + eerror "Please goto:" + eerror " ${HOMEPAGE}" + eerror "and download" + eerror " ${A}" + eerror "to ${DISTDIR}" +} + +src_unpack() { + unpack ${A} + cd ${S} + [ "${KV:0:3}" == "2.6" ] && epatch ${FILESDIR}/${PV}-linux26.patch +} + +src_compile () { + check_KV + sh ./driver_build.sh /lib/modules/${KV}/build + [ ! -f ./cisco_ipsec ] && die "Failed to make module 'cisco_ipsec'" + sed -i "s#@VPNBINDIR@#/usr/bin#" vpnclient_init + sed -i "s#@VPNBINDIR@#/usr/bin#" vpnclient.ini.in +} + +src_install() { + exeinto /etc/init.d + newexe vpnclient_init vpnclient + + exeinto /usr/bin + exeopts -m0711 + doexe vpnclient + exeopts -m4711 + doexe cvpnd + dobin ipseclog cisco_cert_mgr + + insinto /lib/modules/${KV}/CiscoVPN + doins cisco_ipsec + + insinto ${VPNDIR} + newins vpnclient.ini.in vpnclient.ini + insinto ${VPNDIR}/Profiles + doins *.pcf + dodir ${VPNDIR}/Certificates +} + +pkg_postinst() { + einfo "You must run \`/etc/init.d/vpnclient start\` before using the client." +} |