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