All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 0/2] Move connman to oe-core and fix dropbear PR
@ 2011-12-10 16:33 Otavio Salvador
  2011-12-10 16:33 ` [meta-oe][PATCH 1/2] connman: convert to bbappend as 0.78 has been moved to OE-Core Otavio Salvador
  2011-12-10 16:33 ` [meta-oe][PATCH 2/2] dropbear: convert PR to use PRINC on bbappend Otavio Salvador
  0 siblings, 2 replies; 3+ messages in thread
From: Otavio Salvador @ 2011-12-10 16:33 UTC (permalink / raw)
  To: openembedded-devel

The following changes since commit 70cd3a81edb9fd2aba149db243e53934930e0d85:

  libgnome-keyring 2.32.0: fix LICENSE operand (2011-12-10 14:43:54 +0100)

are available in the git repository at:
  git://github.com/OSSystems/meta-oe master
  https://github.com/OSSystems/meta-oe/tree/master

Otavio Salvador (2):
  connman: convert to bbappend as 0.78 has been moved to OE-Core
  dropbear: convert PR to use PRINC on bbappend

 meta-oe/recipes-connectivity/connman/connman.inc   |   98 --------------------
 .../recipes-connectivity/connman/connman/connman   |   42 ---------
 .../recipes-connectivity/connman/connman_0.78.bb   |   33 -------
 .../connman/connman_0.78.bbappend                  |   13 +++
 .../dropbear/dropbear_2011.54.bbappend             |    2 +-
 5 files changed, 14 insertions(+), 174 deletions(-)
 delete mode 100644 meta-oe/recipes-connectivity/connman/connman.inc
 delete mode 100755 meta-oe/recipes-connectivity/connman/connman/connman
 delete mode 100644 meta-oe/recipes-connectivity/connman/connman_0.78.bb
 create mode 100644 meta-oe/recipes-connectivity/connman/connman_0.78.bbappend

-- 
1.7.2.5




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [meta-oe][PATCH 1/2] connman: convert to bbappend as 0.78 has been moved to OE-Core
  2011-12-10 16:33 [meta-oe][PATCH 0/2] Move connman to oe-core and fix dropbear PR Otavio Salvador
@ 2011-12-10 16:33 ` Otavio Salvador
  2011-12-10 16:33 ` [meta-oe][PATCH 2/2] dropbear: convert PR to use PRINC on bbappend Otavio Salvador
  1 sibling, 0 replies; 3+ messages in thread
From: Otavio Salvador @ 2011-12-10 16:33 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 meta-oe/recipes-connectivity/connman/connman.inc   |   98 --------------------
 .../recipes-connectivity/connman/connman/connman   |   42 ---------
 .../recipes-connectivity/connman/connman_0.78.bb   |   33 -------
 .../connman/connman_0.78.bbappend                  |   13 +++
 4 files changed, 13 insertions(+), 173 deletions(-)
 delete mode 100644 meta-oe/recipes-connectivity/connman/connman.inc
 delete mode 100755 meta-oe/recipes-connectivity/connman/connman/connman
 delete mode 100644 meta-oe/recipes-connectivity/connman/connman_0.78.bb
 create mode 100644 meta-oe/recipes-connectivity/connman/connman_0.78.bbappend

diff --git a/meta-oe/recipes-connectivity/connman/connman.inc b/meta-oe/recipes-connectivity/connman/connman.inc
deleted file mode 100644
index 88b2e51..0000000
--- a/meta-oe/recipes-connectivity/connman/connman.inc
+++ /dev/null
@@ -1,98 +0,0 @@
-SUMMARY = "A daemon for managing internet connections within embedded devices"
-DESCRIPTION = "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."
-HOMEPAGE = "http://connman.net/"
-BUGTRACKER = "http://bugs.meego.com/buglist.cgi?quicksearch=connman"
-LICENSE  = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
-                    file://src/main.c;beginline=1;endline=20;md5=4b55b550fa6b33cc2055ef30dd262b3e"
-
-# we need to define the depends here, the dynamic stuff is too late
-DEPENDS  = "dbus glib-2.0 ppp busybox dhcp resolvconf iptables gnutls ntp \
-            ${@base_contains('DISTRO_FEATURES', 'bluetooth','bluez4', '', d)} \
-            ${@base_contains('DISTRO_FEATURES', 'wifi','wpa-supplicant', '', d)} \
-            "
-
-EXTRA_OECONF += "\
-    ac_cv_path_WPASUPPLICANT=/usr/sbin/wpa_supplicant \
-    ac_cv_path_DHCLIENT=/sbin/dhclient \
-    ac_cv_path_UDHCPC=/sbin/udhcpc \
-    ac_cv_path_RESOLVCONF=/sbin/resolvconf \
-    ac_cv_path_PPPD=/usr/sbin/pppd \
-    --with-systemdunitdir=${base_libdir}/systemd/system/ \
-"
-
-INITSCRIPT_NAME = "connman"
-INITSCRIPT_PARAMS = "start 05 5 2 . stop 22 0 1 6 ."
-
-SYSTEMD_PACKAGES = "${PN}-systemd"
-SYSTEMD_SERVICE_${PN}-systemd = "connman.service"
-
-PARALLEL_MAKE = ""
-
-inherit autotools pkgconfig update-rc.d systemd
-
-do_configure_append() {
-	ln -sf . include/connman
-}
-
-do_compile_append() {
-	sed -i -e s:deny:allow:g src/connman-dbus.conf
-}
-
-do_install_append() {
-	install -d ${D}${sysconfdir}/init.d
-    install -m 0755 ${WORKDIR}/connman ${D}${sysconfdir}/init.d/connman
-
-	install -d ${D}${bindir}
-	install -m 0755 ${S}/tools/*-test ${D}${bindir}
-	install -m 0755 ${S}/tools/wispr ${D}${bindir}
-}
-
-python populate_packages_prepend() {
-	depmap = dict( pppd="ppp", udhcp="busybox connman-scripts", dhclient="dhcp-client", wifi="wpa-supplicant", resolvconf="resolvconf", bluetooth="bluez4", ntpd="ntp", ofono="ofono" )
-	packages = []
-	hook = lambda file,pkg,b,c,d:packages.append((file,pkg))
-	plugin_dir = bb.data.expand('${libdir}/connman/plugins/', d)
-	plugin_name = bb.data.expand('${PN}-plugin-%s', d)
-	do_split_packages(d, plugin_dir, '^(.*).so$', plugin_name, '${PN} plugin for %s', extra_depends='', hook=hook )
-	for (file, package) in packages:
-		plugintype = package.split( '-' )[-1]
-		if plugintype in depmap:
-			rdepends = bb.data.getVar( "RDEPENDS_%s" % package, d )
-			bb.note( "Adding rdependency on %s to package %s" % ( depmap[plugintype], package ) )
-			bb.data.setVar("RDEPENDS_%s" % package, depmap[plugintype], d)
-}
-
-PACKAGES_DYNAMIC = "${PN}-plugin-*"
-
-PACKAGES =+ "${PN}-scripts ${PN}-tools ${PN}-tests"
-
-FILES_${PN}-tools = "${bindir}/wispr"
-FILES_${PN}-tests = "${bindir}/*-test"
-FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \
-            ${sysconfdir} ${sharedstatedir} ${localstatedir} \
-            ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*.so* ${datadir}/${PN} \
-            ${datadir}/pixmaps ${datadir}/applications \
-            ${datadir}/idl ${datadir}/omf ${datadir}/sounds \
-            ${libdir}/bonobo/servers \
-            ${datadir}/dbus-1/system-services/*"
-
-PACKAGES =+ "${PN}-systemd"
-# Package up systemd files
-FILES_${PN}-systemd += "${base_libdir}/systemd"
-RDEPENDS_${PN}-systemd += "${PN}"
-
-# Needed when using DNS proxy feature
-RRECOMMENDS_${PN} += "dnsmasq-dbus"
-
-FILES_${PN}-scripts += "${libdir}/connman/scripts"
-FILES_${PN}-dbg += "${libdir}/connman/*/.debug"
-FILES_${PN}-dev += "${libdir}/connman/*/*.la"
-
diff --git a/meta-oe/recipes-connectivity/connman/connman/connman b/meta-oe/recipes-connectivity/connman/connman/connman
deleted file mode 100755
index f8154f6..0000000
--- a/meta-oe/recipes-connectivity/connman/connman/connman
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-DAEMON=/usr/sbin/connmand
-PIDFILE=/var/run/connmand.pid
-DESC="Connection Manager"
-
-if [ -f /etc/default/connman ] ; then
-	. /etc/default/connman
-fi
-
-set -e
-
-do_start() {
-	$DAEMON
-}
-
-do_stop() {
-	start-stop-daemon --stop --name connmand --quiet
-}
-
-case "$1" in
-  start)
-	echo "Starting $DESC"
-	do_start
-	;;
-  stop)
-	echo "Stopping $DESC"
-	do_stop
-	;;
-  restart|force-reload)
-	echo "Restarting $DESC"
-	do_stop
-	sleep 1
-	do_start
-	;;
-  *)
-	echo "Usage: $0 {start|stop|restart|force-reload}" >&2
-	exit 1
-	;;
-esac
-
-exit 0
diff --git a/meta-oe/recipes-connectivity/connman/connman_0.78.bb b/meta-oe/recipes-connectivity/connman/connman_0.78.bb
deleted file mode 100644
index f486f95..0000000
--- a/meta-oe/recipes-connectivity/connman/connman_0.78.bb
+++ /dev/null
@@ -1,33 +0,0 @@
-require connman.inc
-
-EXTRA_OECONF += "\
-  --disable-gtk-doc \
-  --enable-debug \
-  --enable-threads \
-  --enable-loopback \
-  --enable-ethernet \
-  ${@base_contains('DISTRO_FEATURES', 'wifi','--enable-wifi', '--disable-wifi', d)} \
-  ${@base_contains('DISTRO_FEATURES', 'bluetooth','--enable-bluetooth', '--disable-bluetooth', d)} \
-  --enable-ofono \
-  --enable-tools \
-  --disable-polkit \
-  --enable-client \
-  --enable-fake \
-  --enable-ntpd \
-  --with-ntpd=${bindir}/ntpd \
-"
-
-S = "${WORKDIR}/git"
-
-# 0.78 tag
-SRCREV = "02f5d5fe2d7c71514a6387ba2b772b42d8e8d297"
-
-SRC_URI  = "git://git.kernel.org/pub/scm/network/connman/connman.git \
-            file://connman"
-
-# alg-test doesn't build, so disable that and test for if_alg.h as this header is only in 2.6.39
-do_configure_prepend() {
-	sed -i 's:tools/alg-test ::g' Makefile.am
-	sed -i 's:AC_CHECK_HEADERS(linux/if_alg.h, dummy=yes,::g;
-	        s:AC_MSG_ERROR(User-space algorithm header files are required))::g' configure.ac
-}
diff --git a/meta-oe/recipes-connectivity/connman/connman_0.78.bbappend b/meta-oe/recipes-connectivity/connman/connman_0.78.bbappend
new file mode 100644
index 0000000..d6f756c
--- /dev/null
+++ b/meta-oe/recipes-connectivity/connman/connman_0.78.bbappend
@@ -0,0 +1,13 @@
+inherit systemd
+
+EXTRA_OECONF += "--with-systemdunitdir=${base_libdir}/systemd/system/"
+
+PRINC := "${@int(PRINC) + 1}"
+
+SYSTEMD_PACKAGES = "${PN}-systemd"
+SYSTEMD_SERVICE_${PN}-systemd = "connman.service"
+
+# systemd files
+PACKAGES =+ "${PN}-systemd"
+FILES_${PN}-systemd += "${base_libdir}/systemd"
+RDEPENDS_${PN}-systemd += "${PN}"
-- 
1.7.2.5




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [meta-oe][PATCH 2/2] dropbear: convert PR to use PRINC on bbappend
  2011-12-10 16:33 [meta-oe][PATCH 0/2] Move connman to oe-core and fix dropbear PR Otavio Salvador
  2011-12-10 16:33 ` [meta-oe][PATCH 1/2] connman: convert to bbappend as 0.78 has been moved to OE-Core Otavio Salvador
@ 2011-12-10 16:33 ` Otavio Salvador
  1 sibling, 0 replies; 3+ messages in thread
From: Otavio Salvador @ 2011-12-10 16:33 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 .../dropbear/dropbear_2011.54.bbappend             |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-core/dropbear/dropbear_2011.54.bbappend b/meta-oe/recipes-core/dropbear/dropbear_2011.54.bbappend
index a642235..874a7d4 100644
--- a/meta-oe/recipes-core/dropbear/dropbear_2011.54.bbappend
+++ b/meta-oe/recipes-core/dropbear/dropbear_2011.54.bbappend
@@ -1,6 +1,6 @@
 inherit systemd
 
-PRINC = "1"
+PRINC := "${@int(PRINC) + 1}"
 
 # look for files in the layer first
 FILESEXTRAPATHS := "${THISDIR}/${PN}"
-- 
1.7.2.5




^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-10 16:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-10 16:33 [meta-oe][PATCH 0/2] Move connman to oe-core and fix dropbear PR Otavio Salvador
2011-12-10 16:33 ` [meta-oe][PATCH 1/2] connman: convert to bbappend as 0.78 has been moved to OE-Core Otavio Salvador
2011-12-10 16:33 ` [meta-oe][PATCH 2/2] dropbear: convert PR to use PRINC on bbappend Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.