[10/18] perl-io-interface: new package

Message ID 20180810161502.21598-11-chrismcc@gmail.com
State Accepted
Headers show
Series
  • more perl modules
Related show

Commit Message

Christopher McCrory Aug. 10, 2018, 4:14 p.m.
Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
---
 package/Config.in                                |  1 +
 package/perl-io-interface/Config.in              | 10 ++++++++++
 package/perl-io-interface/perl-io-interface.hash |  6 ++++++
 package/perl-io-interface/perl-io-interface.mk   | 14 ++++++++++++++
 4 files changed, 31 insertions(+)
 create mode 100644 package/perl-io-interface/Config.in
 create mode 100644 package/perl-io-interface/perl-io-interface.hash
 create mode 100644 package/perl-io-interface/perl-io-interface.mk

Comments

François Perrad Aug. 12, 2018, 4:33 p.m. | #1
2018-08-10 18:14 GMT+02:00 Christopher McCrory <chrismcc@gmail.com>:

> Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
>

Acked-by: Francois Perrad <francois.perrad@gadz.org>


> ---
>  package/Config.in                                |  1 +
>  package/perl-io-interface/Config.in              | 10 ++++++++++
>  package/perl-io-interface/perl-io-interface.hash |  6 ++++++
>  package/perl-io-interface/perl-io-interface.mk   | 14 ++++++++++++++
>  4 files changed, 31 insertions(+)
>  create mode 100644 package/perl-io-interface/Config.in
>  create mode 100644 package/perl-io-interface/perl-io-interface.hash
>  create mode 100644 package/perl-io-interface/perl-io-interface.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index a458e56871..13a1b60588 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -698,6 +698,7 @@ menu "Perl libraries/modules"
>         source "package/perl-http-message/Config.in"
>         source "package/perl-http-negotiate/Config.in"
>         source "package/perl-io-html/Config.in"
> +       source "package/perl-io-interface/Config.in"
>         source "package/perl-io-socket-ssl/Config.in"
>         source "package/perl-json-tiny/Config.in"
>         source "package/perl-libwww-perl/Config.in"
> diff --git a/package/perl-io-interface/Config.in
> b/package/perl-io-interface/Config.in
> new file mode 100644
> index 0000000000..7aa7064ec0
> --- /dev/null
> +++ b/package/perl-io-interface/Config.in
> @@ -0,0 +1,10 @@
> +config BR2_PACKAGE_PERL_IO_INTERFACE
> +       bool "perl-io-interface"
> +       depends on !BR2_STATIC_LIBS
> +       help
> +         Access and modify network interface card configuration
> +
> +         https://metacpan.org/release/IO-Interface
> +
> +comment "perl-io-interface needs a toolchain w/ dynamic library"
> +       depends on BR2_STATIC_LIBS
> diff --git a/package/perl-io-interface/perl-io-interface.hash
> b/package/perl-io-interface/perl-io-interface.hash
> new file mode 100644
> index 0000000000..75e572f918
> --- /dev/null
> +++ b/package/perl-io-interface/perl-io-interface.hash
> @@ -0,0 +1,6 @@
> +# retrieved by scancpan from http://cpan.metacpan.org/
> +md5    806f97aff5a7361b6f54cd494f4cc9fd IO-Interface-1.09.tar.gz
> +sha256 e63e81c52eb1e0e60ec2d983f5552d2493e117179925c96757f23c4bd9fa713a
> IO-Interface-1.09.tar.gz
> +
> +# computed by scancpan
> +sha256 b5a5bf59bd1be13f7f498e5aa2ea5c0c603c04a095dcf03a06aa5b83bbccf921
> LICENSE
> diff --git a/package/perl-io-interface/perl-io-interface.mk
> b/package/perl-io-interface/perl-io-interface.mk
> new file mode 100644
> index 0000000000..24f4eeb0b3
> --- /dev/null
> +++ b/package/perl-io-interface/perl-io-interface.mk
> @@ -0,0 +1,14 @@
> +###########################################################
> #####################
> +#
> +# perl-io-interface
> +#
> +###########################################################
> #####################
> +
> +PERL_IO_INTERFACE_VERSION = 1.09
> +PERL_IO_INTERFACE_SOURCE = IO-Interface-$(PERL_IO_
> INTERFACE_VERSION).tar.gz
> +PERL_IO_INTERFACE_SITE = $(BR2_CPAN_MIRROR)/authors/id/L/LD/LDS
> +PERL_IO_INTERFACE_DEPENDENCIES = host-perl-module-build
> +PERL_IO_INTERFACE_LICENSE = Artistic or GPL-1.0+
> +PERL_IO_INTERFACE_LICENSE_FILES = LICENSE
> +
> +$(eval $(perl-package))
> --
> 2.14.4
>
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-08-10 18:14 GMT+02:00 Christopher McCrory <span dir="ltr">&lt;<a href="mailto:chrismcc@gmail.com" target="_blank">chrismcc@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Signed-off-by: Christopher McCrory &lt;<a href="mailto:chrismcc@gmail.com">chrismcc@gmail.com</a>&gt;<br></blockquote><div><br></div><div>Acked-by: Francois Perrad &lt;<a href="mailto:francois.perrad@gadz.org">francois.perrad@gadz.org</a>&gt;<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
---<br>
 package/Config.in                                |  1 +<br>
 package/perl-io-interface/<wbr>Config.in              | 10 ++++++++++<br>
 package/perl-io-interface/<wbr>perl-io-interface.hash |  6 ++++++<br>
 package/perl-io-interface/<a href="http://perl-io-interface.mk" rel="noreferrer" target="_blank">perl<wbr>-io-interface.mk</a>   | 14 ++++++++++++++<br>
 4 files changed, 31 insertions(+)<br>
 create mode 100644 package/perl-io-interface/<wbr>Config.in<br>
 create mode 100644 package/perl-io-interface/<wbr>perl-io-interface.hash<br>
 create mode 100644 package/perl-io-interface/<a href="http://perl-io-interface.mk" rel="noreferrer" target="_blank">perl<wbr>-io-interface.mk</a><br>
<br>
diff --git a/package/Config.in b/package/Config.in<br>
index a458e56871..13a1b60588 100644<br>
--- a/package/Config.in<br>
+++ b/package/Config.in<br>
@@ -698,6 +698,7 @@ menu &quot;Perl libraries/modules&quot;<br>
        source &quot;package/perl-http-message/<wbr>Config.in&quot;<br>
        source &quot;package/perl-http-negotiate/<wbr>Config.in&quot;<br>
        source &quot;package/perl-io-html/Config.<wbr>in&quot;<br>
+       source &quot;package/perl-io-interface/<wbr>Config.in&quot;<br>
        source &quot;package/perl-io-socket-ssl/<wbr>Config.in&quot;<br>
        source &quot;package/perl-json-tiny/<wbr>Config.in&quot;<br>
        source &quot;package/perl-libwww-perl/<wbr>Config.in&quot;<br>
diff --git a/package/perl-io-interface/<wbr>Config.in b/package/perl-io-interface/<wbr>Config.in<br>
new file mode 100644<br>
index 0000000000..7aa7064ec0<br>
--- /dev/null<br>
+++ b/package/perl-io-interface/<wbr>Config.in<br>
@@ -0,0 +1,10 @@<br>
+config BR2_PACKAGE_PERL_IO_INTERFACE<br>
+       bool &quot;perl-io-interface&quot;<br>
+       depends on !BR2_STATIC_LIBS<br>
+       help<br>
+         Access and modify network interface card configuration<br>
+<br>
+         <a href="https://metacpan.org/release/IO-Interface" rel="noreferrer" target="_blank">https://metacpan.org/release/<wbr>IO-Interface</a><br>
+<br>
+comment &quot;perl-io-interface needs a toolchain w/ dynamic library&quot;<br>
+       depends on BR2_STATIC_LIBS<br>
diff --git a/package/perl-io-interface/<wbr>perl-io-interface.hash b/package/perl-io-interface/<wbr>perl-io-interface.hash<br>
new file mode 100644<br>
index 0000000000..75e572f918<br>
--- /dev/null<br>
+++ b/package/perl-io-interface/<wbr>perl-io-interface.hash<br>
@@ -0,0 +1,6 @@<br>
+# retrieved by scancpan from <a href="http://cpan.metacpan.org/" rel="noreferrer" target="_blank">http://cpan.metacpan.org/</a><br>
+md5    806f97aff5a7361b6f54cd494f4cc9<wbr>fd IO-Interface-1.09.tar.gz<br>
+sha256 e63e81c52eb1e0e60ec2d983f5552d<wbr>2493e117179925c96757f23c4bd9fa<wbr>713a IO-Interface-1.09.tar.gz<br>
+<br>
+# computed by scancpan<br>
+sha256 b5a5bf59bd1be13f7f498e5aa2ea5c<wbr>0c603c04a095dcf03a06aa5b83bbcc<wbr>f921 LICENSE<br>
diff --git a/package/perl-io-interface/<a href="http://perl-io-interface.mk" rel="noreferrer" target="_blank">pe<wbr>rl-io-interface.mk</a> b/package/perl-io-interface/<a href="http://perl-io-interface.mk" rel="noreferrer" target="_blank">pe<wbr>rl-io-interface.mk</a><br>
new file mode 100644<br>
index 0000000000..24f4eeb0b3<br>
--- /dev/null<br>
+++ b/package/perl-io-interface/<a href="http://perl-io-interface.mk" rel="noreferrer" target="_blank">pe<wbr>rl-io-interface.mk</a><br>
@@ -0,0 +1,14 @@<br>
+#############################<wbr>##############################<wbr>#####################<br>
+#<br>
+# perl-io-interface<br>
+#<br>
+#############################<wbr>##############################<wbr>#####################<br>
+<br>
+PERL_IO_INTERFACE_VERSION = 1.09<br>
+PERL_IO_INTERFACE_SOURCE = IO-Interface-$(PERL_IO_<wbr>INTERFACE_VERSION).tar.gz<br>
+PERL_IO_INTERFACE_SITE = $(BR2_CPAN_MIRROR)/authors/id/<wbr>L/LD/LDS<br>
+PERL_IO_INTERFACE_<wbr>DEPENDENCIES = host-perl-module-build<br>
+PERL_IO_INTERFACE_LICENSE = Artistic or GPL-1.0+<br>
+PERL_IO_INTERFACE_LICENSE_<wbr>FILES = LICENSE<br>
+<br>
+$(eval $(perl-package))<br>
<span class="gmail-HOEnZb"><font color="#888888">-- <br>
2.14.4<br>
<br>
______________________________<wbr>_________________<br>
buildroot mailing list<br>
<a href="mailto:buildroot@busybox.net">buildroot@busybox.net</a><br>
<a href="http://lists.busybox.net/mailman/listinfo/buildroot" rel="noreferrer" target="_blank">http://lists.busybox.net/<wbr>mailman/listinfo/buildroot</a><br>
</font></span></blockquote></div><br></div></div>
Thomas Petazzoni Aug. 12, 2018, 9:44 p.m. | #2
Hello,

On Fri, 10 Aug 2018 09:14:54 -0700, Christopher McCrory wrote:
> Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
> ---
>  package/Config.in                                |  1 +
>  package/perl-io-interface/Config.in              | 10 ++++++++++
>  package/perl-io-interface/perl-io-interface.hash |  6 ++++++
>  package/perl-io-interface/perl-io-interface.mk   | 14 ++++++++++++++
>  4 files changed, 31 insertions(+)

I've applied to next, but ...

> +PERL_IO_INTERFACE_LICENSE = Artistic or GPL-1.0+

This was again wrong. The license file says:

"""
The Artistic License 2.0
"""

And I don't see where the GPL-1.0+ option is. So I've changed the
license information to:

PERL_IO_INTERFACE_LICENSE = Artistic-2.0

I already suggested to double check the result of scancpan, here is
another example why :-)

Thomas

Patch

diff --git a/package/Config.in b/package/Config.in
index a458e56871..13a1b60588 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -698,6 +698,7 @@  menu "Perl libraries/modules"
 	source "package/perl-http-message/Config.in"
 	source "package/perl-http-negotiate/Config.in"
 	source "package/perl-io-html/Config.in"
+	source "package/perl-io-interface/Config.in"
 	source "package/perl-io-socket-ssl/Config.in"
 	source "package/perl-json-tiny/Config.in"
 	source "package/perl-libwww-perl/Config.in"
diff --git a/package/perl-io-interface/Config.in b/package/perl-io-interface/Config.in
new file mode 100644
index 0000000000..7aa7064ec0
--- /dev/null
+++ b/package/perl-io-interface/Config.in
@@ -0,0 +1,10 @@ 
+config BR2_PACKAGE_PERL_IO_INTERFACE
+	bool "perl-io-interface"
+	depends on !BR2_STATIC_LIBS
+	help
+	  Access and modify network interface card configuration
+
+	  https://metacpan.org/release/IO-Interface
+
+comment "perl-io-interface needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
diff --git a/package/perl-io-interface/perl-io-interface.hash b/package/perl-io-interface/perl-io-interface.hash
new file mode 100644
index 0000000000..75e572f918
--- /dev/null
+++ b/package/perl-io-interface/perl-io-interface.hash
@@ -0,0 +1,6 @@ 
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    806f97aff5a7361b6f54cd494f4cc9fd IO-Interface-1.09.tar.gz
+sha256 e63e81c52eb1e0e60ec2d983f5552d2493e117179925c96757f23c4bd9fa713a IO-Interface-1.09.tar.gz
+
+# computed by scancpan
+sha256 b5a5bf59bd1be13f7f498e5aa2ea5c0c603c04a095dcf03a06aa5b83bbccf921 LICENSE
diff --git a/package/perl-io-interface/perl-io-interface.mk b/package/perl-io-interface/perl-io-interface.mk
new file mode 100644
index 0000000000..24f4eeb0b3
--- /dev/null
+++ b/package/perl-io-interface/perl-io-interface.mk
@@ -0,0 +1,14 @@ 
+################################################################################
+#
+# perl-io-interface
+#
+################################################################################
+
+PERL_IO_INTERFACE_VERSION = 1.09
+PERL_IO_INTERFACE_SOURCE = IO-Interface-$(PERL_IO_INTERFACE_VERSION).tar.gz
+PERL_IO_INTERFACE_SITE = $(BR2_CPAN_MIRROR)/authors/id/L/LD/LDS
+PERL_IO_INTERFACE_DEPENDENCIES = host-perl-module-build
+PERL_IO_INTERFACE_LICENSE = Artistic or GPL-1.0+
+PERL_IO_INTERFACE_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))