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 | |
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')
4 files changed, 76 insertions, 2 deletions
diff --git a/net-misc/cisco-vpnclient-3des/ChangeLog b/net-misc/cisco-vpnclient-3des/ChangeLog index 4e274bedda69..08ecb3cb3b62 100644 --- a/net-misc/cisco-vpnclient-3des/ChangeLog +++ b/net-misc/cisco-vpnclient-3des/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/cisco-vpnclient-3des # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/cisco-vpnclient-3des/ChangeLog,v 1.3 2003/10/27 20:13:04 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/cisco-vpnclient-3des/ChangeLog,v 1.4 2003/11/19 20:18:47 vapier Exp $ + +*cisco-vpnclient-3des-4.0.1a-r1 (19 Nov 2003) + + 19 Nov 2003; Mike Frysinger <vapier@gentoo.org> : + Fix typo in patch #33848. *cisco-vpnclient-3des-4.0.1a (05 JUL 2003) 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." +} diff --git a/net-misc/cisco-vpnclient-3des/files/4.0.1a-linux26.patch b/net-misc/cisco-vpnclient-3des/files/4.0.1a-linux26.patch index 526216cc6ee1..7ea8f8572fdb 100644 --- a/net-misc/cisco-vpnclient-3des/files/4.0.1a-linux26.patch +++ b/net-misc/cisco-vpnclient-3des/files/4.0.1a-linux26.patch @@ -11,7 +11,7 @@ while (default_pt != NULL && default_pt->type != htons(ETH_P_IP)) { - default_pt = default_pt->next; -+ default_pt = list_entry(dummy_pt.list.next, struct packet_type, list); ++ default_pt = list_entry(default_pt.list.next, struct packet_type, list); } if (!default_pt) { diff --git a/net-misc/cisco-vpnclient-3des/files/digest-cisco-vpnclient-3des-4.0.1a-r1 b/net-misc/cisco-vpnclient-3des/files/digest-cisco-vpnclient-3des-4.0.1a-r1 new file mode 100644 index 000000000000..b9e983367568 --- /dev/null +++ b/net-misc/cisco-vpnclient-3des/files/digest-cisco-vpnclient-3des-4.0.1a-r1 @@ -0,0 +1 @@ +MD5 d60cd032c8052caa7f18822e3fafad0e vpnclient-linux-4.0.1.A-k9.tar.gz 1312224 |