summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-09-13 06:45:39 +0000
committerRoy Marples <uberlord@gentoo.org>2006-09-13 06:45:39 +0000
commit49a395c61eb21bc2d14667914e7980ba68c44dc2 (patch)
treeaacc98e4fdd3a9caccf1b1846919c5b9277245cd /net-misc
parentFix plugin install, #147308 again. (diff)
downloadhistorical-49a395c61eb21bc2d14667914e7980ba68c44dc2.tar.gz
historical-49a395c61eb21bc2d14667914e7980ba68c44dc2.tar.bz2
historical-49a395c61eb21bc2d14667914e7980ba68c44dc2.zip
Fix plugin install, #147308 again.
Package-Manager: portage-2.1.1
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/openvpn/Manifest24
-rw-r--r--net-misc/openvpn/files/digest-openvpn-2.1_beta143
-rw-r--r--net-misc/openvpn/openvpn-2.1_beta14.ebuild144
3 files changed, 8 insertions, 163 deletions
diff --git a/net-misc/openvpn/Manifest b/net-misc/openvpn/Manifest
index c3d056140a6e..393a701b3f0f 100644
--- a/net-misc/openvpn/Manifest
+++ b/net-misc/openvpn/Manifest
@@ -20,7 +20,6 @@ RMD160 1b1180ee687c3276dcad6ba3191b5cd87719fb36 files/up.sh 1606
SHA256 2440d2d1cedc192c083c771d84ecd9feb127402c78e4b9a1b3af1faf469902fb files/up.sh 1606
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
DIST openvpn-2.1_beta15.tar.gz 776778 RMD160 514246341a9979f1aec4c28b203d8a8f2c64408b SHA1 51bc91cb09f9863cf85c5b3c83755d2dc74dab5a SHA256 35daa28523095d637bc694d4e22f9a0e075f9e8b910998ca7bf2576fa9d8cc05
EBUILD openvpn-2.0.6.ebuild 3861 RMD160 ab1cebb22bd90f5b9f7ad51d61e3c71ac429edd1 SHA1 b5c9bb2b4bfa325ede656cfee0a7e4c14f2f919d SHA256 9b173588e955a0b5da9a4b3a8fb2a5f95566ca210c64d0660b590139bb1879aa
MD5 997c0652659de943e575acd3f553fc51 openvpn-2.0.6.ebuild 3861
@@ -30,18 +29,14 @@ EBUILD openvpn-2.0.7.ebuild 3869 RMD160 4e2cf66640084682ef62ff23ec037817f70755d8
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
-EBUILD openvpn-2.1_beta15.ebuild 4124 RMD160 a3a9bcd130e8cc37cd9f89b999e7edd143e46ea5 SHA1 56ac3c1163d1a2600ef9088b132310e6a6e55950 SHA256 b7d55c3f384fa5052430a8d72ddb310e5882326d334a896ceb58adc4fee501d4
-MD5 eb58910f22796dcb419c0ed85b0795e8 openvpn-2.1_beta15.ebuild 4124
-RMD160 a3a9bcd130e8cc37cd9f89b999e7edd143e46ea5 openvpn-2.1_beta15.ebuild 4124
-SHA256 b7d55c3f384fa5052430a8d72ddb310e5882326d334a896ceb58adc4fee501d4 openvpn-2.1_beta15.ebuild 4124
-MISC ChangeLog 14312 RMD160 72dc17f95b5d8e0a0ac81b25d3105cbc64fd76e5 SHA1 6d2a58d4c0e413174ed0c9d9ca185ebe17950b75 SHA256 f3e57941c2d3bb81bd46c308678bd2ea08a35df33be5b4cb3759f21c52625f2a
-MD5 0ea693fcb1b5b8cf21cee67c8da2ea10 ChangeLog 14312
-RMD160 72dc17f95b5d8e0a0ac81b25d3105cbc64fd76e5 ChangeLog 14312
-SHA256 f3e57941c2d3bb81bd46c308678bd2ea08a35df33be5b4cb3759f21c52625f2a ChangeLog 14312
+EBUILD openvpn-2.1_beta15.ebuild 4135 RMD160 00aed9318a4d57b458475d6dd779a135f51317a5 SHA1 79954b73247f5b9ee588d2d73145027ae99a0722 SHA256 dede0de5891996f89989340bd1c9f053cba544ad9ec0a134facb583dc460d332
+MD5 090bf6ac91d204d26eb156e7e957ea6c openvpn-2.1_beta15.ebuild 4135
+RMD160 00aed9318a4d57b458475d6dd779a135f51317a5 openvpn-2.1_beta15.ebuild 4135
+SHA256 dede0de5891996f89989340bd1c9f053cba544ad9ec0a134facb583dc460d332 openvpn-2.1_beta15.ebuild 4135
+MISC ChangeLog 14456 RMD160 2b5e4236cd8db30089cf90a9f14d9c0c2696a9c5 SHA1 acde5ef22c6b54b647aba87a501033222a5389b5 SHA256 ae52ecbdbb73f692e936d137072eea9333d3126ab7b208d35b3b8f793c2b525a
+MD5 7404e0d79da5a1df6fc4f90ffd8e6a68 ChangeLog 14456
+RMD160 2b5e4236cd8db30089cf90a9f14d9c0c2696a9c5 ChangeLog 14456
+SHA256 ae52ecbdbb73f692e936d137072eea9333d3126ab7b208d35b3b8f793c2b525a ChangeLog 14456
MISC metadata.xml 440 RMD160 120089ec9c799161dfeeacd9a3adfc40b4317f06 SHA1 23d2975ef0f709dc2e754a5867942e679ee60740 SHA256 408ca4fc4f58fa21e629582d0a44a759f9695a018479d70efbd3338b6bdbcfd6
MD5 62aa0438042b29eba4a6afd971037761 metadata.xml 440
RMD160 120089ec9c799161dfeeacd9a3adfc40b4317f06 metadata.xml 440
@@ -52,9 +47,6 @@ SHA256 cc2c7e3423898778eb6f6b45bdd4ba18d2a20be748cfa8482eba4ca20c2f80bd files/di
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
MD5 edd5005236b15c7b772b04361e7305e1 files/digest-openvpn-2.1_beta15 256
RMD160 d0a07032e4976f9cb95e82c0d20471c8da28f971 files/digest-openvpn-2.1_beta15 256
SHA256 a8696ba07f2abf7c9cab1ee3a0bd28527ccaee5d522635b9d19fb6d79173216d files/digest-openvpn-2.1_beta15 256
diff --git a/net-misc/openvpn/files/digest-openvpn-2.1_beta14 b/net-misc/openvpn/files/digest-openvpn-2.1_beta14
deleted file mode 100644
index 4f7bc1faa04f..000000000000
--- a/net-misc/openvpn/files/digest-openvpn-2.1_beta14
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 7bd96eaa834a1779755d68c9b2591583 openvpn-2.1_beta14.tar.gz 775042
-RMD160 1c7845405b33153c1380aa48eaa88308a5eadd2c openvpn-2.1_beta14.tar.gz 775042
-SHA256 da61d236047b9a5985765961930446a706aeef87dc2b4ce0f7e2c9f2831566ea openvpn-2.1_beta14.tar.gz 775042
diff --git a/net-misc/openvpn/openvpn-2.1_beta14.ebuild b/net-misc/openvpn/openvpn-2.1_beta14.ebuild
deleted file mode 100644
index 0d3bcd536b0f..000000000000
--- a/net-misc/openvpn/openvpn-2.1_beta14.ebuild
+++ /dev/null
@@ -1,144 +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.1_beta14.ebuild,v 1.3 2006/05/10 20:23:41 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"
-
-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 )"
-
-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"
- 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 -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 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
- 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() {
- # 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
-}