NetworkManager: Difference between revisions

From CBLFS
Jump to navigationJump to search
This is CLFS, not Arch; it's a GNOME app, let's build it for the GNOME ABI.
Chipster19 (talk | contribs)
No edit summary
 
(10 intermediate revisions by 6 users not shown)
Line 2: Line 2:
|-
|-
!Download Source:
!Download Source:
|http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/{{NetworkManager-Version2}}/NetworkManager-{{NetworkManager-Version}}.tar.bz2  
| http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/{{NetworkManager-Version2}}/NetworkManager-{{NetworkManager-Version}}.tar.bz2
|-
!Download Patch:
| http://svn.cross-lfs.org/svn/repos/patches/NetworkManager/NetworkManager-{{NetworkManager-Version}}-clfs_support-1.patch
|}
|}


Line 8: Line 11:


{{Package-Introduction|NetworkManager program is a network connection manager. It supports Ethernet, WiFi, VPN connections.|http://www.gnome.org/projects/NetworkManager/}}
{{Package-Introduction|NetworkManager program is a network connection manager. It supports Ethernet, WiFi, VPN connections.|http://www.gnome.org/projects/NetworkManager/}}
----


== Dependencies ==
== Dependencies ==


=== Required ===
=== Required ===
* [[Iptables]]
* [[libnl]]
* [[libnl]]
 
* [[Wireless tools]]
=== Recommended ===
* [[WPA Supplicant]] with [[D-BUS]] enabled
* [[Dhcdbd]]
* [[D-BUS Glib]]
 
* [[PolicyKit]]
== Configuring Information ==
* [[NSS]] or [[GnuTLS]]
 
* [[PPP]]
{|
* [[dhcpcd]] or [[dhcp]]
|-
|''--without-gnome:'' Build without gnome support. Daemon only is built to use with KDE.
|-
|''--without-dhcdbd:'' Disable Dhcdbd
|}


== Non-Multilib ==
== Non-Multilib ==
Line 32: Line 29:
Compile the package:
Compile the package:


patch -Np1 -i ../NetworkManager-{{NetworkManager-Version}}-clfs_support-1.patch &&
autoreconf -f -i &&
  ./configure --prefix=/usr --sysconfdir=/etc \
  ./configure --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var &&
    --libdir=/usr/lib --localstatedir=/var \
    --libexecdir=/usr/lib/network-manager \
    --with-distro=clfs --with-crypto=gnutls &&
  make
  make


Line 46: Line 47:
Compile the package:
Compile the package:


  To do ...
  patch -Np1 -i ../NetworkManager-{{NetworkManager-Version}}-clfs_support-1.patch &&
autoreconf -f -i &&
CC="gcc ${BUILD32}"  USE_ARCH=32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib --localstatedir=/var \
    --libexecdir=/usr/lib/network-manager \
    --with-distro=clfs --with-crypto=gnutls &&
make


Install the package:
Install the package:


  To do ...
  make install


=== N32 ===
=== N32 ===
Line 56: Line 65:
Compile the package:
Compile the package:


  To do ...
  patch -Np1 -i ../NetworkManager-{{NetworkManager-Version}}-clfs_support-1.patch &&
autoreconf -f -i &&
CC="gcc ${BUILDN32}"  USE_ARCH=n32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib32 --localstatedir=/var \
    --libexecdir=/usr/lib64/network-manager \
    --with-distro=clfs --with-crypto=gnutls &&
make


Install the package:
Install the package:


  To do ...
  make install


=== 64Bit ===
=== 64Bit ===
Line 66: Line 83:
Compile the package:
Compile the package:


  To do ...
  patch -Np1 -i ../NetworkManager-{{NetworkManager-Version}}-clfs_support-1.patch &&
autoreconf -f -i &&
CC="gcc ${BUILD64}"  USE_ARCH=64 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib64 --localstatedir=/var \
    --libexecdir=/usr/lib64/network-manager \
    --with-distro=clfs --with-crypto=gnutls &&
make


Install the package:
Install the package:


  To do ...
  make install


== Contents ==
[[Category:Network Applications]]
 
{| style="text-align: left;"
|-valign="top"
!Installed Directories:
|/usr/include/NetworkManager
|-valign="top"
!Installed Programs:
|NetworkManagerDispatcher
|-valign="top"
!Installed Libraries:
|libnm-util.{a,la,so}, libnm_glib.{a,la,so}
|}

Latest revision as of 11:09, 20 April 2010

Download Source: http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/0.8/NetworkManager-0.8.tar.bz2
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/NetworkManager/NetworkManager-0.8-clfs_support-1.patch

Introduction to NetworkManager

NetworkManager program is a network connection manager. It supports Ethernet, WiFi, VPN connections.

Project Homepage: http://www.gnome.org/projects/NetworkManager/

Dependencies

Required

Non-Multilib

Compile the package:

patch -Np1 -i ../NetworkManager-0.8-clfs_support-1.patch &&
autoreconf -f -i &&
./configure --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib --localstatedir=/var \
    --libexecdir=/usr/lib/network-manager \
    --with-distro=clfs --with-crypto=gnutls &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../NetworkManager-0.8-clfs_support-1.patch &&
autoreconf -f -i &&
CC="gcc ${BUILD32}"  USE_ARCH=32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib --localstatedir=/var \
    --libexecdir=/usr/lib/network-manager \
    --with-distro=clfs --with-crypto=gnutls &&
make

Install the package:

make install

N32

Compile the package:

patch -Np1 -i ../NetworkManager-0.8-clfs_support-1.patch &&
autoreconf -f -i &&
CC="gcc ${BUILDN32}"  USE_ARCH=n32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib32 --localstatedir=/var \
    --libexecdir=/usr/lib64/network-manager \
    --with-distro=clfs --with-crypto=gnutls &&
make

Install the package:

make install

64Bit

Compile the package:

patch -Np1 -i ../NetworkManager-0.8-clfs_support-1.patch &&
autoreconf -f -i &&
CC="gcc ${BUILD64}"  USE_ARCH=64 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib64 --localstatedir=/var \
    --libexecdir=/usr/lib64/network-manager \
    --with-distro=clfs --with-crypto=gnutls &&
make

Install the package:

make install