diff options
Diffstat (limited to 'networkmanager')
-rw-r--r-- | networkmanager/.footprint.i686 | 133 | ||||
-rw-r--r-- | networkmanager/.footprint.x86_64 | 133 | ||||
-rw-r--r-- | networkmanager/.md5sum.i686 | 2 | ||||
-rw-r--r-- | networkmanager/.md5sum.x86_64 | 2 | ||||
-rw-r--r-- | networkmanager/NuTyX.patch | 132 | ||||
-rw-r--r-- | networkmanager/Pkgfile | 49 |
6 files changed, 451 insertions, 0 deletions
diff --git a/networkmanager/.footprint.i686 b/networkmanager/.footprint.i686 new file mode 100644 index 000000000..ab10bc45c --- /dev/null +++ b/networkmanager/.footprint.i686 @@ -0,0 +1,133 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/NetworkManager/ +-rw-r--r-- root/root etc/NetworkManager/NetworkManager.conf +drwxr-xr-x root/root etc/NetworkManager/VPN/ +drwxr-xr-x root/root etc/NetworkManager/dispatcher.d/ +drwxr-xr-x root/root etc/NetworkManager/system-connections/ +drwxr-xr-x root/root etc/dbus-1/ +drwxr-xr-x root/root etc/dbus-1/system.d/ +-rw-r--r-- root/root etc/dbus-1/system.d/NetworkManager.conf +-rw-r--r-- root/root etc/dbus-1/system.d/nm-avahi-autoipd.conf +-rw-r--r-- root/root etc/dbus-1/system.d/nm-dhcp-client.conf +-rw-r--r-- root/root etc/dbus-1/system.d/nm-dispatcher.conf +drwxr-xr-x root/root lib/ +drwxr-xr-x root/root lib/udev/ +drwxr-xr-x root/root lib/udev/rules.d/ +-rw-r--r-- root/root lib/udev/rules.d/77-nm-olpc-mesh.rules +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/nm-online +-rwxr-xr-x root/root usr/bin/nm-tool +-rwxr-xr-x root/root usr/bin/nmcli +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/NetworkManager/ +-rw-r--r-- root/root usr/include/NetworkManager/NetworkManager.h +-rw-r--r-- root/root usr/include/NetworkManager/NetworkManagerVPN.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-connection.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-8021x.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-bluetooth.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-cdma.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-connection.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-gsm.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-ip4-config.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-ip6-config.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-olpc-mesh.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-ppp.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-pppoe.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-serial.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-vpn.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-wimax.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-wired.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-wireless-security.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-wireless.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-utils.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-version.h +drwxr-xr-x root/root usr/include/libnm-glib/ +-rw-r--r-- root/root usr/include/libnm-glib/libnm_glib.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-access-point.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-active-connection.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-client.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-device-bt.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-device-ethernet.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-device-modem.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-device-wifi.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-device-wimax.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-device.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-dhcp4-config.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-dhcp6-config.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-ip4-config.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-ip6-config.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-object.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-remote-connection.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-remote-settings.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-secret-agent.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-types.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-vpn-connection.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-vpn-plugin-ui-interface.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-vpn-plugin-utils.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-vpn-plugin.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-wimax-nsp.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/girepository-1.0/ +-rw-r--r-- root/root usr/lib/girepository-1.0/NMClient-1.0.typelib +-rw-r--r-- root/root usr/lib/girepository-1.0/NetworkManager-1.0.typelib +-rwxr-xr-x root/root usr/lib/libnm-glib-vpn.la +lrwxrwxrwx root/root usr/lib/libnm-glib-vpn.so -> libnm-glib-vpn.so.1.1.0 +lrwxrwxrwx root/root usr/lib/libnm-glib-vpn.so.1 -> libnm-glib-vpn.so.1.1.0 +-rwxr-xr-x root/root usr/lib/libnm-glib-vpn.so.1.1.0 +-rwxr-xr-x root/root usr/lib/libnm-glib.la +lrwxrwxrwx root/root usr/lib/libnm-glib.so -> libnm-glib.so.4.2.0 +lrwxrwxrwx root/root usr/lib/libnm-glib.so.4 -> libnm-glib.so.4.2.0 +-rwxr-xr-x root/root usr/lib/libnm-glib.so.4.2.0 +-rwxr-xr-x root/root usr/lib/libnm-util.la +lrwxrwxrwx root/root usr/lib/libnm-util.so -> libnm-util.so.2.2.0 +lrwxrwxrwx root/root usr/lib/libnm-util.so.2 -> libnm-util.so.2.2.0 +-rwxr-xr-x root/root usr/lib/libnm-util.so.2.2.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/NetworkManager.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libnm-glib-vpn.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libnm-glib.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libnm-util.pc +drwxr-xr-x root/root usr/lib/pppd/ +drwxr-xr-x root/root usr/lib/pppd/2.4.5/ +-rwxr-xr-x root/root usr/lib/pppd/2.4.5/nm-pppd-plugin.la +-rwxr-xr-x root/root usr/lib/pppd/2.4.5/nm-pppd-plugin.so +drwxr-xr-x root/root usr/libexec/ +-rwxr-xr-x root/root usr/libexec/nm-avahi-autoipd.action +-rwxr-xr-x root/root usr/libexec/nm-crash-logger +-rwxr-xr-x root/root usr/libexec/nm-dhcp-client.action +-rwxr-xr-x root/root usr/libexec/nm-dispatcher.action +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/NetworkManager +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/NetworkManager/ +-rw-r--r-- root/root usr/share/NetworkManager/gdb-cmd +drwxr-xr-x root/root usr/share/dbus-1/ +drwxr-xr-x root/root usr/share/dbus-1/system-services/ +-rw-r--r-- root/root usr/share/dbus-1/system-services/org.freedesktop.nm_dispatcher.service +drwxr-xr-x root/root usr/share/gir-1.0/ +-rw-r--r-- root/root usr/share/gir-1.0/NMClient-1.0.gir +-rw-r--r-- root/root usr/share/gir-1.0/NetworkManager-1.0.gir +drwxr-xr-x root/root usr/share/locale/ +drwxr-xr-x root/root usr/share/locale/fr/ +drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/ +-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/NetworkManager.mo +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/nm-online.1.gz +-rw-r--r-- root/root usr/share/man/man1/nm-tool.1.gz +-rw-r--r-- root/root usr/share/man/man1/nmcli.1.gz +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/NetworkManager.conf.5.gz +-rw-r--r-- root/root usr/share/man/man5/nm-system-settings.conf.5.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/NetworkManager.8.gz +drwxr-xr-x root/root usr/share/polkit-1/ +drwxr-xr-x root/root usr/share/polkit-1/actions/ +-rw-r--r-- root/root usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy +drwxr-xr-x root/root var/ +drwxr-xr-x root/root var/lib/ +drwx------ root/root var/lib/NetworkManager/ +drwxr-xr-x root/root var/run/ +drwx------ root/root var/run/NetworkManager/ diff --git a/networkmanager/.footprint.x86_64 b/networkmanager/.footprint.x86_64 new file mode 100644 index 000000000..ab10bc45c --- /dev/null +++ b/networkmanager/.footprint.x86_64 @@ -0,0 +1,133 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/NetworkManager/ +-rw-r--r-- root/root etc/NetworkManager/NetworkManager.conf +drwxr-xr-x root/root etc/NetworkManager/VPN/ +drwxr-xr-x root/root etc/NetworkManager/dispatcher.d/ +drwxr-xr-x root/root etc/NetworkManager/system-connections/ +drwxr-xr-x root/root etc/dbus-1/ +drwxr-xr-x root/root etc/dbus-1/system.d/ +-rw-r--r-- root/root etc/dbus-1/system.d/NetworkManager.conf +-rw-r--r-- root/root etc/dbus-1/system.d/nm-avahi-autoipd.conf +-rw-r--r-- root/root etc/dbus-1/system.d/nm-dhcp-client.conf +-rw-r--r-- root/root etc/dbus-1/system.d/nm-dispatcher.conf +drwxr-xr-x root/root lib/ +drwxr-xr-x root/root lib/udev/ +drwxr-xr-x root/root lib/udev/rules.d/ +-rw-r--r-- root/root lib/udev/rules.d/77-nm-olpc-mesh.rules +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/nm-online +-rwxr-xr-x root/root usr/bin/nm-tool +-rwxr-xr-x root/root usr/bin/nmcli +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/NetworkManager/ +-rw-r--r-- root/root usr/include/NetworkManager/NetworkManager.h +-rw-r--r-- root/root usr/include/NetworkManager/NetworkManagerVPN.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-connection.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-8021x.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-bluetooth.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-cdma.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-connection.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-gsm.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-ip4-config.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-ip6-config.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-olpc-mesh.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-ppp.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-pppoe.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-serial.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-vpn.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-wimax.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-wired.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-wireless-security.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting-wireless.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-setting.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-utils.h +-rw-r--r-- root/root usr/include/NetworkManager/nm-version.h +drwxr-xr-x root/root usr/include/libnm-glib/ +-rw-r--r-- root/root usr/include/libnm-glib/libnm_glib.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-access-point.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-active-connection.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-client.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-device-bt.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-device-ethernet.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-device-modem.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-device-wifi.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-device-wimax.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-device.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-dhcp4-config.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-dhcp6-config.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-ip4-config.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-ip6-config.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-object.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-remote-connection.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-remote-settings.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-secret-agent.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-types.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-vpn-connection.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-vpn-plugin-ui-interface.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-vpn-plugin-utils.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-vpn-plugin.h +-rw-r--r-- root/root usr/include/libnm-glib/nm-wimax-nsp.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/girepository-1.0/ +-rw-r--r-- root/root usr/lib/girepository-1.0/NMClient-1.0.typelib +-rw-r--r-- root/root usr/lib/girepository-1.0/NetworkManager-1.0.typelib +-rwxr-xr-x root/root usr/lib/libnm-glib-vpn.la +lrwxrwxrwx root/root usr/lib/libnm-glib-vpn.so -> libnm-glib-vpn.so.1.1.0 +lrwxrwxrwx root/root usr/lib/libnm-glib-vpn.so.1 -> libnm-glib-vpn.so.1.1.0 +-rwxr-xr-x root/root usr/lib/libnm-glib-vpn.so.1.1.0 +-rwxr-xr-x root/root usr/lib/libnm-glib.la +lrwxrwxrwx root/root usr/lib/libnm-glib.so -> libnm-glib.so.4.2.0 +lrwxrwxrwx root/root usr/lib/libnm-glib.so.4 -> libnm-glib.so.4.2.0 +-rwxr-xr-x root/root usr/lib/libnm-glib.so.4.2.0 +-rwxr-xr-x root/root usr/lib/libnm-util.la +lrwxrwxrwx root/root usr/lib/libnm-util.so -> libnm-util.so.2.2.0 +lrwxrwxrwx root/root usr/lib/libnm-util.so.2 -> libnm-util.so.2.2.0 +-rwxr-xr-x root/root usr/lib/libnm-util.so.2.2.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/NetworkManager.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libnm-glib-vpn.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libnm-glib.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libnm-util.pc +drwxr-xr-x root/root usr/lib/pppd/ +drwxr-xr-x root/root usr/lib/pppd/2.4.5/ +-rwxr-xr-x root/root usr/lib/pppd/2.4.5/nm-pppd-plugin.la +-rwxr-xr-x root/root usr/lib/pppd/2.4.5/nm-pppd-plugin.so +drwxr-xr-x root/root usr/libexec/ +-rwxr-xr-x root/root usr/libexec/nm-avahi-autoipd.action +-rwxr-xr-x root/root usr/libexec/nm-crash-logger +-rwxr-xr-x root/root usr/libexec/nm-dhcp-client.action +-rwxr-xr-x root/root usr/libexec/nm-dispatcher.action +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/NetworkManager +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/NetworkManager/ +-rw-r--r-- root/root usr/share/NetworkManager/gdb-cmd +drwxr-xr-x root/root usr/share/dbus-1/ +drwxr-xr-x root/root usr/share/dbus-1/system-services/ +-rw-r--r-- root/root usr/share/dbus-1/system-services/org.freedesktop.nm_dispatcher.service +drwxr-xr-x root/root usr/share/gir-1.0/ +-rw-r--r-- root/root usr/share/gir-1.0/NMClient-1.0.gir +-rw-r--r-- root/root usr/share/gir-1.0/NetworkManager-1.0.gir +drwxr-xr-x root/root usr/share/locale/ +drwxr-xr-x root/root usr/share/locale/fr/ +drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/ +-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/NetworkManager.mo +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/nm-online.1.gz +-rw-r--r-- root/root usr/share/man/man1/nm-tool.1.gz +-rw-r--r-- root/root usr/share/man/man1/nmcli.1.gz +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/NetworkManager.conf.5.gz +-rw-r--r-- root/root usr/share/man/man5/nm-system-settings.conf.5.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/NetworkManager.8.gz +drwxr-xr-x root/root usr/share/polkit-1/ +drwxr-xr-x root/root usr/share/polkit-1/actions/ +-rw-r--r-- root/root usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy +drwxr-xr-x root/root var/ +drwxr-xr-x root/root var/lib/ +drwx------ root/root var/lib/NetworkManager/ +drwxr-xr-x root/root var/run/ +drwx------ root/root var/run/NetworkManager/ diff --git a/networkmanager/.md5sum.i686 b/networkmanager/.md5sum.i686 new file mode 100644 index 000000000..e87189ac0 --- /dev/null +++ b/networkmanager/.md5sum.i686 @@ -0,0 +1,2 @@ +d7dce01e97758253bc4ed81d7b86045f NetworkManager-0.9.2.0.tar.xz +8c44f3ee42fff5fa1389548f5727d551 NuTyX.patch diff --git a/networkmanager/.md5sum.x86_64 b/networkmanager/.md5sum.x86_64 new file mode 100644 index 000000000..e87189ac0 --- /dev/null +++ b/networkmanager/.md5sum.x86_64 @@ -0,0 +1,2 @@ +d7dce01e97758253bc4ed81d7b86045f NetworkManager-0.9.2.0.tar.xz +8c44f3ee42fff5fa1389548f5727d551 NuTyX.patch diff --git a/networkmanager/NuTyX.patch b/networkmanager/NuTyX.patch new file mode 100644 index 000000000..c9758cf61 --- /dev/null +++ b/networkmanager/NuTyX.patch @@ -0,0 +1,132 @@ +--- b/config.h.in 2011-05-07 13:34:44.000000000 +1000 ++++ a/config.h.in 2011-05-07 13:34:44.000000000 +1000 +@@ -174,6 +174,9 @@ + /* Define if you have Gentoo */ + #undef TARGET_GENTOO + ++/* Define if you have NuTyX */ ++#undef TARGET_NUTYX ++ + /* Define if you have linexa */ + #undef TARGET_LINEXA + +--- b/configure.ac 2011-05-07 13:34:44.000000000 +1000 ++++ a/configure.ac 2011-05-07 13:34:44.000000000 +1000 +@@ -107,7 +107,7 @@ + dnl + AC_C_BIGENDIAN + +-AC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO], [Specify the Linux distribution to target: One of redhat, suse, gentoo, debian, arch, slackware, paldo, mandriva, pardus, linexa or exherbo])) ++AC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO], [Specify the Linux distribution to target: One of redhat, suse, gentoo, debian, arch, slackware, paldo, mandriva, pardus, linexa, exherbo or nutyx])) + if test "z$with_distro" = "z"; then + AC_CHECK_FILE(/etc/redhat-release,with_distro="redhat") + AC_CHECK_FILE(/etc/SuSE-release,with_distro="suse") +@@ -121,6 +121,7 @@ + AC_CHECK_FILE(/etc/pardus-release,with_distro="pardus") + AC_CHECK_FILE(/etc/linexa-release,with_distro="linexa") + AC_CHECK_FILE(/etc/exherbo-release,with_distro="exherbo") ++ AC_CHECK_FILE(/etc/nutyx-version,with_distro="nutyx") + if test "z$with_distro" = "z"; then + with_distro=`lsb_release -is` + fi +@@ -132,7 +133,7 @@ + exit 1 + else + case $with_distro in +- redhat|suse|gentoo|debian|slackware|arch|paldo|frugalware|mandriva|pardus|linexa|exherbo) ;; ++ redhat|suse|gentoo|debian|slackware|arch|paldo|frugalware|mandriva|pardus|linexa|exherbo|nutyx) ;; + *) + echo "Your distribution (${with_distro}) is not yet supported! (patches welcome)" + exit 1 +@@ -200,6 +201,11 @@ + AC_DEFINE(TARGET_EXHERBO, 1, [Define if you have Exherbo]) + fi + ++AM_CONDITIONAL(TARGET_NUTYX, test x"$with_distro" = xnutyx) ++if test x"$with_distro" = xnutyx; then ++ AC_DEFINE(TARGET_NUTYX, 1, [Define if you have NuTyX]) ++fi ++ + dnl + dnl Distribution version string + dnl +--- b/src/backends/Makefile.am 2011-05-07 13:34:44.000000000 +1000 ++++ a/src/backends/Makefile.am 2011-05-07 13:34:44.000000000 +1000 +@@ -61,6 +61,10 @@ + libnmbackend_la_SOURCES += NetworkManagerExherbo.c + endif + ++if TARGET_NUTYX ++libnmbackend_la_SOURCES += NetworkManagerNuTyX.c ++endif ++ + libnmbackend_la_LIBADD += \ + $(top_builddir)/src/logging/libnm-logging.la \ + $(LIBNL_LIBS) \ +--- b/src/backends/NetworkManagerNuTyX.c 1970-01-01 10:00:00.000000000 +1000 ++++ a/src/backends/NetworkManagerNuTyX.c 2011-05-07 13:34:44.000000000 +1000 +@@ -0,0 +1,63 @@ ++/* NetworkManager -- Network link manager ++ * ++ * Jürg Billeter <juerg@paldo.org> ++ * ++ * Adapted for NuTyX by piernov <piernov@piernov.org> ++ * Heavily based on NetworkManagerRedhat.c by Dan Williams <dcbw@redhat.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 2004 Red Hat, Inc. ++ * (C) Copyright 2006 Jürg Billeter ++ */ ++ ++#ifdef HAVE_CONFIG_H ++#include <config.h> ++#endif ++ ++#include <stdio.h> ++#include <string.h> ++#include <stdlib.h> ++ ++#include "NetworkManagerGeneric.h" ++#include "nm-system.h" ++#include "NetworkManagerUtils.h" ++#include "nm-logging.h" ++ ++/* ++ * nm_system_enable_loopback ++ * ++ * Bring up the loopback interface ++ * ++ */ ++void nm_system_enable_loopback (void) ++{ ++ nm_spawn_process ("/etc/rc.d/init.d/localnet restart"); ++} ++ ++/* ++ * nm_system_update_dns ++ * ++ * Invalidate the nscd host cache, if it exists, since ++ * we changed resolv.conf. ++ * ++ */ ++void nm_system_update_dns (void) ++{ ++ if (g_file_test("/var/run/nscd/nscd.pid", G_FILE_TEST_EXISTS)) ++ nm_log_info (LOGD_DNS, "Clearing nscd hosts cache."); ++ nm_spawn_process ("/usr/sbin/nscd -i hosts"); ++} ++ ++ diff --git a/networkmanager/Pkgfile b/networkmanager/Pkgfile new file mode 100644 index 000000000..bd28c73aa --- /dev/null +++ b/networkmanager/Pkgfile @@ -0,0 +1,49 @@ +# Description: Utilitaire permettant de simplifier la configuration du réseau +# URL: http://projects.gnome.org/NetworkManager/ +# Maintainer: NuTyX Core Team +# Packager: piernov <piernov@piernov.org> +# Depends on: dbus-glib, iproute2, libnl, nss, polkit, wireless_tools, wpa_supplicant, ppp, iptables, bluez, gtk-doc, intltool, gobject-introspection +# Run on: dbus-glib,iproute2,libnl,nss,polkit,wireless_tools,wpa_supplicant,ppp,iptables,bluez + + +name=networkmanager +version=0.9.2.0 +release=1 +_name=NetworkManager +source=(http://ftp.gnome.org/pub/GNOME/sources/$_name/${version%.*.*}/$_name-$version.tar.xz + NuTyX.patch) + +build() { + cd ${_name}-$version + patch -p1 < ../NuTyX.patch + aclocal + autoconf + automake + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-system-ca-path=/etc/ssl/certs \ + --with-resolvconf=yes \ + --with-distro=nutyx \ + --with-crypto=nss \ + --with-dhclient=/usr/sbin/dhclient \ + --with-dhcpcd=/sbin/dhcpcd \ + --with-iptables=/usr/sbin/iptables \ + --with-tests=yes \ + --enable-polkit \ + --enable-introspection=yes \ + --disable-wimax + make + make DESTDIR=$PKG install + + cat > $PKG/etc/NetworkManager/NetworkManager.conf << EOF +[main] +plugins=keyfile +EOF + + # create a VPN directory + install -d $PKG/etc/$_name/VPN + install -m755 test/.libs/nm-online -D $PKG/usr/bin/nm-online + # create keyfile plugin system-settings directory + install -d $PKG/etc/$_name/system-connections +} |