Patchwork [meta-networking] 6lowpan-tools: add git version

login
register
mail settings
Submitter Koen Kooi
Date March 28, 2013, 3:32 p.m.
Message ID <1364484753-22122-1-git-send-email-koen@dominion.thruhere.net>
Download mbox | patch
Permalink /patch/47085/
State Superseded, archived
Headers show

Comments

Koen Kooi - March 28, 2013, 3:32 p.m.
The 0.3 release was 6 months ago and git HEAD contains fixes to make it work with contiki, so build from git instead of backporting all the patches.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 .../recipes-support/6lowpan/6lowpan-tools_git.bb     | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-networking/recipes-support/6lowpan/6lowpan-tools_git.bb
Stefan Schmidt - March 28, 2013, 9:59 p.m.
Hello.

On Thu, 2013-03-28 at 16:32, Koen Kooi wrote:
> The 0.3 release was 6 months ago and git HEAD contains fixes to make it work with contiki, so build from git instead of backporting all the patches.

Sounds like a good idea. And not only because one of the patches is
from me ;)

> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
>  .../recipes-support/6lowpan/6lowpan-tools_git.bb     | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>  create mode 100644 meta-networking/recipes-support/6lowpan/6lowpan-tools_git.bb

Any special reason why this is named 6lowpan here?

6lowpan normally refers to IPv6 over LoWPAN while the lowpan-tools
do not configure anything regarding IPv6 but the plain LoWPAN which is
the protocol layer below. I would suggest renaming it to lowpan-tools.

regards
Stefan Schmidt
Joe MacDonald - April 1, 2013, 3:31 p.m.
[Re: [oe] [meta-networking][PATCH] 6lowpan-tools: add git version] On 13.03.28 (Thu 21:59) Stefan Schmidt wrote:

> Hello.
> 
> On Thu, 2013-03-28 at 16:32, Koen Kooi wrote:
> > The 0.3 release was 6 months ago and git HEAD contains fixes to make it work with contiki, so build from git instead of backporting all the patches.
> 
> Sounds like a good idea. And not only because one of the patches is
> from me ;)
> 
> > Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> > ---
> >  .../recipes-support/6lowpan/6lowpan-tools_git.bb     | 20 ++++++++++++++++++++
> >  1 file changed, 20 insertions(+)
> >  create mode 100644 meta-networking/recipes-support/6lowpan/6lowpan-tools_git.bb
> 
> Any special reason why this is named 6lowpan here?
> 
> 6lowpan normally refers to IPv6 over LoWPAN while the lowpan-tools
> do not configure anything regarding IPv6 but the plain LoWPAN which is
> the protocol layer below. I would suggest renaming it to lowpan-tools.

I've not used these myself.  Based on what I saw on the project web
page, 6lowpan seems like a pretty good name:

   The goal of this project is to create an implementation of 802.15.4
   and several protocols which run on top of it (primarily 6LoWPAN) for
   Linux.

But a quick look around in my apt-cache turns up lowpan-tools.  Seems
like that's what it's also named in Fedora land, so I'm thinking that's
probably the right call here, too.
Paul Eggleton - May 2, 2013, 10:21 a.m.
On Monday 01 April 2013 11:31:35 Joe MacDonald wrote:
> [Re: [oe] [meta-networking][PATCH] 6lowpan-tools: add git version] On 
13.03.28 (Thu 21:59) Stefan Schmidt wrote:
> > On Thu, 2013-03-28 at 16:32, Koen Kooi wrote:
> > > The 0.3 release was 6 months ago and git HEAD contains fixes to make it
> > > work with contiki, so build from git instead of backporting all the
> > > patches.> 
> > Sounds like a good idea. And not only because one of the patches is
> > from me ;)
> > 
> > > Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> > > ---
> > > 
> > >  .../recipes-support/6lowpan/6lowpan-tools_git.bb     | 20
> > >  ++++++++++++++++++++ 1 file changed, 20 insertions(+)
> > >  create mode 100644
> > >  meta-networking/recipes-support/6lowpan/6lowpan-tools_git.bb> 
> > Any special reason why this is named 6lowpan here?
> > 
> > 6lowpan normally refers to IPv6 over LoWPAN while the lowpan-tools
> > do not configure anything regarding IPv6 but the plain LoWPAN which is
> > the protocol layer below. I would suggest renaming it to lowpan-tools.
> 
> I've not used these myself.  Based on what I saw on the project web
> page, 6lowpan seems like a pretty good name:
> 
>    The goal of this project is to create an implementation of 802.15.4
>    and several protocols which run on top of it (primarily 6LoWPAN) for
>    Linux.
> 
> But a quick look around in my apt-cache turns up lowpan-tools.  Seems
> like that's what it's also named in Fedora land, so I'm thinking that's
> probably the right call here, too.

lowpan-tools was the name we had in OE-Classic as well.

Koen, would you mind renaming this and sending a v2? Could you also use SRCPV 
in PV and add SUMMARY and HOMEPAGE at the same time?

Thanks,
Paul
Koen Kooi - May 2, 2013, 1:51 p.m.
Op 2 mei 2013, om 12:21 heeft Paul Eggleton <paul.eggleton@linux.intel.com> het volgende geschreven:

> On Monday 01 April 2013 11:31:35 Joe MacDonald wrote:
>> [Re: [oe] [meta-networking][PATCH] 6lowpan-tools: add git version] On 
> 13.03.28 (Thu 21:59) Stefan Schmidt wrote:
>>> On Thu, 2013-03-28 at 16:32, Koen Kooi wrote:
>>>> The 0.3 release was 6 months ago and git HEAD contains fixes to make it
>>>> work with contiki, so build from git instead of backporting all the
>>>> patches.> 
>>> Sounds like a good idea. And not only because one of the patches is
>>> from me ;)
>>> 
>>>> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
>>>> ---
>>>> 
>>>> .../recipes-support/6lowpan/6lowpan-tools_git.bb     | 20
>>>> ++++++++++++++++++++ 1 file changed, 20 insertions(+)
>>>> create mode 100644
>>>> meta-networking/recipes-support/6lowpan/6lowpan-tools_git.bb> 
>>> Any special reason why this is named 6lowpan here?
>>> 
>>> 6lowpan normally refers to IPv6 over LoWPAN while the lowpan-tools
>>> do not configure anything regarding IPv6 but the plain LoWPAN which is
>>> the protocol layer below. I would suggest renaming it to lowpan-tools.
>> 
>> I've not used these myself.  Based on what I saw on the project web
>> page, 6lowpan seems like a pretty good name:
>> 
>>   The goal of this project is to create an implementation of 802.15.4
>>   and several protocols which run on top of it (primarily 6LoWPAN) for
>>   Linux.
>> 
>> But a quick look around in my apt-cache turns up lowpan-tools.  Seems
>> like that's what it's also named in Fedora land, so I'm thinking that's
>> probably the right call here, too.
> 
> lowpan-tools was the name we had in OE-Classic as well.
> 
> Koen, would you mind renaming this and sending a v2? Could you also use SRCPV 
> in PV and add SUMMARY and HOMEPAGE at the same time?

I'll have a look at it

Patch

diff --git a/meta-networking/recipes-support/6lowpan/6lowpan-tools_git.bb b/meta-networking/recipes-support/6lowpan/6lowpan-tools_git.bb
new file mode 100644
index 0000000..1dcb124
--- /dev/null
+++ b/meta-networking/recipes-support/6lowpan/6lowpan-tools_git.bb
@@ -0,0 +1,20 @@ 
+DESCRIPTION = "This is a set of utils to manage the Linux LoWPAN stack. \
+The LoWPAN stack aims for IEEE 802.15.4-2003 (and for lesser extent IEEE 802.15.4-2006) compatibility."
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+
+DEPENDS = "libnl python"
+
+PV = "0.3+git"
+SRC_URI = "git://linux-zigbee.git.sourceforge.net/gitroot/linux-zigbee/linux-zigbee"
+SRCREV = "a1d9615adde6d1a568813c24a128273ed755af04"
+
+S = "${WORKDIR}/git"
+
+inherit autotools
+
+FILES_${PN}-dbg += "${libexecdir}/lowpan-tools/.debug/"
+
+PACKAGES =+ "${PN}-python"
+FILES_${PN}-python = "${libdir}/python*"