summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Piasek <dagger@gentoo.org>2008-08-22 12:43:10 +0000
committerRobert Piasek <dagger@gentoo.org>2008-08-22 12:43:10 +0000
commit7b3a221bcc325d9d384fdc2aec2b7e0e013c6821 (patch)
tree6f9f16a909d43669e6987ffe68d5fa7e5352f807
parentInitial port of VPNC plugin for NM-0.7 (diff)
downloadoverlay-7b3a221bcc325d9d384fdc2aec2b7e0e013c6821.tar.gz
overlay-7b3a221bcc325d9d384fdc2aec2b7e0e013c6821.tar.bz2
overlay-7b3a221bcc325d9d384fdc2aec2b7e0e013c6821.zip
Initial port of NM-0.7 PPTP plugin.
Based on Openvpn plugin ebuild. svn path=/overlay/; revision=47
-rw-r--r--net-misc/networkmanager-pptp/ChangeLog22
-rw-r--r--net-misc/networkmanager-pptp/networkmanager-pptp-0.7.0_pre20080817.ebuild51
2 files changed, 58 insertions, 15 deletions
diff --git a/net-misc/networkmanager-pptp/ChangeLog b/net-misc/networkmanager-pptp/ChangeLog
index 747bf78..ed079a7 100644
--- a/net-misc/networkmanager-pptp/ChangeLog
+++ b/net-misc/networkmanager-pptp/ChangeLog
@@ -1,18 +1,10 @@
-# ChangeLog for net-misc/networkmanager-pptp
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# ChangeLog for net-misc/networkmanager-openvpn
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
- 29 Aug 2007; Robert Buchholz <rbu@gentoo.org>
- +networkmanager-pptp-0.6.5_p20070820.ebuild,
- +files/networkmanager-pptp-0.6.5_p20070820-patchset,
- +files/networkmanager-pptp-0.6.5_p20070820-patchset/01_all_nm-dep.patch,
- +files/networkmanager-pptp-0.6.5_p20070820-patchset/02_all_remove-general-
- dialog.patch,
- +files/networkmanager-pptp-0.6.5_p20070820-patchset/03_all_remove-non-pptp
- -parts.patch,
- +files/networkmanager-pptp-0.6.5_p20070820-patchset/04_all_revert-vpn-subs
- ystem-changes.patch,
- +files/networkmanager-pptp-0.6.5_p20070820-patchset/05_all_service-name.pa
- tch, networkmanager-pptp-0.7.0_pre20070621.ebuild:
- Adding backport of trunk, doesn't fully work yet
+*networkmanager-pptp-0.7.0_p20080817 (22 Aug 2008)
+
+ 22 Aug 2008; Robert Piasek <robert@piasek.co.uk>
+ +networkmanager-pptp-0.7.0_p20080817.ebuild
+ Initial port of NetworkManager-0.7 PPTP plugin
diff --git a/net-misc/networkmanager-pptp/networkmanager-pptp-0.7.0_pre20080817.ebuild b/net-misc/networkmanager-pptp/networkmanager-pptp-0.7.0_pre20080817.ebuild
new file mode 100644
index 0000000..2d6a45f
--- /dev/null
+++ b/net-misc/networkmanager-pptp/networkmanager-pptp-0.7.0_pre20080817.ebuild
@@ -0,0 +1,51 @@
+# 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 PPTP 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
+ )"
+
+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
+}