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 |
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 |
|
|
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 |
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" |
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 |
} |
} |