diff options
author | Roy Marples <uberlord@gentoo.org> | 2006-04-24 07:34:39 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2006-04-24 07:34:39 +0000 |
commit | a4838f1a7c25d3591650b9c8e437bad25f8c4e6c (patch) | |
tree | 8d51bff192ffe8cf164081944bd9e9ed95453a3f /net-misc | |
parent | Stop installing INSTALL document. (diff) | |
download | historical-a4838f1a7c25d3591650b9c8e437bad25f8c4e6c.tar.gz historical-a4838f1a7c25d3591650b9c8e437bad25f8c4e6c.tar.bz2 historical-a4838f1a7c25d3591650b9c8e437bad25f8c4e6c.zip |
Stop installing INSTALL document.
Package-Manager: portage-2.1_pre9-r2
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/openvpn/Manifest | 31 | ||||
-rw-r--r-- | net-misc/openvpn/files/digest-openvpn-2.0.5-r2 | 1 | ||||
-rw-r--r-- | net-misc/openvpn/openvpn-2.0.5-r2.ebuild | 129 |
3 files changed, 16 insertions, 145 deletions
diff --git a/net-misc/openvpn/Manifest b/net-misc/openvpn/Manifest index 2dc6fcbb7ab4..e65a8b9b1770 100644 --- a/net-misc/openvpn/Manifest +++ b/net-misc/openvpn/Manifest @@ -1,24 +1,25 @@ -MD5 4a74d259aec6e20be64701f5e4cc8949 ChangeLog 12132 -RMD160 6468a0023acd22bf648abf00f53fb3ad7c2fe00c ChangeLog 12132 -SHA256 b0ca0f80a399ae7cc8349e3cba2ca059494776277d3fe9c2c02b374ca882255b ChangeLog 12132 -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 9b5501be21ae9235fea7d51ef84b644e files/digest-openvpn-2.0.6 241 -RMD160 3bca5f56e3526082debc843084ae21fe35e65f93 files/digest-openvpn-2.0.6 241 -SHA256 cc2c7e3423898778eb6f6b45bdd4ba18d2a20be748cfa8482eba4ca20c2f80bd files/digest-openvpn-2.0.6 241 +AUX openvpn-2.0.4-darwin.patch 717 RMD160 66aa5ea349329cf3e6089aa75eb7c80e0d21063b SHA1 ca21fbc61b78d893699b6bf4fb40eb2735db28c8 SHA256 ad70b77c10bb57a07af3d512e953fc8b5a07108df5bf9795e0cb12e1ba2b2136 size 717 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 +AUX openvpn.init 1441 RMD160 4287bc944c914772348431cb6356191aa61d8215 SHA1 ac36e608aa0820f42e7fd64d0d1ca137cb1edef2 SHA256 0e08f772a4fbbb28c0e9190c67430da5cc8d78acadbbb1b61447b96df2c96399 size 1441 MD5 d4061ba2232ddd94c4f4f4f26ae82586 files/openvpn.init 1441 RMD160 4287bc944c914772348431cb6356191aa61d8215 files/openvpn.init 1441 SHA256 0e08f772a4fbbb28c0e9190c67430da5cc8d78acadbbb1b61447b96df2c96399 files/openvpn.init 1441 +DIST openvpn-2.0.6.tar.gz 664816 RMD160 cf3cd807bb657baf317e896b57900958cf442a63 SHA256 1074c9fb5a7881e6d4ff0b125cf1e44a9fb650beef187f061785698522453003 size 664816 +EBUILD openvpn-2.0.6.ebuild 3855 RMD160 8ea7fc436052eaedc29cab3d23a4786c64907214 SHA1 b89d1d8a5ad7d97644d042a1651d6d747678a006 SHA256 643a375dee682284d428aa84c25c8e2610e6e8b6c5e1f9a775dd8cf9cfadff89 size 3855 +MD5 418f9c55fcaad0fbc9441a1afa298b37 openvpn-2.0.6.ebuild 3855 +RMD160 8ea7fc436052eaedc29cab3d23a4786c64907214 openvpn-2.0.6.ebuild 3855 +SHA256 643a375dee682284d428aa84c25c8e2610e6e8b6c5e1f9a775dd8cf9cfadff89 openvpn-2.0.6.ebuild 3855 +MISC ChangeLog 12269 RMD160 573e145b5967d89fc4e6b9f248329147e5a9da20 SHA1 4e5cfa4bd161d65fab23de8ecd857d6f12d9da02 SHA256 d643b9c61623c4f38379a401250598252da12aafcb75f8f69bb5434f8da40a81 size 12269 +MD5 48bfbfaee5593bad7b22c6d78270a795 ChangeLog 12269 +RMD160 573e145b5967d89fc4e6b9f248329147e5a9da20 ChangeLog 12269 +SHA256 d643b9c61623c4f38379a401250598252da12aafcb75f8f69bb5434f8da40a81 ChangeLog 12269 +MISC metadata.xml 440 RMD160 120089ec9c799161dfeeacd9a3adfc40b4317f06 SHA1 23d2975ef0f709dc2e754a5867942e679ee60740 SHA256 408ca4fc4f58fa21e629582d0a44a759f9695a018479d70efbd3338b6bdbcfd6 size 440 MD5 62aa0438042b29eba4a6afd971037761 metadata.xml 440 RMD160 120089ec9c799161dfeeacd9a3adfc40b4317f06 metadata.xml 440 SHA256 408ca4fc4f58fa21e629582d0a44a759f9695a018479d70efbd3338b6bdbcfd6 metadata.xml 440 -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 4d9ac0293684105d1913bc888444ab76 openvpn-2.0.6.ebuild 3862 -RMD160 7112bca4f89d2384208ad8da02a0ce24a0de3555 openvpn-2.0.6.ebuild 3862 -SHA256 0b5abedd70608eebe76b84ebe9c0baff1963bb650a1efdb4c0047c71aa291a19 openvpn-2.0.6.ebuild 3862 +MD5 9b5501be21ae9235fea7d51ef84b644e files/digest-openvpn-2.0.6 241 +RMD160 3bca5f56e3526082debc843084ae21fe35e65f93 files/digest-openvpn-2.0.6 241 +SHA256 cc2c7e3423898778eb6f6b45bdd4ba18d2a20be748cfa8482eba4ca20c2f80bd files/digest-openvpn-2.0.6 241 +size 241 files/digest-openvpn-2.0.6 241 diff --git a/net-misc/openvpn/files/digest-openvpn-2.0.5-r2 b/net-misc/openvpn/files/digest-openvpn-2.0.5-r2 deleted file mode 100644 index 97d2580b08e9..000000000000 --- a/net-misc/openvpn/files/digest-openvpn-2.0.5-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 4bd7a42991c93db23842a0992debe53b openvpn-2.0.5.tar.gz 662647 diff --git a/net-misc/openvpn/openvpn-2.0.5-r2.ebuild b/net-misc/openvpn/openvpn-2.0.5-r2.ebuild deleted file mode 100644 index 0e120706b01c..000000000000 --- a/net-misc/openvpn/openvpn-2.0.5-r2.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2006 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-r2.ebuild,v 1.8 2006/02/08 11:18:52 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 hppa 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.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 - exeinto "/usr/share/${PN}/easy-rsa" - doexe *-* pkitool - insinto "/usr/share/${PN}/easy-rsa" - doins README openssl.cnf vars - cd ../.. - - exeinto "/usr/$(get_libdir)/${PN}" - doexe plugin/*/*.so - fi -} - -pkg_postinst() { - ewarn "WARNING: The openvpn init script has changed" - ewarn "" - 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 ! use minimal ; then - einfo "" - einfo "plugins have been installed into /usr/$(get_libdir)/${PN}" - fi - einfo "" - einfo "It is recommended that you create your tun/tap interfaces using" - einfo "the net.tun0/net.tap0 scripts provided by baselayout instead of" - einfo "using the 'server' directive in openvpn configuration files." - einfo "This will insure that the interface really is up after openvpn" - einfo "starts." - einfo "Note that you cannot use net.tun0/net.tap0 and the server option," - einfo "otherwise openvpn will not start." - ebeep -} |