diff -Naur NetworkManager-0.8.1~git100705/tinycore/nm-system-settings.conf NetworkManager-0.8.1~git100705_tinycore/tinycore/nm-system-settings.conf
--- NetworkManager-0.8.1~git100705/tinycore/nm-system-settings.conf	1970-01-01 00:00:00.000000000 +0000
+++ NetworkManager-0.8.1~git100705_tinycore/tinycore/nm-system-settings.conf	2010-07-05 10:01:18.416665476 +0000
@@ -0,0 +1,2 @@
+[main]
+plugins=keyfile
diff -Naur NetworkManager-0.8.1~git100705/tinycore/patches/NetworkManager-0.8.0.999_tinycore_support.patch NetworkManager-0.8.1~git100705_tinycore/tinycore/patches/NetworkManager-0.8.0.999_tinycore_support.patch
--- NetworkManager-0.8.1~git100705/tinycore/patches/NetworkManager-0.8.0.999_tinycore_support.patch	1970-01-01 00:00:00.000000000 +0000
+++ NetworkManager-0.8.1~git100705_tinycore/tinycore/patches/NetworkManager-0.8.0.999_tinycore_support.patch	2010-07-05 10:01:18.416665476 +0000
@@ -0,0 +1,110 @@
+diff -Naur NetworkManager-0.8.0.999_orig/configure.ac NetworkManager-0.8.0.999/configure.ac
+--- NetworkManager-0.8.0.999_orig/configure.ac	2010-06-26 01:56:26.000000000 +0000
++++ NetworkManager-0.8.0.999/configure.ac	2010-07-04 18:37:58.836137609 +0000
+@@ -95,6 +95,7 @@
+ 	AC_CHECK_FILE(/etc/frugalware-release,with_distro="frugalware")
+ 	AC_CHECK_FILE(/etc/mandriva-release,with_distro="mandriva")
+ 	AC_CHECK_FILE(/etc/pardus-release,with_distro="pardus")
++	AC_CHECK_FILE(/etc/sysconfig/tcuser,with_distro="tinycore")
+ 	if test "z$with_distro" = "z"; then
+ 		with_distro=`lsb_release -is`
+ 	fi
+@@ -106,7 +107,7 @@
+ 	exit 1
+ else
+ 	case $with_distro in
+-		redhat|suse|gentoo|debian|slackware|arch|paldo|frugalware|mandriva|pardus) ;;
++		redhat|suse|gentoo|debian|slackware|arch|paldo|frugalware|mandriva|pardus|tinycore) ;;
+ 		*)
+ 			echo "Your distribution (${with_distro}) is not yet supported!  (patches welcome)"
+ 			exit 1
+@@ -164,6 +165,11 @@
+   AC_DEFINE(TARGET_PARDUS, 1, [Define if you have Pardus])
+ fi
+ 
++AM_CONDITIONAL(TARGET_TINYCORE, test x"$with_distro" = xtinycore)
++if test x"$with_distro" = xtinycore; then
++  AC_DEFINE(TARGET_TINYCORE, 1, [Define if you have Tiny Core Linux])
++fi
++
+ dnl
+ dnl Distribution version string
+ dnl
+diff -Naur NetworkManager-0.8.0.999_orig/src/backends/Makefile.am NetworkManager-0.8.0.999/src/backends/Makefile.am
+--- NetworkManager-0.8.0.999_orig/src/backends/Makefile.am	2010-06-25 16:58:23.000000000 +0000
++++ NetworkManager-0.8.0.999/src/backends/Makefile.am	2010-07-04 18:34:18.676993070 +0000
+@@ -55,6 +55,10 @@
+ libnmbackend_la_SOURCES += NetworkManagerPardus.c
+ endif
+ 
++if TARGET_TINYCORE
++libnmbackend_la_SOURCES += NetworkManagerTinyCore.c
++endif
++
+ libnmbackend_la_LIBADD += \
+ 	$(top_builddir)/src/logging/libnm-logging.la \
+ 	$(DBUS_LIBS) \
+diff -Naur NetworkManager-0.8.0.999_orig/src/backends/NetworkManagerTinyCore.c NetworkManager-0.8.0.999/src/backends/NetworkManagerTinyCore.c
+--- NetworkManager-0.8.0.999_orig/src/backends/NetworkManagerTinyCore.c	1970-01-01 00:00:00.000000000 +0000
++++ NetworkManager-0.8.0.999/src/backends/NetworkManagerTinyCore.c	2010-07-04 18:26:44.946228258 +0000
+@@ -0,0 +1,60 @@
++/* NetworkManager -- Network link manager
++ *
++ * Implementation for the Tiny Core Linux distro - http://www.tinycorelinux.com
++ *
++ * Sercan Arslan <arslanserc@gmail.com>
++ *
++ * Based on NetworkManagerSlackware.c by Narayan Newton <narayan_newton@yahoo.com>
++ *
++ * This program is free software; you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License as published by
++ * the Free Software Foundation; either version 2 of the License, or
++ * (at your option) any later version.
++ *
++ * This program is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++ * GNU General Public License for more details.
++ *
++ * You should have received a copy of the GNU General Public License along
++ * with this program; if not, write to the Free Software Foundation, Inc.,
++ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
++ *
++ * (C) Copyright 2010 Sercan Arslan
++ */
++
++#ifdef HAVE_CONFIG_H
++#include <config.h>
++#endif
++
++#include <stdio.h>
++#include <string.h>
++#include <stdlib.h>
++
++#include "NetworkManagerGeneric.h"
++#include "nm-system.h"
++
++/*
++ * nm_system_enable_loopback
++ *
++ * Bring up the loopback interface
++ *
++ */
++void nm_system_enable_loopback (void)
++{
++	nm_generic_enable_loopback ();
++}
++
++
++/*
++ * nm_system_update_dns
++ *
++ * Make glibc/nscd aware of any changes to the resolv.conf file by
++ * restarting nscd.
++ *
++ */
++void nm_system_update_dns (void)
++{
++	/* I'm not running nscd */
++}
++
diff -Naur NetworkManager-0.8.1~git100705/tinycore/patches/disable_set_hostname.patch NetworkManager-0.8.1~git100705_tinycore/tinycore/patches/disable_set_hostname.patch
--- NetworkManager-0.8.1~git100705/tinycore/patches/disable_set_hostname.patch	1970-01-01 00:00:00.000000000 +0000
+++ NetworkManager-0.8.1~git100705_tinycore/tinycore/patches/disable_set_hostname.patch	2010-07-05 13:44:53.556124306 +0000
@@ -0,0 +1,46 @@
+--- NetworkManager-0.8.1~git100705/src/nm-policy.c	2010-07-05 08:01:29.000000000 +0000
++++ NetworkManager-0.8.1~git100705_tinycore/src/nm-policy.c	2010-07-05 13:44:38.896051671 +0000
+@@ -312,8 +312,8 @@
+ update_system_hostname (NMPolicy *policy, NMDevice *best4, NMDevice *best6)
+ {
+ 	char *configured_hostname = NULL;
+-	NMActRequest *best_req4 = NULL;
+-	NMActRequest *best_req6 = NULL;
++	//NMActRequest *best_req4 = NULL;
++	//NMActRequest *best_req6 = NULL;
+ 	const char *dhcp_hostname, *p;
+ 
+ 	g_return_if_fail (policy != NULL);
+@@ -340,19 +340,19 @@
+ 		return;
+ 	}
+ 
+-	/* Try automatically determined hostname from the best device's IP config */
+-	if (!best4)
+-		best4 = get_best_ip4_device (policy->manager, &best_req4);
+-	if (!best6)
+-		best6 = get_best_ip6_device (policy->manager, &best_req6);
+-
+-	if (!best4 && !best6) {
+-		/* No best device; fall back to original hostname or if there wasn't
+-		 * one, 'localhost.localdomain'
+-		 */
+-		_set_hostname (policy, TRUE, policy->orig_hostname, "no default device");
+-		return;
+-	}
++//	/* Try automatically determined hostname from the best device's IP config */
++//	if (!best4)
++//		best4 = get_best_ip4_device (policy->manager, &best_req4);
++//	if (!best6)
++//		best6 = get_best_ip6_device (policy->manager, &best_req6);
++//
++//	if (!best4 && !best6) {
++//		/* No best device; fall back to original hostname or if there wasn't
++//		 * one, 'localhost.localdomain'
++//		 */
++//		_set_hostname (policy, TRUE, policy->orig_hostname, "no default device");
++//		return;
++//	}
+ 
+ 	if (best4) {
+ 		NMDHCP4Config *dhcp4_config;
diff -Naur NetworkManager-0.8.1~git100705/tinycore/patches/etc_hosts_path.patch NetworkManager-0.8.1~git100705_tinycore/tinycore/patches/etc_hosts_path.patch
--- NetworkManager-0.8.1~git100705/tinycore/patches/etc_hosts_path.patch	1970-01-01 00:00:00.000000000 +0000
+++ NetworkManager-0.8.1~git100705_tinycore/tinycore/patches/etc_hosts_path.patch	2010-07-05 14:51:45.655375000 +0000
@@ -0,0 +1,33 @@
+--- NetworkManager-0.8.1~git100705/src/nm-policy-hosts.c	2010-07-05 08:01:29.000000000 +0000
++++ NetworkManager-0.8.1~git100705_tinycore/src/nm-policy-hosts.c	2010-07-05 14:43:42.111073250 +0000
+@@ -307,8 +307,8 @@
+ 	g_return_val_if_fail (hostname != NULL, FALSE);
+ 	g_return_val_if_fail (out_changed != NULL, FALSE);
+ 
+-	if (!g_file_get_contents (SYSCONFDIR "/hosts", &contents, &contents_len, &error)) {
+-		nm_log_warn (LOGD_DNS, "couldn't read " SYSCONFDIR "/hosts: (%d) %s",
++	if (!g_file_get_contents ("/etc/hosts", &contents, &contents_len, &error)) {
++		nm_log_warn (LOGD_DNS, "couldn't read " "/etc/hosts: (%d) %s",
+ 		             error ? error->code : 0,
+ 		             (error && error->message) ? error->message : "(unknown)");
+ 		g_clear_error (&error);
+@@ -333,8 +333,8 @@
+ 
+ 		g_clear_error (&error);
+ 		/* And actually update /etc/hosts */
+-		if (!g_file_set_contents (SYSCONFDIR "/hosts", new_contents->str, -1, &error)) {
+-			nm_log_warn (LOGD_DNS, "couldn't update " SYSCONFDIR "/hosts: (%d) %s",
++		if (!g_file_set_contents ("/etc/hosts", new_contents->str, -1, &error)) {
++			nm_log_warn (LOGD_DNS, "couldn't update " "/etc/hosts: (%d) %s",
+ 			             error ? error->code : 0,
+ 			             (error && error->message) ? error->message : "(unknown)");
+ 			g_clear_error (&error);
+@@ -348,7 +348,7 @@
+ 		/* No change required */
+ 		success = TRUE;
+ 	} else {
+-		nm_log_warn (LOGD_DNS, "couldn't read " SYSCONFDIR "/hosts: (%d) %s",
++		nm_log_warn (LOGD_DNS, "couldn't read " "/etc/hosts: (%d) %s",
+ 		             error->code, error->message ? error->message : "(unknown)");
+ 		g_clear_error (&error);
+ 	}
diff -Naur NetworkManager-0.8.1~git100705/tinycore/patches/series NetworkManager-0.8.1~git100705_tinycore/tinycore/patches/series
--- NetworkManager-0.8.1~git100705/tinycore/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ NetworkManager-0.8.1~git100705_tinycore/tinycore/patches/series	2010-07-05 18:57:32.476594903 +0000
@@ -0,0 +1,5 @@
+NetworkManager-0.8.0.999_tinycore_support.patch
+disable_set_hostname.patch
+etc_hosts_path.patch
+tinycore_dbus_access.patch
+
diff -Naur NetworkManager-0.8.1~git100705/tinycore/patches/tinycore_dbus_access.patch NetworkManager-0.8.1~git100705_tinycore/tinycore/patches/tinycore_dbus_access.patch
--- NetworkManager-0.8.1~git100705/tinycore/patches/tinycore_dbus_access.patch	1970-01-01 00:00:00.000000000 +0000
+++ NetworkManager-0.8.1~git100705_tinycore/tinycore/patches/tinycore_dbus_access.patch	2010-07-05 18:56:32.310808701 +0000
@@ -0,0 +1,54 @@
+--- NetworkManager-0.8.1~git100705/src/NetworkManager.conf	2010-07-05 08:01:29.000000000 +0000
++++ NetworkManager-0.8.1~git100705_tinycore/src/NetworkManager.conf	2010-07-05 18:54:33.419946486 +0000
+@@ -12,6 +12,51 @@
+                 <allow send_destination="org.freedesktop.NetworkManager"
+                        send_interface="org.freedesktop.NetworkManager.PPP"/>
+         </policy>
++        <policy group="staff">
++                <allow send_destination="org.freedesktop.NetworkManager"/>
++
++                <allow send_destination="org.freedesktop.NetworkManager"
++                       send_interface="org.freedesktop.DBus.Introspectable"/>
++
++                <allow send_destination="org.freedesktop.NetworkManager"
++                       send_interface="org.freedesktop.DBus.Properties"/>
++
++                <allow send_destination="org.freedesktop.NetworkManager"
++                       send_interface="org.freedesktop.NetworkManager"/>
++
++                <allow send_destination="org.freedesktop.NetworkManager"
++                       send_interface="org.freedesktop.NetworkManager.AccessPoint"/>
++
++                <allow send_destination="org.freedesktop.NetworkManager"
++                       send_interface="org.freedesktop.NetworkManager.Connection.Active"/>
++
++                <allow send_destination="org.freedesktop.NetworkManager"
++                       send_interface="org.freedesktop.NetworkManager.Device.Cdma"/>
++
++                <allow send_destination="org.freedesktop.NetworkManager"
++                       send_interface="org.freedesktop.NetworkManager.Device.Wired"/>
++
++                <allow send_destination="org.freedesktop.NetworkManager"
++                       send_interface="org.freedesktop.NetworkManager.Device.Gsm"/>
++
++                <allow send_destination="org.freedesktop.NetworkManager"
++                       send_interface="org.freedesktop.NetworkManager.Device.Serial"/>
++
++                <allow send_destination="org.freedesktop.NetworkManager"
++                       send_interface="org.freedesktop.NetworkManager.Device.Wireless"/>
++
++                <allow send_destination="org.freedesktop.NetworkManager"
++                       send_interface="org.freedesktop.NetworkManager.Device"/>
++
++                <allow send_destination="org.freedesktop.NetworkManager"
++                       send_interface="org.freedesktop.NetworkManager.DHCP4Config"/>
++
++                <allow send_destination="org.freedesktop.NetworkManager"
++                       send_interface="org.freedesktop.NetworkManager.IP4Config"/>
++
++                <allow send_destination="org.freedesktop.NetworkManager"
++                       send_interface="org.freedesktop.NetworkManager.VPN.Connection"/>
++        </policy>
+         <policy at_console="true">
+                 <allow send_destination="org.freedesktop.NetworkManager"/>
+ 
