Gentoo Archives: gentoo-commits

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.ebuild
Date: Tue, 11 Sep 2007 06:21:17
Message-Id: E1IUz0m-0004v7-FT@stork.gentoo.org
1 opfer 07/09/11 06:14:12
2
3 Modified: ChangeLog
4 Added: vpnc-0.5.1.ebuild
5 Log:
6 * vpnc-0.5.1.tar.gz Mon Sep 10 23:16:41 CEST 2007
7 - link against -lcrypto instead of -lssl, fix from: Christophe Thil
8 - fixed crashes on 64bit platforms by Tomas Mraz, report by Brian Downing
9 - fixes to keepalive code from Brian Downing
10 - generate options part of the manpage automatically, by Wolfram Sang
11 - fix dead peer detection problems with Sonicwall, by Gerald Hanusch
12 and Wolfgang Astleitner
13 - fix disconnect problems with Sonicwall (please test if it fixes the known
14 problems with Cisco), by Gerald Hanusch and Wolfgang Astleitner
15 - again special thanks Joerg Mayer for handling all patches since the
16 last release (-:
17 - various other fixes contributed by Scott Rankin, Markus Meschederu
18 (Portage version: 2.1.2.12)
19
20 Revision Changes Path
21 1.49 net-misc/vpnc/ChangeLog
22
23 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/vpnc/ChangeLog?rev=1.49&view=markup
24 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/vpnc/ChangeLog?rev=1.49&content-type=text/plain
25 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/vpnc/ChangeLog?r1=1.48&r2=1.49
26
27 Index: ChangeLog
28 ===================================================================
29 RCS file: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v
30 retrieving revision 1.48
31 retrieving revision 1.49
32 diff -u -r1.48 -r1.49
33 --- ChangeLog 31 Aug 2007 22:03:10 -0000 1.48
34 +++ ChangeLog 11 Sep 2007 06:14:11 -0000 1.49
35 @@ -1,6 +1,11 @@
36 # ChangeLog for net-misc/vpnc
37 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
38 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.48 2007/08/31 22:03:10 opfer Exp $
39 +# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.49 2007/09/11 06:14:11 opfer Exp $
40 +
41 +*vpnc-0.5.1 (11 Sep 2007)
42 +
43 + 11 Sep 2007; Christian Faulhammer <opfer@g.o> +vpnc-0.5.1.ebuild:
44 + version bump, including some run-time fixes on amd64
45
46 31 Aug 2007; Christian Faulhammer <opfer@g.o> vpnc-0.5.0.ebuild:
47 adding hybrid authentication support. As distribution of binaries with that
48
49
50
51 1.1 net-misc/vpnc/vpnc-0.5.1.ebuild
52
53 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/vpnc/vpnc-0.5.1.ebuild?rev=1.1&view=markup
54 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/vpnc/vpnc-0.5.1.ebuild?rev=1.1&content-type=text/plain
55
56 Index: vpnc-0.5.1.ebuild
57 ===================================================================
58 # Copyright 1999-2007 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 # $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.5.1.ebuild,v 1.1 2007/09/11 06:14:11 opfer Exp $
61
62 inherit linux-info
63
64 DESCRIPTION="Free client for Cisco VPN routing software"
65 HOMEPAGE="http://www.unix-ag.uni-kl.de/~massar/vpnc/"
66 SRC_URI="http://www.unix-ag.uni-kl.de/~massar/${PN}/${P}.tar.gz"
67
68 LICENSE="GPL-2 BSD"
69 SLOT="0"
70 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
71 IUSE="hybrid-auth bindist"
72
73 DEPEND=">=dev-libs/libgcrypt-1.1.91
74 >=sys-apps/iproute2-2.6.19.20061214
75 !bindist? ( hybrid-auth? ( dev-libs/openssl ) )"
76
77 RDEPEND="${DEPEND}
78 net-dns/resolvconf-gentoo"
79
80 pkg_setup() {
81 if use hybrid-auth && use bindist; then
82 ewarn "Hybrid authentication will be disabled for this packages as you will"
83 ewarn "redistribute it in binary form. This is not allowed due to linking"
84 ewarn "of OpenSSL."
85 fi
86 local CONFIG_CHECK="TUN"
87 check_extra_config
88 }
89
90 src_compile() {
91 # only allowed if not distributed in binary form!
92 if use hybrid-auth && ! use bindist; then
93 hybridauthopts="OPENSSL_GPL_VIOLATION=-DOPENSSL_GPL_VIOLATION OPENSSLLIBS=-lcrypto"
94 fi
95 emake ${hybridauthopts} || die "emake failed"
96 }
97
98 src_install() {
99 emake PREFIX="/usr" DESTDIR="${D}" install || die "emake install failed"
100 dodoc README TODO VERSION
101 keepdir /var/run/vpnc
102 newinitd "${FILESDIR}/vpnc-1.init" vpnc
103 newconfd "${FILESDIR}/vpnc.confd" vpnc
104 }
105
106 pkg_postinst() {
107 elog "You can generate a configuration file from the original Cisco profiles of your"
108 elog "connection by using /usr/bin/pcf2vpnc to convert the .pcf file"
109 elog "A guide is to be found in http://www.gentoo.org/doc/en/vpnc-howto.xml"
110 }
111
112
113
114 --
115 gentoo-commits@g.o mailing list