diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-02-10 22:06:15 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-02-10 22:06:15 +0000 |
commit | 85801d62b8d6bd296364012dae65ecc5d3da9997 (patch) | |
tree | da6a9f5feaaad4c2892e6dca9f77330ac7e7de52 /net-misc/cisco-vpnclient-3des | |
parent | Take maintainership of package (diff) | |
download | gentoo-2-85801d62b8d6bd296364012dae65ecc5d3da9997.tar.gz gentoo-2-85801d62b8d6bd296364012dae65ecc5d3da9997.tar.bz2 gentoo-2-85801d62b8d6bd296364012dae65ecc5d3da9997.zip |
Version bump to 4.8.00.0490 and closing bug #120534.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'net-misc/cisco-vpnclient-3des')
3 files changed, 96 insertions, 2 deletions
diff --git a/net-misc/cisco-vpnclient-3des/ChangeLog b/net-misc/cisco-vpnclient-3des/ChangeLog index cf02b308fb03..051fe50a85eb 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-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/cisco-vpnclient-3des/ChangeLog,v 1.36 2005/12/20 22:20:53 wolf31o2 Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/cisco-vpnclient-3des/ChangeLog,v 1.37 2006/02/10 22:06:15 wolf31o2 Exp $ + +*cisco-vpnclient-3des-4.8.00.0490 (10 Feb 2006) + + 10 Feb 2006; Chris Gianelloni <wolf31o2@gentoo.org> + +cisco-vpnclient-3des-4.8.00.0490.ebuild: + Version bump to 4.8.00.0490 and closing bug #120534. 20 Dec 2005; Chris Gianelloni <wolf31o2@gentoo.org> -cisco-vpnclient-3des-4.6.03.0190.ebuild, diff --git a/net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.8.00.0490.ebuild b/net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.8.00.0490.ebuild new file mode 100644 index 000000000000..4252e3e0061d --- /dev/null +++ b/net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.8.00.0490.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2006 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.8.00.0490.ebuild,v 1.1 2006/02/10 22:06:15 wolf31o2 Exp $ + +inherit eutils linux-info + +MY_PV=${PV}-k9 +DESCRIPTION="Cisco VPN Client (3DES)" +HOMEPAGE="http://cco.cisco.com/en/US/products/sw/secursw/ps2308/index.html" +SRC_URI="vpnclient-linux-x86_64-${MY_PV}.tar.gz" + +LICENSE="cisco-vpn-client" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="fetch" + +DEPEND="virtual/libc + virtual/linux-sources + >=sys-apps/sed-4" + +S=${WORKDIR}/vpnclient + +VPNDIR="/etc/opt/cisco-vpnclient/" + +pkg_nofetch() { + einfo "Please visit:" + einfo " ${HOMEPAGE}" + einfo "and download ${A} to ${DISTDIR}" +} + +#src_unpack () { +# unpack ${A} +# cd ${S} + + #Fix problems with the linux >=2.6.14 kernel. +# if kernel_is 2 6 && [ ${KV_PATCH} -ge 14 ] +# then +# epatch ${FILESDIR}/${PV}-2.6.14.patch +# fi +#} + +src_compile () { + unset ARCH + sh ./driver_build.sh /lib/modules/${KV}/build + [ ! -f ./cisco_ipsec -a ! -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 +} + +src_install() { + exeinto /etc/init.d + newexe ${FILESDIR}/vpnclient.rc vpnclient + + exeinto /opt/cisco-vpnclient/bin + exeopts -m0711 + doexe vpnclient + exeopts -m4711 + doexe cvpnd + into /opt/cisco-vpnclient/ + dobin ipseclog cisco_cert_mgr + insinto /opt/cisco-vpnclient/lib + doins libvpnapi.so + insinto /opt/cisco-vpnclient/include + doins vpnapi.h + dodir /usr/bin + dosym /opt/cisco-vpnclient/bin/vpnclient /usr/bin/vpnclient + + insinto /lib/modules/${KV}/CiscoVPN + doins cisco_ipsec* + + insinto ${VPNDIR} + doins 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." + echo "" + ewarn "Configuration directory has moved to ${VPNDIR}!" + echo "" +} diff --git a/net-misc/cisco-vpnclient-3des/files/digest-cisco-vpnclient-3des-4.8.00.0490 b/net-misc/cisco-vpnclient-3des/files/digest-cisco-vpnclient-3des-4.8.00.0490 new file mode 100644 index 000000000000..0f516ebc624a --- /dev/null +++ b/net-misc/cisco-vpnclient-3des/files/digest-cisco-vpnclient-3des-4.8.00.0490 @@ -0,0 +1,3 @@ +MD5 0f366eafd3a73823766e14b081591c0b vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz 2045213 +RMD160 e38e5d937c9d47abb2484c052212cc02aaf84088 vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz 2045213 +SHA256 cd9c3a73f9f818608b42edab534d7a75d6c5f01874eed012b05f9932a61f1287 vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz 2045213 |