summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Piasek <dagger@gentoo.org>2011-01-21 17:03:10 +0000
committerRobert Piasek <dagger@gentoo.org>2011-01-21 17:03:10 +0000
commit2d1c968dacc360de51a4e9cd73b9b459e168ffc0 (patch)
treec51a821d60c3aa3311a97a33d76e0ebfac29cea5 /net-misc/connman
parentppc64 stable wrt #342167 (diff)
downloadgentoo-2-2d1c968dacc360de51a4e9cd73b9b459e168ffc0.tar.gz
gentoo-2-2d1c968dacc360de51a4e9cd73b9b459e168ffc0.tar.bz2
gentoo-2-2d1c968dacc360de51a4e9cd73b9b459e168ffc0.zip
Fixed policy name and added ntpd use flag. (bug #351249)
(Portage version: 2.1.9.34/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/connman')
-rw-r--r--net-misc/connman/ChangeLog7
-rw-r--r--net-misc/connman/connman-0.67-r1.ebuild77
-rw-r--r--net-misc/connman/metadata.xml1
3 files changed, 84 insertions, 1 deletions
diff --git a/net-misc/connman/ChangeLog b/net-misc/connman/ChangeLog
index 6e09168c0f3b..c1edfbc31480 100644
--- a/net-misc/connman/ChangeLog
+++ b/net-misc/connman/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/connman
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/connman/ChangeLog,v 1.30 2011/01/21 15:10:00 dagger Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/connman/ChangeLog,v 1.31 2011/01/21 17:03:10 dagger Exp $
+
+*connman-0.67-r1 (21 Jan 2011)
+
+ 21 Jan 2011; Robert Piasek <dagger@gentoo.org> +connman-0.67-r1.ebuild:
+ Fixed policy name and added ntpd use flag. (bug #351249)
*connman-0.67 (21 Jan 2011)
diff --git a/net-misc/connman/connman-0.67-r1.ebuild b/net-misc/connman/connman-0.67-r1.ebuild
new file mode 100644
index 000000000000..a84c36bbb65d
--- /dev/null
+++ b/net-misc/connman/connman-0.67-r1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/connman/connman-0.67-r1.ebuild,v 1.1 2011/01/21 17:03:10 dagger Exp $
+
+EAPI="2"
+
+inherit multilib eutils
+
+DESCRIPTION="Provides a daemon for managing internet connections"
+HOMEPAGE="http://connman.net"
+SRC_URI="mirror://kernel/linux/network/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="bluetooth +caps debug dnsproxy doc examples +ethernet google ofono ntpd openvpn policykit threads tools +wifi wimax"
+# gps meego ospm openconnect
+
+RDEPEND=">=dev-libs/glib-2.16
+ >=sys-apps/dbus-1.2.24
+ >=dev-libs/libnl-1.1
+ >=net-firewall/iptables-1.4.8
+ >=sys-kernel/linux-headers-2.6.30
+ bluetooth? ( net-wireless/bluez )
+ caps? ( sys-libs/libcap-ng )
+ ntpd? ( net-misc/ntp )
+ ofono? ( net-misc/ofono )
+ policykit? ( sys-auth/polkit )
+ openvpn? ( net-misc/openvpn )
+ wifi? ( >=net-wireless/wpa_supplicant-0.7[dbus] )
+ wimax? ( net-wireless/wimax )"
+
+DEPEND="${RDEPEND}
+ doc? ( dev-util/gtk-doc )"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-fix-policy-name.patch"
+}
+
+src_configure() {
+ econf \
+ --localstatedir=/var \
+ --enable-client \
+ --enable-fake \
+ --enable-datafiles \
+ --enable-loopback=builtin \
+ $(use_enable caps capng) \
+ $(use_enable examples test) \
+ $(use_enable ethernet ethernet builtin) \
+ $(use_enable wifi wifi builtin) \
+ $(use_enable bluetooth bluetooth builtin) \
+ $(use_enable ntpd ntpd builtin) \
+ $(use_enable ofono ofono builtin) \
+ $(use_enable dnsproxy dnsproxy builtin) \
+ $(use_enable google google builtin) \
+ $(use_enable openvpn openvpn builtin) \
+ $(use_enable policykit polkit builtin) \
+ $(use_enable wimax iwmx builtin) \
+ $(use_enable debug) \
+ $(use_enable doc gtk-doc) \
+ $(use_enable threads) \
+ $(use_enable tools) \
+ --disable-iospm \
+ --disable-hh2serial-gps \
+ --disable-portal \
+ --disable-meego \
+ --disable-openconnect
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dobin client/cm || die "client installation failed"
+
+ keepdir /var/"$(get_libdir)"/${PN} || die
+ newinitd "${FILESDIR}"/${PN}.initd ${PN} || die
+ newconfd "${FILESDIR}"/${PN}.confd ${PN} || die
+}
diff --git a/net-misc/connman/metadata.xml b/net-misc/connman/metadata.xml
index c5b0ede0133e..8c1a21c4f751 100644
--- a/net-misc/connman/metadata.xml
+++ b/net-misc/connman/metadata.xml
@@ -10,6 +10,7 @@
<flag name="dnsproxy">Enable dnsproxy support.</flag>
<flag name="ethernet">Enable ethernet support.</flag>
<flag name="google">Enable Google Public DNS support.</flag>
+ <flag name="ntpd">Use <pkg>net-misc/ntp</pkg> for nptd plugin.</flag>
<flag name="ofono">Use <pkg>net-misc/ofono</pkg> for telephony support.</flag>
<flag name="openvpn">Use <pkg>net-misc/openvpn</pkg> for openvpn support.</flag>
<flag name="tools">Enable testing tools.</flag>