/[gentoo-x86]/net-misc/networkmanager/networkmanager-0.6.5.ebuild
Gentoo

Contents of /net-misc/networkmanager/networkmanager-0.6.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Feb 2 07:09:34 2008 UTC (11 years, 10 months ago) by steev
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Remove old versions of NetworkManager, add a bump that works with libnl 1.1
(Portage version: 2.1.4.1)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager/networkmanager-0.6.5.ebuild,v 1.7 2007/08/28 14:40:59 nixnut Exp $
4
5 inherit gnome2 eutils
6
7 MY_PN=NetworkManager
8
9 DESCRIPTION="Network configuration and management in an easy way. Desktop env independent"
10 HOMEPAGE="http://www.gnome.org/projects/NetworkManager/"
11 #http://ftp.gnome.org/pub/gnome/sources/NetworkManager/0.6/
12 SRC_URI="http://ftp.gnome.org/pub/gnome/sources/NetworkManager/0.6/${MY_PN}-${PV}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="amd64 ppc x86"
17 IUSE="crypt doc gnome"
18
19 RDEPEND=">=sys-apps/dbus-0.60
20 >=sys-apps/hal-0.5
21 sys-apps/iproute2
22 >=dev-libs/libnl-1.0_pre6
23 >=net-misc/dhcdbd-1.4
24 >=net-wireless/wireless-tools-28_pre9
25 >=net-wireless/wpa_supplicant-0.4.8
26 >=dev-libs/glib-2.8
27 >=x11-libs/libnotify-0.3.2
28 gnome? ( >=x11-libs/gtk+-2.8
29 >=gnome-base/libglade-2
30 >=gnome-base/gnome-keyring-0.4
31 >=gnome-base/gnome-panel-2
32 >=gnome-base/gconf-2
33 >=gnome-base/libgnomeui-2 )
34 crypt? ( dev-libs/libgcrypt )"
35 DEPEND="${RDEPEND}
36 dev-util/pkgconfig
37 dev-util/intltool"
38 PDEPEND="gnome? ( >=gnome-extra/nm-applet-0.6.5 )"
39
40 DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
41 USE_DESTDIR="1"
42
43 G2CONF="${G2CONF} \
44 `use_with crypt gcrypt` \
45 `use_with gnome` \
46 --disable-more-warnings \
47 --localstatedir=/var \
48 --with-distro=gentoo \
49 --with-dbus-sys=/etc/dbus-1/system.d \
50 --enable-notification-icon"
51
52 S=${WORKDIR}/${MY_PN}-${PV}
53
54 src_unpack () {
55
56 unpack ${A}
57 cd ${S}
58 # Update to use our backend
59 epatch ${FILESDIR}/${PN}-updatedbackend.patch
60 # Use the kernel headers
61 epatch ${FILESDIR}/${PN}-use-kernel-headers.patch
62 # Fix the resolv.conf permissions
63 epatch ${FILESDIR}/${PN}-resolvconf-perms.patch
64 # Fix up the dbus conf file to use plugdev group
65 epatch ${FILESDIR}/${PN}-0.6.5-confchanges.patch
66 }
67
68 src_install() {
69 gnome2_src_install
70 # Need to keep the /var/run/NetworkManager directory
71 keepdir /var/run/NetworkManager
72 }
73 pkg_postinst() {
74 gnome2_icon_cache_update
75 elog "You need to be in the plugdev group in order to use NetworkManager"
76 elog "Problems with your hostname getting changed?"
77 elog ""
78 elog "Add the following to /etc/dhcp/dhclient.conf"
79 elog 'send host-name "YOURHOSTNAME";'
80 elog 'supersede host-name "YOURHOSTNAME";'
81
82 elog "You will need to restart DBUS if this is your first time"
83 elog "installing NetworkManager."
84 }

  ViewVC Help
Powered by ViewVC 1.1.20