Moved from net-misc/NetworkManager to net-misc/networkmanager.
authorStephen Klimaszewski <steev@gentoo.org>
Sun, 5 Nov 2006 01:21:45 +0000 (01:21 +0000)
committerStephen Klimaszewski <steev@gentoo.org>
Sun, 5 Nov 2006 01:21:45 +0000 (01:21 +0000)
net-misc/networkmanager/ChangeLog [new file with mode: 0644]
net-misc/networkmanager/Manifest [new file with mode: 0644]
net-misc/networkmanager/files/digest-networkmanager-0.6.4_pre20061028 [new file with mode: 0644]
net-misc/networkmanager/files/networkmanager-0.6.4-Gentoo-checklo.patch [new file with mode: 0644]
net-misc/networkmanager/files/networkmanager-0.6.4-confchanges.patch [new file with mode: 0644]
net-misc/networkmanager/files/networkmanager-0.6.4-gentooinitscript.patch [new file with mode: 0644]
net-misc/networkmanager/files/networkmanager-resolvconf-perms.patch [new file with mode: 0644]
net-misc/networkmanager/files/networkmanager-use-kernel-headers.patch [new file with mode: 0644]
net-misc/networkmanager/metadata.xml [new file with mode: 0644]
net-misc/networkmanager/networkmanager-0.6.4_pre20061028.ebuild [new file with mode: 0644]

diff --git a/net-misc/networkmanager/ChangeLog b/net-misc/networkmanager/ChangeLog
new file mode 100644 (file)
index 0000000..7345601
--- /dev/null
@@ -0,0 +1,32 @@
+# ChangeLog for net-misc/NetworkManager
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager/ChangeLog,v 1.1 2006/11/05 01:21:45 steev Exp $
+
+*networkmanager-0.6.4_pre20061028 (05 Nov 2006)
+
+  05 Nov 2006; Steev Klimaszewski <steev@gentoo.org>
+  +files/networkmanager-0.6.4-Gentoo-checklo.patch,
+  +files/networkmanager-0.6.4-confchanges.patch,
+  +files/networkmanager-0.6.4-gentooinitscript.patch,
+  +files/networkmanager-resolvconf-perms.patch,
+  +files/networkmanager-use-kernel-headers.patch, +metadata.xml,
+  +networkmanager-0.6.4_pre20061028.ebuild:
+  Moved from net-misc/NetworkManager to net-misc/networkmanager.
+
+  04 Nov 2006; Luis Medinas <metalgod@gentoo.org>
+  NetworkManager-0.6.4_pre20061028.ebuild:
+  Remove pam_console from dependencies since our patch makes it work with
+  hal/dbus instead of pam_console.
+
+*NetworkManager-0.6.4_pre20061028 (31 Oct 2006)
+
+  31 Oct 2006; Luis Medinas <metalgod@gentoo.org>
+  +files/NetworkManager-0.6.4-Gentoo-checklo.patch,
+  +files/NetworkManager-0.6.4-confchanges.patch,
+  +files/NetworkManager-0.6.4-gentooinitscript.patch,
+  +files/NetworkManager-resolvconf-perms.patch,
+  +files/NetworkManager-use-kernel-headers.patch, +metadata.xml,
+  +NetworkManager-0.6.4_pre20061028.ebuild:
+  Initial import. This ebuild was made by Luis Medinas <metalgod@gentoo.org>
+  and Stephen Klimaszewski <steev@gentoo.org>.
+
diff --git a/net-misc/networkmanager/Manifest b/net-misc/networkmanager/Manifest
new file mode 100644 (file)
index 0000000..ccceba8
--- /dev/null
@@ -0,0 +1,46 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX NetworkManager-0.6.4-Gentoo-checklo.patch 586 RMD160 69e8cd3a7e4a9ce355a62ffc367a952208ebcc5e SHA1 c366a2c6bbb7e42624cd7312112defa35fd80e64 SHA256 2ca85439e66f8f283d677e48bf52926ccae55a7d8ac3d783881501ca66cb0d96
+MD5 0922450ee12f81ad78dd18dcb6f84709 files/NetworkManager-0.6.4-Gentoo-checklo.patch 586
+RMD160 69e8cd3a7e4a9ce355a62ffc367a952208ebcc5e files/NetworkManager-0.6.4-Gentoo-checklo.patch 586
+SHA256 2ca85439e66f8f283d677e48bf52926ccae55a7d8ac3d783881501ca66cb0d96 files/NetworkManager-0.6.4-Gentoo-checklo.patch 586
+AUX NetworkManager-0.6.4-confchanges.patch 2057 RMD160 546d22e915113ea956f7a9d2cef9cca3b495d25d SHA1 01dae1aee7f1154e781bc678d900cc95d3143378 SHA256 daf919f2f17f020b4419e51f8deb1f6c131c1328c03283599320dae4987710dc
+MD5 cb31b2b2d7df59f5efe9b28544dddea0 files/NetworkManager-0.6.4-confchanges.patch 2057
+RMD160 546d22e915113ea956f7a9d2cef9cca3b495d25d files/NetworkManager-0.6.4-confchanges.patch 2057
+SHA256 daf919f2f17f020b4419e51f8deb1f6c131c1328c03283599320dae4987710dc files/NetworkManager-0.6.4-confchanges.patch 2057
+AUX NetworkManager-0.6.4-gentooinitscript.patch 271 RMD160 806934a0e78466cc68e1a961ce9e0be26702bed5 SHA1 0113fe5566232b92449c061ec5b9ac403a0ace81 SHA256 bc91ea870f0ce42f8971b0635160845903e289d8ad5c96d5dcb9fe1f589cafc3
+MD5 61b505ba3ddf9d140259778cd52033ec files/NetworkManager-0.6.4-gentooinitscript.patch 271
+RMD160 806934a0e78466cc68e1a961ce9e0be26702bed5 files/NetworkManager-0.6.4-gentooinitscript.patch 271
+SHA256 bc91ea870f0ce42f8971b0635160845903e289d8ad5c96d5dcb9fe1f589cafc3 files/NetworkManager-0.6.4-gentooinitscript.patch 271
+AUX NetworkManager-resolvconf-perms.patch 532 RMD160 453ce19560e1872d1da1fa48e0c9a365025e6b1b SHA1 a81be4e9c9bac854e092b82529c4ae2c12cdf91c SHA256 e1786f34a75d2e0a27ceccb960cf975176260886f70cc3e9b172180f8a1d2e6e
+MD5 785dfadfffc8dc7119ea16c1ba3aa6d9 files/NetworkManager-resolvconf-perms.patch 532
+RMD160 453ce19560e1872d1da1fa48e0c9a365025e6b1b files/NetworkManager-resolvconf-perms.patch 532
+SHA256 e1786f34a75d2e0a27ceccb960cf975176260886f70cc3e9b172180f8a1d2e6e files/NetworkManager-resolvconf-perms.patch 532
+AUX NetworkManager-use-kernel-headers.patch 466 RMD160 cd16279966d4e3594a20aa0b89d08f3baa3c2e58 SHA1 a9e269c9021888ca058b9fb72f9a71dc25a7488b SHA256 952948f41676fafcf76210cbef46728cbb219d6c851d5417d892b984fd725402
+MD5 e9879921dd5b0669337e27ca2196cfd4 files/NetworkManager-use-kernel-headers.patch 466
+RMD160 cd16279966d4e3594a20aa0b89d08f3baa3c2e58 files/NetworkManager-use-kernel-headers.patch 466
+SHA256 952948f41676fafcf76210cbef46728cbb219d6c851d5417d892b984fd725402 files/NetworkManager-use-kernel-headers.patch 466
+DIST NetworkManager-0.6.4_pre20061028.tar.bz2 1780993 RMD160 eef9c8fedaacba413b833b98ee56af5bd74ada2b SHA1 ddbdb4579908f2ce73ee9c6ce31b79fd4082e8a6 SHA256 4a7114367d0f14eeaee094e3c08bfb728a175fd23ac6b97a5868aa734011583c
+EBUILD NetworkManager-0.6.4_pre20061028.ebuild 2578 RMD160 74ff09790603ed3bd12ed8dff70e55ad3c70f12d SHA1 6506d09722510f0450a418e18c7510e6f9c9cc88 SHA256 54a543cfdc35c738c83f9b5a7510465fcbe6b1a8b75cea7659e4c5ca3772c51a
+MD5 44e5c4bdbc63ca7e12358ebc591b458b NetworkManager-0.6.4_pre20061028.ebuild 2578
+RMD160 74ff09790603ed3bd12ed8dff70e55ad3c70f12d NetworkManager-0.6.4_pre20061028.ebuild 2578
+SHA256 54a543cfdc35c738c83f9b5a7510465fcbe6b1a8b75cea7659e4c5ca3772c51a NetworkManager-0.6.4_pre20061028.ebuild 2578
+MISC ChangeLog 960 RMD160 958e1b8f2f0afef1d6a97da529d11dd26dd75392 SHA1 7b11358507a59025cd0b7b47136321783e30e9cc SHA256 93c24580c67d170e6dfeac0c22365e071de79074d5619b67f56222e6dc354145
+MD5 b387083ee704e6c419d1ac33e65cf9aa ChangeLog 960
+RMD160 958e1b8f2f0afef1d6a97da529d11dd26dd75392 ChangeLog 960
+SHA256 93c24580c67d170e6dfeac0c22365e071de79074d5619b67f56222e6dc354145 ChangeLog 960
+MISC metadata.xml 382 RMD160 6502df804c9513d3b87069f5da390438254d794e SHA1 65051b628c33b7327089bb5893b0f49aafd4a1d1 SHA256 a9fca86b318190e2eaccf17e969626e2b9f71629c3e941e487520eda9b0801fc
+MD5 99b5f59e416ba77f0e3bc6b5ef912ec3 metadata.xml 382
+RMD160 6502df804c9513d3b87069f5da390438254d794e metadata.xml 382
+SHA256 a9fca86b318190e2eaccf17e969626e2b9f71629c3e941e487520eda9b0801fc metadata.xml 382
+MD5 25e40b69e15e1d17224bf3a584bd3038 files/digest-NetworkManager-0.6.4_pre20061028 304
+RMD160 991b9fdcb07c2cc321db6e8c26cb5860b9905844 files/digest-NetworkManager-0.6.4_pre20061028 304
+SHA256 f06e1d714c3ceb634d637c0927c02176da3f4144d7fafb66ab646562102d43f7 files/digest-NetworkManager-0.6.4_pre20061028 304
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFTSFCwUpWvClEHQoRAmS2AKCH7r45EpejaEk/Xh9SQ0O0xM7n/gCdHAo9
+poJAQeSfxo37F4YtgfKBR6M=
+=LkuG
+-----END PGP SIGNATURE-----
diff --git a/net-misc/networkmanager/files/digest-networkmanager-0.6.4_pre20061028 b/net-misc/networkmanager/files/digest-networkmanager-0.6.4_pre20061028
new file mode 100644 (file)
index 0000000..4e576bd
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 730d6a1b66ff007c2cb52e29d7104f0c NetworkManager-0.6.4_pre20061028.tar.bz2 1780993
+RMD160 eef9c8fedaacba413b833b98ee56af5bd74ada2b NetworkManager-0.6.4_pre20061028.tar.bz2 1780993
+SHA256 4a7114367d0f14eeaee094e3c08bfb728a175fd23ac6b97a5868aa734011583c NetworkManager-0.6.4_pre20061028.tar.bz2 1780993
diff --git a/net-misc/networkmanager/files/networkmanager-0.6.4-Gentoo-checklo.patch b/net-misc/networkmanager/files/networkmanager-0.6.4-Gentoo-checklo.patch
new file mode 100644 (file)
index 0000000..ac15423
--- /dev/null
@@ -0,0 +1,13 @@
+diff -urN NetworkManager.cvs/src/backends/NetworkManagerGentoo.c NetworkManager/src/backends/NetworkManagerGentoo.c
+--- NetworkManager.cvs/src/backends/NetworkManagerGentoo.c     2005-08-06 22:26:40.000000000 -0500
++++ NetworkManager/src/backends/NetworkManagerGentoo.c 2005-08-07 02:28:15.000000000 -0500
+@@ -168,7 +168,9 @@
+  */
+ void nm_system_enable_loopback (void)
+ {
+-      nm_spawn_process("/etc/init.d/net.lo start");
++  /* No need to run net.lo if it is already running */
++      if (nm_spawn_process ("/etc/init.d/net.lo status") != 0)
++              nm_spawn_process("/etc/init.d/net.lo start");
+ }
diff --git a/net-misc/networkmanager/files/networkmanager-0.6.4-confchanges.patch b/net-misc/networkmanager/files/networkmanager-0.6.4-confchanges.patch
new file mode 100644 (file)
index 0000000..ab703a5
--- /dev/null
@@ -0,0 +1,45 @@
+--- src/NetworkManager.conf.orig       2006-10-28 04:43:50.426682976 +0100
++++ src/NetworkManager.conf    2006-10-28 04:44:36.883620448 +0100
+@@ -8,14 +8,14 @@
+                 <allow send_destination="org.freedesktop.NetworkManager"/>
+                 <allow send_interface="org.freedesktop.NetworkManager"/>
+         </policy>
+-        <policy at_console="true">
++        <policy group="plugdev">
+                 <allow send_destination="org.freedesktop.NetworkManager"/>
+                 <allow send_interface="org.freedesktop.NetworkManager"/>
+         </policy>
+         <policy context="default">
+-                <deny own="org.freedesktop.NetworkManager"/>
+-                <deny send_destination="org.freedesktop.NetworkManager"/>
+-                <deny send_interface="org.freedesktop.NetworkManager"/>
++                <allow own="org.freedesktop.NetworkManager"/>
++                <allow send_destination="org.freedesktop.NetworkManager"/>
++                <allow send_interface="org.freedesktop.NetworkManager"/>
+         </policy>
+ </busconfig>
+--- gnome/applet/nm-applet.conf.orig   2006-10-28 04:45:30.707437984 +0100
++++ gnome/applet/nm-applet.conf        2006-10-28 04:46:34.810692808 +0100
+@@ -8,17 +8,17 @@
+               <allow send_destination="org.freedesktop.NetworkManagerInfo"/>
+                 <allow send_interface="org.freedesktop.NetworkManagerInfo"/>
+       </policy>
+-      <policy at_console="true">
++      <policy group="plugdev">
+               <allow own="org.freedesktop.NetworkManagerInfo"/>
+               <allow send_destination="org.freedesktop.NetworkManagerInfo"/>
+                 <allow send_interface="org.freedesktop.NetworkManagerInfo"/>
+       </policy>
+       <policy context="default">
+-              <deny own="org.freedesktop.NetworkManagerInfo"/>
++              <allow own="org.freedesktop.NetworkManagerInfo"/>
+-              <deny send_destination="org.freedesktop.NetworkManagerInfo"/>
+-              <deny send_interface="org.freedesktop.NetworkManagerInfo"/>
++              <allow send_destination="org.freedesktop.NetworkManagerInfo"/>
++              <allow send_interface="org.freedesktop.NetworkManagerInfo"/>
+       </policy>
+ </busconfig>
diff --git a/net-misc/networkmanager/files/networkmanager-0.6.4-gentooinitscript.patch b/net-misc/networkmanager/files/networkmanager-0.6.4-gentooinitscript.patch
new file mode 100644 (file)
index 0000000..097cc00
--- /dev/null
@@ -0,0 +1,11 @@
+--- initscript/Gentoo/NetworkManager.in.orig   2006-10-28 22:12:57.915210160 +0100
++++ initscript/Gentoo/NetworkManager.in        2006-10-28 22:14:34.879469352 +0100
+@@ -30,7 +30,7 @@
+ pidfile=/var/run/NetworkManager.pid
+ depend() {
+-      need hald
++      need dhcdbd hald
+ }
+ start()
diff --git a/net-misc/networkmanager/files/networkmanager-resolvconf-perms.patch b/net-misc/networkmanager/files/networkmanager-resolvconf-perms.patch
new file mode 100644 (file)
index 0000000..a76c419
--- /dev/null
@@ -0,0 +1,19 @@
+--- src/named-manager/nm-named-manager.c.orig  2006-03-25 00:38:24.000000000 -0500
++++ src/named-manager/nm-named-manager.c       2006-03-25 00:44:15.000000000 -0500
+@@ -31,6 +31,7 @@
+ #include <resolv.h>
+ #include <sys/socket.h>
+ #include <sys/types.h>
++#include <sys/stat.h>
+ #include <arpa/inet.h>
+ #include <syslog.h>
+ #include <glib.h>
+@@ -396,6 +397,8 @@
+       if (rename (tmp_resolv_conf, RESOLV_CONF) < 0)
+               goto lose;
+       nm_system_update_dns ();
++
++      chmod(RESOLV_CONF, S_IREAD | S_IWRITE | S_IRGRP | S_IROTH);
+       return TRUE;
+ lose:
diff --git a/net-misc/networkmanager/files/networkmanager-use-kernel-headers.patch b/net-misc/networkmanager/files/networkmanager-use-kernel-headers.patch
new file mode 100644 (file)
index 0000000..e74c3c5
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urN NetworkManager-0.5.2.orig/src/nm-device-802-3-ethernet.c NetworkManager-0.5.2/src/nm-device-802-3-ethernet.c
+--- NetworkManager-0.5.2.orig/src/nm-device-802-3-ethernet.c   2006-02-04 05:20:00.000000000 -0600
++++ NetworkManager-0.5.2/src/nm-device-802-3-ethernet.c        2006-02-04 05:20:26.000000000 -0600
+@@ -18,7 +18,7 @@
+  *
+  * (C) Copyright 2005 Red Hat, Inc.
+  */
+-
++#define HEADERS_KERNEL
+ #include <glib.h>
+ #include <glib/gi18n.h>
+ #include <dbus/dbus.h>
diff --git a/net-misc/networkmanager/metadata.xml b/net-misc/networkmanager/metadata.xml
new file mode 100644 (file)
index 0000000..78a233d
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd></herd>
+<maintainer>
+<email>metalgod@gentoo.org</email>
+<name>Luis Medinas</name>
+</maintainer>
+<maintainer>
+<email>steev@gentoo.org</email>
+<name>Stephen Klimaszewski</name>
+</maintainer>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+
diff --git a/net-misc/networkmanager/networkmanager-0.6.4_pre20061028.ebuild b/net-misc/networkmanager/networkmanager-0.6.4_pre20061028.ebuild
new file mode 100644 (file)
index 0000000..8678c0d
--- /dev/null
@@ -0,0 +1,86 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager/networkmanager-0.6.4_pre20061028.ebuild,v 1.1 2006/11/05 01:21:45 steev Exp $
+
+inherit gnome2 debug eutils
+
+DESCRIPTION="Network configuration and management in an easy way. Desktop env independent"
+HOMEPAGE="http://www.gnome.org/projects/NetworkManager/"
+SRC_URI="http://dev.gentoo.org/~metalgod/files/NetworkManager-0.6.4_pre20061028.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="crypt debug 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
+       >=net-wireless/wireless-tools-28_pre9
+       >=net-wireless/wpa_supplicant-0.4.8
+       >=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
+
+DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
+USE_DESTDIR="1"
+
+G2CONF="${G2CONF} \
+       `use_with crypt gcrypt` \
+       --disable-more-warnings \
+       --localstatedir=/var \
+       --with-distro=gentoo \
+       --with-dbus-sys=/etc/dbus-1/system.d \
+       --enable-notification-icon"
+
+src_unpack () {
+       unpack ${A}
+       cd ${S}
+
+       epatch ${FILESDIR}/NetworkManager-0.6.4-Gentoo-checklo.patch
+       epatch ${FILESDIR}/NetworkManager-use-kernel-headers.patch
+       epatch ${FILESDIR}/NetworkManager-resolvconf-perms.patch
+       epatch ${FILESDIR}/NetworkManager-0.6.4-gentooinitscript.patch
+       epatch ${FILESDIR}/NetworkManager-0.6.4-confchanges.patch
+}
+
+src_install() {
+       gnome2_src_install
+       keepdir /var/run/NetworkManager
+}
+pkg_postinst() {
+       gnome2_icon_cache_update
+       einfo
+       einfo "NetworkManager doesn't work with all wifi devices"
+       einfo "to see if your card is supported please visit"
+       einfo "http://live.gnome.org/NetworkManagerHardware"
+       einfo
+       einfo "You can use NetworkManager instead of baselayout"
+       einfo "to manage your networks but you are advised to use"
+       einfo "baselayout because NetworkManager is beta software"
+       einfo "and don't work fully as expected."
+       einfo
+       einfo "If it's the first time you run NetworkManager please"
+       einfo "restart dbus doing /etc/init.d/dbus restart"
+       einfo
+       einfo "To use NetworkManager disable all entries on runlevels"
+       einfo "net.***X and run /etc/init.d/NetworkManager"
+       einfo "you can add to runlevels writing on your terminal"
+       einfo "rc-update add NetworkManager default"
+       einfo
+       ebeep
+}