summaryrefslogtreecommitdiffstats
path: root/networkmanager/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-01-22 11:38:02 +0100
committerpiernov <piernov@piernov.org>2012-01-22 11:38:02 +0100
commit50e5ce5b17e69be13228e2393c5804b0a79acfab (patch)
tree9845fa9af128d7fdd791755bb2be320f3ba2be4e /networkmanager/Pkgfile
parent9626427c1a1d9c292fc519810c13b9a8073e777f (diff)
parent8548e8d6882b55dfb509b18dedfb7db17630037d (diff)
downloadnutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.gz
nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.bz2
nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.xz
nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.zip
Merged with http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe → Repository splitted → nutyx-extra
Diffstat (limited to 'networkmanager/Pkgfile')
-rw-r--r--networkmanager/Pkgfile49
1 files changed, 49 insertions, 0 deletions
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
+}