All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] crda: Port crda recipe from oe-classic
@ 2012-09-25 15:36 Franklin S. Cooper Jr
  2012-09-26  3:14 ` Maupin, Chase
  0 siblings, 1 reply; 3+ messages in thread
From: Franklin S. Cooper Jr @ 2012-09-25 15:36 UTC (permalink / raw)
  To: meta-arago

* Port the crda recipe from oe-classic. The version in oe-classic
  was version 1.1.1
* Version 1.1.1 had compiling issues with the version of LIBNL used in oe-core.
  Upgraded version of crda to 1.1.2 which fixed that issue.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../recipes-connectivity/crda/crda_1.1.2.bb        |   36 ++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-connectivity/crda/crda_1.1.2.bb

diff --git a/meta-arago-extras/recipes-connectivity/crda/crda_1.1.2.bb b/meta-arago-extras/recipes-connectivity/crda/crda_1.1.2.bb
new file mode 100644
index 0000000..82047db
--- /dev/null
+++ b/meta-arago-extras/recipes-connectivity/crda/crda_1.1.2.bb
@@ -0,0 +1,36 @@
+DESCRIPTION = "Wireless Central Regulatory Domain Agent"
+HOMEPAGE = "http://wireless.kernel.org/en/developers/Regulatory/CRDA"
+SECTION = "base"
+PRIORITY = "optional"
+LICENSE = "ISC"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=07c4f6dea3845b02a18dc00c8c87699c"
+
+PR = "r0"
+
+DEPENDS = "libgcrypt libnl python-native python-m2crypto-native"
+RDEPENDS_${PN} = "udev"
+
+SRC_URI = "http://wireless.kernel.org/download/crda/${P}.tar.bz2;name=crda \
+	http://wireless.kernel.org/download/wireless-regdb/regulatory.bins/2011.04.28-regulatory.bin;name=reg \
+	"
+
+EXTRA_OEMAKE = "MAKEFLAGS="
+do_compile() {
+	oe_runmake all_noverify
+}
+
+do_install() {
+	oe_runmake DESTDIR=${D} install
+	install -d ${D}/usr/lib/crda/
+	install -m 0644 ${WORKDIR}/2011.04.28-regulatory.bin ${D}/usr/lib/crda/regulatory.bin
+}
+
+SRC_URI[crda.md5sum] = "5226f65aebacf94baaf820f8b4e06df4"
+SRC_URI[crda.sha256sum] = "e469348a5d0bb933df31995869130f68901de9be02e666437f52125698851864"
+SRC_URI[reg.md5sum] = "1535e98bcaba732e2f8e8f62dac6f369"
+SRC_URI[reg.sha256sum] = "bb6ba6f5dcdf7106a19c588b0e4d43ab7af26f6474fe01011a318b3dceaba33b"
+
+FILES_${PN} += "\
+	/lib/udev/rules.d/85-regulatory.rules \
+	/usr/lib/crda/regulatory.bin \
+	"
-- 
1.7.0.4



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

* Re: [PATCH] crda: Port crda recipe from oe-classic
  2012-09-25 15:36 [PATCH] crda: Port crda recipe from oe-classic Franklin S. Cooper Jr
@ 2012-09-26  3:14 ` Maupin, Chase
  2012-09-26  3:29   ` Denys Dmytriyenko
  0 siblings, 1 reply; 3+ messages in thread
From: Maupin, Chase @ 2012-09-26  3:14 UTC (permalink / raw)
  To: Franklin S. Cooper Jr; +Cc: meta-arago@arago-project.org

Will you be sending this to meta-oe or oe-core.  An indication of the final destination would be nice.

Also, we seem to be adding a lot of recipes to arago that will need to be removed later.  Should we look into a layer or directory for these to help us know what to check?

Sincerely,
Chase Maupin
On Sep 25, 2012, at 5:11 PM, "Franklin S. Cooper Jr" <fcooperjr27@gmail.com> wrote:

> * Port the crda recipe from oe-classic. The version in oe-classic
>  was version 1.1.1
> * Version 1.1.1 had compiling issues with the version of LIBNL used in oe-core.
>  Upgraded version of crda to 1.1.2 which fixed that issue.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
> .../recipes-connectivity/crda/crda_1.1.2.bb        |   36 ++++++++++++++++++++
> 1 files changed, 36 insertions(+), 0 deletions(-)
> create mode 100644 meta-arago-extras/recipes-connectivity/crda/crda_1.1.2.bb
> 
> diff --git a/meta-arago-extras/recipes-connectivity/crda/crda_1.1.2.bb b/meta-arago-extras/recipes-connectivity/crda/crda_1.1.2.bb
> new file mode 100644
> index 0000000..82047db
> --- /dev/null
> +++ b/meta-arago-extras/recipes-connectivity/crda/crda_1.1.2.bb
> @@ -0,0 +1,36 @@
> +DESCRIPTION = "Wireless Central Regulatory Domain Agent"
> +HOMEPAGE = "http://wireless.kernel.org/en/developers/Regulatory/CRDA"
> +SECTION = "base"
> +PRIORITY = "optional"
> +LICENSE = "ISC"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=07c4f6dea3845b02a18dc00c8c87699c"
> +
> +PR = "r0"
> +
> +DEPENDS = "libgcrypt libnl python-native python-m2crypto-native"
> +RDEPENDS_${PN} = "udev"
> +
> +SRC_URI = "http://wireless.kernel.org/download/crda/${P}.tar.bz2;name=crda \
> +    http://wireless.kernel.org/download/wireless-regdb/regulatory.bins/2011.04.28-regulatory.bin;name=reg \
> +    "
> +
> +EXTRA_OEMAKE = "MAKEFLAGS="
> +do_compile() {
> +    oe_runmake all_noverify
> +}
> +
> +do_install() {
> +    oe_runmake DESTDIR=${D} install
> +    install -d ${D}/usr/lib/crda/
> +    install -m 0644 ${WORKDIR}/2011.04.28-regulatory.bin ${D}/usr/lib/crda/regulatory.bin
> +}
> +
> +SRC_URI[crda.md5sum] = "5226f65aebacf94baaf820f8b4e06df4"
> +SRC_URI[crda.sha256sum] = "e469348a5d0bb933df31995869130f68901de9be02e666437f52125698851864"
> +SRC_URI[reg.md5sum] = "1535e98bcaba732e2f8e8f62dac6f369"
> +SRC_URI[reg.sha256sum] = "bb6ba6f5dcdf7106a19c588b0e4d43ab7af26f6474fe01011a318b3dceaba33b"
> +
> +FILES_${PN} += "\
> +    /lib/udev/rules.d/85-regulatory.rules \
> +    /usr/lib/crda/regulatory.bin \
> +    "
> -- 
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH] crda: Port crda recipe from oe-classic
  2012-09-26  3:14 ` Maupin, Chase
@ 2012-09-26  3:29   ` Denys Dmytriyenko
  0 siblings, 0 replies; 3+ messages in thread
From: Denys Dmytriyenko @ 2012-09-26  3:29 UTC (permalink / raw)
  To: Maupin, Chase; +Cc: meta-arago@arago-project.org

On Wed, Sep 26, 2012 at 03:14:31AM +0000, Maupin, Chase wrote:
> Will you be sending this to meta-oe or oe-core.  An indication of the final 
> destination would be nice.
> 
> Also, we seem to be adding a lot of recipes to arago that will need to be 
> removed later.  Should we look into a layer or directory for these to help 
> us know what to check?

I would strongly advise against another layer. And putting them in a wrong 
directory makes it harder to bbappend or otherwise override them correctly.

So far there were 3 recipes that should go upstream, and removed locally when 
they exist there - thttpd, obexftp and ussp-push.

On the other hand - what if something is not accepted to any other layers? 
Since we need those recipe, we would end up hosting them in meta-arago-extras 
anyway. So, let's put them in proper place from the beginning.

-- 
Denys


> Sincerely,
> Chase Maupin
> 
> Sent from my iPad
> 
> On Sep 25, 2012, at 5:11 PM, "Franklin S. Cooper Jr" <fcooperjr27@gmail.com> wrote:
> 
> > * Port the crda recipe from oe-classic. The version in oe-classic
> >  was version 1.1.1
> > * Version 1.1.1 had compiling issues with the version of LIBNL used in oe-core.
> >  Upgraded version of crda to 1.1.2 which fixed that issue.
> > 
> > Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> > ---
> > .../recipes-connectivity/crda/crda_1.1.2.bb        |   36 ++++++++++++++++++++
> > 1 files changed, 36 insertions(+), 0 deletions(-)
> > create mode 100644 meta-arago-extras/recipes-connectivity/crda/crda_1.1.2.bb
> > 
> > diff --git a/meta-arago-extras/recipes-connectivity/crda/crda_1.1.2.bb b/meta-arago-extras/recipes-connectivity/crda/crda_1.1.2.bb
> > new file mode 100644
> > index 0000000..82047db
> > --- /dev/null
> > +++ b/meta-arago-extras/recipes-connectivity/crda/crda_1.1.2.bb
> > @@ -0,0 +1,36 @@
> > +DESCRIPTION = "Wireless Central Regulatory Domain Agent"
> > +HOMEPAGE = "http://wireless.kernel.org/en/developers/Regulatory/CRDA"
> > +SECTION = "base"
> > +PRIORITY = "optional"
> > +LICENSE = "ISC"
> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=07c4f6dea3845b02a18dc00c8c87699c"
> > +
> > +PR = "r0"
> > +
> > +DEPENDS = "libgcrypt libnl python-native python-m2crypto-native"
> > +RDEPENDS_${PN} = "udev"
> > +
> > +SRC_URI = "http://wireless.kernel.org/download/crda/${P}.tar.bz2;name=crda \
> > +    http://wireless.kernel.org/download/wireless-regdb/regulatory.bins/2011.04.28-regulatory.bin;name=reg \
> > +    "
> > +
> > +EXTRA_OEMAKE = "MAKEFLAGS="
> > +do_compile() {
> > +    oe_runmake all_noverify
> > +}
> > +
> > +do_install() {
> > +    oe_runmake DESTDIR=${D} install
> > +    install -d ${D}/usr/lib/crda/
> > +    install -m 0644 ${WORKDIR}/2011.04.28-regulatory.bin ${D}/usr/lib/crda/regulatory.bin
> > +}
> > +
> > +SRC_URI[crda.md5sum] = "5226f65aebacf94baaf820f8b4e06df4"
> > +SRC_URI[crda.sha256sum] = "e469348a5d0bb933df31995869130f68901de9be02e666437f52125698851864"
> > +SRC_URI[reg.md5sum] = "1535e98bcaba732e2f8e8f62dac6f369"
> > +SRC_URI[reg.sha256sum] = "bb6ba6f5dcdf7106a19c588b0e4d43ab7af26f6474fe01011a318b3dceaba33b"
> > +
> > +FILES_${PN} += "\
> > +    /lib/udev/rules.d/85-regulatory.rules \
> > +    /usr/lib/crda/regulatory.bin \
> > +    "
> > -- 
> > 1.7.0.4
> > 
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 


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

end of thread, other threads:[~2012-09-26  3:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-25 15:36 [PATCH] crda: Port crda recipe from oe-classic Franklin S. Cooper Jr
2012-09-26  3:14 ` Maupin, Chase
2012-09-26  3:29   ` Denys Dmytriyenko

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.