[05/18] perl-data-uuid: new package

Message ID 20180810161502.21598-6-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-data-uuid/Config.in           | 10 ++++++++++
 package/perl-data-uuid/perl-data-uuid.hash |  6 ++++++
 package/perl-data-uuid/perl-data-uuid.mk   | 13 +++++++++++++
 4 files changed, 30 insertions(+)
 create mode 100644 package/perl-data-uuid/Config.in
 create mode 100644 package/perl-data-uuid/perl-data-uuid.hash
 create mode 100644 package/perl-data-uuid/perl-data-uuid.mk

Comments

François Perrad Aug. 12, 2018, 4:29 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-data-uuid/Config.in           | 10 ++++++++++
>  package/perl-data-uuid/perl-data-uuid.hash |  6 ++++++
>  package/perl-data-uuid/perl-data-uuid.mk   | 13 +++++++++++++
>  4 files changed, 30 insertions(+)
>  create mode 100644 package/perl-data-uuid/Config.in
>  create mode 100644 package/perl-data-uuid/perl-data-uuid.hash
>  create mode 100644 package/perl-data-uuid/perl-data-uuid.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index d1f0947d6d..dad6916c64 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -674,6 +674,7 @@ menu "Perl libraries/modules"
>         source "package/perl-crypt-cbc/Config.in"
>         source "package/perl-crypt-openssl-random/Config.in"
>         source "package/perl-crypt-openssl-rsa/Config.in"
> +       source "package/perl-data-uuid/Config.in"
>         source "package/perl-datetime-tiny/Config.in"
>         source "package/perl-digest-hmac/Config.in"
>         source "package/perl-digest-md5/Config.in"
> diff --git a/package/perl-data-uuid/Config.in b/package/perl-data-uuid/
> Config.in
> new file mode 100644
> index 0000000000..e0752c44ab
> --- /dev/null
> +++ b/package/perl-data-uuid/Config.in
> @@ -0,0 +1,10 @@
> +config BR2_PACKAGE_PERL_DATA_UUID
> +       bool "perl-data-uuid"
> +       depends on !BR2_STATIC_LIBS
> +       help
> +         Globally/Universally Unique Identifiers (GUIDs/UUIDs)
> +
> +         https://metacpan.org/release/Data-UUID
> +
> +comment "perl-data-uuid needs a toolchain w/ dynamic library"
> +       depends on BR2_STATIC_LIBS
> diff --git a/package/perl-data-uuid/perl-data-uuid.hash
> b/package/perl-data-uuid/perl-data-uuid.hash
> new file mode 100644
> index 0000000000..5086936d4e
> --- /dev/null
> +++ b/package/perl-data-uuid/perl-data-uuid.hash
> @@ -0,0 +1,6 @@
> +# retrieved by scancpan from http://cpan.metacpan.org/
> +md5    7619929e8fe205a7fb83bc1c29ecbf99 Data-UUID-1.221.tar.gz
> +sha256 3cc7b2a3a7b74b45a059e013f7fd878078500ea4b7269036f84556b022078667
> Data-UUID-1.221.tar.gz
> +
> +# computed by scancpan
> +sha256 0560c8eea8e1fb8173faa6c2e9b7e9f8728b8ae8250a814709a53c30b778d5fb
> LICENSE
> diff --git a/package/perl-data-uuid/perl-data-uuid.mk
> b/package/perl-data-uuid/perl-data-uuid.mk
> new file mode 100644
> index 0000000000..24d61c6ce3
> --- /dev/null
> +++ b/package/perl-data-uuid/perl-data-uuid.mk
> @@ -0,0 +1,13 @@
> +###########################################################
> #####################
> +#
> +# perl-data-uuid
> +#
> +###########################################################
> #####################
> +
> +PERL_DATA_UUID_VERSION = 1.221
> +PERL_DATA_UUID_SOURCE = Data-UUID-$(PERL_DATA_UUID_VERSION).tar.gz
> +PERL_DATA_UUID_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RJ/RJBS
> +PERL_DATA_UUID_LICENSE = bsd
> +PERL_DATA_UUID_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;</div><div><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-data-uuid/Config.<wbr>in           | 10 ++++++++++<br>
 package/perl-data-uuid/perl-<wbr>data-uuid.hash |  6 ++++++<br>
 package/perl-data-uuid/<a href="http://perl-data-uuid.mk" rel="noreferrer" target="_blank">perl-<wbr>data-uuid.mk</a>   | 13 +++++++++++++<br>
 4 files changed, 30 insertions(+)<br>
 create mode 100644 package/perl-data-uuid/Config.<wbr>in<br>
 create mode 100644 package/perl-data-uuid/perl-<wbr>data-uuid.hash<br>
 create mode 100644 package/perl-data-uuid/<a href="http://perl-data-uuid.mk" rel="noreferrer" target="_blank">perl-<wbr>data-uuid.mk</a><br>
<br>
diff --git a/package/Config.in b/package/Config.in<br>
index d1f0947d6d..dad6916c64 100644<br>
--- a/package/Config.in<br>
+++ b/package/Config.in<br>
@@ -674,6 +674,7 @@ menu &quot;Perl libraries/modules&quot;<br>
        source &quot;package/perl-crypt-cbc/<wbr>Config.in&quot;<br>
        source &quot;package/perl-crypt-openssl-<wbr>random/Config.in&quot;<br>
        source &quot;package/perl-crypt-openssl-<wbr>rsa/Config.in&quot;<br>
+       source &quot;package/perl-data-uuid/<wbr>Config.in&quot;<br>
        source &quot;package/perl-datetime-tiny/<wbr>Config.in&quot;<br>
        source &quot;package/perl-digest-hmac/<wbr>Config.in&quot;<br>
        source &quot;package/perl-digest-md5/<wbr>Config.in&quot;<br>
diff --git a/package/perl-data-uuid/<wbr>Config.in b/package/perl-data-uuid/<wbr>Config.in<br>
new file mode 100644<br>
index 0000000000..e0752c44ab<br>
--- /dev/null<br>
+++ b/package/perl-data-uuid/<wbr>Config.in<br>
@@ -0,0 +1,10 @@<br>
+config BR2_PACKAGE_PERL_DATA_UUID<br>
+       bool &quot;perl-data-uuid&quot;<br>
+       depends on !BR2_STATIC_LIBS<br>
+       help<br>
+         Globally/Universally Unique Identifiers (GUIDs/UUIDs)<br>
+<br>
+         <a href="https://metacpan.org/release/Data-UUID" rel="noreferrer" target="_blank">https://metacpan.org/release/<wbr>Data-UUID</a><br>
+<br>
+comment &quot;perl-data-uuid needs a toolchain w/ dynamic library&quot;<br>
+       depends on BR2_STATIC_LIBS<br>
diff --git a/package/perl-data-uuid/perl-<wbr>data-uuid.hash b/package/perl-data-uuid/perl-<wbr>data-uuid.hash<br>
new file mode 100644<br>
index 0000000000..5086936d4e<br>
--- /dev/null<br>
+++ b/package/perl-data-uuid/perl-<wbr>data-uuid.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    7619929e8fe205a7fb83bc1c29ecbf<wbr>99 Data-UUID-1.221.tar.gz<br>
+sha256 3cc7b2a3a7b74b45a059e013f7fd87<wbr>8078500ea4b7269036f84556b02207<wbr>8667 Data-UUID-1.221.tar.gz<br>
+<br>
+# computed by scancpan<br>
+sha256 0560c8eea8e1fb8173faa6c2e9b7e9<wbr>f8728b8ae8250a814709a53c30b778<wbr>d5fb LICENSE<br>
diff --git a/package/perl-data-uuid/<a href="http://perl-data-uuid.mk" rel="noreferrer" target="_blank">perl-<wbr>data-uuid.mk</a> b/package/perl-data-uuid/<a href="http://perl-data-uuid.mk" rel="noreferrer" target="_blank">perl-<wbr>data-uuid.mk</a><br>
new file mode 100644<br>
index 0000000000..24d61c6ce3<br>
--- /dev/null<br>
+++ b/package/perl-data-uuid/<a href="http://perl-data-uuid.mk" rel="noreferrer" target="_blank">perl-<wbr>data-uuid.mk</a><br>
@@ -0,0 +1,13 @@<br>
+#############################<wbr>##############################<wbr>#####################<br>
+#<br>
+# perl-data-uuid<br>
+#<br>
+#############################<wbr>##############################<wbr>#####################<br>
+<br>
+PERL_DATA_UUID_VERSION = 1.221<br>
+PERL_DATA_UUID_SOURCE = Data-UUID-$(PERL_DATA_UUID_<wbr>VERSION).tar.gz<br>
+PERL_DATA_UUID_SITE = $(BR2_CPAN_MIRROR)/authors/id/<wbr>R/RJ/RJBS<br>
+PERL_DATA_UUID_LICENSE = bsd<br>
+PERL_DATA_UUID_LICENSE_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:27 p.m. | #2
Hello,

On Fri, 10 Aug 2018 09:14:49 -0700, Christopher McCrory wrote:
> Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
> ---
>  package/Config.in                          |  1 +
>  package/perl-data-uuid/Config.in           | 10 ++++++++++
>  package/perl-data-uuid/perl-data-uuid.hash |  6 ++++++
>  package/perl-data-uuid/perl-data-uuid.mk   | 13 +++++++++++++
>  4 files changed, 30 insertions(+)
>  create mode 100644 package/perl-data-uuid/Config.in
>  create mode 100644 package/perl-data-uuid/perl-data-uuid.hash
>  create mode 100644 package/perl-data-uuid/perl-data-uuid.mk

I've applied to next, but...


> +PERL_DATA_UUID_VERSION = 1.221
> +PERL_DATA_UUID_SOURCE = Data-UUID-$(PERL_DATA_UUID_VERSION).tar.gz
> +PERL_DATA_UUID_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RJ/RJBS
> +PERL_DATA_UUID_LICENSE = bsd

The license is not BSD. It's apparently some variant of the MIT license
that is documented as the "HP variant" in
https://fedoraproject.org/wiki/Licensing:MIT#HP_Variant. So I've used
the MIT-HP tag, even if it isn't documented officially by SPDX.

It seems like the license details on CPAN are sometimes wrong. Please
double check them manually whenever you submit a new Perl package in
Buildroot.

Thanks,

Thomas
Christopher McCrory Aug. 13, 2018, 1:46 p.m. | #3
hello

On Sun, Aug 12, 2018 at 2:27 PM, Thomas Petazzoni <
thomas.petazzoni@bootlin.com> wrote:

> Hello,
>
> <snip>
>



> The license is not BSD. It's apparently some variant of the MIT license
> that is documented as the "HP variant" in
> https://fedoraproject.org/wiki/Licensing:MIT#HP_Variant. So I've used
> the MIT-HP tag, even if it isn't documented officially by SPDX.
>
> It seems like the license details on CPAN are sometimes wrong. Please
> double check them manually whenever you submit a new Perl package in
> Buildroot.
>
>
Yea, I found this:
https://github.com/rjbs/Data-UUID/issues/26

Makefile.PL declares BSD license, but LICENSE file contains MIT license
text as confirmed by Fedora legal team
https://lists.fedoraproject.org/pipermail/legal/2013-August/002226.html.
Could you please clarify this discrepancy? It would be great if you aligned
the Makefile.PL and LICENSE content.



> Thanks,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
Thomas Petazzoni Aug. 13, 2018, 9:21 p.m. | #4
Hello Christopher,

On Mon, 13 Aug 2018 06:46:53 -0700, Christopher McCrory wrote:

> Yea, I found this:
> https://github.com/rjbs/Data-UUID/issues/26

OK, I added a comment to "ping" on this question.

Thanks,

Thomas

Patch

diff --git a/package/Config.in b/package/Config.in
index d1f0947d6d..dad6916c64 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -674,6 +674,7 @@  menu "Perl libraries/modules"
 	source "package/perl-crypt-cbc/Config.in"
 	source "package/perl-crypt-openssl-random/Config.in"
 	source "package/perl-crypt-openssl-rsa/Config.in"
+	source "package/perl-data-uuid/Config.in"
 	source "package/perl-datetime-tiny/Config.in"
 	source "package/perl-digest-hmac/Config.in"
 	source "package/perl-digest-md5/Config.in"
diff --git a/package/perl-data-uuid/Config.in b/package/perl-data-uuid/Config.in
new file mode 100644
index 0000000000..e0752c44ab
--- /dev/null
+++ b/package/perl-data-uuid/Config.in
@@ -0,0 +1,10 @@ 
+config BR2_PACKAGE_PERL_DATA_UUID
+	bool "perl-data-uuid"
+	depends on !BR2_STATIC_LIBS
+	help
+	  Globally/Universally Unique Identifiers (GUIDs/UUIDs)
+
+	  https://metacpan.org/release/Data-UUID
+
+comment "perl-data-uuid needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
diff --git a/package/perl-data-uuid/perl-data-uuid.hash b/package/perl-data-uuid/perl-data-uuid.hash
new file mode 100644
index 0000000000..5086936d4e
--- /dev/null
+++ b/package/perl-data-uuid/perl-data-uuid.hash
@@ -0,0 +1,6 @@ 
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    7619929e8fe205a7fb83bc1c29ecbf99 Data-UUID-1.221.tar.gz
+sha256 3cc7b2a3a7b74b45a059e013f7fd878078500ea4b7269036f84556b022078667 Data-UUID-1.221.tar.gz
+
+# computed by scancpan
+sha256 0560c8eea8e1fb8173faa6c2e9b7e9f8728b8ae8250a814709a53c30b778d5fb LICENSE
diff --git a/package/perl-data-uuid/perl-data-uuid.mk b/package/perl-data-uuid/perl-data-uuid.mk
new file mode 100644
index 0000000000..24d61c6ce3
--- /dev/null
+++ b/package/perl-data-uuid/perl-data-uuid.mk
@@ -0,0 +1,13 @@ 
+################################################################################
+#
+# perl-data-uuid
+#
+################################################################################
+
+PERL_DATA_UUID_VERSION = 1.221
+PERL_DATA_UUID_SOURCE = Data-UUID-$(PERL_DATA_UUID_VERSION).tar.gz
+PERL_DATA_UUID_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RJ/RJBS
+PERL_DATA_UUID_LICENSE = bsd
+PERL_DATA_UUID_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))