Patchwork [meta-perl,V2] add libcrypt-openssl-rsa-perl

login
register
mail settings
Submitter Patrick Patat
Date Dec. 4, 2013, 2:59 p.m.
Message ID <1386169150-16816-1-git-send-email-patrick.patat@innotis.org>
Download mbox | patch
Permalink /patch/62811/
State Accepted, archived
Headers show

Comments

Patrick Patat - Dec. 4, 2013, 2:59 p.m.
This recipe build cpan module Crypt-OpenSSL-RSA

Signed-off-by: Patrick Patat <patrick.patat@innotis.org>
---
 .../libcrypt/libcrypt-openssl-rsa-perl_0.28.bb     |   24 ++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb
Patrick Patat - Dec. 17, 2013, 3:34 p.m.
ping


On Wed, Dec 4, 2013 at 3:59 PM, Patrick Patat <patrick.patat@innotis.org>wrote:

> This recipe build cpan module Crypt-OpenSSL-RSA
>
> Signed-off-by: Patrick Patat <patrick.patat@innotis.org>
> ---
>  .../libcrypt/libcrypt-openssl-rsa-perl_0.28.bb     |   24
> ++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>  create mode 100644 meta-perl/recipes-perl/libcrypt/
> libcrypt-openssl-rsa-perl_0.28.bb
>
> diff --git a/meta-perl/recipes-perl/libcrypt/
> libcrypt-openssl-rsa-perl_0.28.bb b/meta-perl/recipes-perl/libcrypt/
> libcrypt-openssl-rsa-perl_0.28.bb
> new file mode 100644
> index 0000000..f0c610f
> --- /dev/null
> +++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb
> @@ -0,0 +1,24 @@
> +SUMMARY = "Crypt Openssl RSA cpan module"
> +SECTION = "libs"
> +LICENSE = "Artistic-1.0 | GPL-1.0+"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3"
> +
> +SRC_URI = "
> http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-${PV}.tar.gz"
> +
> +SRC_URI[md5sum] = "86217a5036fc63779c30420b5fd84129"
> +SRC_URI[sha256sum] =
> "5357f977464bb3a8184cf2d3341851a10d5515b4b2b0dfb88bf78995c0ded7be"
> +
> +DEPENDS += "openssl"
> +
> +RDEPENDS_${PN}="libcrypt-openssl-random-perl"
> +
> +EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR}
> -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'"
> +
> +S = "${WORKDIR}/Crypt-OpenSSL-RSA-${PV}"
> +
> +inherit cpan
> +
> +do_compile() {
> +    export OTHERLDFLAGS='-Wl,-rpath'
> +    cpan_do_compile
> +}
> --
> 1.7.10.4
>
>
Paul Eggleton - Dec. 17, 2013, 4:29 p.m.
Hongxu, could you please look at this and the other outstanding meta-perl 
patch?

http://patchwork.openembedded.org/project/oe/list/?q=meta-perl&archive=both

Thanks,
Paul

On Tuesday 17 December 2013 16:34:38 patrick patat wrote:
> ping
> 
> On Wed, Dec 4, 2013 at 3:59 PM, Patrick Patat 
<patrick.patat@innotis.org>wrote:
> > This recipe build cpan module Crypt-OpenSSL-RSA
> > 
> > Signed-off-by: Patrick Patat <patrick.patat@innotis.org>
> > ---
> > 
> >  .../libcrypt/libcrypt-openssl-rsa-perl_0.28.bb     |   24
> > 
> > ++++++++++++++++++++
> > 
> >  1 file changed, 24 insertions(+)
> >  create mode 100644 meta-perl/recipes-perl/libcrypt/
> > 
> > libcrypt-openssl-rsa-perl_0.28.bb
> > 
> > diff --git a/meta-perl/recipes-perl/libcrypt/
> > libcrypt-openssl-rsa-perl_0.28.bb b/meta-perl/recipes-perl/libcrypt/
> > libcrypt-openssl-rsa-perl_0.28.bb
> > new file mode 100644
> > index 0000000..f0c610f
> > --- /dev/null
> > +++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb
> > @@ -0,0 +1,24 @@
> > +SUMMARY = "Crypt Openssl RSA cpan module"
> > +SECTION = "libs"
> > +LICENSE = "Artistic-1.0 | GPL-1.0+"
> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3"
> > +
> > +SRC_URI = "
> > http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-${PV}.tar.gz
> > "
> > +
> > +SRC_URI[md5sum] = "86217a5036fc63779c30420b5fd84129"
> > +SRC_URI[sha256sum] =
> > "5357f977464bb3a8184cf2d3341851a10d5515b4b2b0dfb88bf78995c0ded7be"
> > +
> > +DEPENDS += "openssl"
> > +
> > +RDEPENDS_${PN}="libcrypt-openssl-random-perl"
> > +
> > +EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR}
> > -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'"
> > +
> > +S = "${WORKDIR}/Crypt-OpenSSL-RSA-${PV}"
> > +
> > +inherit cpan
> > +
> > +do_compile() {
> > +    export OTHERLDFLAGS='-Wl,-rpath'
> > +    cpan_do_compile
> > +}
> > --
> > 1.7.10.4
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Martin Jansa - Dec. 17, 2013, 5:36 p.m.
On Tue, Dec 17, 2013 at 04:29:04PM +0000, Paul Eggleton wrote:
> 
> Hongxu, could you please look at this and the other outstanding meta-perl 
> patch?
> 
> http://patchwork.openembedded.org/project/oe/list/?q=meta-perl&archive=both

This is even better link:
http://patchwork.openembedded.org/bundle/jama/meta-perl/?archive=both

and also
http://patchwork.openembedded.org/bundle/jama/meta-filesystems/?archive=both

> 
> Thanks,
> Paul
> 
> On Tuesday 17 December 2013 16:34:38 patrick patat wrote:
> > ping
> > 
> > On Wed, Dec 4, 2013 at 3:59 PM, Patrick Patat 
> <patrick.patat@innotis.org>wrote:
> > > This recipe build cpan module Crypt-OpenSSL-RSA
> > > 
> > > Signed-off-by: Patrick Patat <patrick.patat@innotis.org>
> > > ---
> > > 
> > >  .../libcrypt/libcrypt-openssl-rsa-perl_0.28.bb     |   24
> > > 
> > > ++++++++++++++++++++
> > > 
> > >  1 file changed, 24 insertions(+)
> > >  create mode 100644 meta-perl/recipes-perl/libcrypt/
> > > 
> > > libcrypt-openssl-rsa-perl_0.28.bb
> > > 
> > > diff --git a/meta-perl/recipes-perl/libcrypt/
> > > libcrypt-openssl-rsa-perl_0.28.bb b/meta-perl/recipes-perl/libcrypt/
> > > libcrypt-openssl-rsa-perl_0.28.bb
> > > new file mode 100644
> > > index 0000000..f0c610f
> > > --- /dev/null
> > > +++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb
> > > @@ -0,0 +1,24 @@
> > > +SUMMARY = "Crypt Openssl RSA cpan module"
> > > +SECTION = "libs"
> > > +LICENSE = "Artistic-1.0 | GPL-1.0+"
> > > +LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3"
> > > +
> > > +SRC_URI = "
> > > http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-${PV}.tar.gz
> > > "
> > > +
> > > +SRC_URI[md5sum] = "86217a5036fc63779c30420b5fd84129"
> > > +SRC_URI[sha256sum] =
> > > "5357f977464bb3a8184cf2d3341851a10d5515b4b2b0dfb88bf78995c0ded7be"
> > > +
> > > +DEPENDS += "openssl"
> > > +
> > > +RDEPENDS_${PN}="libcrypt-openssl-random-perl"
> > > +
> > > +EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR}
> > > -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'"
> > > +
> > > +S = "${WORKDIR}/Crypt-OpenSSL-RSA-${PV}"
> > > +
> > > +inherit cpan
> > > +
> > > +do_compile() {
> > > +    export OTHERLDFLAGS='-Wl,-rpath'
> > > +    cpan_do_compile
> > > +}
> > > --
> > > 1.7.10.4
> > 
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> -- 
> 
> Paul Eggleton
> Intel Open Source Technology Centre
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Paul Eggleton - Dec. 17, 2013, 5:59 p.m.
On Tuesday 17 December 2013 18:36:36 Martin Jansa wrote:
> On Tue, Dec 17, 2013 at 04:29:04PM +0000, Paul Eggleton wrote:
> > Hongxu, could you please look at this and the other outstanding meta-perl
> > patch?
> > 
> > http://patchwork.openembedded.org/project/oe/list/?q=meta-perl&archive=bot
> > h
> 
> This is even better link:
> http://patchwork.openembedded.org/bundle/jama/meta-perl/?archive=both
> 
> and also
> http://patchwork.openembedded.org/bundle/jama/meta-filesystems/?archive=both

Well, except that those other patches from Emil weren't really sent correctly, 
so I've marked them as rejected. Hopefully Emil will fix up and re-send a new 
series; in the mean time the current WIP is here FYI (see also unmerged pull 
request from me on that repo):

https://github.com/EmilRP/public_bb_recipes/

Cheers,
Paul

Patch

diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb
new file mode 100644
index 0000000..f0c610f
--- /dev/null
+++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb
@@ -0,0 +1,24 @@ 
+SUMMARY = "Crypt Openssl RSA cpan module"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3"
+
+SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-${PV}.tar.gz "
+
+SRC_URI[md5sum] = "86217a5036fc63779c30420b5fd84129"
+SRC_URI[sha256sum] = "5357f977464bb3a8184cf2d3341851a10d5515b4b2b0dfb88bf78995c0ded7be"
+
+DEPENDS += "openssl"
+
+RDEPENDS_${PN}="libcrypt-openssl-random-perl"
+
+EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'"
+
+S = "${WORKDIR}/Crypt-OpenSSL-RSA-${PV}"
+
+inherit cpan
+
+do_compile() {
+    export OTHERLDFLAGS='-Wl,-rpath'
+    cpan_do_compile
+}