Re: How to Test NetworkManager 0.9
- From: Alex Pyattaev <alex pyattaev gmail com>
- To: networkmanager-list gnome org
- Subject: Re: How to Test NetworkManager 0.9
- Date: Mon, 20 Jun 2011 11:27:50 +0300
David,
I'm a gentoo user too, and I was thinking maybe we could cooperate on this
thing. For example, I have 2 nice ebuilds that compile NM and applet from the
source tree unpacked somewhere in your system. This way you do not have to
bother with dangling files and you can always see what's installed. Both are
attached.
Don't forget to run ebuild ... digest before installing.
And do not put those to portage tree directly, just run ebuild, this way they
will not get erased upon next emerge --sync.
If you have any preliminary data on supplicant interface, I'd be happy to try
it too ASAP!
Thank you,
Alex
On Sunday 19 June 2011 10:59:27 David Narvaez wrote:
> On Mon, Jun 13, 2011 at 10:11 AM, David Narvaez
>
> <david narvaez computer org> wrote:
> > I'll find that out today about that patch and fix the D-Bus issue
> > which should get me up and running with NM 0.9.
>
> Hi all, now posting from my laptop with NM 0.9 finally!
>
> Thanks Dan for pointing me in the direction of the new DBus interface
> for wpa_supplicant.
>
> Lamarque, I'd like to know if I could reach you through private e-mail
> to clarify some stuff before documenting this process as I think I did
> some extra work that was not needed (at least not in Gentoo-based
> distros).
>
> Thanks again.
>
> David E. Narvaez
> _______________________________________________
> networkmanager-list mailing list
> networkmanager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
--
Alex Pyattaev,
Researcher,
Tampere University of Technology,
Finland
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager/networkmanager-0.8.4.0-r1.ebuild,v 1.2 2011/06/09 01:41:03 sping Exp $
EAPI="2"
inherit autotools eutils gnome.org linux-info
MY_SRC_DIR="/opt/net-misc/networkmanager/NetworkManager"
DESCRIPTION="Network configuration and management in an easy way. Desktop environment independent."
HOMEPAGE="http://www.gnome.org/projects/NetworkManager/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
RDEPEND=">=sys-apps/dbus-1.2"
DEPEND="${RDEPEND}"
#S=${WORKDIR}/${MY_P}
src_prepare() {
# backported ifnet patches
#epatch "${FILESDIR}/${P}-shared-connection.patch"
#epatch "${FILESDIR}/${P}-fix-tests.patch"
#epatch "${FILESDIR}/${P}-ifnet-smarter-write.patch"
cp -r ${MY_SRC_DIR} ${S}
eautoreconf
}
src_configure() {
ECONF="--disable-more-warnings
--localstatedir=/var
--with-distro=gentoo
--with-dbus-sys-dir=/etc/dbus-1/system.d
--with-udev-dir=/lib/udev
--with-iptables=/sbin/iptables
$(use_enable doc gtk-doc)
$(use_with doc docs)
$(use_with resolvconf)"
# default is dhcpcd (if none or both are specified), ISC dchclient otherwise
if use dhclient ; then
if use dhcpcd ; then
ECONF="${ECONF} --with-dhcpcd --without-dhclient"
else
ECONF="${ECONF} --with-dhclient --without-dhcpcd"
fi
else
ECONF="${ECONF} --with-dhcpcd --without-dhclient"
fi
econf ${ECONF}
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
# Need to keep the /var/run/NetworkManager directory
keepdir /var/run/NetworkManager
# Need to keep the /etc/NetworkManager/dispatched.d for dispatcher scripts
keepdir /etc/NetworkManager/dispatcher.d
#dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
# Add keyfile plugin support
keepdir /etc/NetworkManager/system-connections
insinto /etc/NetworkManager
#newins "${FILESDIR}/nm-system-settings.conf-ifnet" nm-system-settings.conf \
# || die "newins failed"
}
pkg_postinst() {
elog "You will need to reload DBus if this is your first time installing"
elog "NetworkManager, or if you're upgrading from 0.7 or older."
elog ""
}
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nm-applet/nm-applet-0.8.4.ebuild,v 1.2 2011/05/18 16:38:28 ssuominen Exp $
EAPI=2
inherit gnome2
MY_SRC_DIR="/opt/net-misc/nm-applet/network-manager-applet"
DESCRIPTION="Gnome applet for NetworkManager."
HOMEPAGE="http://projects.gnome.org/NetworkManager/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="bluetooth"
# FIXME: bluetooth is automagic
RDEPEND=">=dev-libs/glib-2.16:2
>=dev-libs/dbus-glib-0.88
>=sys-apps/dbus-1.4.1
>=x11-libs/gtk+-2.18:2
>=gnome-base/gconf-2.20:2
>=x11-libs/libnotify-0.4.3
>=gnome-base/libglade-2:2.0
>=gnome-base/gnome-keyring-2.20
>=dev-libs/libnl-1.1
>=net-misc/networkmanager-${PV}
>=net-wireless/wireless-tools-28_pre9
>=net-wireless/wpa_supplicant-0.5.7
net-misc/mobile-broadband-provider-info
bluetooth? ( >=net-wireless/gnome-bluetooth-2.27.6 )
>=sys-auth/polkit-0.96-r1"
DEPEND="${RDEPEND}
dev-util/pkgconfig
>=dev-util/intltool-0.35"
src_unpack() {
# backported ifnet patches
#epatch "${FILESDIR}/${P}-shared-connection.patch"
#epatch "${FILESDIR}/${P}-fix-tests.patch"
#epatch "${FILESDIR}/${P}-ifnet-smarter-write.patch"
cp -r ${MY_SRC_DIR} ${S}
}
pkg_setup () {
G2CONF="${G2CONF}
--disable-more-warnings
--localstatedir=/var"
DOCS="AUTHORS ChangeLog NEWS README"
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]