talimat 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # Tanım: Ağın daha doğrudan yönetilebilir olmasını sağlayan basitleştiren ve geliştiren araçlar
  2. # URL: http://projects.gnome.org/NetworkManager/
  3. # Paketçi: milisarge
  4. # Gerekler: libndp libsoup libgudev modemmanager dbus-glib iptables libnl nss wireless-tools polkit upower vala wpa-supplicant python-gobject gobject-introspection newt jansson ppp
  5. # Grup: ağ
  6. _isim=NetworkManager
  7. isim=networkmanager
  8. surum=1.10.8
  9. devir=1
  10. kaynak=(http://ftp.gnome.org/pub/gnome/sources/$_isim/${surum%.*}/$_isim-$surum.tar.xz)
  11. derle() {
  12. _pppver=2.4.7
  13. cd ${_isim}-$surum
  14. ./configure --prefix=/usr \
  15. --sysconfdir=/etc \
  16. --localstatedir=/var \
  17. --with-nmtui \
  18. --with-modem-manager-1 \
  19. --with-session-tracking=consolekit \
  20. --with-suspend-resume=upower \
  21. --with-dbus-sys-dir=/etc/dbus-1/system.d \
  22. --enable-introspection \
  23. --with-crypto=nss \
  24. --enable-wifi \
  25. --with-iptables=/usr/sbin/iptables \
  26. --with-kernel-firmware-dir=/lib/firmware \
  27. --with-dist-version="$surum-$devir, Milis Linux" \
  28. --with-systemdsystemunitdir=no \
  29. --with-pppd-plugin-dir=/usr/lib/pppd/$_pppver \
  30. --with-pppd=/usr/sbin/pppd \
  31. --with-wext \
  32. --without-consolekit \
  33. --without-libaudit \
  34. --without-more-asserts \
  35. --without-netconfig \
  36. --without-ofono \
  37. --without-selinux
  38. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ \
  39. if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ \
  40. func_append compile_command " -Wl,-O1,--as-needed"\n \
  41. func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
  42. make
  43. make DESTDIR=$PKG install
  44. rm -rf $PKG/usr/share/gtk-doc
  45. cat > $PKG/etc/NetworkManager/NetworkManager.conf << EOF
  46. [main]
  47. plugins=keyfile
  48. EOF
  49. # create a VPN directory
  50. install -d $PKG/etc/$_name/VPN
  51. install -m755 clients/.libs/nm-online -D $PKG/usr/bin/nm-online
  52. # create keyfile plugin system-settings directory
  53. install -d $PKG/etc/$_name/system-connections
  54. }