summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Piasek <dagger@gentoo.org>2008-08-22 12:22:25 +0000
committerRobert Piasek <dagger@gentoo.org>2008-08-22 12:22:25 +0000
commitf30bfa3e97e90ceed8272a76409339b859d84f3f (patch)
tree694ba9c7b64a4a5b32e5c4fdd889e886aa6b37a1
parentInitial port of NetworkManager-0.7.0 OpenVPN (diff)
downloadoverlay-f30bfa3e97e90ceed8272a76409339b859d84f3f.tar.gz
overlay-f30bfa3e97e90ceed8272a76409339b859d84f3f.tar.bz2
overlay-f30bfa3e97e90ceed8272a76409339b859d84f3f.zip
Initial port of VPNC plugin for NM-0.7
# based on openvpn plugin svn path=/overlay/; revision=46
-rw-r--r--net-misc/networkmanager-vpnc/ChangeLog10
-rw-r--r--net-misc/networkmanager-vpnc/networkmanager-vpnc-0.7.0_pre20080817.ebuild52
2 files changed, 62 insertions, 0 deletions
diff --git a/net-misc/networkmanager-vpnc/ChangeLog b/net-misc/networkmanager-vpnc/ChangeLog
new file mode 100644
index 0000000..d9143bf
--- /dev/null
+++ b/net-misc/networkmanager-vpnc/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-misc/networkmanager-openvpn
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*networkmanager-vpnc-0.7.0_p20080817 (22 Aug 2008)
+
+ 22 Aug 2008; Robert Piasek <robert@piasek.co.uk>
+ +networkmanager-vpnc-0.7.0_p20080817.ebuild
+ Initial port of NetworkManager-0.7 VPNC plugin
+
diff --git a/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.7.0_pre20080817.ebuild b/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.7.0_pre20080817.ebuild
new file mode 100644
index 0000000..3665a42
--- /dev/null
+++ b/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.7.0_pre20080817.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+# NetworkManager likes itself with capital letters
+MY_P=${P/networkmanager/NetworkManager}
+
+DESCRIPTION="NetworkManager VPNC plugin."
+HOMEPAGE="http://www.gnome.org/projects/NetworkManager/"
+SRC_URI="http://dev.gentoo.org/~rbu/distfiles/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gnome"
+
+RDEPEND="
+ >=net-misc/networkmanager-0.7.0_pre20080817
+ gnome? ( >=x11-libs/gtk+-2.10
+ >=gnome-base/libglade-2
+ >=gnome-base/libgnomeui-2.20
+ >=gnome-base/gconf-2.20
+ >=gnome-base/gnome-keyring-2.20
+ )
+ >=net-misc/vpnc-0.5"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ dev-util/intltool"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack () {
+ unpack ${A}
+ cd "${S}"
+}
+
+src_compile() {
+ ECONF="--disable-more-warnings \
+ $(use_with gnome)"
+
+ econf ${ECONF} || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README
+}