diff options
author | Roy Marples <uberlord@gentoo.org> | 2006-02-08 11:26:06 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2006-02-08 11:26:06 +0000 |
commit | de6db7ba77dcd448bb493e5ff5e625c3fee68f71 (patch) | |
tree | 28ccca2333d884f4ac410096690b87979ec0fbb8 /net-misc/openvpn | |
parent | Stable on ppc-macos, wrt #117111. (diff) | |
download | historical-de6db7ba77dcd448bb493e5ff5e625c3fee68f71.tar.gz historical-de6db7ba77dcd448bb493e5ff5e625c3fee68f71.tar.bz2 historical-de6db7ba77dcd448bb493e5ff5e625c3fee68f71.zip |
Punted old versions
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'net-misc/openvpn')
-rw-r--r-- | net-misc/openvpn/Manifest | 27 | ||||
-rw-r--r-- | net-misc/openvpn/files/openvpn | 61 | ||||
-rw-r--r-- | net-misc/openvpn/openvpn-1.5.0-r1.ebuild | 49 | ||||
-rw-r--r-- | net-misc/openvpn/openvpn-1.6.0.ebuild | 49 | ||||
-rw-r--r-- | net-misc/openvpn/openvpn-2.0.5.ebuild | 113 |
5 files changed, 3 insertions, 296 deletions
diff --git a/net-misc/openvpn/Manifest b/net-misc/openvpn/Manifest index 6c553675560f..c7a0c1b015d0 100644 --- a/net-misc/openvpn/Manifest +++ b/net-misc/openvpn/Manifest @@ -4,21 +4,9 @@ Hash: SHA1 MD5 4ef7e8b5e35d1d98dfdcb3af0fc55c3f ChangeLog 11243 RMD160 850dbfea2dade7e3c03af3ab598371b97fcf5ed9 ChangeLog 11243 SHA256 c93211ad83927b0b1a52286d40fd3110feaa41f7e21addf1f679def9cc03c5d9 ChangeLog 11243 -MD5 51eea8a2c9a5189571de49ad32b88ac1 files/digest-openvpn-1.5.0-r1 65 -RMD160 232851c0649ad15f5dec234d0b3b1e6722ff95eb files/digest-openvpn-1.5.0-r1 65 -SHA256 85ff31950a04d3e340dbba13e5843000b33c702cd4d65ced850499308d35dd8a files/digest-openvpn-1.5.0-r1 65 -MD5 64180e225493c8fc2e085071ff65897b files/digest-openvpn-1.6.0 65 -RMD160 f9a0aa2ea759c25c0d5590d4c75144030625a0ad files/digest-openvpn-1.6.0 65 -SHA256 6c41033e69a3100699a9987957379c6bb4700a663732cb4479382dfeda5d46f1 files/digest-openvpn-1.6.0 65 -MD5 2d68e6681e5a0b149462220ad10caf66 files/digest-openvpn-2.0.5 65 -RMD160 d0e78e4f0a47796ec103f9a38f6040cae5a897e8 files/digest-openvpn-2.0.5 65 -SHA256 3468b243cfcdfa3b3de259c138e29325b45aac5d6a783fcce82d0e3608cd9896 files/digest-openvpn-2.0.5 65 MD5 2d68e6681e5a0b149462220ad10caf66 files/digest-openvpn-2.0.5-r2 65 RMD160 d0e78e4f0a47796ec103f9a38f6040cae5a897e8 files/digest-openvpn-2.0.5-r2 65 SHA256 3468b243cfcdfa3b3de259c138e29325b45aac5d6a783fcce82d0e3608cd9896 files/digest-openvpn-2.0.5-r2 65 -MD5 e173c8d27fc623ce79d2c5e83854b28a files/openvpn 1318 -RMD160 27e854d74efc3c713de5fb0539383dfa633b42e0 files/openvpn 1318 -SHA256 9425736f047bec114cd844a95ac4cd6fc66477334f42a6c5155e35f5b0a30e38 files/openvpn 1318 MD5 9f0fcb64287dc55bb770ca86415e5cdd files/openvpn-2.0.4-darwin.patch 717 RMD160 66aa5ea349329cf3e6089aa75eb7c80e0d21063b files/openvpn-2.0.4-darwin.patch 717 SHA256 ad70b77c10bb57a07af3d512e953fc8b5a07108df5bf9795e0cb12e1ba2b2136 files/openvpn-2.0.4-darwin.patch 717 @@ -28,22 +16,13 @@ SHA256 5a40a7292f91ac3d7bfd19739147cbacda9253e9636f003f1e882051c9e8dbad files/op MD5 88b5014eccbc72e61658ecfaa436c6f0 metadata.xml 449 RMD160 36c9d7c3a292919c9544bdc3e76f097e85af3480 metadata.xml 449 SHA256 e7b583b2425a91069c065fe5b1fe4cc1172245c8ae7c0ad83cf769df1f73e232 metadata.xml 449 -MD5 57db3db67cafcb3a5bb7a07eb4a3b884 openvpn-1.5.0-r1.ebuild 1334 -RMD160 d72e11091a571c39a0812d6ca903fdc76a7ec733 openvpn-1.5.0-r1.ebuild 1334 -SHA256 036ff4c07e5ae5b6872c6ff7079e017b219abf2188b8c07493d8977e3a859493 openvpn-1.5.0-r1.ebuild 1334 -MD5 c0bb9d10424cda8d9361368015b324ca openvpn-1.6.0.ebuild 1338 -RMD160 b7bbf0feb49eb70c6cf0e2df7313b7f9f7defd02 openvpn-1.6.0.ebuild 1338 -SHA256 be3a6cb7bbfa0c27ac70c8df7f2e1e4494c904876285dd9df263a3ace17bbab0 openvpn-1.6.0.ebuild 1338 MD5 8533ac9753dad98c69bf979a98ac0641 openvpn-2.0.5-r2.ebuild 3866 RMD160 af06b66ebaa4d5a87242968e552b90ee1f4b2cd9 openvpn-2.0.5-r2.ebuild 3866 SHA256 92880feb5eee1bdf41a3b627fd84119384ffd5706c09850f642fe7f42eb286d0 openvpn-2.0.5-r2.ebuild 3866 -MD5 ad93ca28f8d512eb78e4a35d7c97ff99 openvpn-2.0.5.ebuild 3217 -RMD160 ed92bfb2b1a8e82132c9f214651329a1b463cac4 openvpn-2.0.5.ebuild 3217 -SHA256 ce2e1d43a043073adba6436738fd0a61e277fe07ab0f93fae1edaa72f3663aa0 openvpn-2.0.5.ebuild 3217 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFD6dSWEbVyYKaZ/NERAldOAJ41zyGPvppCY5LhHokpbJfbcYAcHQCdF4va -VZcA3PPKtayVK4aas/7ly8g= -=8Fhl +iD8DBQFD6dVfEbVyYKaZ/NERAivcAJ9pOXDlMqclLlnWXnfmr62uwTXYIgCfTi1R +MzVuXbIDzsZSIyub1J7bqbA= +=8PLJ -----END PGP SIGNATURE----- diff --git a/net-misc/openvpn/files/openvpn b/net-misc/openvpn/files/openvpn deleted file mode 100644 index e0b7c14f36cf..000000000000 --- a/net-misc/openvpn/files/openvpn +++ /dev/null @@ -1,61 +0,0 @@ -#!/sbin/runscript - -VPNDIR="/etc/openvpn" - -depend() { - need net -} - -checktundevice() { - if [ -h /dev/net/tun ] && [ -c /dev/misc/net/tun ]; then - ebegin Detected broken /dev/net/tun symlink, fixing... - rm /dev/net/tun - ln -s /dev/misc/net/tun /dev/net/tun - eend $? - fi -} - -start() { - checktundevice || return 1 - - cd ${VPNDIR} - for VPN in * - do - if [ -d ${VPN} ] && [ -e ${VPN}/local.conf ]; then - if [ -f ${VPN}/onlinecheck ]; then - ping -c 3 `head -n 1 ${VPN}/onlinecheck` >& /dev/null - else - false - fi - - if [ $? -gt 0 ]; then - ebegin "Starting openvpn for ${VPN}" - start-stop-daemon --start --pidfile /var/run/openvpn-${VPN}.pid \ - --startas /usr/sbin/openvpn -- --config ${VPN}/local.conf \ - --writepid /var/run/openvpn-${VPN}.pid \ - --daemon --cd ${VPN} - eend $? - else - einfo "Connection ${VPN} already online. Skipping..." - fi - else - ewarn "Expected ${VPNDIR}/${VPN} to be a directory containing a local.conf." - fi - done -} - -stop() { - cd ${VPNDIR} - for VPN in * - do - if [ -e /var/run/openvpn-${VPN}.pid ]; then - ebegin "Stopping openvpn for ${VPN}" - start-stop-daemon --oknodo --stop --pidfile /var/run/openvpn-${VPN}.pid - rm /var/run/openvpn-${VPN}.pid - eend 0 - else - ewarn "${VPN} has no pidfile!" - fi - done - return 0 -} diff --git a/net-misc/openvpn/openvpn-1.5.0-r1.ebuild b/net-misc/openvpn/openvpn-1.5.0-r1.ebuild deleted file mode 100644 index c52f1240e7f3..000000000000 --- a/net-misc/openvpn/openvpn-1.5.0-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# 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-1.5.0-r1.ebuild,v 1.12 2005/05/01 09:02:35 luckyduck Exp $ - -inherit gnuconfig - - -DESCRIPTION="OpenVPN is a robust and highly flexible tunneling application compatible with many OSes." -SRC_URI="mirror://sourceforge/openvpn/${P}.tar.gz" -HOMEPAGE="http://openvpn.sourceforge.net/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ppc sparc ~alpha ~amd64" -IUSE="ssl threads" - -RDEPEND=">=dev-libs/lzo-1.07 - 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" - - dodoc ChangeLog INSTALL PORTS README - exeinto /etc/init.d - doexe ${FILESDIR}/openvpn -} - -pkg_postinst() { - 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." - ewarn "This version of OpenVPN is NOT COMPATIBLE with 1.4.2!" - ewarn "If you need compatibility with 1.4.2 please emerge that version." -} diff --git a/net-misc/openvpn/openvpn-1.6.0.ebuild b/net-misc/openvpn/openvpn-1.6.0.ebuild deleted file mode 100644 index 3d044f2774ff..000000000000 --- a/net-misc/openvpn/openvpn-1.6.0.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# 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-1.6.0.ebuild,v 1.9 2005/05/07 02:48:00 jforman Exp $ - -inherit gnuconfig - - -DESCRIPTION="OpenVPN is a robust and highly flexible tunneling application compatible with many OSes." -SRC_URI="mirror://sourceforge/openvpn/${P}.tar.gz" -HOMEPAGE="http://openvpn.sourceforge.net/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ~ppc sparc ~alpha ~ppc-macos amd64" -IUSE="ssl threads" - -RDEPEND=">=dev-libs/lzo-1.07 - 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" - - dodoc ChangeLog INSTALL PORTS README - exeinto /etc/init.d - doexe ${FILESDIR}/openvpn -} - -pkg_postinst() { - 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." - ewarn "This version of OpenVPN is NOT COMPATIBLE with 1.4.2!" - ewarn "If you need compatibility with 1.4.2 please emerge that version." -} diff --git a/net-misc/openvpn/openvpn-2.0.5.ebuild b/net-misc/openvpn/openvpn-2.0.5.ebuild deleted file mode 100644 index 63c5fe4c0e34..000000000000 --- a/net-misc/openvpn/openvpn-2.0.5.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# 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.5.ebuild,v 1.9 2005/11/06 14:37:43 uberlord Exp $ - -inherit eutils gnuconfig multilib - -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="alpha amd64 ppc ppc-macos sparc x86" -IUSE="examples iproute2 minimal pam passwordsave selinux ssl static threads" - -RDEPEND=">=dev-libs/lzo-1.07 - kernel_linux? ( - iproute2? ( sys-apps/iproute2 ) !iproute2? ( sys-apps/net-tools ) - ) - !minimal? ( pam? ( virtual/pam ) ) - selinux? ( sec-policy/selinux-openvpn ) - ssl? ( >=dev-libs/openssl-0.9.6 )" -DEPEND="${RDEPEND} - virtual/os-headers" - -src_unpack() { - unpack "${A}" - gnuconfig_update - cd "${S}" - epatch "${FILESDIR}/${PN}"-2.0.4-darwin.patch -} - -src_compile() { - local myconf="" - # We cannot use use_enable with iproute2 as the Makefile stupidly - # enables it with --disable-iproute2 - use iproute2 && myconf="${myconf} --enable-iproute2" - use minimal && myconf="${myconf} --disable-plugins" - - econf ${myconf} \ - $(use_enable passwordsave password-save) \ - $(use_enable ssl) \ - $(use_enable ssl crypto) \ - $(use_enable threads pthread) \ - || die "configure failed" - - use static && sed -e -i '/^LIBS/s/LIBS = /LIBS = -static /' Makefile - - emake || die "make failed" - - if ! use minimal ; then - cd plugin - for i in $( ls 2>/dev/null ); do - [[ ${i} == "README" || ${i} == "examples" ]] && continue - [[ ${i} == "auth-pam" ]] && ! use pam && continue - einfo "Building ${i} plugin" - cd "${i}" - emake || die "make failed" - cd .. - done - cd .. - fi -} - -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 stuff - exeinto "/usr/share/${PN}/easy-rsa" - doexe easy-rsa/2.0/*-* easy-rsa/2.0/pkitool - insinto "/usr/share/${PN}/easy-rsa" - doins easy-rsa/2.0/{README,openssl.cnf,vars} - - # 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 - prepalldocs - fi - - # Install plugins - if ! use minimal ; then - exeinto "/usr/$(get_libdir)/${PN}" - doexe plugin/*/*.so - 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 -} |