Skip to content
Browse files

Commit openvpn 2.2.1 with ipv6 support.

Signed-off-by: Vladimir Smirnov <civil.over@gmail.com>
  • Loading branch information...
1 parent 8b2bcfc commit 8cbd72731094a708f6551a91b7c0f34f68c2b4c2 @Civil Civil committed Jan 23, 2012
View
903 net-misc/openvpn/ChangeLog
@@ -0,0 +1,903 @@
+# ChangeLog for net-misc/openvpn
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openvpn/ChangeLog,v 1.218 2011/07/29 08:45:05 zmedico Exp $
+
+ 29 Jul 2011; Zac Medico <zmedico@gentoo.org> openvpn-2.2.0-r1.ebuild:
+ Add ~x86-linux keyword.
+
+ 28 Jul 2011; Zac Medico <zmedico@gentoo.org> openvpn-2.2.0-r1.ebuild:
+ Fix for prefix.
+
+*openvpn-2.2.0-r1 (01 May 2011)
+
+ 01 May 2011; Dirkjan Ochtman <djc@gentoo.org> +openvpn-2.2.0-r1.ebuild:
+ Fix issues with docdir and remaining eurephia mentions (bug 365487).
+
+ 30 Apr 2011; Dirkjan Ochtman <djc@gentoo.org> openvpn-2.2.0.ebuild:
+ Upgrade to EAPI=4 for 2.2.0, get rid of prepalldocs.
+
+ 30 Apr 2011; Dirkjan Ochtman <djc@gentoo.org> -openvpn-2.1.2.ebuild,
+ -openvpn-2.1.3.ebuild:
+ Remove old versions.
+
+*openvpn-2.2.0 (30 Apr 2011)
+
+ 30 Apr 2011; Dirkjan Ochtman <djc@gentoo.org> +openvpn-2.2.0.ebuild:
+ Version bump to 2.2.0, add ipv6 payload support (bug 335563).
+
+ 21 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> openvpn-2.1.4.ebuild:
+ ppc/ppc64 stable wrt #354661
+
+ 20 Mar 2011; Raúl Porcel <armin76@gentoo.org> openvpn-2.1.4.ebuild:
+ s390/sh/sparc stable wrt #354661
+
+ 13 Mar 2011; Markus Meier <maekke@gentoo.org> openvpn-2.1.4.ebuild:
+ arm stable, bug #354661
+
+ 08 Mar 2011; Tobias Klausmann <klausman@gentoo.org> openvpn-2.1.4.ebuild:
+ Stable on alpha, bug #354661
+
+ 03 Mar 2011; Thomas Kahle <tomka@gentoo.org> openvpn-2.1.4.ebuild:
+ x86 stable per bug 354661
+
+ 21 Feb 2011; Jeroen Roovers <jer@gentoo.org> openvpn-2.1.4.ebuild:
+ Stable for HPPA (bug #354661).
+
+ 13 Feb 2011; Markos Chandras <hwoarang@gentoo.org> openvpn-2.1.4.ebuild:
+ Stable on amd64 wrt bug #354661
+
+ 10 Jan 2011; Brent Baude <ranger@gentoo.org> openvpn-2.1.3.ebuild:
+ stable ppc, bug 342897
+
+ 28 Dec 2010; Brent Baude <ranger@gentoo.org> openvpn-2.1.3.ebuild:
+ stable ppc64, bug 342897
+
+*openvpn-2.1.4 (14 Dec 2010)
+
+ 14 Dec 2010; Dirkjan Ochtman <djc@gentoo.org> +openvpn-2.1.4.ebuild:
+ Version bump to 2.1.4.
+
+ 05 Dec 2010; Raúl Porcel <armin76@gentoo.org> openvpn-2.1.3.ebuild:
+ alpha/s390/sh/sparc stable wrt #342897
+
+ 03 Nov 2010; Markus Meier <maekke@gentoo.org> openvpn-2.1.3.ebuild:
+ arm stable, bug #342897
+
+ 03 Nov 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> openvpn-2.1.3.ebuild:
+ x86 stable wrt bug #342897
+
+ 29 Oct 2010; Jeroen Roovers <jer@gentoo.org> openvpn-2.1.3.ebuild:
+ Stable for HPPA (bug #342897).
+
+ 28 Oct 2010; Markos Chandras <hwoarang@gentoo.org> openvpn-2.1.3.ebuild:
+ Stable on amd64 wrt bug #342897
+
+ 28 Oct 2010; Dirkjan Ochtman <djc@gentoo.org> openvpn-2.1.3.ebuild:
+ Fix QA issues for bug 342933.
+
+ 27 Oct 2010; Dirkjan Ochtman <djc@gentoo.org> +files/65openvpn,
+ openvpn-2.1.3.ebuild:
+ Add CONFIG_PROTECT for /usr/share/openvpn/easy-rsa, as suggested by
+ hwoarang.
+
+ 19 Oct 2010; Dirkjan Ochtman <djc@gentoo.org>
+ -files/openvpn-2.0.9-pam.patch, -files/openvpn-2.0.9-persistent.patch,
+ -openvpn-2.1.0-r1.ebuild:
+ Clean up cruft from old versions.
+
+ 19 Oct 2010; Dirkjan Ochtman <djc@gentoo.org> openvpn-2.1.3.ebuild:
+ Update ebuild to use new path_exists function.
+
+ 19 Oct 2010; Jeroen Roovers <jer@gentoo.org> openvpn-2.1.2.ebuild:
+ Stable for HPPA (bug #338919).
+
+ 15 Oct 2010; Brent Baude <ranger@gentoo.org> openvpn-2.1.2.ebuild:
+ stable ppc, bug 338919
+
+ 12 Oct 2010; Dirkjan Ochtman <djc@gentoo.org> openvpn-2.1.3.ebuild:
+ Improved 2.1.3 ebuild; thanks to pva for the review.
+
+ 12 Oct 2010; Raúl Porcel <armin76@gentoo.org> openvpn-2.1.2.ebuild:
+ alpha/arm/s390/sh/sparc stable wrt #338919
+
+ 06 Oct 2010; Markus Meier <maekke@gentoo.org> openvpn-2.1.2.ebuild:
+ x86 stable, bug #338919
+
+ 30 Sep 2010; Brent Baude <ranger@gentoo.org> openvpn-2.1.2.ebuild:
+ stable ppc64, bug 338919
+
+ 28 Sep 2010; Markos Chandras <hwoarang@gentoo.org> openvpn-2.1.2.ebuild:
+ Stable on amd64 wrt bug #338919
+
+*openvpn-2.1.3 (27 Sep 2010)
+
+ 27 Sep 2010; Dirkjan Ochtman <djc@gentoo.org> +openvpn-2.1.3.ebuild:
+ Version bump to 2.1.3.
+
+ 27 Sep 2010; Dirkjan Ochtman <djc@gentoo.org> -openvpn-2.0.9.ebuild,
+ -openvpn-2.1_rc15.ebuild:
+ Clean up old versions.
+
+ 07 Sep 2010; Joseph Jezak <josejx@gentoo.org> openvpn-2.1.0-r1.ebuild,
+ openvpn-2.1.2.ebuild:
+ Change altivec fix to work on ppc64 as well.
+
+ 06 Sep 2010; Brent Baude <ranger@gentoo.org> openvpn-2.1.0-r1.ebuild:
+ Marking openvpn-2.1.0-r1 ppc64 for bug 293894
+
+ 04 Sep 2010; Raúl Porcel <armin76@gentoo.org> openvpn-2.1.0-r1.ebuild:
+ alpha/s390/sh/sparc stable wrt #293894
+
+ 28 Aug 2010; Markus Meier <maekke@gentoo.org> openvpn-2.1.0-r1.ebuild:
+ arm stable, bug #293894
+
+ 25 Aug 2010; Jeroen Roovers <jer@gentoo.org> openvpn-2.1.0-r1.ebuild:
+ Stable for HPPA PPC (bug #293894).
+
+ 24 Aug 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+ openvpn-2.1.0-r1.ebuild:
+ x86 stable wrt security bug #293894
+
+ 23 Aug 2010; Markos Chandras <hwoarang@gentoo.org>
+ openvpn-2.1.0-r1.ebuild:
+ Stable on amd64 wrt bug #293894
+
+ 23 Aug 2010; Dirkjan Ochtman <djc@gentoo.org> openvpn-2.1.0-r1.ebuild,
+ openvpn-2.1.2.ebuild:
+ Get rid of useless threads flag.
+
+*openvpn-2.1.2 (23 Aug 2010)
+
+ 23 Aug 2010; Dirkjan Ochtman <djc@gentoo.org> +openvpn-2.1.2.ebuild:
+ Version bump to 2.1.2.
+
+ 23 Aug 2010; Dirkjan Ochtman <djc@gentoo.org> openvpn-2.1.0-r1.ebuild:
+ Remove built_with_use, upgrade to EAPI=2.
+
+ 23 Aug 2010; Dirkjan Ochtman <djc@gentoo.org> -openvpn-2.0.6.ebuild,
+ -openvpn-2.0.7-r2.ebuild, -files/openvpn-2.0.7-pam.patch,
+ -files/openvpn-2.0.7-persistent.patch, -openvpn-2.1_rc19.ebuild,
+ -openvpn-2.1_rc20.ebuild, -openvpn-2.1_rc21.ebuild:
+ Clean up old versions.
+
+ 23 Aug 2010; Dirkjan Ochtman <djc@gentoo.org> metadata.xml:
+ Add myself as a maintainer.
+
+ 28 Feb 2010; Cédric Krier <cedk@gentoo.org> files/openvpn-2.1.init,
+ files/openvpn.init:
+ Fix init scripts to work with tabs for bug #301619
+
+ 28 Feb 2010; Cédric Krier <cedk@gentoo.org> openvpn-2.1.0-r1.ebuild:
+ Filter out -maltivec on ppc for bug #293840
+
+*openvpn-2.1.0-r1 (29 Dec 2009)
+
+ 29 Dec 2009; Cédric Krier <cedk@gentoo.org> -openvpn-2.1.0.ebuild,
+ +openvpn-2.1.0-r1.ebuild, -files/openvpn-2.1.0-stdbool.patch:
+ Remove stdbool patch for bug #297854
+
+*openvpn-2.1.0 (19 Dec 2009)
+
+ 19 Dec 2009; Cédric Krier <cedk@gentoo.org> +openvpn-2.1.0.ebuild,
+ +files/openvpn-2.1.0-stdbool.patch:
+ Version bump and add patch for bug #293840
+
+*openvpn-2.1_rc21 (15 Nov 2009)
+
+ 15 Nov 2009; Cédric Krier <cedk@gentoo.org> +openvpn-2.1_rc21.ebuild:
+ Version bump
+
+ 10 Oct 2009; Cédric Krier <cedk@gentoo.org> openvpn-2.1_rc20.ebuild,
+ metadata.xml:
+ Add eurephia patch for bug #272079
+
+*openvpn-2.1_rc20 (10 Oct 2009)
+
+ 10 Oct 2009; Cédric Krier <cedk@gentoo.org> +openvpn-2.1_rc20.ebuild,
+ +files/openvpn-2.1_rc20-pkcs11.patch:
+ Version bump with ipv6 patch for bug #287896 and patch for bug #273586
+
+ 10 Oct 2009; Cédric Krier <cedk@gentoo.org> files/openvpn-2.1.init:
+ Remove --nobind from init script for bug #282721
+
+ 10 Oct 2009; Raúl Porcel <armin76@gentoo.org> openvpn-2.0.9.ebuild:
+ sh/sparc stable wrt #272546
+
+ 10 Oct 2009; Raúl Porcel <armin76@gentoo.org> openvpn-2.1_rc15.ebuild:
+ s390/sh/sparc stable wrt #280072
+
+ 04 Oct 2009; Markus Meier <maekke@gentoo.org> openvpn-2.1_rc15.ebuild:
+ arm stable, bug #280072
+
+ 26 Sep 2009; Brent Baude <ranger@gentoo.org> openvpn-2.1_rc15.ebuild:
+ Marking openvpn-2.1_rc15 ppc64 for bug 280072
+
+ 29 Aug 2009; nixnut <nixnut@gentoo.org> openvpn-2.1_rc15.ebuild:
+ ppc stable #280072
+
+ 29 Aug 2009; nixnut <nixnut@gentoo.org> openvpn-2.0.9.ebuild:
+ ppc stable #272546
+
+ 28 Aug 2009; Tobias Klausmann <klausman@gentoo.org>
+ openvpn-2.1_rc15.ebuild:
+ Stable on alpha, bug #280072
+
+ 19 Aug 2009; Jeroen Roovers <jer@gentoo.org> openvpn-2.1_rc15.ebuild:
+ Stable for HPPA (bug #280072).
+
+ 05 Aug 2009; <chainsaw@gentoo.org> openvpn-2.1_rc15.ebuild:
+ Marked stable on AMD64 as requested by Cédric Krier <cedk@gentoo.org> in
+ bug #280072. Compile-tested on a Core2 Duo, no suitable network
+ environment to test.
+
+ 04 Aug 2009; Christian Faulhammer <fauli@gentoo.org>
+ openvpn-2.1_rc15.ebuild:
+ stable x86, bug 280072
+
+*openvpn-2.1_rc19 (01 Aug 2009)
+
+ 01 Aug 2009; Cédric Krier <cedk@gentoo.org> +openvpn-2.1_rc19.ebuild:
+ Version bump
+
+ 28 Jun 2009; Brent Baude <ranger@gentoo.org> openvpn-2.0.9.ebuild:
+ Marking openvpn-2.0.9 ppc64 for bug 272546
+
+ 21 Jun 2009; Cédric Krier <cedk@gentoo.org> openvpn-2.1_rc15.ebuild:
+ Remove empty doc dir for bug #272994
+
+ 21 Jun 2009; Cédric Krier <cedk@gentoo.org> openvpn-2.1_rc15.ebuild:
+ Add missing -Wall for plugin
+
+ 21 Jun 2009; Cédric Krier <cedk@gentoo.org> openvpn-2.0.9.ebuild:
+ Add missing missing file for easy-rsa for bug #273586
+
+ 21 Jun 2009; Cédric Krier <cedk@gentoo.org> openvpn-2.1_rc15.ebuild:
+ Fix CFLAGS and LDFLAGS in plugin for bug #263136
+
+ 11 Jun 2009; Jeroen Roovers <jer@gentoo.org> openvpn-2.0.9.ebuild:
+ Stable for HPPA (bug #272546).
+
+ 07 Jun 2009; Tobias Klausmann <klausman@gentoo.org> openvpn-2.0.9.ebuild:
+ Stable on alpha, bug #272546
+
+ 07 Jun 2009; Markus Meier <maekke@gentoo.org> openvpn-2.0.9.ebuild:
+ amd64/x86 stable, bug #272546
+
+ 28 May 2009; Cédric Krier <cedk@gentoo.org> openvpn-2.1_rc15.ebuild:
+ Fix bad header and missing RDEPEND
+
+ 28 May 2009; Cédric Krier <cedk@gentoo.org> files/up.sh:
+ Fix invalid resolv.conf when DOMAIN is empty for bug #269614
+
+ 15 Apr 2009; Cédric Krier <cedk@gentoo.org> files/up.sh:
+ Fix up.sh to add search for all domains for bug #259382
+
+*openvpn-2.1_rc15 (03 Jan 2009)
+
+ 03 Jan 2009; Cédric Krier <cedk@gentoo.org> -openvpn-2.1_rc13.ebuild,
+ +openvpn-2.1_rc15.ebuild:
+ Version bump
+
+ 02 Nov 2008; Cédric Krier <cedk@gentoo.org>
+ +files/openvpn-2.1_rc13-peercred.patch, openvpn-2.1_rc13.ebuild:
+ Add peercred patch for bug #245181
+
+*openvpn-2.1_rc13 (01 Nov 2008)
+
+ 01 Nov 2008; Cédric Krier <cedk@gentoo.org>
+ -files/openvpn-2.1_rc9-tests.patch, -openvpn-2.1_rc9.ebuild,
+ +openvpn-2.1_rc13.ebuild:
+ Version bump
+
+ 01 Nov 2008; Cédric Krier <cedk@gentoo.org> files/openvpn-2.1.init:
+ Fix init script for bug #234667
+
+ 28 Sep 2008; Cédric Krier <cedk@gentoo.org>
+ +files/openvpn-2.1_rc9-tests.patch, openvpn-2.1_rc9.ebuild:
+ Add tests patch for bug #236877
+
+ 02 Aug 2008; Cédric Krier <cedk@gentoo.org> files/openvpn-2.1.init:
+ Add --script-security 2 for bug #233657
+
+*openvpn-2.1_rc9 (01 Aug 2008)
+
+ 01 Aug 2008; Cédric Krier <cedk@gentoo.org>
+ -files/openvpn-2.1_rc7-tap.patch, -openvpn-2.1_rc7-r2.ebuild,
+ +openvpn-2.1_rc9.ebuild:
+ Version bump
+
+*openvpn-2.0.9 (14 May 2008)
+
+ 14 May 2008; Cédric Krier <cedk@gentoo.org>
+ +files/openvpn-2.0.9-pam.patch, +files/openvpn-2.0.9-persistent.patch,
+ +openvpn-2.0.9.ebuild:
+ Version bump
+
+ 13 May 2008; Cédric Krier <cedk@gentoo.org> metadata.xml:
+ Take ownership, after Alon Bar-Lev left
+
+*openvpn-2.1_rc7-r2 (18 Apr 2008)
+
+ 18 Apr 2008; Alon Bar-Lev <alonbl@gentoo.org>
+ files/openvpn-2.1_rc7-tap.patch, -openvpn-2.1_rc7-r1.ebuild,
+ +openvpn-2.1_rc7-r2.ebuild:
+ Fix tun (again), bug#218129, thanks to Sigmatador
+
+*openvpn-2.1_rc7-r1 (16 Apr 2008)
+
+ 16 Apr 2008; Alon Bar-Lev <alonbl@gentoo.org>
+ files/openvpn-2.1_rc7-tap.patch, -openvpn-2.1_rc7.ebuild,
+ +openvpn-2.1_rc7-r1.ebuild:
+ Fix typeo in tun, bug#217956, thanks to Sigmatador
+
+ 17 Feb 2008; Christoph Mende <angelos@gentoo.org> openvpn-2.0.7-r2.ebuild:
+ Stable on amd64, bug #209177
+
+ 12 Feb 2008; Raúl Porcel <armin76@gentoo.org> openvpn-2.0.7-r2.ebuild:
+ alpha/sparc stable wrt #209177
+
+*openvpn-2.1_rc7 (09 Feb 2008)
+
+ 09 Feb 2008; Alon Bar-Lev <alonbl@gentoo.org>
+ -files/openvpn-2.1_rc4-ip6-mss.patch,
+ -files/openvpn-2.1_rc6-iproute.patch, +files/openvpn-2.1_rc7-tap.patch,
+ -openvpn-2.1_rc4-r2.ebuild, -openvpn-2.1_rc6-r1.ebuild,
+ +openvpn-2.1_rc7.ebuild:
+ Version bump, fix bug#209055
+
+ 08 Feb 2008; Tobias Scherbaum <dertobi123@gentoo.org>
+ openvpn-2.0.7-r2.ebuild:
+ ppc stable, bug #209177
+
+ 07 Feb 2008; Jeroen Roovers <jer@gentoo.org> openvpn-2.0.7-r2.ebuild:
+ Stable for HPPA (bug #209177).
+
+ 07 Feb 2008; Christian Faulhammer <opfer@gentoo.org>
+ openvpn-2.0.7-r2.ebuild:
+ restrict tests if USE=ssl is not set
+
+ 07 Feb 2008; Christian Faulhammer <opfer@gentoo.org>
+ openvpn-2.0.7-r2.ebuild:
+ stable x86, bug 209177
+
+ 07 Feb 2008; Brent Baude <ranger@gentoo.org> openvpn-2.0.7-r2.ebuild:
+ stable ppc64, bug 209177
+
+ 30 Jan 2008; Alon Bar-Lev <alonbl@gentoo.org> files/down.sh, files/up.sh:
+ If SVCNAME does not exist avoid doing service magic
+
+ 29 Jan 2008; Diego Pettenò <flameeyes@gentoo.org> files/openvpn-2.1.init,
+ files/openvpn.init:
+ Fix init script dependencies to work without a boot runlevel.
+
+*openvpn-2.1_rc6-r1 (25 Jan 2008)
+
+ 25 Jan 2008; Alon Bar-Lev <alonbl@gentoo.org>
+ +files/openvpn-2.1_rc6-iproute.patch, -openvpn-2.1_rc6.ebuild,
+ +openvpn-2.1_rc6-r1.ebuild:
+ Fix iproute issue, bug#207320, thanks to Graham Murray
+
+*openvpn-2.1_rc6 (24 Jan 2008)
+
+ 24 Jan 2008; Alon Bar-Lev <alonbl@gentoo.org> -openvpn-2.1_rc5.ebuild,
+ +openvpn-2.1_rc6.ebuild:
+ Version bump
+
+*openvpn-2.1_rc5 (23 Jan 2008)
+
+ 23 Jan 2008; Alon Bar-Lev <alonbl@gentoo.org> +openvpn-2.1_rc5.ebuild:
+ Version bump
+
+ 21 Dec 2007; Alon Bar-Lev <alonbl@gentoo.org> metadata.xml:
+ Take ownership, after Roy left
+
+ 25 Sep 2007; Roy Marples <uberlord@gentoo.org> files/openvpn-2.1.conf,
+ files/openvpn-2.1.init, files/down.sh, files/up.sh:
+ PEER_DNS now allows OpenVPN to create /etc/resolv.conf or not, #193668
+
+ 25 Sep 2007; Roy Marples <uberlord@gentoo.org> files/down.sh, files/up.sh:
+ Pass parameters to service specific scripts, #193724 thanks to Sergiy Borodych
+
+ 15 Sep 2007; Roy Marples <uberlord@gentoo.org>
+ -files/openvpn-2.0.4-darwin.patch, openvpn-2.0.6.ebuild,
+ openvpn-2.0.7-r2.ebuild, openvpn-2.1_rc4-r2.ebuild:
+ ppc-macos keyword and patch dropped
+
+*openvpn-2.1_rc4-r2 (16 Aug 2007)
+
+ 16 Aug 2007; Roy Marples <uberlord@gentoo.org>
+ +files/openvpn-2.1_rc4-ip6-mss.patch, +openvpn-2.1_rc4-r2.ebuild:
+ Add a patch to fix mss for IPv6.
+
+ 09 Jul 2007; Roy Marples <uberlord@gentoo.org> openvpn-2.1_rc4.ebuild,
+ openvpn-2.1_rc4-r1.ebuild:
+ Remove BSD warning about MTU as it no longer applies (I think)
+
+ 08 Jul 2007; Roy Marples <uberlord@gentoo.org> files/openvpn-2.1.conf,
+ files/openvpn-2.1.init:
+ RE_ENTER config variable allows custom up/down scripts to re-enter openvpn.
+ Should fix #133107.
+
+*openvpn-2.1_rc4-r1 (29 Jun 2007)
+
+ 29 Jun 2007; Roy Marples <uberlord@gentoo.org> +files/openvpn-2.1.conf,
+ files/openvpn-2.1.init, +openvpn-2.1_rc4-r1.ebuild:
+ DETECT_CLIENT config directive now controls init script behaviour, #181000.
+ IPv6 support added, #183457 thanks to Marcel Pennewiß.
+
+ 08 Jun 2007; Joshua Kinard <kumba@gentoo.org> openvpn-2.0.7-r2.ebuild:
+ Marked unstable on mips, per #181074.
+
+*openvpn-2.1_rc4 (26 Apr 2007)
+
+ 26 Apr 2007; Roy Marples <uberlord@gentoo.org> +openvpn-2.1_rc4.ebuild:
+ Bump, fixes #176001 thanks to boris64.
+
+ 16 Apr 2007; Roy Marples <uberlord@gentoo.org>
+ +files/openvpn-2.1_rc2-freebsd.patch, openvpn-2.0.6.ebuild,
+ openvpn-2.0.7.ebuild, openvpn-2.0.7-r1.ebuild, openvpn-2.0.7-r2.ebuild,
+ openvpn-2.1_rc2.ebuild:
+ static USE flag now does what it says on the tin, #174786
+ thanks to Michael Gisbers.
+ Added a patch to clean up compile and install on FreeBSD.
+
+ 09 Mar 2007; Roy Marples <uberlord@gentoo.org> files/openvpn-2.1.init:
+ Hide ifconfig errors on FreeBSD.
+ Use printf instead of echo -e so we work on all POSIX shells.
+
+*openvpn-2.1_rc2 (04 Mar 2007)
+
+ 04 Mar 2007; Roy Marples <uberlord@gentoo.org> +openvpn-2.1_rc2.ebuild:
+ Bumpage.
+
+*openvpn-2.1_rc1-r2 (23 Feb 2007)
+*openvpn-2.0.7-r2 (23 Feb 2007)
+
+ 23 Feb 2007; Roy Marples <uberlord@gentoo.org> files/openvpn-2.1.init,
+ files/down.sh, files/openvpn.init, files/up.sh, +openvpn-2.0.7-r2.ebuild,
+ +openvpn-2.1_rc1-r2.ebuild:
+ Init scripts no longer require bash.
+
+ 07 Feb 2007; Roy Marples <uberlord@gentoo.org> files/down.sh, files/up.sh:
+ up.sh and down.sh no longer require bash.
+
+ 05 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> openvpn-2.0.6.ebuild,
+ openvpn-2.0.7.ebuild, openvpn-2.0.7-r1.ebuild, openvpn-2.1_rc1.ebuild,
+ openvpn-2.1_rc1-r1.ebuild:
+ Remove gnuconfig_update usage, leave it to econf.
+
+*openvpn-2.1_rc1-r1 (08 Nov 2006)
+*openvpn-2.0.7-r1 (08 Nov 2006)
+
+ 08 Nov 2006; Roy Marples <uberlord@gentoo.org>
+ +files/openvpn-2.0.7-persistent.patch,
+ +files/openvpn-2.1_rc1-persistent.patch, +openvpn-2.0.7-r1.ebuild,
+ +openvpn-2.1_rc1-r1.ebuild:
+ Added patches to enable txqueuelen when making a persistent interface, #150791
+
+ 06 Nov 2006; Roy Marples <uberlord@gentoo.org> openvpn-2.0.6.ebuild,
+ openvpn-2.0.7.ebuild, -openvpn-2.1_beta15.ebuild, openvpn-2.1_rc1.ebuild:
+ die if iproute2 support was requested, but built with the minimal USE flag.
+ Fixes #154191 thanks to Martin Scherer.
+
+*openvpn-2.1_rc1 (02 Nov 2006)
+
+ 02 Nov 2006; Roy Marples <uberlord@gentoo.org> +openvpn-2.1_rc1.ebuild:
+ New upstream version.
+
+ 01 Nov 2006; Roy Marples <uberlord@gentoo.org> files/openvpn-2.1.init,
+ files/up.sh:
+ Ensure we work with all bash versions.
+
+ 17 Oct 2006; Roy Marples <uberlord@gentoo.org> openvpn-2.0.7.ebuild,
+ openvpn-2.1_beta15.ebuild:
+ Added ~sparc-fbsd keyword.
+
+ 14 Oct 2006; Roy Marples <uberlord@gentoo.org> files/openvpn-2.1.init:
+ Quiet stopping.
+
+ 11 Oct 2006; Roy Marples <uberlord@gentoo.org>
+ +files/openvpn-2.0.7-pam.patch, openvpn-2.0.7.ebuild,
+ openvpn-2.1_beta15.ebuild:
+ Add a patch so we work with both LinuxPAM and OpenPAM correctly.
+
+ 05 Oct 2006; Markus Rothe <corsair@gentoo.org> openvpn-2.1_beta15.ebuild:
+ Added ~ppc64
+
+ 13 Sep 2006; Roy Marples <uberlord@gentoo.org> -openvpn-2.1_beta14.ebuild,
+ openvpn-2.1_beta15.ebuild:
+ Fix plugin install, #147308 again.
+
+*openvpn-2.1_beta15 (12 Sep 2006)
+
+ 12 Sep 2006; Roy Marples <uberlord@gentoo.org> files/up.sh,
+ +openvpn-2.1_beta15.ebuild:
+ Version bump, #147308 thanks to Alon Bar-Lev.
+ Fix up.sh for FreeBSD.
+
+ 10 Sep 2006; Roy Marples <uberlord@gentoo.org> files/openvpn-2.1.init:
+ Add FreeBSD support
+
+ 08 Jul 2006; Markus Rothe <corsair@gentoo.org> openvpn-2.0.6.ebuild:
+ Stable on ppc64
+
+ 06 Jul 2006; Roy Marples <uberlord@gentoo.org> files/openvpn-2.1.init,
+ files/openvpn.init:
+ Allow periods in config names, #139454 thanks to Ed Catmur.
+
+*openvpn-2.0.7 (29 Jun 2006)
+
+ 29 Jun 2006; Roy Marples <uberlord@gentoo.org> +openvpn-2.0.7.ebuild:
+ Bump, #138250, thanks to Armando Di Cianno.
+
+ 15 May 2006; Brent Baude <ranger@gentoo.org> openvpn-2.0.6.ebuild:
+ Marking openvpn-2.0.6 ~ppc64 per bug request 133417
+
+ 12 May 2006; Roy Marples <uberlord@gentoo.org> files/down.sh, files/up.sh:
+ up.sh and down.sh now save and restore resolv.conf if we don't
+ have resolvconf installed, #132932.
+
+ 10 May 2006; Roy Marples <uberlord@gentoo.org> openvpn-2.1_beta14.ebuild,
+ files/up.sh:
+ up.sh no longer overwrites resolv.conf if no dns
+ information has been given to us by openvpn.
+
+ Dropped the smartcard USE flag and opensc dependency as requested by the
+ openvpn pcks11 patch author Alon Bar-Lev, #118435.
+
+*openvpn-2.1_beta14 (09 May 2006)
+
+ 09 May 2006; Roy Marples <uberlord@gentoo.org> +files/openvpn-2.1.init,
+ +files/down.sh, +files/up.sh, +openvpn-2.1_beta14.ebuild:
+ New upstream beta release with smartcard support (#118435).
+ We now add an openvpn user/group so you can drop root if you wish (#120425).
+
+ If you use the remote keyword in your config then you are deemed to be a
+ client and we force our up/down scripts to be used. These scripts start/stop
+ any services depending on openvpn AND apply any DNS information to resolvconf
+ or /etc/resolv.conf directly if resolvconf is not installed.
+
+ 05 May 2006; Roy Marples <uberlord@gentoo.org> files/openvpn.init:
+ Tweak init script to start before netmount.
+
+ 24 Apr 2006; Roy Marples <uberlord@gentoo.org> -openvpn-2.0.5-r2.ebuild,
+ openvpn-2.0.6.ebuild:
+ Stop installing INSTALL document.
+
+ 09 Apr 2006; Fabian Groffen <grobian@gentoo.org> openvpn-2.0.6.ebuild:
+ Marked ppc-macos stable (bug #128888)
+
+ 08 Apr 2006; Bryan Østergaard <kloeri@gentoo.org openvpn-2.0.6.ebuild:
+ Stable on alpha, bug 128888.
+
+ 07 Apr 2006; Rene Nussbaumer <killerfox@gentoo.org> openvpn-2.0.6.ebuild:
+ Stable on hppa. See bug #128888.
+
+ 05 Apr 2006; Andrej Kacian <ticho@gentoo.org> openvpn-2.0.6.ebuild:
+ Stable on x86, bug #128888.
+
+ 05 Apr 2006; Patrick McLean <chutzpah@gentoo.org> openvpn-2.0.6.ebuild:
+ Stable on amd64 (bug 128888).
+
+ 05 Apr 2006; Gustavo Zacarias <gustavoz@gentoo.org> openvpn-2.0.6.ebuild:
+ Stable on sparc wrt security #128888
+
+ 05 Apr 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+ openvpn-2.0.6.ebuild:
+ ppc stable, bug #128888
+
+*openvpn-2.0.6 (05 Apr 2006)
+
+ 05 Apr 2006; Roy Marples <uberlord@gentoo.org> +openvpn-2.0.6.ebuild:
+ New upstream release.
+
+ 08 Feb 2006; Roy Marples <uberlord@gentoo.org> openvpn-2.0.5-r2.ebuild:
+ Marking stable on ppc-macos so I can punt older versions, #117111.
+ It's just an init script anyway, so shouldn't affect things.
+
+ 07 Feb 2006; Aron Griffis <agriffis@gentoo.org> openvpn-2.0.5-r2.ebuild:
+ Mark 2.0.5-r2 stable on alpha
+
+ 05 Feb 2006; Guy Martin <gmsoft@gentoo.org> openvpn-2.0.5-r2.ebuild:
+ Stable on hppa.
+
+ 08 Jan 2006; Carsten Lohrke <carlo@gentoo.org> metadata.xml:
+ One maintainer retired, one left.
+
+ 05 Jan 2006; Simon Stelling <blubb@gentoo.org> openvpn-2.0.5-r2.ebuild:
+ stable on amd64
+
+ 02 Jan 2006; Michael Hanselmann <hansmi@gentoo.org>
+ openvpn-2.0.5-r2.ebuild:
+ Stable on ppc.
+
+ 30 Dec 2005; Roy Marples <uberlord@gentoo.org> openvpn-2.0.5-r2.ebuild:
+ Stable on x86, #117111.
+
+ 30 Dec 2005; Gustavo Zacarias <gustavoz@gentoo.org>
+ openvpn-2.0.5-r2.ebuild:
+ Stable on sparc wrt #117111
+
+ 08 Nov 2005; Roy Marples <uberlord@gentoo.org> -openvpn-2.0.1.ebuild,
+ -openvpn-2.0.2.ebuild, -openvpn-2.0.2-r3.ebuild, -openvpn-2.0.4-r1.ebuild,
+ -openvpn-2.0.4-r2.ebuild, -openvpn-2.0.5-r1.ebuild:
+ Punted a few versions.
+
+*openvpn-2.0.5-r2 (06 Nov 2005)
+
+ 06 Nov 2005; Roy Marples <uberlord@gentoo.org> openvpn-2.0.5.ebuild,
+ +openvpn-2.0.5-r2.ebuild:
+ easyrsa pkitool is now installed, #111635.
+ easyrsa no longer gets installed when minimum USE flag is set.
+
+ 06 Nov 2005; Simon Stelling <blubb@gentoo.org> openvpn-2.0.5.ebuild:
+ stable on amd64 wrt bug 111116
+
+ 05 Nov 2005; Bryan Østergaard <kloeri@gentoo.org> openvpn-2.0.5.ebuild:
+ Stable on alpha, bug 111116.
+
+ 04 Nov 2005; Gustavo Zacarias <gustavoz@gentoo.org> openvpn-2.0.5.ebuild:
+ Stable on sparc wrt #111116
+
+ 04 Nov 2005; Fabian Groffen <grobian@gentoo.org> openvpn-2.0.5.ebuild:
+ Marked ppc-macos for bug #111116 (again)
+
+ 04 Nov 2005; Mark Loeser <halcy0n@gentoo.org> openvpn-2.0.5.ebuild:
+ Stable on x86; bug #111116
+
+ 03 Nov 2005; Michael Hanselmann <hansmi@gentoo.org> openvpn-2.0.5.ebuild:
+ Stable on ppc. See bug #111116.
+
+*openvpn-2.0.5-r1 (03 Nov 2005)
+*openvpn-2.0.5 (03 Nov 2005)
+
+ 03 Nov 2005; Roy Marples <uberlord@gentoo.org> +openvpn-2.0.5.ebuild,
+ +openvpn-2.0.5-r1.ebuild:
+ Version bump - fixes some serious issues 2.0.4 had
+ 2.0.5 has old init script
+ 2.0.5-r1 has new init script
+
+ 03 Nov 2005; Roy Marples <uberlord@gentoo.org> openvpn-2.0.4-r1.ebuild,
+ openvpn-2.0.4-r2.ebuild:
+ easy-rsa now gets installed properly, #111351
+
+ 03 Nov 2005; Gustavo Zacarias <gustavoz@gentoo.org>
+ openvpn-2.0.4-r1.ebuild:
+ Stable on sparc wrt #111116
+
+ 02 Nov 2005; Fabian Groffen <grobian@gentoo.org>
+ +files/openvpn-2.0.4-darwin.patch, openvpn-2.0.4-r1.ebuild,
+ openvpn-2.0.4-r2.ebuild:
+ Fixed compilation problem on Darwin and marked ppc-macos (bug #111116)
+
+*openvpn-2.0.4-r2 (02 Nov 2005)
+*openvpn-2.0.4-r1 (02 Nov 2005)
+
+ 02 Nov 2005; Roy Marples <uberlord@gentoo.org> -openvpn-2.0.4.ebuild,
+ +openvpn-2.0.4-r1.ebuild, +openvpn-2.0.4-r2.ebuild:
+ 2.0.4 removed as it had the new init script
+ 2.0.4-r1 added with old init script
+ 2.0.4-r2 added with new init script
+
+ 02 Nov 2005; Roy Marples <uberlord@gentoo.org> openvpn-2.0.4.ebuild:
+ Fixed pam issue when building plugins, #111267
+
+ 02 Nov 2005; Michael Hanselmann <hansmi@gentoo.org> openvpn-2.0.4.ebuild:
+ Stable on ppc.
+
+ 02 Nov 2005; Andrej Kacian <ticho@gentoo.org> openvpn-2.0.4.ebuild:
+ Stable on x86, security bug #111116.
+
+*openvpn-2.0.4 (02 Nov 2005)
+
+ 02 Nov 2005; Roy Marples <uberlord@gentoo.org> metadata.xml,
+ +openvpn-2.0.4.ebuild:
+ Added myself as a maintainer until luckyduck comes back online
+
+ Version bump, wrt bug #111116
+
+ Examples flag really now works, #100943
+
+ init script now appends the --cd option only when the same option
+ is not specified in the config file, #109363
+
+ 15 Oct 2005; Roy Marples <uberlord@gentoo.org> openvpn-2.0.2-r3.ebuild:
+ plugins now really install to /usr/lib/openvpn
+
+*openvpn-2.0.2-r3 (14 Oct 2005)
+
+ 14 Oct 2005; Roy Marples <uberlord@gentoo.org> files/openvpn.init,
+ -openvpn-2.0.2-r2.ebuild, +openvpn-2.0.2-r3.ebuild:
+ init script now modprobes tun if /dev/tun does not exist and errors
+ if tun/tap support is not enabled in the kernel
+
+ iproute2 USE flag fixed as --disable-iproute2 also enables it in the Makefile
+
+*openvpn-2.0.2-r2 (14 Oct 2005)
+
+ 14 Oct 2005; Roy Marples <uberlord@gentoo.org> files/openvpn.init,
+ -openvpn-2.0.2-r1.ebuild, +openvpn-2.0.2-r2.ebuild:
+ Rev bump for new init script which stops properly on baselayout-1.11 and
+ earlier.
+
+ 14 Oct 2005; Roy Marples <uberlord@gentoo.org> openvpn-2.0.2-r1.ebuild:
+ Added net-tools as a dependency if iproute2 USE flag is not used.
+
+*openvpn-2.0.2-r1 (13 Oct 2005)
+
+ 13 Oct 2005; Roy Marples <uberlord@gentoo.org> +files/openvpn.init,
+ +openvpn-2.0.2-r1.ebuild:
+ New init script which allows more granular control of seperate vpns, #105439
+ Install all docs, #100943
+ new iproute2 USE flag, #98782 thanks to Sean Lynn
+ new static USE flag, #105479 thanks to Clemens Noss
+ new minimal USE flag which decides to build bundled plugins or not, #103711
+
+*openvpn-2.0.2 (19 Sep 2005)
+
+ 19 Sep 2005; Seemant Kulleen <seemant@gentoo.org> -openvpn-2.0.ebuild,
+ -openvpn-2.0-r1.ebuild, +openvpn-2.0.2.ebuild:
+ version bump to newest upstream release. wfm, and luckyduck is missing.
+ Closes bug #103913
+
+ 15 Sep 2005; Aron Griffis <agriffis@gentoo.org> openvpn-2.0.1.ebuild:
+ Mark 2.0.1 stable on alpha
+
+ 30 Aug 2005; Gustavo Zacarias <gustavoz@gentoo.org> openvpn-2.0.1.ebuild:
+ Stable on sparc wrt #102871
+
+ 24 Aug 2005; Olivier Crête <tester@gentoo.org> openvpn-2.0.1.ebuild:
+ Stable on x86 per security bug #102871
+
+ 21 Aug 2005; Fabian Groffen <grobian@gentoo.org> openvpn-2.0.1.ebuild:
+ Stable on ppc-macos (bug #102871)
+
+ 21 Aug 2005; Michael Hanselmann <hansmi@gentoo.org> openvpn-2.0.1.ebuild:
+ Stable on ppc.
+
+ 21 Aug 2005; Luis Medinas <metalgod@gentoo.org> openvpn-2.0.1.ebuild:
+ Marked Stable on AMD64. Fixes bug #102871.
+
+*openvpn-2.0.1 (21 Aug 2005)
+
+ 21 Aug 2005; petre rodan <kaiowas@gentoo.org> +openvpn-2.0.1.ebuild:
+ version bump as per security bug #102871; added selinux RDEPEND
+
+ 25 Jun 2005; Jan Brinkmann <luckyduck@gentoo.org> openvpn-2.0-r1.ebuild:
+ -r1 installs the initscript again, fixes #96855.
+
+ 18 Jun 2005; Jason Wever <weeve@gentoo.org> openvpn-2.0.ebuild:
+ Stable on SPARC.
+
+ 09 Jun 2005; Jan Brinkmann <luckyduck@gentoo.org> openvpn-2.0-r1.ebuild:
+ Minor fixes.
+
+*openvpn-2.0-r1 (30 May 2005)
+
+ 30 May 2005; Jan Brinkmann <luckyduck@gentoo.org> files/openvpn,
+ +openvpn-2.0-r1.ebuild:
+ make use of our initscript again, fixes #94350. the initscript now supports
+ checking if a connection is already online, see #92369 for details. thanks
+ to Christian Hesse <mail@earthworm.de> for the suggestion.
+
+ 28 May 2005; Jan Brinkmann <luckyduck@gentoo.org> openvpn-2.0.ebuild:
+ stable on amd64, ppc and x86
+
+ 07 May 2005; Jeffrey Forman <jforman@gentoo.org> openvpn-1.6.0.ebuild:
+ openvpn-1.6.0 stable on sparc
+
+ 01 May 2005; Jan Brinkmann <luckyduck@gentoo.org> openvpn-1.5.0-r1.ebuild,
+ openvpn-1.6.0.ebuild:
+ marked 1.6.0 stable on amd64 and x86, some cosmetic changes.
+
+ 29 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> metadata.xml:
+ herd -> secure-tunneling
+
+ 29 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> openvpn-2.0.ebuild:
+ added a compatibility warning.
+
+*openvpn-2.0 (29 Apr 2005)
+
+ 29 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> metadata.xml,
+ -openvpn-1.1.0.ebuild, -openvpn-1.3.1.ebuild, -openvpn-1.3.2.ebuild,
+ -openvpn-1.3.2-r1.ebuild, -openvpn-1.4.2.ebuild, -openvpn-1.5.0.ebuild,
+ +openvpn-2.0.ebuild:
+ added ebuild for 2.0, fixes #50767. also updated metadata.xml, took over
+ maintainership. did some cleanup, removed older versions. introduced support
+ for the examples useflag.
+
+ 05 Feb 2005; <solar@gentoo.org> openvpn-1.5.0-r1.ebuild,
+ openvpn-1.6.0.ebuild:
+ - q/a fix. os-headers are not needed in RDEPEND
+
+ 23 Jan 2005; Daniel Black <dragonheart@gentoo.org> openvpn-1.5.0-r1.ebuild,
+ openvpn-1.6.0.ebuild:
+ threads is now a global use flags. Changed pthreads to threads.
+
+ 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
+ Change encoding to UTF-8 for GLEP 31 compliance
+
+ 18 Dec 2004; Simon Stelling <blubb@gentoo.org> openvpn-1.6.0.ebuild:
+ added ~amd64
+
+ 24 Nov 2004; Kito <kito@gentoo.org> openvpn-1.6.0.ebuild:
+ added ~ppc-macos. closes bug Bug 72324
+
+ 17 Oct 2004; <solar@gentoo.org> openvpn-1.5.0-r1.ebuild,
+ openvpn-1.6.0.ebuild:
+ added gnuconfig_update for bug #61187
+
+*openvpn-1.6.0 (02 Oct 2004)
+
+ 02 Oct 2004; Joshua Charles Campbell <warpzero@gentoo.org> openvpn-1.6.0.ebuild:
+ Version bump
+
+ 02 Oct 2004; Bryan Østergaard <kloeri@gentoo.org> openvpn-1.5.0-r1.ebuild:
+ Keyword ~alpha, bug 65839.
+
+ 25 Aug 2004; Sven Wegener <swegener@gentoo.org> openvpn-1.1.0.ebuild,
+ openvpn-1.3.1.ebuild, openvpn-1.3.2-r1.ebuild, openvpn-1.3.2.ebuild,
+ openvpn-1.4.2.ebuild, openvpn-1.5.0-r1.ebuild, openvpn-1.5.0.ebuild:
+ Changed SRC_URI to use mirror:// syntax.
+
+ 09 Jul 2004; Travis Tilley <lv@gentoo.org> openvpn-1.5.0-r1.ebuild,
+ openvpn-1.5.0.ebuild:
+ switch linux-headers dependency to virtual/os-headers
+
+ 25 Mar 2004; Jason Wever <weeve@gentoo.org> openvpn-1.5.0-r1.ebuild:
+ Marked stable on sparc.
+
+*openvpn-1.5.0-r1 (15 Mar 2004)
+
+ 15 Mar 2004; <warpzero@gentoo.org> metadata.xml, openvpn-1.5.0-r1.ebuild;
+ Added pthreads support and made the ebuild actually consider its use flags, wow.
+
+*openvpn-1.5.0 (24 Dec 2003)
+
+*openvpn-1.4.2 (03 Aug 2003)
+
+ 03 Aug 2003; <warpzero@gentoo.org> metadata.xml, openvpn-1.5.0.ebuild:
+ version 1.5.0 added
+ fixed init script added. Closes several bugs.
+
+*openvpn-1.4.2 (03 Aug 2003)
+
+ 03 Aug 2003; <warpzero@gentoo.org> metadata.xml, openvpn-1.4.2.ebuild:
+ ~ppc keyword
+
+*openvpn-1.4.2 (03 Aug 2003)
+
+ 03 Aug 2003; <warpzero@gentoo.org> metadata.xml, openvpn-1.4.2.ebuild:
+ version 1.4.2 added
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*openvpn-1.3.2-r1 (20 May 2003)
+
+ 20 May 2003; Ryan Phillips <rphillips@gentoo.org> openvpn-1.3.2-r1.ebuild :
+ Included init script. Bug #20085 Fixed. Submitted by Warp Zero
+
+*openvpn-1.3.2 (31 Jan 2003)
+
+ 31 Jan 2003; Ryan Phillips <rphillips@gentoo.org> openvpn-1.3.2 :
+
+ new version.
+
+*openvpn-1.3.1 (15 Jul 2002)
+
+ 15 Jul 2002; Ryan Phillips <rphillips@gentoo.org> openvpn-1.3.1 :
+
+ new version. Thanks to Marko Mikulicic
+
+*openvpn-1.1.0 (26 May 2002)
+
+ 09 Jul 2002; phoen][x <phoenix@gentoo.org> openvpn-1.1.0.ebuild :
+ Added KEYWORDS.
+
+ 26 May 2002; Mike Jones <ashmodai@gentoo.org> ChangeLog, openvpn-1.1.0.ebuild:
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
+
View
13 net-misc/openvpn/Manifest
@@ -0,0 +1,13 @@
+AUX 65openvpn 45 RMD160 580e7f52f0c5ba91d3bc91f1155afc43fb153a96 SHA1 0d58cc3a3093e8df4b6e423934e93691722739b3 SHA256 d5758e39fdc75dcbb5a788b1afa743c3c1f08c63c535aa32c300b965474d765c
+AUX down.sh 943 RMD160 db43a525c9eb2ccb538e938e0b7f4359af22e4de SHA1 261acc68a24108526345a7d117bba15dbcebaa6e SHA256 39debebcd8c899f20e6d355cbc8eaab46e28b83a9f6c33a94c065688a4f3d2c7
+AUX openvpn-2.1.conf 892 RMD160 687a747ed2f801b051438d02da8fcd44c6954484 SHA1 e65db7d972483c9391ef92d2931d9db7b69e4329 SHA256 330149a83684ddabe413d134d4c8efad4c88b18c2ab67165014deff5f7fffad2
+AUX openvpn-2.1.init 4186 RMD160 e71c8cb5abee5d1b7c6485fc910f35822330a853 SHA1 a25b319834208d7ac65b090f85ee500f5e752cdc SHA256 d1b1f8a00935d77521bceb62535350444df3470fa45f4d33c3934051a1bb595b
+AUX openvpn-2.1_rc13-peercred.patch 251 RMD160 26123eedc9b685fb01de93c1141588f8008562f5 SHA1 8132510ebbd891ec55ef36d0cb8a86cb64a0145f SHA256 e7c2025ec49d3a5c2d95d80ee3c26ed9ccd0587d1664860b3a1eceb2bb7c778f
+AUX openvpn-2.2.1-pkcs11.patch 1080 RMD160 1ed385f7137e75a085ae59a98ea32c7430347b66 SHA1 c09bb78d9b2312f198fb7ce2363d07179976a932 SHA256 20247a5f5962ca1f6c09209ff07d7dfbc34899ad420b2f658cc5071e46ec1942
+AUX openvpn.init 1486 RMD160 7005230b0dc3ea400aa22c9a01c2aa034d8baace SHA1 1670c08a2bec65c2e3529aec8d377bad6cb2e0e5 SHA256 c4b9e0899fa5ee0b90c5100da7711dc7a6a5658f10042b0feda9e7efb90a11cf
+AUX up.sh 2594 RMD160 17576f73e6de08828aeda2a8776b4a36331fa855 SHA1 4eb4d1e857053f86ea886dec8e8e6f45174df774 SHA256 848da0929c37b2112769232fbbdf61961b6107c6726d4b74d1ceb034b39ad5dd
+DIST openvpn-2.2.1-ipv6-20110825-1.patch.gz 34877 RMD160 dbefda0f86a39046d8ad333d80b740d6aa5c0999 SHA1 6522312cb78adef12d1c0ffff56f7e48bff22456 SHA256 431f463c5230477b7c99b6be586843f2a1b64251b0a341c59bdb19db6268c7aa
+DIST openvpn-2.2.1.tar.gz 911472 RMD160 115ff6ac548014d38da9e21bbb91103bcbb0cd09 SHA1 d5a8e9c635aa330eae8e66e1ccbe2b98e4c3047b SHA256 a860858cc92d4573399bb2ff17ac62d9b4b8939e6af0b8cc69150ba39d6e94e0
+EBUILD openvpn-2.2.1.ebuild 5297 RMD160 5b391272210fb9f149671715537e566101d57633 SHA1 1b51aa2d40c080b2d21ce86c18391727f0ddb5ed SHA256 675c0f8c7fb7608ebd59205ce3078664c5caa6694c8303689e99d8e3e0ceec24
+MISC ChangeLog 31866 RMD160 483e2a7e215d13361f2e1fa0fa3be19fe3b083d4 SHA1 704e915e263fea454454b2cf55524fba7c328842 SHA256 322465f769690d3e78c1faa278c44b24bcdff1589d38d7e37bc5778542558ba2
+MISC metadata.xml 808 RMD160 40e1ada3063edc2ae986c33b1ad78d150bcb4523 SHA1 5a8edc3cf4a935ebc255b71327c4e5cc8362f0ed SHA256 06fb4ae72a9389520966db3f497088b9d23de0ef0b1e74d5c2066980bef221a1
View
1 net-misc/openvpn/files/65openvpn
@@ -0,0 +1 @@
+CONFIG_PROTECT="/usr/share/openvpn/easy-rsa"
View
33 net-misc/openvpn/files/down.sh
@@ -0,0 +1,33 @@
+#!/bin/sh
+# Copyright (c) 2006-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# Contributed by Roy Marples (uberlord@gentoo.org)
+
+# If we have a service specific script, run this now
+if [ -x /etc/openvpn/"${SVCNAME}"-down.sh ] ; then
+ /etc/openvpn/"${SVCNAME}"-down.sh "$@"
+fi
+
+# Restore resolv.conf to how it was
+if [ "${PEER_DNS}" != "no" ]; then
+ if [ -x /sbin/resolvconf ] ; then
+ /sbin/resolvconf -d "${dev}"
+ elif [ -e /etc/resolv.conf-"${dev}".sv ] ; then
+ # Important that we copy instead of move incase resolv.conf is
+ # a symlink and not an actual file
+ cp /etc/resolv.conf-"${dev}".sv /etc/resolv.conf
+ rm -f /etc/resolv.conf-"${dev}".sv
+ fi
+fi
+
+if [ -n "${SVCNAME}" ]; then
+ # Re-enter the init script to start any dependant services
+ if /etc/init.d/"${SVCNAME}" --quiet status ; then
+ export IN_BACKGROUND=true
+ /etc/init.d/"${SVCNAME}" --quiet stop
+ fi
+fi
+
+exit 0
+
+# vim: ts=4 :
View
18 net-misc/openvpn/files/openvpn-2.1.conf
@@ -0,0 +1,18 @@
+# OpenVPN automatically creates an /etc/resolv.conf (or sends it to
+# resolvconf) if given DNS information by the OpenVPN server.
+# Set PEER_DNS="no" to stop this.
+PEER_DNS="yes"
+
+# OpenVPN can run in many modes. Most people will want the init script
+# to automatically detect the mode and try and apply a good default
+# configuration and setup scripts. However, there are cases where the
+# OpenVPN configuration looks like a client, but it's really a peer or
+# something else. DETECT_CLIENT controls this behaviour.
+DETECT_CLIENT="yes"
+
+# If DETECT_CLIENT is no and you have your own scripts to re-enter the openvpn
+# init script (ie, it first becomes "inactive" and the script then starts the
+# script again to make it "started") then you can state this below.
+# In other words, unless you understand service dependencies and are a
+# competent shell scripter, don't set this.
+RE_ENTER="no"
View
133 net-misc/openvpn/files/openvpn-2.1.init
@@ -0,0 +1,133 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+VPNDIR=${VPNDIR:-/etc/openvpn}
+VPN=${SVCNAME#*.}
+if [ -n "${VPN}" ] && [ ${SVCNAME} != "openvpn" ]; then
+ VPNPID="/var/run/openvpn.${VPN}.pid"
+else
+ VPNPID="/var/run/openvpn.pid"
+fi
+VPNCONF="${VPNDIR}/${VPN}.conf"
+
+depend() {
+ need localmount net
+ use dns
+ after bootmisc
+}
+
+checkconfig() {
+ # Linux has good dynamic tun/tap creation
+ if [ $(uname -s) = "Linux" ] ; then
+ if [ ! -e /dev/net/tun ]; then
+ if ! modprobe tun ; then
+ eerror "TUN/TAP support is not available" \
+ "in this kernel"
+ return 1
+ fi
+ fi
+ if [ -h /dev/net/tun ] && [ -c /dev/misc/net/tun ]; then
+ ebegin "Detected broken /dev/net/tun symlink, fixing..."
+ rm -f /dev/net/tun
+ ln -s /dev/misc/net/tun /dev/net/tun
+ eend $?
+ fi
+ return 0
+ fi
+
+ # Other OS's don't, so we rely on a pre-configured interface
+ # per vpn instance
+ local ifname=$(sed -n -e 's/[[:space:]]*dev[[:space:]][[:space:]]*\([^[:space:]]*\).*/\1/p' "${VPNCONF}")
+ if [ -z ${ifname} ] ; then
+ eerror "You need to specify the interface that this openvpn" \
+ "instance should use" \
+ "by using the dev option in ${VPNCONF}"
+ return 1
+ fi
+
+ if ! ifconfig "${ifname}" >/dev/null 2>/dev/null ; then
+ # Try and create it
+ echo > /dev/"${ifname}" >/dev/null
+ fi
+ if ! ifconfig "${ifname}" >/dev/null 2>/dev/null ; then
+ eerror "${VPNCONF} requires interface ${ifname}" \
+ "but that does not exist"
+ return 1
+ fi
+}
+
+start() {
+ # If we are re-called by the openvpn gentoo-up.sh script
+ # then we don't actually want to start openvpn
+ [ "${IN_BACKGROUND}" = "true" ] && return 0
+
+ ebegin "Starting ${SVCNAME}"
+
+ checkconfig || return 1
+
+ local args="" reenter=${RE_ENTER:-no}
+ # If the config file does not specify the cd option, we do
+ # But if we specify it, we override the config option which we do not want
+ if ! grep -q "^[ ]*cd[ ].*" "${VPNCONF}" ; then
+ args="${args} --cd ${VPNDIR}"
+ fi
+
+ # We mark the service as inactive and then start it.
+ # When we get an authenticated packet from the peer then we run our script
+ # which configures our DNS if any and marks us as up.
+ if [ "${DETECT_CLIENT:-yes}" = "yes" ] && \
+ grep -q "^[ ]*remote[ ].*" "${VPNCONF}" ; then
+ reenter="yes"
+ args="${args} --up-delay --up-restart"
+ args="${args} --script-security 2"
+ args="${args} --up /etc/openvpn/up.sh"
+ args="${args} --down-pre --down /etc/openvpn/down.sh"
+
+ # Warn about setting scripts as we override them
+ if grep -Eq "^[ ]*(up|down)[ ].*" "${VPNCONF}" ; then
+ ewarn "WARNING: You have defined your own up/down scripts"
+ ewarn "As you're running as a client, we now force Gentoo specific"
+ ewarn "scripts to be run for up and down events."
+ ewarn "These scripts will call /etc/openvpn/${SVCNAME}-{up,down}.sh"
+ ewarn "where you can put your own code."
+ fi
+
+ # Warn about the inability to change ip/route/dns information when
+ # dropping privs
+ if grep -q "^[ ]*user[ ].*" "${VPNCONF}" ; then
+ ewarn "WARNING: You are dropping root privileges!"
+ ewarn "As such openvpn may not be able to change ip, routing"
+ ewarn "or DNS configuration."
+ fi
+ else
+ # So we're a server. Run as openvpn unless otherwise specified
+ grep -q "^[ ]*user[ ].*" "${VPNCONF}" || args="${args} --user openvpn"
+ grep -q "^[ ]*group[ ].*" "${VPNCONF}" || args="${args} --group openvpn"
+ fi
+
+ # Ensure that our scripts get the PEER_DNS variable
+ [ -n "${PEER_DNS}" ] && args="${args} --setenv PEER_DNS ${PEER_DNS}"
+
+ [ "${reenter}" = "yes" ] && mark_service_inactive "${SVCNAME}"
+ start-stop-daemon --start --exec /usr/sbin/openvpn --pidfile "${VPNPID}" \
+ -- --config "${VPNCONF}" --writepid "${VPNPID}" --daemon \
+ --setenv SVCNAME "${SVCNAME}" ${args}
+ eend $? "Check your logs to see why startup failed"
+}
+
+stop() {
+ # If we are re-called by the openvpn gentoo-down.sh script
+ # then we don't actually want to stop openvpn
+ if [ "${IN_BACKGROUND}" = "true" ] ; then
+ mark_service_inactive "${SVCNAME}"
+ return 0
+ fi
+
+ ebegin "Stopping ${SVCNAME}"
+ start-stop-daemon --stop --quiet \
+ --exec /usr/sbin/openvpn --pidfile "${VPNPID}"
+ eend $?
+}
+
+# vim: set ts=4 :
View
10 net-misc/openvpn/files/openvpn-2.1_rc13-peercred.patch
@@ -0,0 +1,10 @@
+--- socket.c~ 2008-11-02 01:39:00.406009999 +0100
++++ socket.c 2008-11-02 01:39:00.406009999 +0100
+@@ -22,6 +22,7 @@
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++#define _GNU_SOURCE
+ #include "syshead.h"
+
+ #include "socket.h"
View
32 net-misc/openvpn/files/openvpn-2.2.1-pkcs11.patch
@@ -0,0 +1,32 @@
+--- openvpn-2.1_rc20~/easy-rsa/2.0/openssl-0.9.8.cnf~ 2011-10-10 15:10:33.027120093 +0400
++++ openvpn-2.1_rc20~/easy-rsa/2.0/openssl-0.9.8.cnf 2011-10-10 15:11:07.447120924 +0400
+@@ -283,8 +283,8 @@
+ #pkcs11 = pkcs11_section
+
+ [ pkcs11_section ]
+-engine_id = pkcs11
+-dynamic_path = /usr/lib/engines/engine_pkcs11.so
+-MODULE_PATH = $ENV::PKCS11_MODULE_PATH
+-PIN = $ENV::PKCS11_PIN
+-init = 0
++#engine_id = pkcs11
++#dynamic_path = /usr/lib/engines/engine_pkcs11.so
++#MODULE_PATH = $ENV::PKCS11_MODULE_PATH
++#PIN = $ENV::PKCS11_PIN
++#init = 0
+--- openvpn-2.1_rc20~/easy-rsa/2.0/openssl-1.0.0.cnf~ 2011-10-10 15:10:36.257120163 +0400
++++ openvpn-2.1_rc20~/easy-rsa/2.0/openssl-1.0.0.cnf 2011-10-10 15:11:20.296121202 +0400
+@@ -278,8 +278,8 @@
+ #pkcs11 = pkcs11_section
+
+ [ pkcs11_section ]
+-engine_id = pkcs11
+-dynamic_path = /usr/lib/engines/engine_pkcs11.so
+-MODULE_PATH = $ENV::PKCS11_MODULE_PATH
+-PIN = $ENV::PKCS11_PIN
+-init = 0
++#engine_id = pkcs11
++#dynamic_path = /usr/lib/engines/engine_pkcs11.so
++#MODULE_PATH = $ENV::PKCS11_MODULE_PATH
++#PIN = $ENV::PKCS11_PIN
++#init = 0
View
63 net-misc/openvpn/files/openvpn.init
@@ -0,0 +1,63 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+VPNDIR="/etc/openvpn"
+VPN="${SVCNAME#*.}"
+if [ -n "${VPN}" ] && [ "${SVCNAME}" != "openvpn" ]; then
+ VPNPID="/var/run/openvpn.${VPN}.pid"
+else
+ VPNPID="/var/run/openvpn.pid"
+fi
+VPNCONF="${VPNDIR}/${VPN}.conf"
+
+depend() {
+ need localmount net
+ before netmount
+ after bootmisc
+}
+
+checktundevice() {
+ if [ ! -e /dev/net/tun ]; then
+ if ! modprobe tun ; then
+ eerror "TUN/TAP support is not available in this kernel"
+ return 1
+ fi
+ fi
+ if [ -h /dev/net/tun ] && [ -c /dev/misc/net/tun ]; then
+ ebegin "Detected broken /dev/net/tun symlink, fixing..."
+ rm -f /dev/net/tun
+ ln -s /dev/misc/net/tun /dev/net/tun
+ eend $?
+ fi
+}
+
+start() {
+ ebegin "Starting ${SVCNAME}"
+
+ checktundevice || return 1
+
+ if [ ! -e "${VPNCONF}" ]; then
+ eend 1 "${VPNCONF} does not exist"
+ return 1
+ fi
+
+ local args=""
+ # If the config file does not specify the cd option, we do
+ # But if we specify it, we override the config option which we do not want
+ if ! grep -q "^[ ]*cd[ ].*" "${VPNCONF}" ; then
+ args="${args} --cd ${VPNDIR}"
+ fi
+
+ start-stop-daemon --start --exec /usr/sbin/openvpn --pidfile "${VPNPID}" \
+ -- --config "${VPNCONF}" --writepid "${VPNPID}" --daemon ${args}
+ eend $? "Check your logs to see why startup failed"
+}
+
+stop() {
+ ebegin "Stopping ${SVCNAME}"
+ start-stop-daemon --stop --exec /usr/sbin/openvpn --pidfile "${VPNPID}"
+ eend $?
+}
+
+# vim: ts=4
View
82 net-misc/openvpn/files/up.sh
@@ -0,0 +1,82 @@
+#!/bin/sh
+# Copyright (c) 2006-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# Contributed by Roy Marples (uberlord@gentoo.org)
+
+# Setup our resolv.conf
+# Vitally important that we use the domain entry in resolv.conf so we
+# can setup the nameservers are for the domain ONLY in resolvconf if
+# we're using a decent dns cache/forwarder like dnsmasq and NOT nscd/libc.
+# nscd/libc users will get the VPN nameservers before their other ones
+# and will use the first one that responds - maybe the LAN ones?
+# non resolvconf users just the the VPN resolv.conf
+
+# FIXME:- if we have >1 domain, then we have to use search :/
+# We need to add a flag to resolvconf to say
+# "these nameservers should only be used for the listed search domains
+# if other global nameservers are present on other interfaces"
+# This however, will break compatibility with Debians resolvconf
+# A possible workaround would be to just list multiple domain lines
+# and try and let resolvconf handle it
+
+if [ "${PEER_DNS}" != "no" ]; then
+ NS=
+ DOMAIN=
+ SEARCH=
+ i=1
+ while true ; do
+ eval opt=\$foreign_option_${i}
+ [ -z "${opt}" ] && break
+ if [ "${opt}" != "${opt#dhcp-option DOMAIN *}" ] ; then
+ if [ -z "${DOMAIN}" ] ; then
+ DOMAIN="${opt#dhcp-option DOMAIN *}"
+ else
+ SEARCH="${SEARCH}${SEARCH:+ }${opt#dhcp-option DOMAIN *}"
+ fi
+ elif [ "${opt}" != "${opt#dhcp-option DNS *}" ] ; then
+ NS="${NS}nameserver ${opt#dhcp-option DNS *}\n"
+ fi
+ i=$((${i} + 1))
+ done
+
+ if [ -n "${NS}" ] ; then
+ DNS="# Generated by openvpn for interface ${dev}\n"
+ if [ -n "${SEARCH}" ] ; then
+ DNS="${DNS}search ${DOMAIN} ${SEARCH}\n"
+ elif [ -n "${DOMAIN}" ]; then
+ DNS="${DNS}domain ${DOMAIN}\n"
+ fi
+ DNS="${DNS}${NS}"
+ if [ -x /sbin/resolvconf ] ; then
+ printf "${DNS}" | /sbin/resolvconf -a "${dev}"
+ else
+ # Preserve the existing resolv.conf
+ if [ -e /etc/resolv.conf ] ; then
+ cp /etc/resolv.conf /etc/resolv.conf-"${dev}".sv
+ fi
+ printf "${DNS}" > /etc/resolv.conf
+ chmod 644 /etc/resolv.conf
+ fi
+ fi
+fi
+
+# Below section is Gentoo specific
+# Quick summary - our init scripts are re-entrant and set the SVCNAME env var
+# as we could have >1 openvpn service
+
+if [ -n "${SVCNAME}" ]; then
+ # If we have a service specific script, run this now
+ if [ -x /etc/openvpn/"${SVCNAME}"-up.sh ] ; then
+ /etc/openvpn/"${SVCNAME}"-up.sh "$@"
+ fi
+
+ # Re-enter the init script to start any dependant services
+ if ! /etc/init.d/"${SVCNAME}" --quiet status ; then
+ export IN_BACKGROUND=true
+ /etc/init.d/${SVCNAME} --quiet start
+ fi
+fi
+
+exit 0
+
+# vim: ts=4 :
View
21 net-misc/openvpn/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>djc@gentoo.org</email>
+ <name>Dirkjan Ochtman</name>
+ </maintainer>
+ <maintainer>
+ <email>cedk@gentoo.org</email>
+ <name>Cédric Krier</name>
+ </maintainer>
+ <longdescription>OpenVPN is an easy-to-use, robust and highly
+configurable VPN daemon which can be used to securely link two or more
+networks using an encrypted tunnel.</longdescription>
+ <use>
+ <flag name="eurephia">Apply eurephia patch</flag>
+ <flag name="iproute2">Enabled iproute2 support instead of net-tools</flag>
+ <flag name="passwordsave">Enables openvpn to save passwords</flag>
+ <flag name="pkcs11">Enable PKCS#11 smartcard support</flag>
+ </use>
+</pkgmetadata>
View
169 net-misc/openvpn/openvpn-2.2.1.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openvpn/openvpn-2.2.0-r1.ebuild,v 1.3 2011/07/29 08:45:05 zmedico Exp $
+
+EAPI=4
+
+inherit eutils multilib toolchain-funcs autotools flag-o-matic
+
+IPV6_VERSION="2.2.1-ipv6-20110825-1"
+DESCRIPTION="OpenVPN is a robust and highly flexible tunneling application compatible with many OSes."
+SRC_URI="http://swupdate.openvpn.net/community/releases/${P}.tar.gz
+ ipv6? (
+ http://uploads.srwz.us/openvpn-${IPV6_VERSION}.patch.gz
+ )"
+HOMEPAGE="http://openvpn.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
+IUSE="examples iproute2 ipv6 minimal pam passwordsave selinux ssl static pkcs11 userland_BSD"
+
+DEPEND=">=dev-libs/lzo-1.07
+ kernel_linux? (
+ iproute2? ( sys-apps/iproute2[-minimal] ) !iproute2? ( sys-apps/net-tools )
+ )
+ !minimal? ( pam? ( virtual/pam ) )
+ selinux? ( sec-policy/selinux-openvpn )
+ ssl? ( >=dev-libs/openssl-0.9.6 )
+ pkcs11? ( >=dev-libs/pkcs11-helper-1.05 )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-2.2.1-pkcs11.patch"
+ use ipv6 && epatch "${WORKDIR}/${PN}-${IPV6_VERSION}.patch"
+ sed -i \
+ -e "s/gcc \${CC_FLAGS}/\${CC} \${CFLAGS} -Wall/" \
+ -e "s/-shared/-shared \${LDFLAGS}/" \
+ plugin/*/Makefile || die "sed failed"
+ if use ipv6; then
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ # basic.h defines a type 'bool' that conflicts with the altivec
+ # keyword bool which has to be fixed upstream, see bugs #293840
+ # and #297854.
+ # For now, filter out -maltivec on ppc and append -mno-altivec, as
+ # -maltivec is enabled implicitly by -mcpu and similar flags.
+ (use ppc || use ppc64) && filter-flags -maltivec && append-flags -mno-altivec
+
+ local myconf=""
+
+ if use minimal ; then
+ myconf="${myconf} --disable-plugins"
+ myconf="${myconf} --disable-pkcs11"
+ else
+ myconf="$(use_enable pkcs11)"
+ fi
+
+ econf ${myconf} \
+ $(use_enable passwordsave password-save) \
+ $(use_enable ssl) \
+ $(use_enable ssl crypto) \
+ $(use_enable iproute2) \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}"
+}
+
+src_compile() {
+
+ if use static ; then
+ sed -i -e '/^LIBS/s/LIBS = /LIBS = -static /' Makefile || die "sed failed"
+ fi
+
+ emake || die "make failed"
+
+ if ! use minimal ; then
+ cd plugin
+ for i in *; do
+ [[ ${i} == "README" || ${i} == "examples" || ${i} == "defer" ]] && continue
+ [[ ${i} == "auth-pam" ]] && ! use pam && continue
+ einfo "Building ${i} plugin"
+ emake -C "${i}" CC=$(tc-getCC) || die "make failed"
+ done
+ cd ..
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ # install documentation
+ dodoc AUTHORS ChangeLog PORTS README
+
+ # Install some helper scripts
+ keepdir /etc/openvpn
+ exeinto /etc/openvpn
+ doexe "${FILESDIR}/up.sh" || die "doexe failed"
+ doexe "${FILESDIR}/down.sh" || die "doexe failed"
+
+ # Install the init script and config file
+ newinitd "${FILESDIR}/${PN}-2.1.init" openvpn || die "newinitd failed"
+ newconfd "${FILESDIR}/${PN}-2.1.conf" openvpn || die "newconfd failed"
+
+ # install examples, controlled by the respective useflag
+ if use examples ; then
+ # dodoc does not supportly support directory traversal, #15193
+ insinto /usr/share/doc/${PF}/examples
+ doins -r sample-{config-files,keys,scripts} contrib
+ fi
+
+ # Install plugins and easy-rsa
+ doenvd "${FILESDIR}/65openvpn" # config-protect easy-rsa
+ if ! use minimal ; then
+ cd easy-rsa/2.0
+ make install "DESTDIR=${D}" "PREFIX=${EPREFIX}/usr/share/${PN}/easy-rsa"
+ cd ../..
+
+ exeinto "/usr/$(get_libdir)/${PN}"
+ doexe plugin/*/*.so
+ fi
+}
+
+pkg_postinst() {
+ # Add openvpn user so openvpn servers can drop privs
+ # Clients should run as root so they can change ip addresses,
+ # dns information and other such things.
+ enewgroup openvpn
+ enewuser openvpn "" "" "" openvpn
+
+ if [ path_exists -o "${ROOT}/etc/openvpn/*/local.conf" ] ; then
+ ewarn "WARNING: The openvpn init script has changed"
+ ewarn ""
+ fi
+
+ elog "The openvpn init script expects to find the configuration file"
+ elog "openvpn.conf in /etc/openvpn along with any extra files it may need."
+ elog ""
+ elog "To create more VPNs, simply create a new .conf file for it and"
+ elog "then create a symlink to the openvpn init script from a link called"
+ elog "openvpn.newconfname - like so"
+ elog " cd /etc/openvpn"
+ elog " ${EDITOR##*/} foo.conf"
+ elog " cd /etc/init.d"
+ elog " ln -s openvpn openvpn.foo"
+ elog ""
+ elog "You can then treat openvpn.foo as any other service, so you can"
+ elog "stop one vpn and start another if you need to."
+
+ if grep -Eq "^[ \t]*(up|down)[ \t].*" "${ROOT}/etc/openvpn"/*.conf 2>/dev/null ; then
+ ewarn ""
+ ewarn "WARNING: If you use the remote keyword then you are deemed to be"
+ ewarn "a client by our init script and as such we force up,down scripts."
+ ewarn "These scripts call /etc/openvpn/\$SVCNAME-{up,down}.sh where you"
+ ewarn "can move your scripts to."
+ fi
+
+ if ! use minimal ; then
+ einfo ""
+ einfo "plugins have been installed into /usr/$(get_libdir)/${PN}"
+ fi
+
+ if use ipv6 ; then
+ einfo ""
+ einfo "This build contains a community-maintained IPv6 patch."
+ einfo "For more information please visit:"
+ einfo "http://www.greenie.net/ipv6/openvpn.html"
+ fi
+}

0 comments on commit 8cbd727

Please sign in to comment.
Something went wrong with that request. Please try again.