summaryrefslogtreecommitdiffstats
path: root/extra/networkmanager/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/networkmanager/Pkgfile')
-rw-r--r--extra/networkmanager/Pkgfile58
1 files changed, 38 insertions, 20 deletions
diff --git a/extra/networkmanager/Pkgfile b/extra/networkmanager/Pkgfile
index ad815ce2f..535d9ad86 100644
--- a/extra/networkmanager/Pkgfile
+++ b/extra/networkmanager/Pkgfile
@@ -1,31 +1,49 @@
-# Description: Permet la gestion des réseaux sans fils
-# URL: http://www.gnome.org/projects/NetworkManager/
-# Maintainer: NuTyX core team
-# Packager: thierryn1 at hispeed dot ch
-# Depends on: dbus-glib, iproute2, libnl, nss, polkit, wireless_tools, wpa_supplicant, ppp, iptables, intltool
-# Run on: dbus-glib,iproute2,libnl,nss,polkit,wireless_tools,wpa_supplicant,ppp,iptables,intltool
+# 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.8.1
-release=2
+version=0.9.1.90
+release=1
_name=NetworkManager
-source=(http://ftp.acc.umu.se/pub/gnome/sources/${_name}/0.8/${_name}-$version.tar.bz2 )
+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 \
- --with-distro=redhat \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --with-crypto=nss \
- --with-dhclient=/usr/sbin/dhclient \
- --with-dhcpcd=/sbin/dhcpcd \
- --with-iptables=/usr/sbin/iptables \
- --disable-static \
- --enable-more-warnings=no \
- --disable-wimax
+ --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
}
-