summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Piasek <dagger@gentoo.org>2011-07-09 09:02:01 +0100
committerRobert Piasek <dagger@gentoo.org>2011-07-09 09:02:01 +0100
commit1b2c03210e7c0783214ad1a03583aca476deaa20 (patch)
treeb012a0bf4d2d82d74ec8a1611e2f3d7004c2ae89
parentAdd version 0.9_rc3 (diff)
downloaddagger-1b2c03210e7c0783214ad1a03583aca476deaa20.tar.gz
dagger-1b2c03210e7c0783214ad1a03583aca476deaa20.tar.bz2
dagger-1b2c03210e7c0783214ad1a03583aca476deaa20.zip
Add openvpn plugin for NM-0.9
-rw-r--r--net-misc/networkmanager-openvpn/ChangeLog10
-rw-r--r--net-misc/networkmanager-openvpn/Manifest4
-rw-r--r--net-misc/networkmanager-openvpn/metadata.xml14
-rw-r--r--net-misc/networkmanager-openvpn/networkmanager-openvpn-0.9_rc3.ebuild57
4 files changed, 85 insertions, 0 deletions
diff --git a/net-misc/networkmanager-openvpn/ChangeLog b/net-misc/networkmanager-openvpn/ChangeLog
new file mode 100644
index 0000000..0ce44cc
--- /dev/null
+++ b/net-misc/networkmanager-openvpn/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-misc/networkmanager-openvpn
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*networkmanager-openvpn-0.9_rc3 (09 Jul 2011)
+
+ 09 Jul 2011; Robert Piasek <dagger@gentoo.org>
+ +networkmanager-openvpn-0.9_rc3.ebuild, +metadata.xml:
+ Add openvpn plugin support for NM-0.9
+
diff --git a/net-misc/networkmanager-openvpn/Manifest b/net-misc/networkmanager-openvpn/Manifest
new file mode 100644
index 0000000..d7d7bd0
--- /dev/null
+++ b/net-misc/networkmanager-openvpn/Manifest
@@ -0,0 +1,4 @@
+DIST NetworkManager-openvpn-0.8.9997.tar.bz2 433758 RMD160 2f8674502858f205336f5092020c23773b256da5 SHA1 307b85f1437e435306954002b7f7d25a0915b240 SHA256 39e14bc304d5b0145fa161fc78ffac95100bed7fcc5d14d27ee2de03ece5b757
+EBUILD networkmanager-openvpn-0.9_rc3.ebuild 1305 RMD160 fe064c506bb3c7054df6d20e9bd78fb536630214 SHA1 8a91e7e788d03d9774a236f7a0e5d5c6b6159bb7 SHA256 602c53ec4442aa85fc03ec0c71975a808b3934cadfb77eae83cbeb4f89f82e6f
+MISC ChangeLog 326 RMD160 0fb43fc9dd33741c34fa247b8512189b210c1e1d SHA1 b533a81a5774163230d0a9f7b24d5bca0567d9ec SHA256 1317a25191426b917ae7be5c31196dbbcfa72ded74a21859b6c7906be6d8fded
+MISC metadata.xml 345 RMD160 ec997e2e73c5ca50e8897573c0bdfb2fdc94856c SHA1 52ac7bff5bf42f503753a3210693cd12b62c8524 SHA256 c67b239bb6bd0bcc037cfadec88de3c90eb88a9a01404f1d72e7e4e967cfcda8
diff --git a/net-misc/networkmanager-openvpn/metadata.xml b/net-misc/networkmanager-openvpn/metadata.xml
new file mode 100644
index 0000000..d6d8652
--- /dev/null
+++ b/net-misc/networkmanager-openvpn/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>steev@gentoo.org</email>
+ <name>Stephen Klimaszewski</name>
+</maintainer>
+<maintainer>
+ <email>dagger@gentoo.org</email>
+ <name>Robert Piasek</name>
+</maintainer>
+</pkgmetadata>
+
diff --git a/net-misc/networkmanager-openvpn/networkmanager-openvpn-0.9_rc3.ebuild b/net-misc/networkmanager-openvpn/networkmanager-openvpn-0.9_rc3.ebuild
new file mode 100644
index 0000000..fb69d31
--- /dev/null
+++ b/net-misc/networkmanager-openvpn/networkmanager-openvpn-0.9_rc3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager-openvpn/networkmanager-openvpn-0.8-r1.ebuild,v 1.4 2011/03/29 12:51:37 angelos Exp $
+
+EAPI="2"
+
+inherit eutils gnome.org
+
+# NetworkManager likes itself with capital letters
+MY_PN=${PN/networkmanager/NetworkManager}
+MY_PV=${PV/0.9_rc3/0.8.9997}
+MY_P=${MY_PN}-${MY_PV}
+
+DESCRIPTION="NetworkManager OpenVPN plugin."
+HOMEPAGE="http://www.gnome.org/projects/NetworkManager/"
+SRC_URI="mirror://gnome/sources/${MY_PN}/0.8/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnome"
+
+RDEPEND="
+ >=net-misc/networkmanager-${PV}
+ >=net-misc/openvpn-2.1_rc9
+ >=dev-libs/dbus-glib-0.74
+ gnome? (
+ >=x11-libs/gtk+-2.6:2
+ gnome-base/gconf:2
+ gnome-base/gnome-keyring
+ gnome-base/libglade:2.0
+ )"
+
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ dev-util/intltool
+ dev-util/pkgconfig"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+# FAIL: (tls-import-data) unexpected 'ca' secret value
+RESTRICT="test"
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ ECONF="--disable-more-warnings
+ $(use_with gnome)"
+
+ econf ${ECONF}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
+}