diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-08-11 16:03:52 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-08-11 16:03:52 +0000 |
commit | 2f6d46d1d872ed9e3dd0be3bd5e35addd8eaf9f2 (patch) | |
tree | 3a5f3f294b567d6f6df3141cb3b4e6be429b0f57 /net-misc/cisco-vpnclient-3des | |
parent | masking this release -amd64. most software builds fine, but on mozilla firefo... (diff) | |
download | gentoo-2-2f6d46d1d872ed9e3dd0be3bd5e35addd8eaf9f2.tar.gz gentoo-2-2f6d46d1d872ed9e3dd0be3bd5e35addd8eaf9f2.tar.bz2 gentoo-2-2f6d46d1d872ed9e3dd0be3bd5e35addd8eaf9f2.zip |
Bumped to latest version.
Diffstat (limited to 'net-misc/cisco-vpnclient-3des')
3 files changed, 92 insertions, 1 deletions
diff --git a/net-misc/cisco-vpnclient-3des/ChangeLog b/net-misc/cisco-vpnclient-3des/ChangeLog index 7c5119f79a6a..e8ddc05fb05c 100644 --- a/net-misc/cisco-vpnclient-3des/ChangeLog +++ b/net-misc/cisco-vpnclient-3des/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/cisco-vpnclient-3des # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/cisco-vpnclient-3des/ChangeLog,v 1.17 2004/07/01 20:54:27 squinky86 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/cisco-vpnclient-3des/ChangeLog,v 1.18 2004/08/11 16:03:52 wolf31o2 Exp $ + +*cisco-vpnclient-3des-4.0.5 (11 Aug 2004) + + 11 Aug 2004; Chris Gianelloni <wolf31o2@gentoo.org> + +cisco-vpnclient-3des-4.0.5.ebuild: + Bumped to latest version. 01 Jul 2004; Jon Hood <squinky86@gentoo.org> cisco-vpnclient-3des-4.0.1a-r1.ebuild, diff --git a/net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.0.5.ebuild b/net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.0.5.ebuild new file mode 100644 index 000000000000..d0e32f86b179 --- /dev/null +++ b/net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.0.5.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2004 Gentoo Foundation +# 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.5.ebuild,v 1.1 2004/08/11 16:03:52 wolf31o2 Exp $ + +inherit eutils kmod + +MY_PV=${PV}.Rel-k9 +DESCRIPTION="Cisco VPN Client (3DES)" +HOMEPAGE="http://cco.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" +IUSE="" + +DEPEND="virtual/libc + 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} + + # Patch to allow use of alternate CC. Patch submitted to bug #33488 by + # Jesse Becker <jbecker@speakeasy.net> + epatch ${FILESDIR}/driver_build_CC.patch +} + +src_compile () { + check_KV + if is_kernel 2 5 || is_kernel 2 6 ; then + unset ARCH + fi + sh ./driver_build.sh /lib/modules/${KV}/build + [ [ ! -f ./cisco_ipsec ] || [ ! -f ./cisco_ipsec.ko ] ] \ + && 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 ${FILESDIR}/vpnclient.rc vpnclient + + exeinto /usr/bin + exeopts -m0711 + doexe vpnclient + exeopts -m4711 + doexe cvpnd + dobin ipseclog cisco_cert_mgr + + insinto /lib/modules/${KV}/CiscoVPN + if is_kernel 2 5 || is_kernel 2 6 ; then + doins cisco_ipsec.ko + dosed 's/VPNMOD="cisco_ipsec"/VPNMOD="cisco_ipsec.ko"/' \ + /etc/init.d/vpnclient + else + doins cisco_ipsec + fi + + 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." +} diff --git a/net-misc/cisco-vpnclient-3des/files/digest-cisco-vpnclient-3des-4.0.5 b/net-misc/cisco-vpnclient-3des/files/digest-cisco-vpnclient-3des-4.0.5 new file mode 100644 index 000000000000..1ec919a67801 --- /dev/null +++ b/net-misc/cisco-vpnclient-3des/files/digest-cisco-vpnclient-3des-4.0.5 @@ -0,0 +1 @@ +MD5 56be983a14925db4a5dbe5a9c51d4e01 vpnclient-linux-4.0.5.Rel-k9.tar.gz 1336638 |