summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-06-29 09:34:46 +0000
committerRoy Marples <uberlord@gentoo.org>2006-06-29 09:34:46 +0000
commit2397579e8fea70fa05b00345b882b0f71bfb840e (patch)
treee331e0ec995276a2a0264f0ae70132fce00ce016
parentStable on ppc. (diff)
downloadhistorical-2397579e8fea70fa05b00345b882b0f71bfb840e.tar.gz
historical-2397579e8fea70fa05b00345b882b0f71bfb840e.tar.bz2
historical-2397579e8fea70fa05b00345b882b0f71bfb840e.zip
Bump, #138250, thanks to Armando Di Cianno.
Package-Manager: portage-2.1.1_pre1-r5
-rw-r--r--net-misc/openvpn/ChangeLog7
-rw-r--r--net-misc/openvpn/Manifest49
-rw-r--r--net-misc/openvpn/files/digest-openvpn-2.0.73
-rw-r--r--net-misc/openvpn/openvpn-2.0.7.ebuild129
4 files changed, 183 insertions, 5 deletions
diff --git a/net-misc/openvpn/ChangeLog b/net-misc/openvpn/ChangeLog
index cb50ab867f8b..2a21b5a957a2 100644
--- a/net-misc/openvpn/ChangeLog
+++ b/net-misc/openvpn/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/openvpn
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openvpn/ChangeLog,v 1.88 2006/05/15 21:07:19 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openvpn/ChangeLog,v 1.89 2006/06/29 09:34:46 uberlord Exp $
+
+*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
diff --git a/net-misc/openvpn/Manifest b/net-misc/openvpn/Manifest
index 8b6f46ede5eb..6a99755b7204 100644
--- a/net-misc/openvpn/Manifest
+++ b/net-misc/openvpn/Manifest
@@ -1,11 +1,52 @@
-MD5 2bd16be73f0270885b8fb23b1d95f833 ChangeLog 13616
-MD5 9b5501be21ae9235fea7d51ef84b644e files/digest-openvpn-2.0.6 241
-MD5 9f3dee432a917a273baf3b721d3f01e2 files/digest-openvpn-2.1_beta14 256
+AUX down.sh 862 RMD160 ff6b7a98a715d2e950d7de84338cf3247bace414 SHA1 149d7a2632a5f6bc85276d2ee5ab97254e033aff SHA256 384e5e2a78a04fc1e3ffc70e9e8b576777081ada1a639337ea6d5165f1853bf8
MD5 053d23dd4afe2e040140d0afa78d9452 files/down.sh 862
+RMD160 ff6b7a98a715d2e950d7de84338cf3247bace414 files/down.sh 862
+SHA256 384e5e2a78a04fc1e3ffc70e9e8b576777081ada1a639337ea6d5165f1853bf8 files/down.sh 862
+AUX openvpn-2.0.4-darwin.patch 717 RMD160 66aa5ea349329cf3e6089aa75eb7c80e0d21063b SHA1 ca21fbc61b78d893699b6bf4fb40eb2735db28c8 SHA256 ad70b77c10bb57a07af3d512e953fc8b5a07108df5bf9795e0cb12e1ba2b2136
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-2.1.init 3151 RMD160 e5af61b4e77a52d953ca7338d8b57e2320216f26 SHA1 c7040ff42fcb4f4b67ea3c7a19efefa354176a72 SHA256 55514885589fb82c8fe885885537d3c4a73fbefb1aeace6e3c57cf2a002eb82f
MD5 e1c44a7a423ea4061b046a43c31d8d12 files/openvpn-2.1.init 3151
+RMD160 e5af61b4e77a52d953ca7338d8b57e2320216f26 files/openvpn-2.1.init 3151
+SHA256 55514885589fb82c8fe885885537d3c4a73fbefb1aeace6e3c57cf2a002eb82f files/openvpn-2.1.init 3151
+AUX openvpn.init 1458 RMD160 38e1c7ef3197bbb5d9f7fc764f6ce5149387a4e6 SHA1 6b6aef1a95177f68c20623c07198abd421502ad9 SHA256 54f33e766a455baeb5f8e1e318ad3be5fb0b88450ffad98f90812d64baef5e04
MD5 a66a9752a2dce48aa7061a535ef2ab4d files/openvpn.init 1458
+RMD160 38e1c7ef3197bbb5d9f7fc764f6ce5149387a4e6 files/openvpn.init 1458
+SHA256 54f33e766a455baeb5f8e1e318ad3be5fb0b88450ffad98f90812d64baef5e04 files/openvpn.init 1458
+AUX up.sh 1477 RMD160 5d398f10b66a75447b227338ffdf03a16bf0fa16 SHA1 b5decc72a0ed6135f1b3bd59d76f9eda9e0abcfd SHA256 eca10ae245785fc0781da26826a15e9499337260d40417015ead148270dacbd2
MD5 d2f67510ae745e92ed2eb79580425c94 files/up.sh 1477
-MD5 62aa0438042b29eba4a6afd971037761 metadata.xml 440
+RMD160 5d398f10b66a75447b227338ffdf03a16bf0fa16 files/up.sh 1477
+SHA256 eca10ae245785fc0781da26826a15e9499337260d40417015ead148270dacbd2 files/up.sh 1477
+DIST openvpn-2.0.6.tar.gz 664816 RMD160 cf3cd807bb657baf317e896b57900958cf442a63 SHA256 1074c9fb5a7881e6d4ff0b125cf1e44a9fb650beef187f061785698522453003
+DIST openvpn-2.0.7.tar.gz 665129 RMD160 b89f6df5ff08326f4e07e6cd4abda633627ef9e4 SHA1 74a4d19e42ca226f50ab5bdba16aa4a130c5e431 SHA256 9e29ebfb76375379b4ca12c2270dff3b4b1636eb643747c69249ae206833052e
+DIST openvpn-2.1_beta14.tar.gz 775042 RMD160 1c7845405b33153c1380aa48eaa88308a5eadd2c SHA1 ec146d3f35aa6eed43701751e84a50c6a3930446 SHA256 da61d236047b9a5985765961930446a706aeef87dc2b4ce0f7e2c9f2831566ea
+EBUILD openvpn-2.0.6.ebuild 3861 RMD160 937c2886c60e33dcde94d69bf17b70ffa7bd8f67 SHA1 e891034f7f4d229662bd613c8458fea67a45f785 SHA256 09c92a4edd9bd4d15a22f25f2f6f9cf25610c70465fdd58b046baf0e593a228b
MD5 82e5d7e45071c45d868fbba2a55fe47d openvpn-2.0.6.ebuild 3861
+RMD160 937c2886c60e33dcde94d69bf17b70ffa7bd8f67 openvpn-2.0.6.ebuild 3861
+SHA256 09c92a4edd9bd4d15a22f25f2f6f9cf25610c70465fdd58b046baf0e593a228b openvpn-2.0.6.ebuild 3861
+EBUILD openvpn-2.0.7.ebuild 3869 RMD160 4e2cf66640084682ef62ff23ec037817f70755d8 SHA1 5493e1962b94e5b0c670290f57d0b1d2ce885e3d SHA256 205068a5d8297b499273de3981d6df305074a7ccaae719b4110dd96d02c9fdb8
+MD5 a44980cd593b32cd92aca88cd6405b84 openvpn-2.0.7.ebuild 3869
+RMD160 4e2cf66640084682ef62ff23ec037817f70755d8 openvpn-2.0.7.ebuild 3869
+SHA256 205068a5d8297b499273de3981d6df305074a7ccaae719b4110dd96d02c9fdb8 openvpn-2.0.7.ebuild 3869
+EBUILD openvpn-2.1_beta14.ebuild 4198 RMD160 ea68edb2496bb772d7e5248bdff7b507f59f04bc SHA1 a86ca59ec2988e63314e683e6abda50634e550c6 SHA256 6906cd804695c03af240f9ee37091b940aa640cb01059304846493f564ca2c0a
MD5 732ac0e7ab0e5e61b682f18ab72a8855 openvpn-2.1_beta14.ebuild 4198
+RMD160 ea68edb2496bb772d7e5248bdff7b507f59f04bc openvpn-2.1_beta14.ebuild 4198
+SHA256 6906cd804695c03af240f9ee37091b940aa640cb01059304846493f564ca2c0a openvpn-2.1_beta14.ebuild 4198
+MISC ChangeLog 13767 RMD160 6f1de253fc6f5a4f8f654c54d487e31916aa15dc SHA1 ba54b4fa11be435d0e7e1d63246c57e6358edb4b SHA256 0d219775f60a3b7ebff3d8e17d94a406402863bcdc5a3727e67d8735566d8964
+MD5 41b2ff37a79543b13f817245c47b5a71 ChangeLog 13767
+RMD160 6f1de253fc6f5a4f8f654c54d487e31916aa15dc ChangeLog 13767
+SHA256 0d219775f60a3b7ebff3d8e17d94a406402863bcdc5a3727e67d8735566d8964 ChangeLog 13767
+MISC metadata.xml 440 RMD160 120089ec9c799161dfeeacd9a3adfc40b4317f06 SHA1 23d2975ef0f709dc2e754a5867942e679ee60740 SHA256 408ca4fc4f58fa21e629582d0a44a759f9695a018479d70efbd3338b6bdbcfd6
+MD5 62aa0438042b29eba4a6afd971037761 metadata.xml 440
+RMD160 120089ec9c799161dfeeacd9a3adfc40b4317f06 metadata.xml 440
+SHA256 408ca4fc4f58fa21e629582d0a44a759f9695a018479d70efbd3338b6bdbcfd6 metadata.xml 440
+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
+MD5 f8b2e9d63bd97591290f11cd6bf8ae2a files/digest-openvpn-2.0.7 241
+RMD160 95c02dbccbc539ab7e6c2947ef7d187c3be3b6ad files/digest-openvpn-2.0.7 241
+SHA256 a1f31a906a965a6209c5e248a0a36f80423f087dd519d8465503446f23f1446d files/digest-openvpn-2.0.7 241
+MD5 9f3dee432a917a273baf3b721d3f01e2 files/digest-openvpn-2.1_beta14 256
+RMD160 8b38bd1027c85531c3483c2f290d37854f461750 files/digest-openvpn-2.1_beta14 256
+SHA256 2f60d11bdb0d5795151caf35752124cb849b1baf757f58aa1bb6aef2b67d2af6 files/digest-openvpn-2.1_beta14 256
diff --git a/net-misc/openvpn/files/digest-openvpn-2.0.7 b/net-misc/openvpn/files/digest-openvpn-2.0.7
new file mode 100644
index 000000000000..c534cdba1b47
--- /dev/null
+++ b/net-misc/openvpn/files/digest-openvpn-2.0.7
@@ -0,0 +1,3 @@
+MD5 93528233f1f6d02fc18e2c00f82e0aca openvpn-2.0.7.tar.gz 665129
+RMD160 b89f6df5ff08326f4e07e6cd4abda633627ef9e4 openvpn-2.0.7.tar.gz 665129
+SHA256 9e29ebfb76375379b4ca12c2270dff3b4b1636eb643747c69249ae206833052e openvpn-2.0.7.tar.gz 665129
diff --git a/net-misc/openvpn/openvpn-2.0.7.ebuild b/net-misc/openvpn/openvpn-2.0.7.ebuild
new file mode 100644
index 000000000000..9cbc8f7354cd
--- /dev/null
+++ b/net-misc/openvpn/openvpn-2.0.7.ebuild
@@ -0,0 +1,129 @@
+# 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.7.ebuild,v 1.1 2006/06/29 09:34:46 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 ~ppc64 ~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 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
+}