summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@gentoo.org>2007-08-23 12:28:15 +0000
committerRobert Buchholz <rbu@gentoo.org>2007-08-23 12:28:15 +0000
commitaad134ccab70e6762b05d27555a801a999d67b9b (patch)
tree418fa06658d742212f32f3938093f64a17913373 /net-misc/networkmanager-vpnc
parentInitial import to tree. Ebuild base by Stephen Klimaszewski (diff)
downloadhistorical-aad134ccab70e6762b05d27555a801a999d67b9b.tar.gz
historical-aad134ccab70e6762b05d27555a801a999d67b9b.tar.bz2
historical-aad134ccab70e6762b05d27555a801a999d67b9b.zip
Initial import to tree. Ebuild base by Stephen Klimaszewski
Package-Manager: portage-2.1.3.6
Diffstat (limited to 'net-misc/networkmanager-vpnc')
-rw-r--r--net-misc/networkmanager-vpnc/ChangeLog12
-rw-r--r--net-misc/networkmanager-vpnc/Manifest28
-rw-r--r--net-misc/networkmanager-vpnc/files/digest-networkmanager-vpnc-0.6.4_p200706213
-rw-r--r--net-misc/networkmanager-vpnc/files/networkmanager-vpnc-0.6.4_p20070621-service-name.patch17
-rw-r--r--net-misc/networkmanager-vpnc/files/nm-vpnc-dbus_conf.patch14
-rw-r--r--net-misc/networkmanager-vpnc/files/nm-vpnc-path.patch12
-rw-r--r--net-misc/networkmanager-vpnc/metadata.xml14
-rw-r--r--net-misc/networkmanager-vpnc/networkmanager-vpnc-0.6.4_p20070621.ebuild65
8 files changed, 165 insertions, 0 deletions
diff --git a/net-misc/networkmanager-vpnc/ChangeLog b/net-misc/networkmanager-vpnc/ChangeLog
new file mode 100644
index 000000000000..83608fd51b56
--- /dev/null
+++ b/net-misc/networkmanager-vpnc/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for net-misc/networkmanager-vpnc
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager-vpnc/ChangeLog,v 1.1 2007/08/23 12:28:15 rbu Exp $
+
+*networkmanager-vpnc-0.6.4_p20070621 (23 Aug 2007)
+
+ 23 Aug 2007; Robert Buchholz <rbu@gentoo.org>
+ +files/networkmanager-vpnc-0.6.4_p20070621-service-name.patch,
+ +files/nm-vpnc-dbus_conf.patch, +files/nm-vpnc-path.patch, +metadata.xml,
+ +networkmanager-vpnc-0.6.4_p20070621.ebuild:
+ Initial import to tree. Ebuild base by Stephen Klimaszewski
+
diff --git a/net-misc/networkmanager-vpnc/Manifest b/net-misc/networkmanager-vpnc/Manifest
new file mode 100644
index 000000000000..04953e3a7996
--- /dev/null
+++ b/net-misc/networkmanager-vpnc/Manifest
@@ -0,0 +1,28 @@
+AUX networkmanager-vpnc-0.6.4_p20070621-service-name.patch 585 RMD160 75379b2000169189f1a8e179d041e71d39151326 SHA1 3a228568089d9906f707f95c47aaf7a8cda2146a SHA256 d440538dbbaa226ceebff4661b508c03ed812f30d4efe72dedc54c6576c23963
+MD5 069739897ceb1c35cf7edee0312ce8bc files/networkmanager-vpnc-0.6.4_p20070621-service-name.patch 585
+RMD160 75379b2000169189f1a8e179d041e71d39151326 files/networkmanager-vpnc-0.6.4_p20070621-service-name.patch 585
+SHA256 d440538dbbaa226ceebff4661b508c03ed812f30d4efe72dedc54c6576c23963 files/networkmanager-vpnc-0.6.4_p20070621-service-name.patch 585
+AUX nm-vpnc-dbus_conf.patch 715 RMD160 ba8ee121d330cd704272a9f220b1f2c3983b329c SHA1 0e2799e9f9a8d56ee882af8afc6afe0d3e5a12e1 SHA256 1d4f08479ef0bf5f222f18717f5d3ed7329fb2f09f1118c95a576c995bfee02d
+MD5 9ddbcbc13c483a8c115828a7408a0e4f files/nm-vpnc-dbus_conf.patch 715
+RMD160 ba8ee121d330cd704272a9f220b1f2c3983b329c files/nm-vpnc-dbus_conf.patch 715
+SHA256 1d4f08479ef0bf5f222f18717f5d3ed7329fb2f09f1118c95a576c995bfee02d files/nm-vpnc-dbus_conf.patch 715
+AUX nm-vpnc-path.patch 418 RMD160 cf6138d9847db1310e095e559822f13956a9fc6b SHA1 d9d659deac1ea9981bf53d0671acde9a5eaabc1f SHA256 5557a9956d3dd9921b2722045d5dbb675f8e17dca1de8603cf6adb7fc3fa3672
+MD5 065e0e8aee1b047cdebc0da98a0c3bb3 files/nm-vpnc-path.patch 418
+RMD160 cf6138d9847db1310e095e559822f13956a9fc6b files/nm-vpnc-path.patch 418
+SHA256 5557a9956d3dd9921b2722045d5dbb675f8e17dca1de8603cf6adb7fc3fa3672 files/nm-vpnc-path.patch 418
+DIST NetworkManager-vpnc-0.6.4_p20070621.tar.gz 435524 RMD160 0849848fe6311eb1ec0b18d64607fe5388370fb6 SHA1 16c7697598ef76a3b338bbb75693d800b96862a0 SHA256 bff3d3ef3f9140095554b0aa57db7f6fe12176675f5016f51e247a9c4990f979
+EBUILD networkmanager-vpnc-0.6.4_p20070621.ebuild 1672 RMD160 a20a4c908ab57093e4475d729fe206b5bf78df62 SHA1 d941253e42fe2092f3a5abbd856fd44423e2b3f3 SHA256 8938027a9fc1313888018f61da2c9a8d230e7089b0f6dce5c8df93845db68ef8
+MD5 9047e105d3317a34320ecfd54b74bbe4 networkmanager-vpnc-0.6.4_p20070621.ebuild 1672
+RMD160 a20a4c908ab57093e4475d729fe206b5bf78df62 networkmanager-vpnc-0.6.4_p20070621.ebuild 1672
+SHA256 8938027a9fc1313888018f61da2c9a8d230e7089b0f6dce5c8df93845db68ef8 networkmanager-vpnc-0.6.4_p20070621.ebuild 1672
+MISC ChangeLog 480 RMD160 ec362d9aa984356e0cca545918f11946a77e7a65 SHA1 3f41f05e9dbebf39e3d06776728ff9487933a510 SHA256 60bbbd351290c03267cf7f1992c9f8652db63f004df81f61cfcee069d549cfbd
+MD5 76b4699f5567a2f0246e84f4f14a7f38 ChangeLog 480
+RMD160 ec362d9aa984356e0cca545918f11946a77e7a65 ChangeLog 480
+SHA256 60bbbd351290c03267cf7f1992c9f8652db63f004df81f61cfcee069d549cfbd ChangeLog 480
+MISC metadata.xml 344 RMD160 6dae4b51e74846224ef82fb8fecfa24181347ba1 SHA1 859633f2e0d6a3e4b6c3d70bf8e7035c5fac91cb SHA256 3321469819fcc80e3678024826875580760c390be39bf86a1cbaa7c8a5f30012
+MD5 653ba5f8f798852b0c8c7d246ada044e metadata.xml 344
+RMD160 6dae4b51e74846224ef82fb8fecfa24181347ba1 metadata.xml 344
+SHA256 3321469819fcc80e3678024826875580760c390be39bf86a1cbaa7c8a5f30012 metadata.xml 344
+MD5 8b5fa806c082bf8a8f6e07f57f9f8221 files/digest-networkmanager-vpnc-0.6.4_p20070621 307
+RMD160 5c72a504241e52a45dc7b85005249bb130f4d38f files/digest-networkmanager-vpnc-0.6.4_p20070621 307
+SHA256 de305389abd172a32735fd85ba0f91db95ed8fc15eebcf10a7dd3aee9f5e4be8 files/digest-networkmanager-vpnc-0.6.4_p20070621 307
diff --git a/net-misc/networkmanager-vpnc/files/digest-networkmanager-vpnc-0.6.4_p20070621 b/net-misc/networkmanager-vpnc/files/digest-networkmanager-vpnc-0.6.4_p20070621
new file mode 100644
index 000000000000..cbf524b0cf66
--- /dev/null
+++ b/net-misc/networkmanager-vpnc/files/digest-networkmanager-vpnc-0.6.4_p20070621
@@ -0,0 +1,3 @@
+MD5 a2a4c84bb6943db212f8764f1b62cd28 NetworkManager-vpnc-0.6.4_p20070621.tar.gz 435524
+RMD160 0849848fe6311eb1ec0b18d64607fe5388370fb6 NetworkManager-vpnc-0.6.4_p20070621.tar.gz 435524
+SHA256 bff3d3ef3f9140095554b0aa57db7f6fe12176675f5016f51e247a9c4990f979 NetworkManager-vpnc-0.6.4_p20070621.tar.gz 435524
diff --git a/net-misc/networkmanager-vpnc/files/networkmanager-vpnc-0.6.4_p20070621-service-name.patch b/net-misc/networkmanager-vpnc/files/networkmanager-vpnc-0.6.4_p20070621-service-name.patch
new file mode 100644
index 000000000000..83b2a7b80898
--- /dev/null
+++ b/net-misc/networkmanager-vpnc/files/networkmanager-vpnc-0.6.4_p20070621-service-name.patch
@@ -0,0 +1,17 @@
+Fixes bug http://bugzilla.gnome.org/show_bug.cgi?id=447577
+
+Index: vpnc/nm-vpnc-service.name.in
+===================================================================
+--- vpnc/nm-vpnc-service.name.in (revision 2653)
++++ vpnc/nm-vpnc-service.name.in (working copy)
+@@ -1,8 +1,8 @@
+ [VPN Connection]
+ name=vpnc
+ service=org.freedesktop.NetworkManager.vpnc
+-program=@bindir@/nm-vpnc-service
++program=@BINDIR@/nm-vpnc-service
+
+ [GNOME]
+-auth-dialog=@libexecdir@/nm-vpnc-auth-dialog
++auth-dialog=@LIBEXECDIR@/nm-vpnc-auth-dialog
+ properties=@prefix@/${LIB}/libnm-vpnc-properties
diff --git a/net-misc/networkmanager-vpnc/files/nm-vpnc-dbus_conf.patch b/net-misc/networkmanager-vpnc/files/nm-vpnc-dbus_conf.patch
new file mode 100644
index 000000000000..ce3d5c37ace7
--- /dev/null
+++ b/net-misc/networkmanager-vpnc/files/nm-vpnc-dbus_conf.patch
@@ -0,0 +1,14 @@
+--- NetworkManager-vpnc-0.5.0.orig/nm-vpnc-service.conf 2005-11-13 01:22:50.000000000 -0500
++++ NetworkManager-vpnc-0.5.0/nm-vpnc-service.conf 2005-11-13 14:35:12.000000000 -0500
+@@ -7,6 +7,11 @@
+ <allow send_destination="org.freedesktop.NetworkManager.vpnc"/>
+ <allow send_interface="org.freedesktop.NetworkManager.vpnc"/>
+ </policy>
++ <policy at_console="true">
++ <allow own="org.freedesktop.NetworkManager.vpnc"/>
++ <allow send_destination="org.freedesktop.NetworkManager.vpnc"/>
++ <allow send_interface="org.freedesktop.NetworkManager.vpnc"/>
++ </policy>
+ <policy context="default">
+ <deny own="org.freedesktop.NetworkManager.vpnc"/>
+ <deny send_destination="org.freedesktop.NetworkManager.vpnc"/>
diff --git a/net-misc/networkmanager-vpnc/files/nm-vpnc-path.patch b/net-misc/networkmanager-vpnc/files/nm-vpnc-path.patch
new file mode 100644
index 000000000000..8595c6bf391a
--- /dev/null
+++ b/net-misc/networkmanager-vpnc/files/nm-vpnc-path.patch
@@ -0,0 +1,12 @@
+diff -urN NetworkManager-vpnc-0.5.0.orig/src/nm-vpnc-service.c NetworkManager-vpnc-0.5.0/src/nm-vpnc-service.c
+--- NetworkManager-vpnc-0.5.0.orig/src/nm-vpnc-service.c 2005-11-15 14:28:05.000000000 -0600
++++ NetworkManager-vpnc-0.5.0/src/nm-vpnc-service.c 2005-11-15 14:29:06.000000000 -0600
+@@ -51,6 +51,8 @@
+ "/usr/sbin/vpnc",
+ "/sbin/vpnc",
+ "/usr/local/sbin/vpnc",
++ "/usr/bin/vpnc",
++ "/bin/vpnc",
+ NULL
+ };
+
diff --git a/net-misc/networkmanager-vpnc/metadata.xml b/net-misc/networkmanager-vpnc/metadata.xml
new file mode 100644
index 000000000000..5741b2dffb3f
--- /dev/null
+++ b/net-misc/networkmanager-vpnc/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>rbu@gentoo.org</email>
+ <name>Robert Buchholz</name>
+</maintainer>
+<maintainer>
+ <email>steev@gentoo.org</email>
+ <name>Stephen Klimaszewski</name>
+</maintainer>
+</pkgmetadata>
+
diff --git a/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.6.4_p20070621.ebuild b/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.6.4_p20070621.ebuild
new file mode 100644
index 000000000000..a4940eb205a3
--- /dev/null
+++ b/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.6.4_p20070621.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.6.4_p20070621.ebuild,v 1.1 2007/08/23 12:28:15 rbu Exp $
+
+inherit gnome2 eutils autotools
+
+# NetworkManager likes itself with capital letters
+MY_P=${P/networkmanager/NetworkManager}
+
+DESCRIPTION="NetworkManager vpnc plugin for daemon and client configuration."
+HOMEPAGE="http://www.gnome.org/projects/NetworkManager/"
+#SRC_URI="http://dev.gentoo.org/~rbu/distfiles/${MY_P}.tar.gz"
+SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="crypt doc gnome"
+
+RDEPEND=">=sys-apps/dbus-0.60
+ >=sys-apps/hal-0.5
+ sys-apps/iproute2
+ >=dev-libs/libnl-1.0_pre6
+ >=net-misc/dhcdbd-1.4
+ >=net-wireless/wireless-tools-28_pre9
+ >=net-wireless/wpa_supplicant-0.4.8
+ >=net-misc/networkmanager-0.6.5_p20070823
+ >=net-misc/vpnc-0.3.3
+ >=dev-libs/glib-2.8
+ >=x11-libs/libnotify-0.3.2
+ gnome? ( >=x11-libs/gtk+-2.8
+ >=gnome-base/libglade-2
+ >=gnome-base/gnome-keyring-0.4
+ >=gnome-base/gnome-panel-2
+ >=gnome-base/gconf-2
+ >=gnome-base/libgnomeui-2 )
+ crypt? ( dev-libs/libgcrypt )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ dev-util/intltool"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS="AUTHORS ChangeLog NEWS README"
+USE_DESTDIR="1"
+
+G2CONF="${G2CONF} \
+ `use_with crypt gcrypt` \
+ `use_with gnome` \
+ --disable-more-warnings \
+ --with-dbus-sys=/etc/dbus-1/system.d \
+ --enable-notification-icon"
+
+src_unpack () {
+ unpack ${A}
+ cd "${S}"
+ # Gentoo puts vpnc somewhere that the source doesn't expect.
+ epatch ${FILESDIR}/nm-vpnc-path.patch
+ # Match the same dbus permissions as NetworkManager
+ epatch ${FILESDIR}/nm-vpnc-dbus_conf.patch
+
+ epatch "${FILESDIR}/${P}-service-name.patch"
+ eautoreconf
+}