From: Daniel Mack <zonque@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Add package connman
Date: Mon, 5 Dec 2011 13:53:58 +0100 [thread overview]
Message-ID: <1323089638-609-1-git-send-email-zonque@gmail.com> (raw)
The ConnMan project provides a daemon for managing internet connections
within embedded devices running the Linux operating system. The
Connection Manager is designed to be slim and to use as few resources as
possible, so it can be easily integrated. It is a fully modular system
that can be extended, through plug-ins, to support all kinds of wired or
wireless technologies. Also, configuration methods, like DHCP and domain
name resolving, are implemented using plug-ins. The plug-in approach
allows for easy adaption and modification for various use cases.
The location for released tarballs is still unavailable due to the
recent kernel.org outage, hence the package obtains the sources from git
for now.
Signed-off-by: Daniel Mack <zonque@gmail.com>
---
package/Config.in | 1 +
package/connman/Config.in | 47 +++++++++++++++++++++++++++++++++
package/connman/connman.mk | 62 ++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 110 insertions(+), 0 deletions(-)
create mode 100644 package/connman/Config.in
create mode 100644 package/connman/connman.mk
diff --git a/package/Config.in b/package/Config.in
index a781870..c94bcc0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -402,6 +402,7 @@ source "package/bmon/Config.in"
source "package/bridge-utils/Config.in"
source "package/bwm-ng/Config.in"
source "package/can-utils/Config.in"
+source "package/connman/Config.in"
source "package/ctorrent/Config.in"
source "package/cifs-utils/Config.in"
source "package/cups/Config.in"
diff --git a/package/connman/Config.in b/package/connman/Config.in
new file mode 100644
index 0000000..59f1a8d
--- /dev/null
+++ b/package/connman/Config.in
@@ -0,0 +1,47 @@
+menuconfig BR2_PACKAGE_CONNMAN
+ bool "connman"
+ depends on BR2_PACKAGE_DBUS
+ select BR2_PACKAGE_LIBGLIB2
+ select BR2_PACKAGE_IPTABLES
+ help
+ The Connection Manager (ConnMan) project provides a daemon for
+ managing internet connections within embedded devices running
+ the Linux operating system.
+
+ For more information, see http://connman.net/
+
+if BR2_PACKAGE_CONNMAN
+
+config BR2_PACKAGE_CONNMAN_THREADS
+ bool "enable threading support"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ default y
+
+config BR2_PACKAGE_CONNMAN_ETHERNET
+ bool "enable Ethernet support"
+ default y
+
+config BR2_PACKAGE_CONNMAN_WIFI
+ bool "enable WiFi support"
+ select BR2_PACKAGE_WPA_SUPPLICANT
+ default y
+
+config BR2_PACKAGE_CONNMAN_BLUETOOTH
+ bool "enable Bluetooth support"
+
+config BR2_PACKAGE_CONNMAN_LOOPBACK
+ bool "enable loopback support"
+
+config BR2_PACKAGE_CONNMAN_NTPD
+ bool "enable ntpd support"
+
+config BR2_PACKAGE_CONNMAN_DEBUG
+ bool "enable compiling with debugging information"
+
+config BR2_PACKAGE_CONNMAN_CLIENT
+ bool "enable command line client"
+
+endif # BR2_PACKAGE_CONNMAN
+
+comment "connman needs DBus enabled"
+ depends on !BR2_PACKAGE_DBUS
diff --git a/package/connman/connman.mk b/package/connman/connman.mk
new file mode 100644
index 0000000..c7fb852
--- /dev/null
+++ b/package/connman/connman.mk
@@ -0,0 +1,62 @@
+#######################################################
+#
+# connman - open source connection manager
+#
+#######################################################
+
+CONNMAN_VERSION = 0.77
+CONNMAN_SITE = git://git.kernel.org/pub/scm/network/connman/connman.git
+CONNMAN_DEPENDENCIES = libglib2 dbus iptables
+CONNMAN_AUTORECONF = YES
+CONNMAN_CONF_OPT += --localstatedir=/var --sysconfdir=/etc
+
+ifeq ($(BR2_PACKAGE_CONNMAN_THREAD),y)
+CONNMAN_CONF_OPT += --enable-threads
+else
+CONNMAN_CONF_OPT += --disable-threads
+endif
+
+ifeq ($(BR2_PACKAGE_CONNMAN_DEBUG),y)
+CONNMAN_CONF_OPT += --enable-debug
+else
+CONNMAN_CONF_OPT += --disable-debug
+endif
+
+ifeq ($(BR2_PACKAGE_CONNMAN_ETHERNET),y)
+CONNMAN_CONF_OPT += --enable-ethernet
+else
+CONNMAN_CONF_OPT += --disable-ethernet
+endif
+
+ifeq ($(BR2_PACKAGE_CONNMAN_WIFI),y)
+CONNMAN_CONF_OPT += --enable-wifi
+CONNMAN_DEPENDENCIES += wpa_supplicant
+else
+CONNMAN_CONF_OPT += --disable-wifi
+endif
+
+ifeq ($(BR2_PACKAGE_CONNMAN_BLUETOOTH),y)
+CONNMAN_CONF_OPT += --enable-bluetooth
+else
+CONNMAN_CONF_OPT += --disable-bluetooth
+endif
+
+ifeq ($(BR2_PACKAGE_CONNMAN_LOOPBACK),y)
+CONNMAN_CONF_OPT += --enable-loopback
+else
+CONNMAN_CONF_OPT += --disable-loopback
+endif
+
+ifeq ($(BR2_PACKAGE_CONNMAN_NTPD),y)
+CONNMAN_CONF_OPT += --enable-ntpd
+else
+CONNMAN_CONF_OPT += --disable-ntpd
+endif
+
+ifeq ($(BR2_PACKAGE_CONNMAN_CLIENT),y)
+CONNMAN_CONF_OPT += --enable-client
+else
+CONNMAN_CONF_OPT += --disable-client
+endif
+
+$(eval $(call AUTOTARGETS))
--
1.7.7.3
next reply other threads:[~2011-12-05 12:53 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-05 12:53 Daniel Mack [this message]
2011-12-05 13:00 ` [Buildroot] [PATCH] Add package connman Baruch Siach
2011-12-05 13:15 ` [Buildroot] [PATCH v2] " Daniel Mack
2011-12-05 14:37 ` Peter Korsgaard
2011-12-05 15:01 ` Baruch Siach
2011-12-05 15:02 ` Daniel Mack
2011-12-05 15:29 ` Peter Korsgaard
2011-12-05 17:26 ` Daniel Mack
2011-12-05 17:30 ` [Buildroot] [PATCH v3] " Daniel Mack
2011-12-05 22:18 ` Peter Korsgaard
2011-12-05 23:07 ` Daniel Mack
2011-12-05 23:13 ` Peter Korsgaard
2011-12-05 23:20 ` Daniel Mack
2011-12-05 23:23 ` Peter Korsgaard
2011-12-05 23:27 ` [Buildroot] [PATCH v4] " Daniel Mack
2011-12-07 19:25 ` Peter Korsgaard
2011-12-05 19:20 ` [Buildroot] [PATCH v2] " Thomas Petazzoni
2011-12-05 19:32 ` Daniel Mack
2011-12-05 19:21 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1323089638-609-1-git-send-email-zonque@gmail.com \
--to=zonque@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox