summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@gentoo.org>2009-04-22 15:20:13 +0000
committerRobert Buchholz <rbu@gentoo.org>2009-04-22 15:20:13 +0000
commit0ed0d7a7071f0a762194352c2f46429a1dbc1e0e (patch)
tree6149056b7575aaf14299f76a04fc1b3ee2d93719 /net-misc/networkmanager
parentFixed dodoc. (diff)
downloadgentoo-2-0ed0d7a7071f0a762194352c2f46429a1dbc1e0e.tar.gz
gentoo-2-0ed0d7a7071f0a762194352c2f46429a1dbc1e0e.tar.bz2
gentoo-2-0ed0d7a7071f0a762194352c2f46429a1dbc1e0e.zip
Add use flags for RFC 3927 link-local addresses via avahi and connection sharing (bug #258842).
(Portage version: 2.1.6.11/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/networkmanager')
-rw-r--r--net-misc/networkmanager/ChangeLog7
-rw-r--r--net-misc/networkmanager/metadata.xml1
-rw-r--r--net-misc/networkmanager/networkmanager-0.7.1.ebuild20
3 files changed, 17 insertions, 11 deletions
diff --git a/net-misc/networkmanager/ChangeLog b/net-misc/networkmanager/ChangeLog
index af78b51fbaf4..310d648527d7 100644
--- a/net-misc/networkmanager/ChangeLog
+++ b/net-misc/networkmanager/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/networkmanager
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager/ChangeLog,v 1.39 2009/04/22 13:30:43 rbu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager/ChangeLog,v 1.40 2009/04/22 15:20:13 rbu Exp $
+
+ 22 Apr 2009; Robert Buchholz <rbu@gentoo.org> metadata.xml,
+ networkmanager-0.7.1.ebuild:
+ Add use flags for RFC 3927 link-local addresses via avahi and connection
+ sharing (bug #258842), by Robert Piasek.
*networkmanager-0.7.1 (22 Apr 2009)
diff --git a/net-misc/networkmanager/metadata.xml b/net-misc/networkmanager/metadata.xml
index d4b008d203fe..cb371d86d455 100644
--- a/net-misc/networkmanager/metadata.xml
+++ b/net-misc/networkmanager/metadata.xml
@@ -19,5 +19,6 @@
<flag name="dhcpcd">Use <pkg>net-misc/dhcpcd</pkg> for getting ip.</flag>
<flag name="nss">Use <pkg>dev-libs/nss</pkg> for cryptography.</flag>
<flag name="resolvconf">Use <pkg>net-dns/openresolv</pkg> for managing DNS informations</flag>
+ <flag name="connection-sharing">Use <pkg>net-dns/dnsmasq</pkg> and <pkg>net-firewall/iptables</pkg> for connection sharing </flag>
</use>
</pkgmetadata>
diff --git a/net-misc/networkmanager/networkmanager-0.7.1.ebuild b/net-misc/networkmanager/networkmanager-0.7.1.ebuild
index cfc42a29ddc9..5ac7ccbf0130 100644
--- a/net-misc/networkmanager/networkmanager-0.7.1.ebuild
+++ b/net-misc/networkmanager/networkmanager-0.7.1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager/networkmanager-0.7.1.ebuild,v 1.1 2009/04/22 13:30:43 rbu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager/networkmanager-0.7.1.ebuild,v 1.2 2009/04/22 15:20:13 rbu Exp $
EAPI="2"
inherit eutils
-#autotools
+# autotools
# NetworkManager likes itself with capital letters
MY_PN=${PN/networkmanager/NetworkManager}
@@ -18,7 +18,7 @@ SRC_URI="mirror://gnome/sources/NetworkManager/0.7/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~arm ~amd64 ~ppc ~x86"
-IUSE="doc nss gnutls dhclient dhcpcd resolvconf"
+IUSE="avahi doc nss gnutls dhclient dhcpcd resolvconf connection-sharing"
# modemmanager"
RDEPEND=">=sys-apps/dbus-1.2
@@ -30,19 +30,20 @@ RDEPEND=">=sys-apps/dbus-1.2
>=dev-libs/libnl-1.1
>=net-wireless/wpa_supplicant-0.5.10[dbus]
|| ( sys-libs/e2fsprogs-libs <sys-fs/e2fsprogs-1.41.0 )
-
+ avahi? ( net-dns/avahi[autoipd] )
gnutls? (
nss? ( >=dev-libs/nss-3.11 )
!nss? ( dev-libs/libgcrypt
net-libs/gnutls ) )
!gnutls? ( >=dev-libs/nss-3.11 )
-
dhclient? (
dhcpcd? ( >=net-misc/dhcpcd-4.0.0_rc3 )
!dhcpcd? ( >=net-misc/dhcp-3.0.0 ) )
!dhclient? ( >=net-misc/dhcpcd-4.0.0_rc3 )
-
- resolvconf? ( net-dns/openresolv )"
+ resolvconf? ( net-dns/openresolv )
+ connection-sharing? (
+ net-dns/dnsmasq
+ net-firewall/iptables )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
@@ -64,11 +65,11 @@ src_prepare() {
# EPATCH_SOURCE="${WORKDIR}/modem-manager-patchset-0.7.1"
# EPATCH_SUFFIX="patch"
-# use modemmanager && epatch && autoreconf
+# use modemmanager && epatch && eautoreconf
}
-src_compile() {
+src_configure() {
ECONF="--disable-more-warnings \
--localstatedir=/var \
--with-distro=gentoo \
@@ -100,7 +101,6 @@ src_compile() {
fi
econf ${ECONF}
- emake || die "emake failed"
}
src_install() {