Magellan Linux

Diff of /branches/magellan-next/extras/networkmanager/networkmanager-0.8.5.91-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8559 by niro, Thu Jul 21 23:58:16 2011 UTC revision 8874 by niro, Thu Aug 4 21:48:21 2011 UTC
# Line 9  PCATEGORIE="net-misc" Line 9  PCATEGORIE="net-misc"
9  DESCRIPTION="Network configuration and management in an easy way."  DESCRIPTION="Network configuration and management in an easy way."
10  HOMEPAGE="http://projects.gnome.org/NetworkManager/"  HOMEPAGE="http://projects.gnome.org/NetworkManager/"
11    
12    # hardcoded ppp version
13    PPP_PVER=2.4.5
14    
15  DEPEND=">= sys-apps/dbus-1.4  DEPEND=">= sys-apps/dbus-1.4
16   >= dev-libs/glib2-2.28   >= dev-libs/glib2-2.28
17   >= dev-libs/dbus-glib-0.92   >= dev-libs/dbus-glib-0.92
# Line 23  DEPEND=">= sys-apps/dbus-1.4 Line 26  DEPEND=">= sys-apps/dbus-1.4
26   >= net-wlan/bluez-4.95   >= net-wlan/bluez-4.95
27   >= net-dns/avahi-0.6.30   >= net-dns/avahi-0.6.30
28   >= net-misc/dhcpcd-5.2.12   >= net-misc/dhcpcd-5.2.12
29   >= net-dialup/ppp-2.4.5   == net-dialup/ppp-${PPP_PVER}
30   >= sys-apps/iproute2-2.6.38   >= sys-apps/iproute2-2.6.38
31   >= net-misc/iptables-1.4.11"   >= net-misc/iptables-1.4.11"
32    
# Line 76  src_compile() Line 79  src_compile()
79   --with-distro=magellan \   --with-distro=magellan \
80   --with-dbus-sys-dir=/etc/dbus-1/system.d \   --with-dbus-sys-dir=/etc/dbus-1/system.d \
81   --with-udev-dir=/lib/udev \   --with-udev-dir=/lib/udev \
82     --with-pppd-plugin-dir=/usr/$(mlibdir)/pppd/${PPP_PVER} \
83   --with-iptables=/sbin/iptables \   --with-iptables=/sbin/iptables \
84   --with-dhcp-client=dhcpcd \   --with-dhcpcd=yes \
85     --with-dhclient=no \
86   --with-crypto=nss \   --with-crypto=nss \
87     --enable-wimax=no \
88     --enable-polkit=yes \
89   --without-docs \   --without-docs \
90   --without-resolvconf \   --without-resolvconf \
91   || die   || die
# Line 105  src_install() Line 112  src_install()
112    
113  postinstall()  postinstall()
114  {  {
115   # restart dbus to load the nm config   # reload dbus to load the nm config
116   mstartservice dbus /usr/bin/dbus-daemon   mreloadservice dbus /usr/bin/dbus-daemon
117     mreloadunit dbus.service /usr/bin/dbus-daemon
118    
119   echo   echo
120   echo "To save system-wide settings as a user, that user needs to have the"   echo "To save system-wide settings as a user, that user needs to have the"
# Line 117  postinstall() Line 125  postinstall()
125    
126  postremove()  postremove()
127  {  {
128   if [ ! -f ${MROOT}/usr/bin/dbus-daemon ]   # reload dbus to unload the nm config
129   then   mreloadservice dbus /usr/bin/dbus-daemon
130   mstopservice dbus /usr/bin/dbus-daemon   mreloadunit dbus /usr/bin/dbus-daemon
  fi  
131  }  }

Legend:
Removed from v.8559  
changed lines
  Added in v.8874