diff options
author | Robert Piasek <dagger@gentoo.org> | 2009-08-24 13:24:08 +0000 |
---|---|---|
committer | Robert Piasek <dagger@gentoo.org> | 2009-08-24 13:24:08 +0000 |
commit | 1f8e17f08aa7eb36b0362a3d73ca2db253c2928c (patch) | |
tree | d47e54739c397adbb55a19e98adf176b90a0d800 /net-misc | |
parent | new ebuild for mobile-broadband-provider-info (diff) | |
download | gentoo-2-1f8e17f08aa7eb36b0362a3d73ca2db253c2928c.tar.gz gentoo-2-1f8e17f08aa7eb36b0362a3d73ca2db253c2928c.tar.bz2 gentoo-2-1f8e17f08aa7eb36b0362a3d73ca2db253c2928c.zip |
New ebuild for connman - intel's connection manager
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/connman/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/connman/connman-0.38.ebuild | 72 | ||||
-rw-r--r-- | net-misc/connman/files/connman.initd | 22 | ||||
-rw-r--r-- | net-misc/connman/metadata.xml | 21 |
4 files changed, 125 insertions, 0 deletions
diff --git a/net-misc/connman/ChangeLog b/net-misc/connman/ChangeLog new file mode 100644 index 000000000000..6d5d4961fcde --- /dev/null +++ b/net-misc/connman/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-misc/connman +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/connman/ChangeLog,v 1.1 2009/08/24 13:24:08 dagger Exp $ + +*connman-0.38 (13 Aug 2009) + + 13 Aug 2009; Robert Piasek <dagger@gentoo.org> +connman-0.38.ebuild, + +files/connman.initd, +metadata.xml: + Initial ebuild for connman + diff --git a/net-misc/connman/connman-0.38.ebuild b/net-misc/connman/connman-0.38.ebuild new file mode 100644 index 000000000000..3873b5a8bd48 --- /dev/null +++ b/net-misc/connman/connman-0.38.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/connman/connman-0.38.ebuild,v 1.1 2009/08/24 13:24:08 dagger Exp $ + +EAPI="2" + +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="~arm ~amd64 ~x86" +IUSE="3G bluetooth debug +dhclient dnsproxy doc +ethernet modemmanager ofono policykit ppp resolvconf threads tools +udev +wifi" +# ospm wimax + +RDEPEND=">=dev-libs/glib-2.16 + >=sys-apps/dbus-1.2 + bluetooth? ( net-wireless/bluez ) + dhclient? ( net-misc/dhcp ) + modemmanager? ( net-misc/modemmanager ) + ofono? ( net-misc/ofono ) + policykit? ( >=sys-auth/policykit-0.7 ) + ppp? ( net-dialup/ppp ) + resolvconf? ( net-dns/openresolv ) + udev? ( >=sys-fs/udev-141 ) + wifi? ( net-wireless/wpa_supplicant[dbus] )" + +DEPEND="${RDEPEND} + doc? ( dev-util/gtk-doc )" + + +src_configure() { + econf \ + --localstatedir=/var \ + --enable-loopback \ + --enable-client \ + --enable-fake \ + --enable-datafiles \ + $(use_enable 3G novatel) \ + $(use_enable 3G huawei) \ + $(use_enable 3G hso) \ + $(use_enable 3G mbm) \ + $(use_enable bluetooth) \ + $(use_enable debug) \ + $(use_enable dhclient) \ + $(use_enable dnsproxy) \ + $(use_enable doc gtk-doc) \ + $(use_enable ethernet) \ + $(use_enable modemmanager modemmgr) \ + $(use_enable ofono) \ + $(use_enable policykit polkit) \ + $(use_enable ppp) \ + $(use_enable resolvconf) \ + $(use_enable threads) \ + $(use_enable tools) \ + $(use_enable udev) \ + $(use_enable wifi) \ + --disable-udhcp \ + --disable-iwmx \ + --disable-iospm +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dobin client/cm || die "client installation failed" + + keepdir /var/lib/${PN} || die + newinitd "${FILESDIR}"/${PN}.initd ${PN} || die + +} + diff --git a/net-misc/connman/files/connman.initd b/net-misc/connman/files/connman.initd new file mode 100644 index 000000000000..abcc313ef0a8 --- /dev/null +++ b/net-misc/connman/files/connman.initd @@ -0,0 +1,22 @@ +#!/sbin/runscript +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Purpose License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/connman/files/connman.initd,v 1.1 2009/08/24 13:24:08 dagger Exp $ + +depend() { + need dbus +} + +start() { + ebegin "Starting Connection Manager" + start-stop-daemon --start --quiet --exec /usr/sbin/connmand + eend $? +} + +stop() { + ebegin "Stopping Connection Manager" + start-stop-daemon --stop --quiet --exec /usr/sbin/connmand + eend $? +} + +# vim: set ft=gentoo-init-d ts=3 sw=3 et: diff --git a/net-misc/connman/metadata.xml b/net-misc/connman/metadata.xml new file mode 100644 index 000000000000..87ab8c03f3f0 --- /dev/null +++ b/net-misc/connman/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>dagger@gentoo.org</email> + <name>Robert Piasek</name> + </maintainer> + <use> + <flag name="3G">Enable plugins for 3G modems <pkg>net-misc/dhcp</pkg> for getting ip.</flag> + <flag name="dhclient">Use dhclient from <pkg>net-misc/dhcp</pkg> for getting ip.</flag> + <flag name="dnsproxy">Enable dnsproxy support.</flag> + <flag name="ethernet">Enable ethernet support.</flag> + <flag name="modemmanager">Use modemmanager support from <pkg>net-misc/modemmanager</pkg> package.</flag> + <flag name="ofono">Use <pkg>net-misc/ofono</pkg> for telephony support.</flag> + <flag name="ppp">Enable ppp support.</flag> + <flag name="resolvconf">Use <pkg>net-dns/openresolv</pkg> for managing DNS information</flag> + <flag name="tools">Enable testing tools.</flag> + <flag name="udev">Enable udev support.</flag> + </use> +</pkgmetadata> |