From: | "Christian Faulhammer (opfer)" <opfer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/vpnc: ChangeLog vpnc-0.5.1_p332.ebuild vpnc-0.5.1_p325.ebuild |
Date: | Wed, 25 Jun 2008 07:40:00 |
Message-Id: | E1KBPbf-00043c-9j@stork.gentoo.org |
1 | opfer 08/06/25 07:39:55 |
2 | |
3 | Modified: ChangeLog |
4 | Added: vpnc-0.5.1_p332.ebuild |
5 | Removed: vpnc-0.5.1_p325.ebuild |
6 | Log: |
7 | new snapshot which fixes bug 229003 for sure and bug 218974 maybe (still to test) |
8 | (Portage version: 2.1.4.4) |
9 | |
10 | Revision Changes Path |
11 | 1.73 net-misc/vpnc/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/vpnc/ChangeLog?rev=1.73&view=markup |
14 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/vpnc/ChangeLog?rev=1.73&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/vpnc/ChangeLog?r1=1.72&r2=1.73 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v |
20 | retrieving revision 1.72 |
21 | retrieving revision 1.73 |
22 | diff -u -r1.72 -r1.73 |
23 | --- ChangeLog 21 Jun 2008 08:55:11 -0000 1.72 |
24 | +++ ChangeLog 25 Jun 2008 07:39:54 -0000 1.73 |
25 | @@ -1,6 +1,13 @@ |
26 | # ChangeLog for net-misc/vpnc |
27 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.72 2008/06/21 08:55:11 opfer Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.73 2008/06/25 07:39:54 opfer Exp $ |
30 | + |
31 | +*vpnc-0.5.1_p332 (25 Jun 2008) |
32 | + |
33 | + 25 Jun 2008; Christian Faulhammer <opfer@g.o> |
34 | + -vpnc-0.5.1_p325.ebuild, +vpnc-0.5.1_p332.ebuild: |
35 | + new snapshot which fixes bug 229003 for sure and bug 218974 maybe (still to |
36 | + test) |
37 | |
38 | *vpnc-0.5.1_p325 (21 Jun 2008) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 net-misc/vpnc/vpnc-0.5.1_p332.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/vpnc/vpnc-0.5.1_p332.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/vpnc/vpnc-0.5.1_p332.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: vpnc-0.5.1_p332.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2008 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.5.1_p332.ebuild,v 1.1 2008/06/25 07:39:54 opfer Exp $ |
53 | |
54 | inherit linux-info |
55 | |
56 | DESCRIPTION="Free client for Cisco VPN routing software" |
57 | HOMEPAGE="http://www.unix-ag.uni-kl.de/~massar/vpnc/" |
58 | SRC_URI="mirror://gentoo/${P}.tar.gz" |
59 | |
60 | LICENSE="GPL-2 BSD" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
63 | IUSE="hybrid-auth bindist resolvconf" |
64 | |
65 | DEPEND=">=dev-libs/libgcrypt-1.1.91 |
66 | >=sys-apps/iproute2-2.6.19.20061214 |
67 | !bindist? ( hybrid-auth? ( dev-libs/openssl ) )" |
68 | |
69 | RDEPEND="${DEPEND} |
70 | resolvconf? ( || |
71 | ( net-dns/resolvconf-gentoo net-dns/openresolv ) |
72 | )" |
73 | |
74 | pkg_setup() { |
75 | if use hybrid-auth && use bindist; then |
76 | ewarn "Hybrid authentication will be disabled for this packages as you will" |
77 | ewarn "redistribute it in binary form. This is not allowed due to linking" |
78 | ewarn "of OpenSSL." |
79 | fi |
80 | } |
81 | |
82 | src_compile() { |
83 | # only allowed if not distributed in binary form! |
84 | if use hybrid-auth && ! use bindist; then |
85 | hybridauthopts="OPENSSL_GPL_VIOLATION=-DOPENSSL_GPL_VIOLATION OPENSSLLIBS=-lcrypto" |
86 | fi |
87 | emake ${hybridauthopts} || die "emake failed" |
88 | } |
89 | |
90 | src_install() { |
91 | emake PREFIX="/usr" DESTDIR="${D}" install || die "emake install failed" |
92 | dodoc README TODO VERSION |
93 | keepdir /var/run/vpnc |
94 | keepdir /etc/vpnc/scripts.d |
95 | newinitd "${FILESDIR}/vpnc-2.init" vpnc |
96 | newconfd "${FILESDIR}/vpnc.confd" vpnc |
97 | sed -e "s:/usr/local:/usr:" -i "${D}"/etc/vpnc/vpnc-script || die |
98 | } |
99 | |
100 | pkg_postinst() { |
101 | elog "You can generate a configuration file from the original Cisco profiles of your" |
102 | elog "connection by using /usr/bin/pcf2vpnc to convert the .pcf file" |
103 | elog "A guide is to be found in http://www.gentoo.org/doc/en/vpnc-howto.xml" |
104 | echo |
105 | elog "Don't forget to turn on TUN support in the kernel." |
106 | } |
107 | |
108 | |
109 | |
110 | -- |
111 | gentoo-commits@l.g.o mailing list |