1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# 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: gtk-doc, 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,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
NuTyX.patch
network.rc
network.conf)
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
install -D -m0754 ../network.rc $PKG/etc/rc.d/init.d/network.nm
install -D -m0754 ../network.conf $PKG/etc/sysconfig/network.nm
}
|