Initial import. This ebuild was made by Luis Medinas <metalgod@gentoo.org> and Stephe...
authorLuis Medinas <metalgod@gentoo.org>
Tue, 31 Oct 2006 00:54:27 +0000 (00:54 +0000)
committerLuis Medinas <metalgod@gentoo.org>
Tue, 31 Oct 2006 00:54:27 +0000 (00:54 +0000)
Package-Manager: portage-2.1.2_rc1-r1

net-misc/NetworkManager/ChangeLog [new file with mode: 0644]
net-misc/NetworkManager/Manifest [new file with mode: 0644]
net-misc/NetworkManager/NetworkManager-0.6.4_pre20061028.ebuild [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/files/digest-NetworkManager-0.6.4_pre20061028 [new file with mode: 0644]
net-misc/NetworkManager/metadata.xml [new file with mode: 0644]

diff --git a/net-misc/NetworkManager/ChangeLog b/net-misc/NetworkManager/ChangeLog
new file mode 100644 (file)
index 0000000..4348ef2
--- /dev/null
@@ -0,0 +1,16 @@
+# 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/10/31 00:54:27 metalgod Exp $
+
+*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..d96ed63
--- /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 2608 RMD160 f93031c7ec3dac9250542aed8a85d2d5bc4d3e4d SHA1 1841fa159f557148afe94af27c657461595d77de SHA256 fba4d81b7dca9a6fa14dd39db5bb156d08e6138cf0e24513050048d7e66bdbf2
+MD5 df5f6619a75ed71fb6363a2fb0a00b48 NetworkManager-0.6.4_pre20061028.ebuild 2608
+RMD160 f93031c7ec3dac9250542aed8a85d2d5bc4d3e4d NetworkManager-0.6.4_pre20061028.ebuild 2608
+SHA256 fba4d81b7dca9a6fa14dd39db5bb156d08e6138cf0e24513050048d7e66bdbf2 NetworkManager-0.6.4_pre20061028.ebuild 2608
+MISC ChangeLog 757 RMD160 76e955f58655a2c9a290d7cec8dc014f0bc98442 SHA1 f606927312ad717410355d27f04007c74cb76dcc SHA256 d19e5ca402e1c75f08a54e5dc9a1c2bde24766fb28742fe26b20f0190be540ce
+MD5 b36424609d5fb0d9425ff13f347334a5 ChangeLog 757
+RMD160 76e955f58655a2c9a290d7cec8dc014f0bc98442 ChangeLog 757
+SHA256 d19e5ca402e1c75f08a54e5dc9a1c2bde24766fb28742fe26b20f0190be540ce ChangeLog 757
+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)
+
+iD8DBQFFRp7YwUpWvClEHQoRAqJ+AJ9zEDJ4MYb2IbUWg+6d63DOKnRZVACeLjSS
+kR9oHlY2Jy02oTkrU4QHw+w=
+=Sv9G
+-----END PGP SIGNATURE-----
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..fbf0ea6
--- /dev/null
@@ -0,0 +1,87 @@
+# 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/10/31 00:54:27 metalgod 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/${P}.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
+       >=sys-auth/pam_console-0.99*
+       >=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}/${PN}
+
+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
+}
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/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/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>
+