Patchwork [meta-oe,1/1] connman: update to 0.78

login
register
mail settings
Submitter Otavio Salvador
Date Dec. 7, 2011, 9:18 p.m.
Message ID <602892cc30a9872388e3e116d7eea691ebafe034.1323292658.git.otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/16427/
State Accepted
Headers show

Comments

Otavio Salvador - Dec. 7, 2011, 9:18 p.m.
We moved to GIT repository as the tarball releases are not available
since kernel.org compromise.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 .../connman/{connman_0.77.bb => connman_0.78.bb}   |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)
 rename meta-oe/recipes-connectivity/connman/{connman_0.77.bb => connman_0.78.bb} (75%)
Saul Wold - Dec. 7, 2011, 9:54 p.m.
On 12/07/2011 01:18 PM, Otavio Salvador wrote:
> We moved to GIT repository as the tarball releases are not available
> since kernel.org compromise.
>
Any reason this can't be updated in OE-core?

Sau!

> Signed-off-by: Otavio Salvador<otavio@ossystems.com.br>
> ---
>   .../connman/{connman_0.77.bb =>  connman_0.78.bb}   |   13 ++++++-------
>   1 files changed, 6 insertions(+), 7 deletions(-)
>   rename meta-oe/recipes-connectivity/connman/{connman_0.77.bb =>  connman_0.78.bb} (75%)
>
> diff --git a/meta-oe/recipes-connectivity/connman/connman_0.77.bb b/meta-oe/recipes-connectivity/connman/connman_0.78.bb
> similarity index 75%
> rename from meta-oe/recipes-connectivity/connman/connman_0.77.bb
> rename to meta-oe/recipes-connectivity/connman/connman_0.78.bb
> index 9ef368b..f486f95 100644
> --- a/meta-oe/recipes-connectivity/connman/connman_0.77.bb
> +++ b/meta-oe/recipes-connectivity/connman/connman_0.78.bb
> @@ -1,5 +1,4 @@
>   require connman.inc
> -PR = "r4"
>
>   EXTRA_OECONF += "\
>     --disable-gtk-doc \
> @@ -18,13 +17,13 @@ EXTRA_OECONF += "\
>     --with-ntpd=${bindir}/ntpd \
>   "
>
> -SRC_URI  = "\
> -  http://www.kernel.org/pub/linux/network/connman/connman-${PV}.tar.gz \
> -  file://connman \
> -"
> +S = "${WORKDIR}/git"
> +
> +# 0.78 tag
> +SRCREV = "02f5d5fe2d7c71514a6387ba2b772b42d8e8d297"
>
> -SRC_URI[md5sum] = "2e95edb0ead4fff3e84458f7fa192a64"
> -SRC_URI[sha256sum] = "df6e926c4b0ccbab26d6e21b9935ab72fa5adf275eb7ac2b48540117ae84cbcc"
> +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() {
Otavio Salvador - Dec. 7, 2011, 9:57 p.m.
On Wed, Dec 7, 2011 at 19:54, Saul Wold <sgw@linux.intel.com> wrote:

> On 12/07/2011 01:18 PM, Otavio Salvador wrote:
>
>> We moved to GIT repository as the tarball releases are not available
>> since kernel.org compromise.
>>
>>  Any reason this can't be updated in OE-core?
>

Sure not; for it I'd need to test connman-gnome but I don't have the
required time to do that.

As far as I know the xuser patch ought to apply fine but others might need
checking.

Patch

diff --git a/meta-oe/recipes-connectivity/connman/connman_0.77.bb b/meta-oe/recipes-connectivity/connman/connman_0.78.bb
similarity index 75%
rename from meta-oe/recipes-connectivity/connman/connman_0.77.bb
rename to meta-oe/recipes-connectivity/connman/connman_0.78.bb
index 9ef368b..f486f95 100644
--- a/meta-oe/recipes-connectivity/connman/connman_0.77.bb
+++ b/meta-oe/recipes-connectivity/connman/connman_0.78.bb
@@ -1,5 +1,4 @@ 
 require connman.inc
-PR = "r4"
 
 EXTRA_OECONF += "\
   --disable-gtk-doc \
@@ -18,13 +17,13 @@  EXTRA_OECONF += "\
   --with-ntpd=${bindir}/ntpd \
 "
 
-SRC_URI  = "\
-  http://www.kernel.org/pub/linux/network/connman/connman-${PV}.tar.gz \
-  file://connman \
-"
+S = "${WORKDIR}/git"
+
+# 0.78 tag
+SRCREV = "02f5d5fe2d7c71514a6387ba2b772b42d8e8d297"
 
-SRC_URI[md5sum] = "2e95edb0ead4fff3e84458f7fa192a64"
-SRC_URI[sha256sum] = "df6e926c4b0ccbab26d6e21b9935ab72fa5adf275eb7ac2b48540117ae84cbcc"
+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() {