summaryrefslogtreecommitdiffstats
path: root/networkmanager/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2011-09-03 17:17:37 +0200
committerpiernov <piernov@piernov.org>2011-09-03 17:17:37 +0200
commit7afdb653fb9c94e41ee6e6c1f5b5da90fc54f53e (patch)
tree73377819949397c74a0d73908d6d7623bb254a69 /networkmanager/Pkgfile
parent00b0ba9e9719151120b8ee53c5c783aa0dead4aa (diff)
downloadgnome3-7afdb653fb9c94e41ee6e6c1f5b5da90fc54f53e.tar.gz
gnome3-7afdb653fb9c94e41ee6e6c1f5b5da90fc54f53e.tar.bz2
gnome3-7afdb653fb9c94e41ee6e6c1f5b5da90fc54f53e.tar.xz
gnome3-7afdb653fb9c94e41ee6e6c1f5b5da90fc54f53e.zip
networkmanager 0.9.0-1 correction port
Diffstat (limited to 'networkmanager/Pkgfile')
-rw-r--r--networkmanager/Pkgfile54
1 files changed, 40 insertions, 14 deletions
diff --git a/networkmanager/Pkgfile b/networkmanager/Pkgfile
index a6a9b98..1fbbad3 100644
--- a/networkmanager/Pkgfile
+++ b/networkmanager/Pkgfile
@@ -2,30 +2,56 @@
# 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
+# Depends on: dbus-glib, iproute2, libnl, nss, polkit, wireless_tools, wpa_supplicant, ppp, iptables, intltool, bluez, gobject-introspection
+# Run on: dbus-glib,iproute2,libnl,nss,polkit,wireless_tools,wpa_supplicant,ppp,iptables,intltool,bluez
name=networkmanager
version=0.9.0
release=1
_name=NetworkManager
-source=( http://ftp.gnome.org/pub/GNOME/sources/$_name/${version%.*}/$_name-$version.tar.xz )
+source=(http://ftp.gnome.org/pub/GNOME/sources/$_name/${version%.*}/$_name-$version.tar.xz
+ discover_mac_address.patch
+ NuTyX.patch
+ network.rc
+ network.conf)
build() {
cd ${_name}-$version
+ patch -p1 < ../discover_mac_address.patch
+ 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
+
+ install -D -m0754 ../network.rc $PKG/etc/rc.d/init.d/network.nm
+ install -D -m0754 ../network.conf $PKG/etc/sysconfig/network.nm
}
-