diff options
author | Petre Rodan <kaiowas@gentoo.org> | 2005-08-21 06:39:31 +0000 |
---|---|---|
committer | Petre Rodan <kaiowas@gentoo.org> | 2005-08-21 06:39:31 +0000 |
commit | 0ebc4a65efbb70fb14bde646927e58e4433a0131 (patch) | |
tree | 1d50dedeaaa226d0cffb0b0998cf19c3f2765026 /net-misc/openvpn | |
parent | fix typo pointed out by mr bones (diff) | |
download | gentoo-2-0ebc4a65efbb70fb14bde646927e58e4433a0131.tar.gz gentoo-2-0ebc4a65efbb70fb14bde646927e58e4433a0131.tar.bz2 gentoo-2-0ebc4a65efbb70fb14bde646927e58e4433a0131.zip |
version bump as per security bug #102871; added selinux RDEPEND
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-misc/openvpn')
-rw-r--r-- | net-misc/openvpn/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/openvpn/Manifest | 22 | ||||
-rw-r--r-- | net-misc/openvpn/files/digest-openvpn-2.0.1 | 1 | ||||
-rw-r--r-- | net-misc/openvpn/openvpn-2.0.1.ebuild | 79 |
4 files changed, 93 insertions, 16 deletions
diff --git a/net-misc/openvpn/ChangeLog b/net-misc/openvpn/ChangeLog index ef5aa17f4e3b..19b7dc642ff1 100644 --- a/net-misc/openvpn/ChangeLog +++ b/net-misc/openvpn/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/openvpn # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/openvpn/ChangeLog,v 1.34 2005/06/25 12:10:10 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/openvpn/ChangeLog,v 1.35 2005/08/21 06:39:31 kaiowas Exp $ + +*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. diff --git a/net-misc/openvpn/Manifest b/net-misc/openvpn/Manifest index 79375b00b82c..c61bf694806b 100644 --- a/net-misc/openvpn/Manifest +++ b/net-misc/openvpn/Manifest @@ -1,21 +1,13 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 c0bb9d10424cda8d9361368015b324ca openvpn-1.6.0.ebuild 1338 -MD5 81a0aac2d0d7352209961ebe9bb9e105 openvpn-2.0.ebuild 1910 -MD5 73bf814a2a048818d09eadeb059fa98c ChangeLog 5093 -MD5 152bf6c4336c53f37b6208c5c678ba88 openvpn-2.0-r1.ebuild 2114 +MD5 2104ee7d036d4373539d3301c0cce1ca ChangeLog 5261 MD5 41623f5bd4f728bd9018e69514149bc5 metadata.xml 452 MD5 57db3db67cafcb3a5bb7a07eb4a3b884 openvpn-1.5.0-r1.ebuild 1334 +MD5 c0bb9d10424cda8d9361368015b324ca openvpn-1.6.0.ebuild 1338 +MD5 152bf6c4336c53f37b6208c5c678ba88 openvpn-2.0-r1.ebuild 2114 +MD5 81a0aac2d0d7352209961ebe9bb9e105 openvpn-2.0.ebuild 1910 +MD5 59b554936fb93f4c694564b771ec61c4 openvpn-2.0.1.ebuild 2167 +MD5 51eea8a2c9a5189571de49ad32b88ac1 files/digest-openvpn-1.5.0-r1 65 MD5 64180e225493c8fc2e085071ff65897b files/digest-openvpn-1.6.0 65 MD5 a455c11efdca8a3caadbac543345490e files/digest-openvpn-2.0 63 MD5 a455c11efdca8a3caadbac543345490e files/digest-openvpn-2.0-r1 63 -MD5 51eea8a2c9a5189571de49ad32b88ac1 files/digest-openvpn-1.5.0-r1 65 MD5 e173c8d27fc623ce79d2c5e83854b28a files/openvpn 1318 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) - -iD8DBQFCvUnO06ebR+OMO78RAqWNAJ9Iq4FO6OChP3Lh3EKHmgv1rQ5CjQCfaRAb -LS9hbDziwDFC+dRWxie5wXk= -=kJ+F ------END PGP SIGNATURE----- +MD5 7668c8296962628c96186d860d6a878d files/digest-openvpn-2.0.1 65 diff --git a/net-misc/openvpn/files/digest-openvpn-2.0.1 b/net-misc/openvpn/files/digest-openvpn-2.0.1 new file mode 100644 index 000000000000..b200b8fab45f --- /dev/null +++ b/net-misc/openvpn/files/digest-openvpn-2.0.1 @@ -0,0 +1 @@ +MD5 fad7a08c0d68371c2c0e6428bcb98fa5 openvpn-2.0.1.tar.gz 662428 diff --git a/net-misc/openvpn/openvpn-2.0.1.ebuild b/net-misc/openvpn/openvpn-2.0.1.ebuild new file mode 100644 index 000000000000..347f7c926dd1 --- /dev/null +++ b/net-misc/openvpn/openvpn-2.0.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/openvpn/openvpn-2.0.1.ebuild,v 1.1 2005/08/21 06:39:31 kaiowas Exp $ + +inherit eutils gnuconfig + +DESCRIPTION="OpenVPN is a robust and highly flexible tunneling application compatible with many OSes." +SRC_URI="http://openvpn.net/release/openvpn-${PV}.tar.gz" +HOMEPAGE="http://openvpn.net/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ppc-macos ~amd64" +IUSE="examples selinux ssl threads" + +RDEPEND=">=dev-libs/lzo-1.07 + selinux? ( sec-policy/selinux-openvpn ) + ssl? ( >=dev-libs/openssl-0.9.6 )" +DEPEND="${RDEPEND} + virtual/os-headers" + +src_unpack() { + unpack ${A} + gnuconfig_update +} + +src_compile() { + econf \ + $(use_enable ssl) \ + $(use_enable ssl crypto) \ + $(use_enable threads pthread) \ + || die "configure failed" + emake || die "make failed" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" + + # install documentation + dodoc AUTHORS ChangeLog INSTALL PORTS README + + # Empty dir + dodir /etc/openvpn + keepdir /etc/openvpn + + # Install the init script + newinitd ${FILESDIR}/openvpn openvpn + + # Install easy-rsa stuffs + dodir /usr/share/${PN}/easy-rsa + exeinto /usr/share/${PN}/easy-rsa + doexe easy-rsa/2.0/* + exeopts -m0644 + + # install examples, controlled by the respective useflag + if use examples; then + local sampledir="/usr/share/doc/${PN}/examples" + dodir ${sampledir} + + cp -r sample-{config-files,keys,scripts} ${D}${sampledir} + cp -r contrib/ ${D}${sampledir} + fi +} + +pkg_postinst() { + ewarn "This version of OpenVPN is NOT COMPATIBLE with older versions!" + ewarn "If you need compatibility with a version < 2 please emerge" + ewarn "that one." + einfo "" + einfo "The init.d script that comes with OpenVPN expects directories" + einfo "/etc/openvpn/*/ with a local.conf and any supporting files," + einfo "such as keys." + einfo "" + ewarn "If you've used 2.0 already make sure to move your configuration" + ewarn "files into a subdirectory of /etc/openvpn, for example to:" + ewarn "/etc/openvpn/myconf and rename your configfile to local.conf" + ewarn "" + ebeep +} |