1 |
fauli 11/01/03 15:24:06 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: vpnc-0.5.3_p451.ebuild |
5 |
Log: |
6 |
New snapshot which incorporates upstream fixes for lost connections du to rekeying errors (bug 350219 by Lori <ljakab AT ac DOT upc DOT edu>), an updated external vpnc-script which has support for Solaris and IPv6 (bug 331445 by ByrneG <gentoo-bugzilla-byrne AT gzone DOT org>), patches taken from upstream mailing list that fix some dead lock problems in the socket handling routines (also bug 350219). Also reenable OpenSSL for hybrid-auth, but check for binary distribution (bug 336012). Lots of thanks to Martin Mokrejs <mmokejs AT fold DOT natur DOT cuni DOT cz> who worked on all the bugs and provided a lot of feedback. |
7 |
|
8 |
# Please enter the ChangeLog message for your changes. Lines starting |
9 |
# with '#' will be ignored, and an empty message aborts the ChangeLog. |
10 |
# |
11 |
# Changes: |
12 |
# modified: Manifest |
13 |
# new file: vpnc-0.5.3_p451.ebuild |
14 |
|
15 |
(Portage version: 2.1.9.25/cvs/Linux i686) |
16 |
|
17 |
Revision Changes Path |
18 |
1.91 net-misc/vpnc/ChangeLog |
19 |
|
20 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/ChangeLog?rev=1.91&view=markup |
21 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/ChangeLog?rev=1.91&content-type=text/plain |
22 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/ChangeLog?r1=1.90&r2=1.91 |
23 |
|
24 |
Index: ChangeLog |
25 |
=================================================================== |
26 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v |
27 |
retrieving revision 1.90 |
28 |
retrieving revision 1.91 |
29 |
diff -u -r1.90 -r1.91 |
30 |
--- ChangeLog 13 Aug 2010 08:40:53 -0000 1.90 |
31 |
+++ ChangeLog 3 Jan 2011 15:24:06 -0000 1.91 |
32 |
@@ -1,6 +1,20 @@ |
33 |
# ChangeLog for net-misc/vpnc |
34 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
35 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.90 2010/08/13 08:40:53 fauli Exp $ |
36 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
37 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.91 2011/01/03 15:24:06 fauli Exp $ |
38 |
+ |
39 |
+*vpnc-0.5.3_p451 (03 Jan 2011) |
40 |
+ |
41 |
+ 03 Jan 2011; Christian Faulhammer <fauli@g.o> |
42 |
+ +vpnc-0.5.3_p451.ebuild: |
43 |
+ New snapshot which incorporates upstream fixes for lost connections du to |
44 |
+ rekeying errors (bug 350219 by Lori <ljakab AT ac DOT upc DOT edu>), an |
45 |
+ updated external vpnc-script which has support for Solaris and IPv6 (bug |
46 |
+ 331445 by ByrneG <gentoo-bugzilla-byrne AT gzone DOT org>), patches taken |
47 |
+ from upstream mailing list that fix some dead lock problems in the socket |
48 |
+ handling routines (also bug 350219). Also reenable OpenSSL for |
49 |
+ hybrid-auth, but check for binary distribution (bug 336012). Lots of |
50 |
+ thanks to Martin Mokrejs <mmokejs AT fold DOT natur DOT cuni DOT cz> who |
51 |
+ worked on all the bugs and provided a lot of feedback. |
52 |
|
53 |
13 Aug 2010; Christian Faulhammer <fauli@g.o> vpnc-0.5.3.ebuild, |
54 |
vpnc-0.5.3_p449-r1.ebuild, files/vpnc-2.init, files/vpnc-3.init: |
55 |
|
56 |
|
57 |
|
58 |
1.1 net-misc/vpnc/vpnc-0.5.3_p451.ebuild |
59 |
|
60 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p451.ebuild?rev=1.1&view=markup |
61 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p451.ebuild?rev=1.1&content-type=text/plain |
62 |
|
63 |
Index: vpnc-0.5.3_p451.ebuild |
64 |
=================================================================== |
65 |
# Copyright 1999-2011 Gentoo Foundation |
66 |
# Distributed under the terms of the GNU General Public License v2 |
67 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p451.ebuild,v 1.1 2011/01/03 15:24:06 fauli Exp $ |
68 |
|
69 |
EAPI=3 |
70 |
|
71 |
DESCRIPTION="Free client for Cisco VPN routing software" |
72 |
HOMEPAGE="http://www.unix-ag.uni-kl.de/~massar/vpnc/" |
73 |
# Modified vpnc-script taken from |
74 |
# http://git.infradead.org/users/dwmw2/vpnc-scripts.git, supports Solaris and IP v6, as reported in bug |
75 |
# Additionally added patches to fix some dead lock problems taken from |
76 |
# http://lists.unix-ag.uni-kl.de/pipermail/vpnc-devel/2010-March/003445.html |
77 |
SRC_URI="mirror://gentoo/${P}.tar.bz2" |
78 |
|
79 |
LICENSE="GPL-2 BSD" |
80 |
SLOT="0" |
81 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
82 |
IUSE="resolvconf gnutls bindist" |
83 |
|
84 |
DEPEND=">=dev-libs/libgcrypt-1.1.91 |
85 |
>=sys-apps/iproute2-2.6.19.20061214 |
86 |
gnutls? ( net-libs/gnutls ) |
87 |
bindist? ( net-libs/gnutls ) |
88 |
!gnutls? ( |
89 |
!bindist? ( dev-libs/openssl ) |
90 |
)" |
91 |
|
92 |
RDEPEND="${DEPEND} |
93 |
resolvconf? ( net-dns/openresolv )" |
94 |
|
95 |
src_prepare() { |
96 |
if ! use gnutls && ! use bindist; then |
97 |
sed -i -e 's/#OPENSSL_GPL_VIOLATION=yes/OPENSSL_GPL_VIOLATION=yes/' "${S}"/Makefile \ |
98 |
|| die |
99 |
ewarn "Building SSL support with OpenSSL instead of GnuTLS. This means that" |
100 |
ewarn "you are not allowed to re-distibute the binaries due to conflicts between BSD license and GPL," |
101 |
ewarn "see the vpnc Makefile and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440318" |
102 |
else |
103 |
elog "Will build with GnuTLS (default) instead of OpenSSL so you may even redistribute binaries." |
104 |
elog "See the Makefile itself and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440318" |
105 |
fi |
106 |
} |
107 |
|
108 |
src_install() { |
109 |
emake PREFIX="/usr" DESTDIR="${D}" install || die |
110 |
dodoc README TODO VERSION || die |
111 |
keepdir /etc/vpnc/scripts.d |
112 |
newinitd "${FILESDIR}/vpnc-3.init" vpnc || die |
113 |
newconfd "${FILESDIR}/vpnc.confd" vpnc || die |
114 |
sed -e "s:/usr/local:/usr:" -i "${D}"/etc/vpnc/vpnc-script || die |
115 |
# COPYING file resides here, should not be installed |
116 |
rm -rf "${D}"/usr/share/doc/vpnc/ |
117 |
} |
118 |
|
119 |
pkg_postinst() { |
120 |
elog "You can generate a configuration file from the original Cisco profiles of your" |
121 |
elog "connection by using /usr/bin/pcf2vpnc to convert the .pcf file" |
122 |
elog "A guide is available in http://www.gentoo.org/doc/en/vpnc-howto.xml" |
123 |
echo |
124 |
elog "Don't forget to turn on TUN support in the kernel." |
125 |
} |