Gentoo Archives: gentoo-commits

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