summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Piasek <dagger@gentoo.org>2011-08-17 10:51:54 +0000
committerRobert Piasek <dagger@gentoo.org>2011-08-17 10:51:54 +0000
commit7322938c22949f595a118becd4e68c90c835ded9 (patch)
tree1a5e81ccc84356d0b4bbf436f8eadb8be203a1d7 /net-misc/networkmanager-openconnect
parentx86 stable per bug 376403 (diff)
downloadgentoo-2-7322938c22949f595a118becd4e68c90c835ded9.tar.gz
gentoo-2-7322938c22949f595a118becd4e68c90c835ded9.tar.bz2
gentoo-2-7322938c22949f595a118becd4e68c90c835ded9.zip
Initial version of networkmanager-openconnect plugin for NM-0.8 and NM-0.9
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/networkmanager-openconnect')
-rw-r--r--net-misc/networkmanager-openconnect/ChangeLog12
-rw-r--r--net-misc/networkmanager-openconnect/metadata.xml21
-rw-r--r--net-misc/networkmanager-openconnect/networkmanager-openconnect-0.8.4.ebuild52
-rw-r--r--net-misc/networkmanager-openconnect/networkmanager-openconnect-0.9_rc2.ebuild56
4 files changed, 141 insertions, 0 deletions
diff --git a/net-misc/networkmanager-openconnect/ChangeLog b/net-misc/networkmanager-openconnect/ChangeLog
new file mode 100644
index 000000000000..c9b520112c0e
--- /dev/null
+++ b/net-misc/networkmanager-openconnect/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for net-misc/networkmanager-openconnect
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager-openconnect/ChangeLog,v 1.1 2011/08/17 10:51:54 dagger Exp $
+
+*networkmanager-openconnect-0.9_rc2 (17 Aug 2011)
+*networkmanager-openconnect-0.8.4 (17 Aug 2011)
+
+ 17 Aug 2011; Robert Piasek <dagger@gentoo.org>
+ +networkmanager-openconnect-0.8.4.ebuild,
+ +networkmanager-openconnect-0.9_rc2.ebuild, +metadata.xml:
+ Initial version of networkmanager-openconnect plugin for NM-0.8 and NM-0.9
+
diff --git a/net-misc/networkmanager-openconnect/metadata.xml b/net-misc/networkmanager-openconnect/metadata.xml
new file mode 100644
index 000000000000..3c0ad822c6fc
--- /dev/null
+++ b/net-misc/networkmanager-openconnect/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>dagger@gentoo.org</email>
+ <name>Robert Piasek</name>
+ </maintainer>
+ <maintainer>
+ <email>nirbheek@gentoo.org</email>
+ <name>Nirbheek Chauhan</name>
+ </maintainer>
+ <maintainer>
+ <email>qiaomuf@gentoo.org</email>
+ <name>Mu Qiao</name>
+ </maintainer>
+ <maintainer>
+ <email>steev@gentoo.org</email>
+ <name>Stephen Klimaszewski</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-misc/networkmanager-openconnect/networkmanager-openconnect-0.8.4.ebuild b/net-misc/networkmanager-openconnect/networkmanager-openconnect-0.8.4.ebuild
new file mode 100644
index 000000000000..7a666a00abb8
--- /dev/null
+++ b/net-misc/networkmanager-openconnect/networkmanager-openconnect-0.8.4.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager-openconnect/networkmanager-openconnect-0.8.4.ebuild,v 1.1 2011/08/17 10:51:54 dagger Exp $
+
+EAPI="2"
+
+inherit eutils gnome.org
+
+# NetworkManager likes itself with capital letters
+MY_PN="${PN/networkmanager/NetworkManager}"
+
+DESCRIPTION="NetworkManager OpenConnect plugin"
+HOMEPAGE="http://www.gnome.org/projects/NetworkManager/"
+SRC_URI="${SRC_URI//${PN}/${MY_PN}}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnome"
+
+RDEPEND="
+ >=net-misc/networkmanager-${PV}
+ >=dev-libs/dbus-glib-0.74
+ net-misc/openconnect
+ 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}"
+
+src_configure() {
+ ECONF="--disable-more-warnings
+ --disable-static
+ $(use_with gnome)
+ $(use_with gnome authdlg)"
+
+ econf ${ECONF}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
+}
diff --git a/net-misc/networkmanager-openconnect/networkmanager-openconnect-0.9_rc2.ebuild b/net-misc/networkmanager-openconnect/networkmanager-openconnect-0.9_rc2.ebuild
new file mode 100644
index 000000000000..5fd7c34aefec
--- /dev/null
+++ b/net-misc/networkmanager-openconnect/networkmanager-openconnect-0.9_rc2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager-openconnect/networkmanager-openconnect-0.9_rc2.ebuild,v 1.1 2011/08/17 10:51:54 dagger Exp $
+
+EAPI="4"
+GNOME_TARBALL_SUFFIX="bz2"
+GNOME_ORG_MODULE="NetworkManager-${PN##*-}"
+GNOME_ORG_PVP="0.8"
+REAL_PV="0.8.999"
+
+inherit gnome.org
+
+DESCRIPTION="NetworkManager OpenConnect plugin"
+HOMEPAGE="http://www.gnome.org/projects/NetworkManager/"
+# Replace our fake _rc version with the actual version
+SRC_URI="${SRC_URI//${PV}/${REAL_PV}}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnome"
+
+RDEPEND="
+ >=net-misc/networkmanager-${PV}
+ >=dev-libs/dbus-glib-0.74
+ net-misc/openconnect
+ gnome? (
+ >=x11-libs/gtk+-3.0.0:3
+ gnome-base/gconf
+ gnome-base/gnome-keyring
+ )"
+
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ dev-util/intltool
+ dev-util/pkgconfig"
+
+# Replace our fake _rc version with the actual version
+S="${WORKDIR}/${GNOME_ORG_MODULE}-${REAL_PV}"
+
+src_configure() {
+ ECONF="--disable-more-warnings
+ --disable-static
+ --with-dist-version=Gentoo
+ --with-gtkver=3.0
+ $(use_with gnome)
+ $(use_with gnome authdlg)"
+
+ econf ${ECONF}
+}
+
+src_install() {
+ default
+ # Remove useless .la files
+ find "${D}" -name '*.la' -exec rm -f {} +
+}