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-r1.ebuild |
Date: | Mon, 07 Jan 2008 07:26:26 |
Message-Id: | E1JBmNL-00066s-EI@stork.gentoo.org |
1 | opfer 08/01/07 07:26:23 |
2 | |
3 | Modified: ChangeLog |
4 | Added: vpnc-0.5.1-r1.ebuild |
5 | Log: |
6 | An addition to the init script proposed by Thomas Fischer <fischer AT unix-ag DOT uni-kl DOT de> in bug 203775: execute a script before and after start and shutdown |
7 | (Portage version: 2.1.3.19) |
8 | |
9 | Revision Changes Path |
10 | 1.60 net-misc/vpnc/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/vpnc/ChangeLog?rev=1.60&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/vpnc/ChangeLog?rev=1.60&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/vpnc/ChangeLog?r1=1.59&r2=1.60 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v |
19 | retrieving revision 1.59 |
20 | retrieving revision 1.60 |
21 | diff -u -r1.59 -r1.60 |
22 | --- ChangeLog 2 Jan 2008 20:19:59 -0000 1.59 |
23 | +++ ChangeLog 7 Jan 2008 07:26:22 -0000 1.60 |
24 | @@ -1,6 +1,14 @@ |
25 | # ChangeLog for net-misc/vpnc |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.59 2008/01/02 20:19:59 opfer Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.60 2008/01/07 07:26:22 opfer Exp $ |
29 | + |
30 | +*vpnc-0.5.1-r1 (07 Jan 2008) |
31 | + |
32 | + 07 Jan 2008; Christian Faulhammer <opfer@g.o> +files/vpnc-2.init, |
33 | + +vpnc-0.5.1-r1.ebuild: |
34 | + An addition to the init script proposed by Thomas Fischer <fischer AT |
35 | + unix-ag DOT uni-kl DOT de> in bug 203775: execute a script before and after |
36 | + start and shutdown |
37 | |
38 | 02 Jan 2008; Christian Faulhammer <opfer@g.o> vpnc-0.5.1.ebuild: |
39 | added a missing letter, pointed out by ikelos via mail |
40 | |
41 | |
42 | |
43 | 1.1 net-misc/vpnc/vpnc-0.5.1-r1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/vpnc/vpnc-0.5.1-r1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/vpnc/vpnc-0.5.1-r1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: vpnc-0.5.1-r1.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-r1.ebuild,v 1.1 2008/01/07 07:26:22 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="http://www.unix-ag.uni-kl.de/~massar/${PN}/${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 | local CONFIG_CHECK="TUN" |
81 | check_extra_config |
82 | } |
83 | |
84 | src_compile() { |
85 | # is reported upstream and fixed in next version |
86 | sed -e "s:/usr/local:/usr:" -i vpnc-script |
87 | # only allowed if not distributed in binary form! |
88 | if use hybrid-auth && ! use bindist; then |
89 | hybridauthopts="OPENSSL_GPL_VIOLATION=-DOPENSSL_GPL_VIOLATION OPENSSLLIBS=-lcrypto" |
90 | fi |
91 | emake ${hybridauthopts} || die "emake failed" |
92 | } |
93 | |
94 | src_install() { |
95 | emake PREFIX="/usr" DESTDIR="${D}" install || die "emake install failed" |
96 | dodoc README TODO VERSION |
97 | keepdir /var/run/vpnc |
98 | newinitd "${FILESDIR}/vpnc-2.init" vpnc |
99 | newconfd "${FILESDIR}/vpnc.confd" vpnc |
100 | } |
101 | |
102 | pkg_postinst() { |
103 | elog "You can generate a configuration file from the original Cisco profiles of your" |
104 | elog "connection by using /usr/bin/pcf2vpnc to convert the .pcf file" |
105 | elog "A guide is to be found in http://www.gentoo.org/doc/en/vpnc-howto.xml" |
106 | } |
107 | |
108 | |
109 | |
110 | -- |
111 | gentoo-commits@l.g.o mailing list |