diff options
author | Roy Marples <uberlord@gentoo.org> | 2007-09-14 13:05:24 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2007-09-14 13:05:24 +0000 |
commit | c8102aee3941e13f29af1b81dddff61d3f5953a3 (patch) | |
tree | f83ce4145d6c6795fd56d8e1d1d15bbab58b4e38 /net-misc/openvpn | |
parent | Version bump to fix bug #191548 internally (diff) | |
download | historical-c8102aee3941e13f29af1b81dddff61d3f5953a3.tar.gz historical-c8102aee3941e13f29af1b81dddff61d3f5953a3.tar.bz2 historical-c8102aee3941e13f29af1b81dddff61d3f5953a3.zip |
Punt old versions.
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'net-misc/openvpn')
-rw-r--r-- | net-misc/openvpn/Manifest | 14 | ||||
-rw-r--r-- | net-misc/openvpn/openvpn-2.1_rc4-r1.ebuild | 157 | ||||
-rw-r--r-- | net-misc/openvpn/openvpn-2.1_rc4.ebuild | 151 |
3 files changed, 0 insertions, 322 deletions
diff --git a/net-misc/openvpn/Manifest b/net-misc/openvpn/Manifest index 9b9fa43f831a..4006e58292f9 100644 --- a/net-misc/openvpn/Manifest +++ b/net-misc/openvpn/Manifest @@ -46,18 +46,10 @@ EBUILD openvpn-2.0.7-r2.ebuild 4212 RMD160 e42624e45c9d00dc8c7168bc342c4075adbd3 MD5 7b434919be41b69a485172c3090a54e0 openvpn-2.0.7-r2.ebuild 4212 RMD160 e42624e45c9d00dc8c7168bc342c4075adbd3a7a openvpn-2.0.7-r2.ebuild 4212 SHA256 9a60a2e1e732636e24beb90eb37f37f001e52992d1ff6cfe42fd7f4c99bf66ca openvpn-2.0.7-r2.ebuild 4212 -EBUILD openvpn-2.1_rc4-r1.ebuild 4589 RMD160 a2c188d27fa654529e12b3e176ab1b694ec50c13 SHA1 4d7d065fcddec0f74f2897b72b087f9a271e33b6 SHA256 70907824f1521644f5d259714219634f07f35e86908fb9cb42d7c85aecbe6600 -MD5 c83a9d32a8e5c4b13ed46ebfa443faef openvpn-2.1_rc4-r1.ebuild 4589 -RMD160 a2c188d27fa654529e12b3e176ab1b694ec50c13 openvpn-2.1_rc4-r1.ebuild 4589 -SHA256 70907824f1521644f5d259714219634f07f35e86908fb9cb42d7c85aecbe6600 openvpn-2.1_rc4-r1.ebuild 4589 EBUILD openvpn-2.1_rc4-r2.ebuild 4653 RMD160 2d8334ec8587d8c73d3445f09f84c2dbb9fe9141 SHA1 dea4409ef6aef53cdb1a49f2b8a205339ba1570b SHA256 d680cbf6807d5827f2b965abc3afd7468f1123b9f6d5fdedbc4a1e4a4b93b401 MD5 c09acba1c95a7881b9c5c7222d9de7ff openvpn-2.1_rc4-r2.ebuild 4653 RMD160 2d8334ec8587d8c73d3445f09f84c2dbb9fe9141 openvpn-2.1_rc4-r2.ebuild 4653 SHA256 d680cbf6807d5827f2b965abc3afd7468f1123b9f6d5fdedbc4a1e4a4b93b401 openvpn-2.1_rc4-r2.ebuild 4653 -EBUILD openvpn-2.1_rc4.ebuild 4397 RMD160 b2447ff1bcf047d00eecce12ede24a1462db36d0 SHA1 2686d1e6c6924e37f324ea2eac7ac083edc3deab SHA256 77af07c52ad2928ef812436bd419d98fdeb34f3f3570f09ea78ffdb89fac735d -MD5 8ba8341c8c0900de398201c31eae59ba openvpn-2.1_rc4.ebuild 4397 -RMD160 b2447ff1bcf047d00eecce12ede24a1462db36d0 openvpn-2.1_rc4.ebuild 4397 -SHA256 77af07c52ad2928ef812436bd419d98fdeb34f3f3570f09ea78ffdb89fac735d openvpn-2.1_rc4.ebuild 4397 MISC ChangeLog 18248 RMD160 6062ffa42b356a782d657c8d4649f27dec03e9a2 SHA1 13e6ebd12477a1b7734b8d18be81e2d4b2660af2 SHA256 a14c8cdd0420d553443d87cf9e7f31c3b4643b435a3962e3f21ae4c80564f06d MD5 37c98edcf2d198c18a9528cd914449c7 ChangeLog 18248 RMD160 6062ffa42b356a782d657c8d4649f27dec03e9a2 ChangeLog 18248 @@ -72,12 +64,6 @@ SHA256 cc2c7e3423898778eb6f6b45bdd4ba18d2a20be748cfa8482eba4ca20c2f80bd files/di MD5 f8b2e9d63bd97591290f11cd6bf8ae2a files/digest-openvpn-2.0.7-r2 241 RMD160 95c02dbccbc539ab7e6c2947ef7d187c3be3b6ad files/digest-openvpn-2.0.7-r2 241 SHA256 a1f31a906a965a6209c5e248a0a36f80423f087dd519d8465503446f23f1446d files/digest-openvpn-2.0.7-r2 241 -MD5 f3295811d606ffc384a3861793ecbfd9 files/digest-openvpn-2.1_rc4 247 -RMD160 f7bfbb353fa4725b3aa3495d3d8d8dd20fe5715d files/digest-openvpn-2.1_rc4 247 -SHA256 1694d94509e5896a5b6b373c556d13f7e5370de6a5360810c6c1b1f95202de12 files/digest-openvpn-2.1_rc4 247 -MD5 927b1ce2be5d2879bf68940e68cbd04c files/digest-openvpn-2.1_rc4-r1 503 -RMD160 5a50a471798346526ca5421dc519507ef98eba7a files/digest-openvpn-2.1_rc4-r1 503 -SHA256 9f61a1d35bb0c7fe056674478f0251d6ed6cbc19f409c0b8aa2cd6d28e3d7900 files/digest-openvpn-2.1_rc4-r1 503 MD5 927b1ce2be5d2879bf68940e68cbd04c files/digest-openvpn-2.1_rc4-r2 503 RMD160 5a50a471798346526ca5421dc519507ef98eba7a files/digest-openvpn-2.1_rc4-r2 503 SHA256 9f61a1d35bb0c7fe056674478f0251d6ed6cbc19f409c0b8aa2cd6d28e3d7900 files/digest-openvpn-2.1_rc4-r2 503 diff --git a/net-misc/openvpn/openvpn-2.1_rc4-r1.ebuild b/net-misc/openvpn/openvpn-2.1_rc4-r1.ebuild deleted file mode 100644 index 9cf059a4239d..000000000000 --- a/net-misc/openvpn/openvpn-2.1_rc4-r1.ebuild +++ /dev/null @@ -1,157 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/openvpn/openvpn-2.1_rc4-r1.ebuild,v 1.2 2007/07/09 15:37:47 uberlord Exp $ - -inherit autotools eutils multilib - -DESCRIPTION="OpenVPN is a robust and highly flexible tunneling application compatible with many OSes." -SRC_URI="http://openvpn.net/release/${P}.tar.gz - mirror://gentoo/${PN}-2.1-udp6.patch.bz2" -HOMEPAGE="http://openvpn.net/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc-macos ~ppc64 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" -IUSE="examples iproute2 ipv6 minimal pam passwordsave selinux ssl static threads userland_BSD" - -DEPEND=">=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 )" - -pkg_setup() { - if use iproute2 ; then - if built_with_use sys-apps/iproute2 minimal ; then - eerror "iproute2 support requires that sys-apps/iproute2 was not" - eerror "built with the minimal USE flag" - die "iproute2 support not available" - fi - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/${PN}"-2.0.4-darwin.patch - epatch "${WORKDIR}/${PN}"-2.1-udp6.patch - - eautoreconf -} - -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" - if use minimal ; then - myconf="${myconf} --disable-plugins" - myconf="${myconf} --disable-pkcs11" - fi - - econf ${myconf} \ - $(use_enable ipv6) \ - $(use_enable passwordsave password-save) \ - $(use_enable ssl) \ - $(use_enable ssl crypto) \ - $(use_enable threads pthread) \ - || die "configure failed" - - use static && sed -i -e '/^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 PORTS README - - # Empty dir - dodir /etc/openvpn - keepdir /etc/openvpn - - # Install some helper scripts - exeinto /etc/openvpn - doexe "${FILESDIR}/up.sh" - doexe "${FILESDIR}/down.sh" - - # Install the init script and config file - newinitd "${FILESDIR}/${PN}-2.1.init" openvpn - newconfd "${FILESDIR}/${PN}-2.1.conf" openvpn - - # 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 and easy-rsa - if ! use minimal ; then - cd easy-rsa/2.0 - make install "DESTDIR=${D}/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 [[ -n $(ls /etc/openvpn/*/local.conf 2>/dev/null) ]] ; then - ewarn "WARNING: The openvpn init script has changed" - ewarn "" - fi - - einfo "The openvpn init script expects to find the configuration file" - einfo "openvpn.conf in /etc/openvpn along with any extra files it may need." - einfo "" - einfo "To create more VPNs, simply create a new .conf file for it and" - einfo "then create a symlink to the openvpn init script from a link called" - einfo "openvpn.newconfname - like so" - einfo " cd /etc/openvpn" - einfo " ${EDITOR##*/} foo.conf" - einfo " cd /etc/init.d" - einfo " ln -s openvpn openvpn.foo" - einfo "" - einfo "You can then treat openvpn.foo as any other service, so you can" - einfo "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 -} diff --git a/net-misc/openvpn/openvpn-2.1_rc4.ebuild b/net-misc/openvpn/openvpn-2.1_rc4.ebuild deleted file mode 100644 index 6742830c7807..000000000000 --- a/net-misc/openvpn/openvpn-2.1_rc4.ebuild +++ /dev/null @@ -1,151 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/openvpn/openvpn-2.1_rc4.ebuild,v 1.2 2007/07/09 15:37:47 uberlord Exp $ - -inherit eutils 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 ~hppa ~ppc ~ppc-macos ~ppc64 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" -IUSE="examples iproute2 minimal pam passwordsave selinux ssl static threads userland_BSD" - -DEPEND=">=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 )" - -pkg_setup() { - if use iproute2 ; then - if built_with_use sys-apps/iproute2 minimal ; then - eerror "iproute2 support requires that sys-apps/iproute2 was not" - eerror "built with the minimal USE flag" - die "iproute2 support not available" - fi - fi -} - -src_unpack() { - unpack ${A} - 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" - if use minimal ; then - myconf="${myconf} --disable-plugins" - myconf="${myconf} --disable-pkcs11" - fi - - econf ${myconf} \ - $(use_enable passwordsave password-save) \ - $(use_enable ssl) \ - $(use_enable ssl crypto) \ - $(use_enable threads pthread) \ - || die "configure failed" - - use static && sed -i -e '/^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 PORTS README - - # Empty dir - dodir /etc/openvpn - keepdir /etc/openvpn - - # Install some helper scripts - exeinto /etc/openvpn - doexe "${FILESDIR}/up.sh" - doexe "${FILESDIR}/down.sh" - - # Install the init script - newinitd "${FILESDIR}/openvpn-2.1.init" openvpn - - # 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 and easy-rsa - if ! use minimal ; then - cd easy-rsa/2.0 - make install "DESTDIR=${D}/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 [[ -n $(ls /etc/openvpn/*/local.conf 2>/dev/null) ]] ; then - ewarn "WARNING: The openvpn init script has changed" - ewarn "" - fi - - einfo "The openvpn init script expects to find the configuration file" - einfo "openvpn.conf in /etc/openvpn along with any extra files it may need." - einfo "" - einfo "To create more VPNs, simply create a new .conf file for it and" - einfo "then create a symlink to the openvpn init script from a link called" - einfo "openvpn.newconfname - like so" - einfo " cd /etc/openvpn" - einfo " ${EDITOR##*/} foo.conf" - einfo " cd /etc/init.d" - einfo " ln -s openvpn openvpn.foo" - einfo "" - einfo "You can then treat openvpn.foo as any other service, so you can" - einfo "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 -} |