From: | "Chris Gianelloni (wolf31o2)" <wolf31o2@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/cisco-vpnclient-3des: ChangeLog cisco-vpnclient-3des-4.8.00.0490-r1.ebuild |
Date: | Sat, 02 Feb 2008 14:15:42 |
Message-Id: | E1JLJ9f-00054e-Vo@stork.gentoo.org |
1 | wolf31o2 08/02/02 14:15:39 |
2 | |
3 | Modified: ChangeLog |
4 | Added: cisco-vpnclient-3des-4.8.00.0490-r1.ebuild |
5 | Log: |
6 | Added a patch for 2.6.24 support. Closing bug #207536. |
7 | (Portage version: 2.1.4.1) |
8 | |
9 | Revision Changes Path |
10 | 1.55 net-misc/cisco-vpnclient-3des/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/cisco-vpnclient-3des/ChangeLog?rev=1.55&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/cisco-vpnclient-3des/ChangeLog?rev=1.55&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/cisco-vpnclient-3des/ChangeLog?r1=1.54&r2=1.55 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-misc/cisco-vpnclient-3des/ChangeLog,v |
19 | retrieving revision 1.54 |
20 | retrieving revision 1.55 |
21 | diff -u -r1.54 -r1.55 |
22 | --- ChangeLog 7 Sep 2007 17:58:44 -0000 1.54 |
23 | +++ ChangeLog 2 Feb 2008 14:15:39 -0000 1.55 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for net-misc/cisco-vpnclient-3des |
26 | -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-misc/cisco-vpnclient-3des/ChangeLog,v 1.54 2007/09/07 17:58:44 wolf31o2 Exp $ |
28 | +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-misc/cisco-vpnclient-3des/ChangeLog,v 1.55 2008/02/02 14:15:39 wolf31o2 Exp $ |
30 | + |
31 | +*cisco-vpnclient-3des-4.8.00.0490-r1 (02 Feb 2008) |
32 | + |
33 | + 02 Feb 2008; Chris Gianelloni <wolf31o2@g.o> +files/2.6.24.patch, |
34 | + +cisco-vpnclient-3des-4.8.00.0490-r1.ebuild: |
35 | + Added a patch for 2.6.24 support. Closing bug #207536. |
36 | |
37 | 07 Sep 2007; Chris Gianelloni <wolf31o2@g.o> |
38 | +files/4.7.00.0640-2.6.22.patch, |
39 | |
40 | |
41 | |
42 | 1.1 net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.8.00.0490-r1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.8.00.0490-r1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.8.00.0490-r1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: cisco-vpnclient-3des-4.8.00.0490-r1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2008 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.8.00.0490-r1.ebuild,v 1.1 2008/02/02 14:15:39 wolf31o2 Exp $ |
52 | |
53 | inherit eutils linux-mod |
54 | |
55 | MY_PV=${PV}-k9 |
56 | DESCRIPTION="Cisco VPN Client (3DES)" |
57 | HOMEPAGE="http://cco.cisco.com/en/US/products/sw/secursw/ps2308/index.html" |
58 | SRC_URI="vpnclient-linux-x86_64-${MY_PV}.tar.gz" |
59 | |
60 | LICENSE="cisco-vpn-client" |
61 | SLOT="0" |
62 | KEYWORDS="-* ~amd64 ~x86" |
63 | IUSE="" |
64 | RESTRICT="fetch strip" # stricter" |
65 | |
66 | QA_TEXTRELS="opt/cisco-vpnclient/lib/libvpnapi.so" |
67 | QA_EXECSTACK="opt/cisco-vpnclient/lib/libvpnapi.so |
68 | opt/cisco-vpnclient/bin/vpnclient |
69 | opt/cisco-vpnclient/bin/cvpnd |
70 | opt/cisco-vpnclient/bin/cisco_cert_mgr |
71 | opt/cisco-vpnclient/bin/ipseclog" |
72 | |
73 | S=${WORKDIR}/vpnclient |
74 | |
75 | VPNDIR="/etc/opt/cisco-vpnclient/" |
76 | |
77 | pkg_nofetch() { |
78 | einfo "Please visit:" |
79 | einfo " ${HOMEPAGE}" |
80 | einfo "and download ${A} to ${DISTDIR}" |
81 | } |
82 | |
83 | src_unpack () { |
84 | unpack ${A} |
85 | cd "${S}" |
86 | |
87 | epatch ${FILESDIR}/2.6.22.patch |
88 | epatch ${FILESDIR}/2.6.24.patch |
89 | } |
90 | |
91 | src_compile () { |
92 | unset ARCH |
93 | sh ./driver_build.sh ${KV_DIR} |
94 | [ ! -f ./cisco_ipsec -a ! -f ./cisco_ipsec.ko ] \ |
95 | && die "Failed to make module 'cisco_ipsec'" |
96 | sed -i "s#@VPNBINDIR@#/usr/bin#" vpnclient_init |
97 | sed -i "s#@VPNBINDIR@#/usr/bin#" vpnclient.ini |
98 | } |
99 | |
100 | src_install() { |
101 | newinitd ${FILESDIR}/vpnclient.rc vpnclient |
102 | |
103 | exeinto /opt/cisco-vpnclient/bin |
104 | exeopts -m0711 |
105 | doexe vpnclient |
106 | exeopts -m4711 |
107 | doexe cvpnd |
108 | into /opt/cisco-vpnclient/ |
109 | dobin ipseclog cisco_cert_mgr |
110 | insinto /opt/cisco-vpnclient/lib |
111 | doins libvpnapi.so |
112 | insinto /opt/cisco-vpnclient/include |
113 | doins vpnapi.h |
114 | dodir /usr/bin |
115 | dosym /opt/cisco-vpnclient/bin/vpnclient /usr/bin/vpnclient |
116 | |
117 | insinto /lib/modules/${KV}/CiscoVPN |
118 | if kernel_is 2 6; then |
119 | doins cisco_ipsec.ko |
120 | else |
121 | doins cisco_ipsec |
122 | fi |
123 | |
124 | insinto ${VPNDIR} |
125 | doins vpnclient.ini |
126 | insinto ${VPNDIR}/Profiles |
127 | doins *.pcf |
128 | dodir ${VPNDIR}/Certificates |
129 | } |
130 | |
131 | pkg_postinst() { |
132 | linux-mod_pkg_postinst |
133 | einfo "You must run \`/etc/init.d/vpnclient start\` before using the client." |
134 | echo |
135 | ewarn "Configuration directory has moved to ${VPNDIR}!" |
136 | echo |
137 | } |
138 | |
139 | |
140 | |
141 | -- |
142 | gentoo-commits@l.g.o mailing list |