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