diff options
author | Steev Klimaszewski <steev@gentoo.org> | 2008-01-10 09:23:42 -0600 |
---|---|---|
committer | Steev Klimaszewski <steev@gentoo.org> | 2008-01-10 09:23:42 -0600 |
commit | a3f141424da4953af0ce211e699d30d87569bc00 (patch) | |
tree | efdfb833e543268ed22fbb9076291b75838fa14d /net-misc | |
download | gentopia-a3f141424da4953af0ce211e699d30d87569bc00.tar.gz gentopia-a3f141424da4953af0ce211e699d30d87569bc00.tar.bz2 gentopia-a3f141424da4953af0ce211e699d30d87569bc00.zip |
Initial import from gentopia svn overlay
Diffstat (limited to 'net-misc')
16 files changed, 431 insertions, 0 deletions
diff --git a/net-misc/networkmanager-openvpn/Manifest b/net-misc/networkmanager-openvpn/Manifest new file mode 100644 index 0000000..84e613c --- /dev/null +++ b/net-misc/networkmanager-openvpn/Manifest @@ -0,0 +1,2 @@ +DIST NetworkManager-openvpn-0.3.2.tar.gz 404575 RMD160 bbf852bc778f7c65facfc2d687042f535bd4ed4b SHA1 34ba48570c1f0698874f135c4ee50f43caf07394 SHA256 072164284a34c4de4a7dae35666a3d14d0162ab972eee74c369c16d0fd960ca4 +EBUILD networkmanager-openvpn-0.3.2.ebuild 1279 RMD160 0f8e276cf0fc7029f95f1fb5d9f303f35048cd8d SHA1 fc2cfa771631a5bc79c2e2cc2a41e992583865c9 SHA256 be2a6d7d3206db2d41b165d765296c941ee3339ec0dbf3eec32cdbf0132b06dd diff --git a/net-misc/networkmanager-openvpn/networkmanager-openvpn-0.3.2.ebuild b/net-misc/networkmanager-openvpn/networkmanager-openvpn-0.3.2.ebuild new file mode 100644 index 0000000..eb4783e --- /dev/null +++ b/net-misc/networkmanager-openvpn/networkmanager-openvpn-0.3.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit gnome2 eutils + +DESCRIPTION="NetworkManager vpnc daemon/client configuration and management in an easy way." +HOMEPAGE="http://people.redhat.com/dcbw/NetworkManager/" +SRC_URI="http://dev.gentoo.org/~steev/distfiles/NetworkManager-openvpn-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="crypt doc gnome" + +RDEPEND=">=sys-apps/dbus-0.35.2 + >=sys-apps/hal-0.5 + sys-apps/iproute2 + >=net-misc/dhcdbd-1.4 + >=net-wireless/wireless-tools-28_pre9 + >=dev-libs/glib-2.8 + >=net-misc/networkmanager-0.5.1 + 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 ) + !gnome? ( >=gnome-base/libglade-2 + >=gnome-base/gnome-keyring-0.4 + >=gnome-base/gconf-2 ) + >=net-misc/openvpn-2.0.5 + crypt? ( dev-libs/libgcrypt )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + dev-util/intltool" + +S=${WORKDIR}/NetworkManager-openvpn-${PV} + +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" +USE_DESTDIR="1" + +G2CONF="${G2CONF} \ + `use_with crypt gcrypt` \ + --disable-more-warnings \ + --with-dbus-sys=/etc/dbus-1/system.d \ + --enable-notification-icon" diff --git a/net-misc/networkmanager-vpnc/Manifest b/net-misc/networkmanager-vpnc/Manifest new file mode 100644 index 0000000..bd28346 --- /dev/null +++ b/net-misc/networkmanager-vpnc/Manifest @@ -0,0 +1,8 @@ +AUX nm-vpnc-dbus_conf.patch 715 RMD160 ba8ee121d330cd704272a9f220b1f2c3983b329c SHA1 0e2799e9f9a8d56ee882af8afc6afe0d3e5a12e1 SHA256 1d4f08479ef0bf5f222f18717f5d3ed7329fb2f09f1118c95a576c995bfee02d +AUX nm-vpnc-path.patch 396 RMD160 6634dae0d82b9f0a240bf31efa8c183e79618218 SHA1 ca3c6696919e09cf296bb5526b29e821d447749a SHA256 174c59b7d98236804a65591879253ba9795ce65f4e5eb1f27badcd25cc2d3b36 +DIST NetworkManager-vpnc-0.5.0.tar.gz 389529 RMD160 ff28d17c4095bac5949173096d7c7a89463858d1 SHA1 2da6ec3967c76738f2dde39891df48b8d024b0de SHA256 c826e5623f237ebee8517792eaaf16ac9297cc54870010fdb05b040283884031 +DIST NetworkManager-vpnc-0.5.1.tar.gz 394973 RMD160 a1fbd3bf640ce2605a52839d78bece78f9f4fdbd SHA1 cab0fe42ac4a11ae1420a4f93aedcec10ea011c4 SHA256 8cd0111bb5e93711f21b41ff681a88c4893e4840d001a296f3892b81dc6d698b +DIST NetworkManager-vpnc-0.7.0.tar.gz 401930 RMD160 985e72a2dccae73c5a8ac45e908c271fa35be33a SHA1 e82e823af64d339f9fe241b365f89bc4402de5c9 SHA256 6b27fc289ac04cf0e053d04c083003b183ee72deb5e70630495681f653757b92 +EBUILD networkmanager-vpnc-0.5.0-r1.ebuild 1842 RMD160 0b673d5f36e95cee4a9981902c26720ea7425a2e SHA1 ad20f2f65fb923402c9a8c53f19efda86d08f356 SHA256 672b264ad96fdbce616c428954eb069d05c5592b79067fefdce57dd9299104da +EBUILD networkmanager-vpnc-0.5.1.ebuild 1842 RMD160 0b673d5f36e95cee4a9981902c26720ea7425a2e SHA1 ad20f2f65fb923402c9a8c53f19efda86d08f356 SHA256 672b264ad96fdbce616c428954eb069d05c5592b79067fefdce57dd9299104da +EBUILD networkmanager-vpnc-0.7.0.ebuild 1504 RMD160 ede7cd0982251e1635b8160b9267d49e178c275e SHA1 4d17ad67e6d867c3f7a31346fa87a4aa02f3a170 SHA256 df8246947774094307cdf59722fc99d03f68e712473688c4312ce5c4487e2e0a diff --git a/net-misc/networkmanager-vpnc/files/.svn/all-wcprops b/net-misc/networkmanager-vpnc/files/.svn/all-wcprops new file mode 100644 index 0000000..b211ffe --- /dev/null +++ b/net-misc/networkmanager-vpnc/files/.svn/all-wcprops @@ -0,0 +1,35 @@ +K 25 +svn:wc:ra_dav:version-url +V 74 +/svn/proj/gentopia/!svn/ver/605/overlay/net-misc/networkmanager-vpnc/files +END +digest-networkmanager-vpnc-0.5.0-r1 +K 25 +svn:wc:ra_dav:version-url +V 110 +/svn/proj/gentopia/!svn/ver/605/overlay/net-misc/networkmanager-vpnc/files/digest-networkmanager-vpnc-0.5.0-r1 +END +digest-networkmanager-vpnc-0.5.1 +K 25 +svn:wc:ra_dav:version-url +V 107 +/svn/proj/gentopia/!svn/ver/467/overlay/net-misc/networkmanager-vpnc/files/digest-networkmanager-vpnc-0.5.1 +END +digest-networkmanager-vpnc-0.7.0 +K 25 +svn:wc:ra_dav:version-url +V 107 +/svn/proj/gentopia/!svn/ver/559/overlay/net-misc/networkmanager-vpnc/files/digest-networkmanager-vpnc-0.7.0 +END +nm-vpnc-path.patch +K 25 +svn:wc:ra_dav:version-url +V 93 +/svn/proj/gentopia/!svn/ver/331/overlay/net-misc/networkmanager-vpnc/files/nm-vpnc-path.patch +END +nm-vpnc-dbus_conf.patch +K 25 +svn:wc:ra_dav:version-url +V 98 +/svn/proj/gentopia/!svn/ver/339/overlay/net-misc/networkmanager-vpnc/files/nm-vpnc-dbus_conf.patch +END diff --git a/net-misc/networkmanager-vpnc/files/.svn/entries b/net-misc/networkmanager-vpnc/files/.svn/entries new file mode 100644 index 0000000..1da9550 --- /dev/null +++ b/net-misc/networkmanager-vpnc/files/.svn/entries @@ -0,0 +1,88 @@ +8 + +dir +754 +http://overlays.gentoo.org/svn/proj/gentopia/overlay/net-misc/networkmanager-vpnc/files +http://overlays.gentoo.org/svn/proj/gentopia + + + +2007-02-18T00:46:02.617664Z +605 +steev + + +svn:special svn:externals svn:needs-lock + + + + + + + + + + + +0314abc3-b4f6-0310-a51c-ac2cb2351e82 + +digest-networkmanager-vpnc-0.5.0-r1 +file + + + + +2007-12-11T14:40:49.000000Z +546f36ee585ce71bb07a32f7872b363d +2007-02-18T00:46:02.617664Z +605 +steev + +digest-networkmanager-vpnc-0.5.1 +file + + + + +2007-12-11T14:40:49.000000Z +24469a87cd6ba68d85f846fa6b0a222a +2006-02-22T22:56:45.982940Z +467 +steev + +digest-networkmanager-vpnc-0.7.0 +file + + + + +2007-12-11T14:40:49.000000Z +a38bef4447d0f3bbb95e9b88738bdb50 +2006-08-24T03:17:03.877009Z +559 +steev + +nm-vpnc-path.patch +file + + + + +2007-12-11T14:40:49.000000Z +84fea2787a2b10f0b13ecd89b70ffe67 +2005-11-15T20:32:41.264157Z +331 +steev + +nm-vpnc-dbus_conf.patch +file + + + + +2007-12-11T14:40:49.000000Z +9ddbcbc13c483a8c115828a7408a0e4f +2005-11-18T05:15:59.568651Z +339 +steev + diff --git a/net-misc/networkmanager-vpnc/files/.svn/format b/net-misc/networkmanager-vpnc/files/.svn/format new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/net-misc/networkmanager-vpnc/files/.svn/format @@ -0,0 +1 @@ +8 diff --git a/net-misc/networkmanager-vpnc/files/.svn/text-base/digest-networkmanager-vpnc-0.5.0-r1.svn-base b/net-misc/networkmanager-vpnc/files/.svn/text-base/digest-networkmanager-vpnc-0.5.0-r1.svn-base new file mode 100644 index 0000000..9b46ee5 --- /dev/null +++ b/net-misc/networkmanager-vpnc/files/.svn/text-base/digest-networkmanager-vpnc-0.5.0-r1.svn-base @@ -0,0 +1,3 @@ +MD5 0d53c97928989aa1681704ab678b8e02 NetworkManager-vpnc-0.5.0.tar.gz 389529 +RMD160 ff28d17c4095bac5949173096d7c7a89463858d1 NetworkManager-vpnc-0.5.0.tar.gz 389529 +SHA256 c826e5623f237ebee8517792eaaf16ac9297cc54870010fdb05b040283884031 NetworkManager-vpnc-0.5.0.tar.gz 389529 diff --git a/net-misc/networkmanager-vpnc/files/.svn/text-base/digest-networkmanager-vpnc-0.5.1.svn-base b/net-misc/networkmanager-vpnc/files/.svn/text-base/digest-networkmanager-vpnc-0.5.1.svn-base new file mode 100644 index 0000000..cce447a --- /dev/null +++ b/net-misc/networkmanager-vpnc/files/.svn/text-base/digest-networkmanager-vpnc-0.5.1.svn-base @@ -0,0 +1,3 @@ +MD5 86a1922be48c6eefd3f9f7864ec262bd NetworkManager-vpnc-0.5.1.tar.gz 394973 +RMD160 a1fbd3bf640ce2605a52839d78bece78f9f4fdbd NetworkManager-vpnc-0.5.1.tar.gz 394973 +SHA256 8cd0111bb5e93711f21b41ff681a88c4893e4840d001a296f3892b81dc6d698b NetworkManager-vpnc-0.5.1.tar.gz 394973 diff --git a/net-misc/networkmanager-vpnc/files/.svn/text-base/digest-networkmanager-vpnc-0.7.0.svn-base b/net-misc/networkmanager-vpnc/files/.svn/text-base/digest-networkmanager-vpnc-0.7.0.svn-base new file mode 100644 index 0000000..2414c0a --- /dev/null +++ b/net-misc/networkmanager-vpnc/files/.svn/text-base/digest-networkmanager-vpnc-0.7.0.svn-base @@ -0,0 +1,3 @@ +MD5 66b49e9aca2d8d82bf4068ac909ee929 NetworkManager-vpnc-0.7.0.tar.gz 401930 +RMD160 985e72a2dccae73c5a8ac45e908c271fa35be33a NetworkManager-vpnc-0.7.0.tar.gz 401930 +SHA256 6b27fc289ac04cf0e053d04c083003b183ee72deb5e70630495681f653757b92 NetworkManager-vpnc-0.7.0.tar.gz 401930 diff --git a/net-misc/networkmanager-vpnc/files/.svn/text-base/nm-vpnc-dbus_conf.patch.svn-base b/net-misc/networkmanager-vpnc/files/.svn/text-base/nm-vpnc-dbus_conf.patch.svn-base new file mode 100644 index 0000000..ce3d5c3 --- /dev/null +++ b/net-misc/networkmanager-vpnc/files/.svn/text-base/nm-vpnc-dbus_conf.patch.svn-base @@ -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/.svn/text-base/nm-vpnc-path.patch.svn-base b/net-misc/networkmanager-vpnc/files/.svn/text-base/nm-vpnc-path.patch.svn-base new file mode 100644 index 0000000..2130fed --- /dev/null +++ b/net-misc/networkmanager-vpnc/files/.svn/text-base/nm-vpnc-path.patch.svn-base @@ -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/bin/vpnc", ++ "/bin/vpnc", + NULL + }; + 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 0000000..ce3d5c3 --- /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 0000000..2130fed --- /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/bin/vpnc", ++ "/bin/vpnc", + NULL + }; + diff --git a/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.5.0-r1.ebuild b/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.5.0-r1.ebuild new file mode 100644 index 0000000..2cba741 --- /dev/null +++ b/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.5.0-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit gnome2 eutils + +DESCRIPTION="NetworkManager vpnc daemon/client configuration and management in an easy way." +HOMEPAGE="http://people.redhat.com/dcbw/NetworkManager/" +SRC_URI="http://steev.net/files/distfiles/NetworkManager-vpnc-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="crypt doc gnome" + +RDEPEND=">=sys-apps/dbus-0.35.2 + >=sys-apps/hal-0.5 + sys-apps/iproute2 + >=net-misc/dhcdbd-1.4 + >=net-wireless/wireless-tools-28_pre9 + >=dev-libs/glib-2.8 + >=net-misc/networkmanager-0.5.1 + >=net-misc/vpnc-0.3.3 + 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}/NetworkManager-vpnc-${PV} + +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" +USE_DESTDIR="1" + +G2CONF="${G2CONF} \ + `use_with crypt gcrypt` \ + --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 +} + +#pkg_postinst() { +# einfo "NetworkManager depends on the at_console property of DBUS" +# einfo "to give permission to configure the networks. This means" +# einfo "you either need pam_console configured (see" +# einfo "/usr/portage/sys-libs/pam/files/README.pam_console)" +# einfo "or you need to touch /var/run/console/\$USERNAME for the user" +# einfo "logging in at the console, and remove it when they log back" +# einfo "out." +#} diff --git a/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.5.1.ebuild b/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.5.1.ebuild new file mode 100644 index 0000000..2cba741 --- /dev/null +++ b/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.5.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit gnome2 eutils + +DESCRIPTION="NetworkManager vpnc daemon/client configuration and management in an easy way." +HOMEPAGE="http://people.redhat.com/dcbw/NetworkManager/" +SRC_URI="http://steev.net/files/distfiles/NetworkManager-vpnc-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="crypt doc gnome" + +RDEPEND=">=sys-apps/dbus-0.35.2 + >=sys-apps/hal-0.5 + sys-apps/iproute2 + >=net-misc/dhcdbd-1.4 + >=net-wireless/wireless-tools-28_pre9 + >=dev-libs/glib-2.8 + >=net-misc/networkmanager-0.5.1 + >=net-misc/vpnc-0.3.3 + 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}/NetworkManager-vpnc-${PV} + +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" +USE_DESTDIR="1" + +G2CONF="${G2CONF} \ + `use_with crypt gcrypt` \ + --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 +} + +#pkg_postinst() { +# einfo "NetworkManager depends on the at_console property of DBUS" +# einfo "to give permission to configure the networks. This means" +# einfo "you either need pam_console configured (see" +# einfo "/usr/portage/sys-libs/pam/files/README.pam_console)" +# einfo "or you need to touch /var/run/console/\$USERNAME for the user" +# einfo "logging in at the console, and remove it when they log back" +# einfo "out." +#} diff --git a/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.7.0.ebuild b/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.7.0.ebuild new file mode 100644 index 0000000..010447e --- /dev/null +++ b/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.7.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit gnome2 eutils + +DESCRIPTION="NetworkManager vpnc daemon/client configuration and management in an easy way." +HOMEPAGE="http://people.redhat.com/dcbw/NetworkManager/" +SRC_URI="http://www.steev.net/files/distfiles/NetworkManager-vpnc-${PV}.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.2 + >=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}/NetworkManager-vpnc-${PV} + +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" +USE_DESTDIR="1" + +G2CONF="${G2CONF} \ + `use_with crypt gcrypt` \ + --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 +} |