perl modules again
cover perl modules again
Hopefully this resolves the issues with the previous submissions.
perl-dbi-add-host-package.patch
host needed by dbd-mysql, sorry Fran?ois. I cannot see a way to avoid
it :(
perl-time-parsedate-new-package.patch
LICENSE is unknown, more later
perl-sys-cpu-new-package.patch
metacpan returns unknown for license, but readme states same as perl
perl-package-stash-new-package.patch
fixed from last submission
perl-template-toolkit-new-package.patch perl-xml-parser-new-package.patch
submitting with my original sed hack in case the better way needs more
work.
perl-soap-wsdl-new-package.patch
needs template-toolkit and xml-parser
At this point zoneminder perl bits run, Yea!
perl-termreadkey
this on caused a discussion lat time.
used PERL_TERMREADKEY_LICENSE = Artistic or GPL-1.0+, and Copyright only
https://src.fedoraproject.org/rpms/perl-TermReadKey/blob/master/f/perl-TermReadKey.spec
https://github.com/jonathanstowe/TermReadKey/issues/11
Fedora has a team of people on licencing issues, that is what they
came up with. I'm not sure what debian did. Good enough?
pkg-utils.mk
As suggested and written by Fran?ois. Not sure if this is the correct
or best place to put it. If anyone wants to tweek it in any way before commiting, I'm good with that. Actually the same goes for any of these.
perl-template-toolkit and perl-xml-parser
Now use call patch_sub_makefile from previous patch
perl-soap-wsdl
add dependancy on perl-termreadkey if it gets commited. This package
works for me without termreadkey, but add it anyway for completeness.
Christopher McCrory (18):
perl-dbi: add host package
perl-dbd-mysql: new package
perl-data-dump: new package
perl-time-parsedate: new package
perl-x10: new package
perl-sys-cpu: new package
perl-dist-checkconflicts: new package
perl-package-stash: new package
perl-class-load: new package
perl-template-toolkit: new package
perl-xml-parser: new package
perl-soap-wsdl: new package
perl-time-parsedate: add license
perl-termreadkey: new package pkg-utils.mk: patch_sub_makefile
perl-template-toolkit: use new patch_sub_makefile
perl-xml-parser: use new patch_sub_makefile
perl-soap-wsdl: add dependancy on perl-termreadkey
DEVELOPERS | 12 +++++++++++ package/Config.in | 12 +++++++++++ package/perl-class-load/Config.in | 15 ++++++++++++++ package/perl-class-load/perl-class-load.hash | 6 ++++++ package/perl-class-load/perl-class-load.mk | 14 +++++++++++++ package/perl-data-dump/Config.in | 6 ++++++ package/perl-data-dump/perl-data-dump.hash | 6 ++++++ package/perl-data-dump/perl-data-dump.mk | 13 ++++++++++++ package/perl-dbd-mysql/Config.in | 12 +++++++++++ package/perl-dbd-mysql/perl-dbd-mysql.hash | 6 ++++++ package/perl-dbd-mysql/perl-dbd-mysql.mk | 15 ++++++++++++++ package/perl-dbi/perl-dbi.mk | 1 + package/perl-dist-checkconflicts/Config.in | 7 +++++++ .../perl-dist-checkconflicts.hash | 6 ++++++ .../perl-dist-checkconflicts.mk | 14 +++++++++++++ package/perl-package-stash/Config.in | 8 ++++++++ package/perl-package-stash/perl-package-stash.hash | 6 ++++++ package/perl-package-stash/perl-package-stash.mk | 14 +++++++++++++ package/perl-soap-wsdl/Config.in | 19 +++++++++++++++++ package/perl-soap-wsdl/perl-soap-wsdl.hash | 6 ++++++ package/perl-soap-wsdl/perl-soap-wsdl.mk | 14 +++++++++++++ package/perl-sys-cpu/Config.in | 5 +++++ package/perl-sys-cpu/perl-sys-cpu.hash | 2 ++ package/perl-sys-cpu/perl-sys-cpu.mk | 13 ++++++++++++ package/perl-template-toolkit/Config.in | 11 ++++++++++ .../perl-template-toolkit.hash | 6 ++++++ .../perl-template-toolkit/perl-template-toolkit.mk | 21 +++++++++++++++++++ package/perl-termreadkey/Config.in | 10 +++++++++ package/perl-termreadkey/perl-termreadkey.hash | 6 ++++++ package/perl-termreadkey/perl-termreadkey.mk | 15 ++++++++++++++ package/perl-time-parsedate/Config.in | 6 ++++++ .../perl-time-parsedate/perl-time-parsedate.hash | 6 ++++++ package/perl-time-parsedate/perl-time-parsedate.mk | 14 +++++++++++++ package/perl-x10/Config.in | 13 ++++++++++++ package/perl-x10/perl-x10.hash | 6 ++++++ package/perl-x10/perl-x10.mk | 14 +++++++++++++ package/perl-xml-parser/Config.in | 12 +++++++++++ package/perl-xml-parser/perl-xml-parser.hash | 6 ++++++ package/perl-xml-parser/perl-xml-parser.mk | 24 ++++++++++++++++++++++ package/pkg-utils.mk | 16 +++++++++++++++ 40 files changed, 418 insertions(+) create mode 100644 package/perl-class-load/Config.in create mode 100644 package/perl-class-load/perl-class-load.hash create mode 100644 package/perl-class-load/perl-class-load.mk create mode 100644 package/perl-data-dump/Config.in create mode 100644 package/perl-data-dump/perl-data-dump.hash create mode 100644 package/perl-data-dump/perl-data-dump.mk create mode 100644 package/perl-dbd-mysql/Config.in create mode 100644 package/perl-dbd-mysql/perl-dbd-mysql.hash create mode 100644 package/perl-dbd-mysql/perl-dbd-mysql.mk create mode 100644 package/perl-dist-checkconflicts/Config.in create mode 100644 package/perl-dist-checkconflicts/perl-dist-checkconflicts.hash create mode 100644 package/perl-dist-checkconflicts/perl-dist-checkconflicts.mk create mode 100644 package/perl-package-stash/Config.in create mode 100644 package/perl-package-stash/perl-package-stash.hash create mode 100644 package/perl-package-stash/perl-package-stash.mk create mode 100644 package/perl-soap-wsdl/Config.in create mode 100644 package/perl-soap-wsdl/perl-soap-wsdl.hash create mode 100644 package/perl-soap-wsdl/perl-soap-wsdl.mk create mode 100644 package/perl-sys-cpu/Config.in create mode 100644 package/perl-sys-cpu/perl-sys-cpu.hash create mode 100644 package/perl-sys-cpu/perl-sys-cpu.mk create mode 100644 package/perl-template-toolkit/Config.in create mode 100644 package/perl-template-toolkit/perl-template-toolkit.hash create mode 100644 package/perl-template-toolkit/perl-template-toolkit.mk create mode 100644 package/perl-termreadkey/Config.in create mode 100644 package/perl-termreadkey/perl-termreadkey.hash create mode 100644 package/perl-termreadkey/perl-termreadkey.mk create mode 100644 package/perl-time-parsedate/Config.in create mode 100644 package/perl-time-parsedate/perl-time-parsedate.hash create mode 100644 package/perl-time-parsedate/perl-time-parsedate.mk create mode 100644 package/perl-x10/Config.in create mode 100644 package/perl-x10/perl-x10.hash create mode 100644 package/perl-x10/perl-x10.mk create mode 100644 package/perl-xml-parser/Config.in create mode 100644 package/perl-xml-parser/perl-xml-parser.hash create mode 100644 package/perl-xml-parser/perl-xml-parser.mk
Signature · 1 line
2.14.4
PATCH 1/18 perl-dbi: add host package
--- package/perl-dbi/perl-dbi.mk | 1 + 1 file changed, 1 insertion(+)
package/perl-dbi/perl-dbi.mk +1 -0
@@ -11,3 +11,4 @@ PERL_DBI_LICENSE = Artistic or GPL-1.0+ PERL_DBI_LICENSE_FILES = LICENSE $(eval $(perl-package)) +$(eval $(host-perl-package))
Signature · 1 line
2.14.4
PATCH 1/18 perl-dbi: add host package
2018-08-20 13:55 GMT+02:00 Christopher McCrory <[email protected]>:
Quoted 2 lines
Signed-off-by Christopher McCrory <[email protected]>
---
Quoted 15 lines
package/perl-dbi/perl-dbi.mk | 1 + 1 file changed, 1 insertion(+)package/perl-dbi/perl-dbi.mk +1
-1@@ -11,3 +11,4 @@ PERL_DBI_LICENSE = Artistic or GPL-1.0+ PERL_DBI_LICENSE_FILES = LICENSE $(eval $(perl-package)) +$(eval $(host-perl-package)) --2.14.4
Quoted 5 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180821/6f3574f0/attachment.html>
Thomas Petazzoni
AppliedPATCH 1/18 perl-dbi: add host package
In reply to Christopher McCroryHello,
Quoted 4 lines · Christopher McCrory
Signed-off-by Christopher McCrory <[email protected]>--- package/perl-dbi/perl-dbi.mk | 1 + 1 file changed, 1 insertion(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
PATCH 2/18 perl-dbd-mysql: new package
In reply to Christopher McCrory--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-dbd-mysql/Config.in | 12 ++++++++++++ package/perl-dbd-mysql/perl-dbd-mysql.hash | 6 ++++++ package/perl-dbd-mysql/perl-dbd-mysql.mk | 15 +++++++++++++++ 5 files changed, 35 insertions(+) create mode 100644 package/perl-dbd-mysql/Config.in create mode 100644 package/perl-dbd-mysql/perl-dbd-mysql.hash create mode 100644 package/perl-dbd-mysql/perl-dbd-mysql.mk
DEVELOPERS +1 -0
@@ -489,6 +489,7 @@ F: package/perl-class-std-fast/ F: package/perl-data-optlist/ F: package/perl-data-uuid/ F: package/perl-date-manip/ +F: package/perl-dbd-mysql/ F: package/perl-dbi/ F: package/perl-device-serialport/ F: package/perl-file-slurp/
package/Config.in +1 -0
@@ -678,6 +678,7 @@ menu "Perl libraries/modules" source "package/perl-data-uuid/Config.in" source "package/perl-date-manip/Config.in" source "package/perl-datetime-tiny/Config.in" + source "package/perl-dbd-mysql/Config.in" source "package/perl-dbi/Config.in" source "package/perl-device-serialport/Config.in" source "package/perl-digest-hmac/Config.in"
package/perl-dbd-mysql/Config.in new file +12 -0
@@ -0,0 +1,12 @@ +config BR2_PACKAGE_PERL_DBD_MYSQL + bool "perl-dbd-mysql" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_PERL_DBI + select BR2_PACKAGE_MYSQL + help + A MySQL driver for the Perl5 Database Interface (DBI) + + http://dbi.perl.org/ + +comment "perl-dbd-mysql needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS
package/perl-dbd-mysql/perl-dbd-mysql.hash new file +6 -0
@@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 bdf4f4d899b8af29ebd8ebfb7438d05f DBD-mysql-4.046.tar.gz +sha256 6165652ec959d05b97f5413fa3dff014b78a44cf6de21ae87283b28378daf1f7 DBD-mysql-4.046.tar.gz + +# computed by scancpan +sha256 7a9ba29702b957805cfa8aa63bca43175625824263232dbade0010d385ab888c LICENSE
package/perl-dbd-mysql/perl-dbd-mysql.mk new file +15 -0
@@ -0,0 +1,15 @@ +################################################################################ +# +# perl-dbd-mysql +# +################################################################################ + +PERL_DBD_MYSQL_VERSION = 4.046 +PERL_DBD_MYSQL_SOURCE = DBD-mysql-$(PERL_DBD_MYSQL_VERSION).tar.gz +PERL_DBD_MYSQL_SITE = $(BR2_CPAN_MIRROR)/authors/id/C/CA/CAPTTOFU +PERL_DBD_MYSQL_DEPENDENCIES = host-perl-dbi perl-dbi mysql +PERL_DBD_MYSQL_CONF_OPTS += --mysql_config=$(STAGING_DIR)/usr/bin/mysql_config +PERL_DBD_MYSQL_LICENSE = Artistic or GPL-1.0+ +PERL_DBD_MYSQL_LICENSE_FILES = LICENSE + +$(eval $(perl-package))
Signature · 1 line
2.14.4
PATCH 2/18 perl-dbd-mysql: new package
2018-08-20 13:55 GMT+02:00 Christopher McCrory <[email protected]>:
Quoted 2 lines
Signed-off-by Christopher McCrory <[email protected]>
---
Quoted 96 lines
DEVELOPERS | 1 + package/Config.in | 1 + package/perl-dbd-mysql/Config.in | 12 ++++++++++++ package/perl-dbd-mysql/perl-dbd-mysql.hash | 6 ++++++ package/perl-dbd-mysql/perl-dbd-mysql.mk | 15 +++++++++++++++ 5 files changed, 35 insertions(+) create mode 100644 package/perl-dbd-mysql/Config.in create mode 100644 package/perl-dbd-mysql/perl-dbd-mysql.hash create mode 100644 package/perl-dbd-mysql/perl-dbd-mysql.mkDEVELOPERS +1
-0@@ -489,6 +489,7 @@ F: package/perl-class-std-fast/ F: package/perl-data-optlist/ F: package/perl-data-uuid/ F: package/perl-date-manip/ +F: package/perl-dbd-mysql/ F: package/perl-dbi/ F: package/perl-device-serialport/ F: package/perl-file-slurp/package/Config.in +1
-0@@ -678,6 +678,7 @@ menu "Perl libraries/modules" source "package/perl-data-uuid/Config.in" source "package/perl-date-manip/Config.in" source "package/perl-datetime-tiny/Config.in" + source "package/perl-dbd-mysql/Config.in" source "package/perl-dbi/Config.in" source "package/perl-device-serialport/Config.in" source "package/perl-digest-hmac/Config.in"package/perl-dbd-mysql/ renamed from package/perl-dbd-mysql/Config.in +0
-0Config.in
new file mode 100644
index 0000000000..49e7ff99d6package/perl-dbd-mysql/Config.in new file +12
-0@@ -0,0 +1,12 @@ +config BR2_PACKAGE_PERL_DBD_MYSQL + bool "perl-dbd-mysql" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_PERL_DBI + select BR2_PACKAGE_MYSQL + help + A MySQL driver for the Perl5 Database Interface (DBI) + + http://dbi.perl.org/ + +comment "perl-dbd-mysql needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBSpackage/perl-dbd-mysql/perl-dbd-mysql.hash new file +3
-0@@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 bdf4f4d899b8af29ebd8ebfb7438d05f DBD-mysql-4.046.tar.gz +sha256 6165652ec959d05b97f5413fa3dff014b78a44cf6de21ae87283b28378daf1f7DBD-mysql-4.046.tar.gz
package/perl-dbd-mysql/perl-dbd-mysql.hash new file +3
-0+ +# computed by scancpan +sha256 7a9ba29702b957805cfa8aa63bca43175625824263232dbade0010d385ab888cLICENSE
package/perl-dbd-mysql/perl-dbd-mysql.mk new file +1
-0@@ -0,0 +1,15 @@ +################################################################################
package/perl-dbd-mysql/perl-dbd-mysql.mk new file +4
-0+# +# perl-dbd-mysql +# +################################################################################
package/perl-dbd-mysql/perl-dbd-mysql.mk new file +6
-0+ +PERL_DBD_MYSQL_VERSION = 4.046 +PERL_DBD_MYSQL_SOURCE = DBD-mysql-$(PERL_DBD_MYSQL_VERSION).tar.gz +PERL_DBD_MYSQL_SITE = $(BR2_CPAN_MIRROR)/authors/id/C/CA/CAPTTOFU +PERL_DBD_MYSQL_DEPENDENCIES = host-perl-dbi perl-dbi mysql +PERL_DBD_MYSQL_CONF_OPTS += --mysql_config=$(STAGING_DIR)/
usr/bin/mysql_configpackage/perl-dbd-mysql/perl-dbd-mysql.mk new file +4
-1+PERL_DBD_MYSQL_LICENSE = Artistic or GPL-1.0+ +PERL_DBD_MYSQL_LICENSE_FILES = LICENSE + +$(eval $(perl-package)) --2.14.4
Quoted 5 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180821/cbdf8f31/attachment.html>
PATCH 2/18 perl-dbd-mysql: new package
In reply to Christopher McCroryHello,
Quoted 11 lines · Christopher McCrory
Signed-off-by Christopher McCrory <[email protected]>--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-dbd-mysql/Config.in | 12 ++++++++++++ package/perl-dbd-mysql/perl-dbd-mysql.hash | 6 ++++++ package/perl-dbd-mysql/perl-dbd-mysql.mk | 15 +++++++++++++++ 5 files changed, 35 insertions(+) create mode 100644 package/perl-dbd-mysql/Config.in create mode 100644 package/perl-dbd-mysql/perl-dbd-mysql.hash create mode 100644 package/perl-dbd-mysql/perl-dbd-mysql.mk
I've applied, but there was a mistake in the patch, see below.
package/perl-dbd-mysql/Config.in line 5
Quoted 11 lines
package/perl-dbd-mysql/Config.in new file +5
-0@@ -0,0 +1,12 @@ +config BR2_PACKAGE_PERL_DBD_MYSQL + bool "perl-dbd-mysql" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_PERL_DBI + select BR2_PACKAGE_MYSQL
You select BR2_PACKAGE_MYSQL without replicating its dependencies:BR2_USE_MMU, BR2_TOOLCHAIN_HAS_THREADS and BR2_INSTALL_LIBSTDCPP. While BR2_USE_MMU is guaranteed to be true because perl itself cannot be enabled if !BR2_USE_MMU, there is nothing that guarantees BR2_INSTALL_LIBSTDCPP and BR2_TOOLCHAIN_HAS_THREADS are true.
I fixed that by adding the appropriate dependencies, and adjusting the Config.in comment accordingly.
package/perl-dbd-mysql/Config.in line 10
Quoted 5 lines
package/perl-dbd-mysql/Config.in new file +5
-0+PERL_DBD_MYSQL_VERSION = 4.046 +PERL_DBD_MYSQL_SOURCE = DBD-mysql-$(PERL_DBD_MYSQL_VERSION).tar.gz +PERL_DBD_MYSQL_SITE = $(BR2_CPAN_MIRROR)/authors/id/C/CA/CAPTTOFU +PERL_DBD_MYSQL_DEPENDENCIES = host-perl-dbi perl-dbi mysql +PERL_DBD_MYSQL_CONF_OPTS += --mysql_config=$(STAGING_DIR)/usr/bin/mysql_config
Minor nit: the += here isn't really needed, a = was sufficient.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 3/18 perl-data-dump: new package
In reply to Christopher McCrory--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-data-dump/Config.in | 6 ++++++ package/perl-data-dump/perl-data-dump.hash | 6 ++++++ package/perl-data-dump/perl-data-dump.mk | 13 +++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 package/perl-data-dump/Config.in create mode 100644 package/perl-data-dump/perl-data-dump.hash create mode 100644 package/perl-data-dump/perl-data-dump.mk
DEVELOPERS +1 -0
@@ -486,6 +486,7 @@ F: package/perl-appconfig/ F: package/perl-astro-suntime/ F: package/perl-class-std/ F: package/perl-class-std-fast/ +F: package/perl-data-dump/ F: package/perl-data-optlist/ F: package/perl-data-uuid/ F: package/perl-date-manip/
package/Config.in +1 -0
@@ -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-dump/Config.in" source "package/perl-data-optlist/Config.in" source "package/perl-data-uuid/Config.in" source "package/perl-date-manip/Config.in"
package/perl-data-dump/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_PERL_DATA_DUMP + bool "perl-data-dump" + help + Pretty printing of data structures + + https://metacpan.org/release/Data-Dump
package/perl-data-dump/perl-data-dump.hash new file +6 -0
@@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 762c111e525c82ff23d62c90821b26e9 Data-Dump-1.23.tar.gz +sha256 af53b05ef1387b4cab4427e6789179283e4f0da8cf036e8db516ddb344512b65 Data-Dump-1.23.tar.gz + +# computed by scancpan +sha256 31d1b6482bcc3db87a38ad02065554f9d3bc13321d4ef8e96042464045e2abcf README
package/perl-data-dump/perl-data-dump.mk new file +13 -0
@@ -0,0 +1,13 @@ +################################################################################ +# +# perl-data-dump +# +################################################################################ + +PERL_DATA_DUMP_VERSION = 1.23 +PERL_DATA_DUMP_SOURCE = Data-Dump-$(PERL_DATA_DUMP_VERSION).tar.gz +PERL_DATA_DUMP_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GAAS +PERL_DATA_DUMP_LICENSE = Artistic or GPL-1.0+ +PERL_DATA_DUMP_LICENSE_FILES = README + +$(eval $(perl-package))
Signature · 1 line
2.14.4
PATCH 3/18 perl-data-dump: new package
2018-08-20 13:55 GMT+02:00 Christopher McCrory <[email protected]>:
Quoted 2 lines
Signed-off-by Christopher McCrory <[email protected]>
Quoted 88 lines
--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-data-dump/Config.in | 6 ++++++ package/perl-data-dump/perl-data-dump.hash | 6 ++++++ package/perl-data-dump/perl-data-dump.mk | 13 +++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 package/perl-data-dump/Config.in create mode 100644 package/perl-data-dump/perl-data-dump.hash create mode 100644 package/perl-data-dump/perl-data-dump.mkDEVELOPERS +1
-0@@ -486,6 +486,7 @@ F: package/perl-appconfig/ F: package/perl-astro-suntime/ F: package/perl-class-std/ F: package/perl-class-std-fast/ +F: package/perl-data-dump/ F: package/perl-data-optlist/ F: package/perl-data-uuid/ F: package/perl-date-manip/package/Config.in +1
-0@@ -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-dump/Config.in" source "package/perl-data-optlist/Config.in" source "package/perl-data-uuid/Config.in" source "package/perl-date-manip/Config.in"package/perl-data-dump/ renamed from package/perl-data-dump/Config.in +0
-0Config.in
new file mode 100644
index 0000000000..a44291baaepackage/perl-data-dump/Config.in new file +6
-0@@ -0,0 +1,6 @@ +config BR2_PACKAGE_PERL_DATA_DUMP + bool "perl-data-dump" + help + Pretty printing of data structures + + https://metacpan.org/release/Data-Dumppackage/perl-data-dump/perl-data-dump.hash new file +3
-0@@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 762c111e525c82ff23d62c90821b26e9 Data-Dump-1.23.tar.gz +sha256 af53b05ef1387b4cab4427e6789179283e4f0da8cf036e8db516ddb344512b65Data-Dump-1.23.tar.gz
package/perl-data-dump/perl-data-dump.hash new file +3
-0+ +# computed by scancpan +sha256 31d1b6482bcc3db87a38ad02065554f9d3bc13321d4ef8e96042464045e2abcfREADME
package/perl-data-dump/perl-data-dump.mk new file +1
-0@@ -0,0 +1,13 @@ +################################################################################
package/perl-data-dump/perl-data-dump.mk new file +4
-0+# +# perl-data-dump +# +################################################################################
package/perl-data-dump/perl-data-dump.mk new file +8
-1+ +PERL_DATA_DUMP_VERSION = 1.23 +PERL_DATA_DUMP_SOURCE = Data-Dump-$(PERL_DATA_DUMP_VERSION).tar.gz +PERL_DATA_DUMP_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GAAS +PERL_DATA_DUMP_LICENSE = Artistic or GPL-1.0+ +PERL_DATA_DUMP_LICENSE_FILES = README + +$(eval $(perl-package)) --2.14.4
Quoted 5 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180821/fba67f91/attachment.html>
Thomas Petazzoni
AppliedPATCH 3/18 perl-data-dump: new package
In reply to Christopher McCroryHello,
Quoted 11 lines · Christopher McCrory
Signed-off-by Christopher McCrory <[email protected]>--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-data-dump/Config.in | 6 ++++++ package/perl-data-dump/perl-data-dump.hash | 6 ++++++ package/perl-data-dump/perl-data-dump.mk | 13 +++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 package/perl-data-dump/Config.in create mode 100644 package/perl-data-dump/perl-data-dump.hash create mode 100644 package/perl-data-dump/perl-data-dump.mk
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
PATCH 4/18 perl-time-parsedate: new package
In reply to Christopher McCrory--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-time-parsedate/Config.in | 6 ++++++ package/perl-time-parsedate/perl-time-parsedate.hash | 6 ++++++ package/perl-time-parsedate/perl-time-parsedate.mk | 13 +++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 package/perl-time-parsedate/Config.in create mode 100644 package/perl-time-parsedate/perl-time-parsedate.hash create mode 100644 package/perl-time-parsedate/perl-time-parsedate.mk
DEVELOPERS +1 -0
@@ -505,6 +505,7 @@ F: package/perl-params-util/ F: package/perl-sub-install/ F: package/perl-sys-meminfo/ F: package/perl-sys-mmap/ +F: package/perl-time-parsedate/ N: Clayton Shotwell <[email protected]> F: package/audit/
package/Config.in +1 -0
@@ -732,6 +732,7 @@ menu "Perl libraries/modules" source "package/perl-sys-meminfo/Config.in" source "package/perl-sys-mmap/Config.in" source "package/perl-time-hires/Config.in" + source "package/perl-time-parsedate/Config.in" source "package/perl-timedate/Config.in" source "package/perl-try-tiny/Config.in" source "package/perl-uri/Config.in"
package/perl-time-parsedate/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_PERL_TIME_PARSEDATE + bool "perl-time-parsedate" + help + Parse and format time values + + https://metacpan.org/release/Time-ParseDate
package/perl-time-parsedate/perl-time-parsedate.hash new file +6 -0
@@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 9143d075278857d21c77467d26f1603b Time-ParseDate-2015.103.tar.gz +sha256 2c1a06235bf811813caac9eaa9daa71af758667cdf7b082cb59863220fcaeed1 Time-ParseDate-2015.103.tar.gz + +# computed by scancpan +sha256 a8f6d313ecc680934da33872f69e6f4fa64ad9840b016d4d4822e952e518a964 README
package/perl-time-parsedate/perl-time-parsedate.mk new file +13 -0
@@ -0,0 +1,13 @@ +################################################################################ +# +# perl-time-parsedate +# +################################################################################ + +PERL_TIME_PARSEDATE_VERSION = 2015.103 +PERL_TIME_PARSEDATE_SOURCE = Time-ParseDate-$(PERL_TIME_PARSEDATE_VERSION).tar.gz +PERL_TIME_PARSEDATE_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MU/MUIR/modules +PERL_TIME_PARSEDATE_LICENSE_FILES = README +PERL_TIME_PARSEDATE_LICENSE = unknown + +$(eval $(perl-package))
Signature · 1 line
2.14.4
PATCH 4/18 perl-time-parsedate: new package
Hello,
package/perl-time-parsedate/perl-time-parsedate.mk line 11
Quoted 5 lines · Christopher McCrory
package/perl-time-parsedate/perl-time-parsedate.mk new file +5
-0+PERL_TIME_PARSEDATE_VERSION = 2015.103 +PERL_TIME_PARSEDATE_SOURCE = Time-ParseDate-$(PERL_TIME_PARSEDATE_VERSION).tar.gz +PERL_TIME_PARSEDATE_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MU/MUIR/modules +PERL_TIME_PARSEDATE_LICENSE_FILES = README +PERL_TIME_PARSEDATE_LICENSE = unknown
Could you check with upstream what is the license ? An unknown license means you're not allow to redistribute it, which would be a bit annoying, no ?
Here is what Debian says about the license:
I.e:
License hereby granted for anyone to use, modify or redistribute this module at their own risk. Please feed useful changes back to cpan at dave.sharnoff.org.
So, "Time::ParseDate License" ?
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
PATCH 4/18 perl-time-parsedate: new package
Quoted 21 lines · Thomas Petazzoni
Hello,
Review
Quoted 2 lines · Christopher McCrory
(quoted diff) +2
-0+PERL_TIME_PARSEDATE_VERSION = 2015.103 +PERL_TIME_PARSEDATE_SOURCE = Time-ParseDate-$(PERL_TIME_PARSEDATE_VERSION).tar.gz
Quoted 1 line
+PERL_TIME_PARSEDATE_SITE = $(BR2_CPAN_MIRROR)/authors/id/
M/MU/MUIR/modules
package/perl-time-parsedate/perl-time-parsedate.mk line 11
Quoted 2 lines
package/perl-time-parsedate/perl-time-parsedate.mk new file +2
-0+PERL_TIME_PARSEDATE_LICENSE_FILES = README +PERL_TIME_PARSEDATE_LICENSE = unknownCould you check with upstream what is the license ? An unknown license means you're not allow to redistribute it, which would be a bit annoying, no ?
Here is what Debian says about the license:
https://metadata.ftp-master.debian.org/changelogs/main/
libt/libtime-parsedate-perl/libtime-parsedate-perl_2015.103-2_copyright
Quoted 10 lines
I.e:
License hereby granted for anyone to use, modify or redistribute this
module
at their own risk. Please feed useful changes back to
cpan at dave.sharnoff.org.So, "
Time::ParseDateLicense" ?
It looks like I missed putting this in the cover leter 0013-perl-time-parsedate-add-license.patch has
-PERL_TIME_PARSEDATE_LICENSE = unknown
+# https://fedoraproject.org/wiki/Licensing/TPDL
+PERL_TIME_PARSEDATE_LICENSE = Public Domain
THe URL has:
This is a very short permissive license found in the perl module Time::ParseDate. The request to "feed useful changes back" is interpreted as a polite request, not a requirement. It is Free and GPL compatible.
Copyright (C) 1996-2010 David Muir Sharnoff. Copyright (C) 2011 Google, Inc. License hereby granted for anyone to use, modify or redistribute this module at their own risk. Please feed useful changes back to cpan at dave.sharnoff.org .
If you want to change it locally to what you think is best before commiting and ignore 0013 , I'm good with that.
Quoted 6 lines
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering
https://bootlin.com
Signature · 7 lines
Christopher McCrory To the optimist, the glass is half full. To the pessimist, the glass is half empty. To the engineer, the glass is twice as big as it needs to be. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180820/53120560/attachment.html>
PATCH 4/18 perl-time-parsedate: new package
Hello,
Review
Quoted 7 lines · Christopher McCrory
It looks like I missed putting this in the cover leter 0013-perl-time-parsedate-add-license.patch has
(quoted diff) +2
-1-PERL_TIME_PARSEDATE_LICENSE = unknown +# https://fedoraproject.org/wiki/Licensing/TPDL +PERL_TIME_PARSEDATE_LICENSE = Public Domain
Why is this change part of a separate patch ? It should be inside the patch adding the perl-time-parsedate package.
Also, the license is not public domain. Fedora calls it TPDL, which stands for Time Parse Date License.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
PATCH 4/18 perl-time-parsedate: new package
Quoted 8 lines · Thomas Petazzoni
Hello,
Quoted 4 lines · Christopher McCrory
It looks like I missed putting this in the cover leter 0013-perl-time-parsedate-add-license.patch has
Quoted 7 lines
Review
Quoted 3 lines
(quoted diff) +2
-1-PERL_TIME_PARSEDATE_LICENSE = unknown +# https://fedoraproject.org/wiki/Licensing/TPDL +PERL_TIME_PARSEDATE_LICENSE = Public DomainWhy is this change part of a separate patch ? It should be inside the patch adding the perl-time-parsedate package.
I wasn't sure what would be best. It allows a followup patch to do the right thing.
Quoted 5 lines
Also, the license is not public domain. Fedora calls it TPDL, which stands for Time Parse Date License.
https://src.fedoraproject.org/rpms/perl-Time-ParseDate/blob/master/f/perl-Time-ParseDate.spec
Summary: Perl modules for parsing dates and times
# See https://fedoraproject.org/wiki/Licensing/TPDL
License: TPDL and Public Domain URL: https://metacpan.org/release/Time-ParseDate
Arg, that should have also been in the cover letter, Somehow I missed it during copy and paste.
Thomas
Quoted 5 lines
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering
https://bootlin.com
Signature · 7 lines
Christopher McCrory To the optimist, the glass is half full. To the pessimist, the glass is half empty. To the engineer, the glass is twice as big as it needs to be. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180820/3585bf7f/attachment.html>
PATCH 4/18 perl-time-parsedate: new package
In reply to Christopher McCroryHello,
Quoted 11 lines · Christopher McCrory
Signed-off-by Christopher McCrory <[email protected]>--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-time-parsedate/Config.in | 6 ++++++ package/perl-time-parsedate/perl-time-parsedate.hash | 6 ++++++ package/perl-time-parsedate/perl-time-parsedate.mk | 13 +++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 package/perl-time-parsedate/Config.in create mode 100644 package/perl-time-parsedate/perl-time-parsedate.hash create mode 100644 package/perl-time-parsedate/perl-time-parsedate.mk
I have applied this patch, after fixing the license details, see below.
package/perl-time-parsedate/perl-time-parsedate.hash line 6
Quoted 2 lines
package/perl-time-parsedate/perl-time-parsedate.hash new file +2
-0+# computed by scancpan +sha256 a8f6d313ecc680934da33872f69e6f4fa64ad9840b016d4d4822e952e518a964 README
This README file contained nothing that is useful from a license point of view.
package/perl-time-parsedate/perl-time-parsedate.mk line 11
Quoted 2 lines
package/perl-time-parsedate/perl-time-parsedate.mk new file +2
-0+PERL_TIME_PARSEDATE_LICENSE_FILES = README +PERL_TIME_PARSEDATE_LICENSE = unknown
I have changed this to:
+PERL_TIME_PARSEDATE_LICENSE = Time Parse Date License, Public Domain +PERL_TIME_PARSEDATE_LICENSE_FILES = lib/Time/JulianDay.pm lib/Time/Timezone.pm
Indeed, most files are under the special "Time Parse Date License", except Timezone.pm, which is in the public domain. I've updated the .hash file to include the hashes of JulianDay.pm and Timezone.pm.
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 5/18 perl-x10: new package
In reply to Christopher McCrory--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-x10/Config.in | 13 +++++++++++++ package/perl-x10/perl-x10.hash | 6 ++++++ package/perl-x10/perl-x10.mk | 14 ++++++++++++++ 5 files changed, 35 insertions(+) create mode 100644 package/perl-x10/Config.in create mode 100644 package/perl-x10/perl-x10.hash create mode 100644 package/perl-x10/perl-x10.mk
DEVELOPERS +1 -0
@@ -506,6 +506,7 @@ F: package/perl-sub-install/ F: package/perl-sys-meminfo/ F: package/perl-sys-mmap/ F: package/perl-time-parsedate/ +F: package/perl-x10/ N: Clayton Shotwell <[email protected]> F: package/audit/
package/Config.in +1 -0
@@ -737,6 +737,7 @@ menu "Perl libraries/modules" source "package/perl-try-tiny/Config.in" source "package/perl-uri/Config.in" source "package/perl-www-robotrules/Config.in" + source "package/perl-x10/Config.in" source "package/perl-xml-libxml/Config.in" source "package/perl-xml-namespacesupport/Config.in" source "package/perl-xml-sax/Config.in"
package/perl-x10/Config.in new file +13 -0
@@ -0,0 +1,13 @@ +config BR2_PACKAGE_PERL_X10 + bool "perl-x10" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_PERL_ASTRO_SUNTIME + select BR2_PACKAGE_PERL_DEVICE_SERIALPORT + select BR2_PACKAGE_PERL_TIME_PARSEDATE + help + creates a server used to receive events from an x10 client + + https://metacpan.org/release/X10 + +comment "perl-x10 needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS
package/perl-x10/perl-x10.hash new file +6 -0
@@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 20dcca2dfb978bfed3043276aa3481e5 X10-0.04.tar.gz +sha256 3dcee9d95614b2db70de608e933d42817f93fccd5b1f2f782b0846af487d9134 X10-0.04.tar.gz + +# computed by scancpan +sha256 e6f320afa82517d663be348dd2515ecb1454a7c851ba5590f13aca01d219be80 README
package/perl-x10/perl-x10.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# perl-x10 +# +################################################################################ + +PERL_X10_VERSION = 0.04 +PERL_X10_SOURCE = X10-$(PERL_X10_VERSION).tar.gz +PERL_X10_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RO/ROBF +PERL_X10_DEPENDENCIES = perl-astro-suntime perl-device-serialport perl-time-parsedate +PERL_X10_LICENSE = GPL-3.0 +PERL_X10_LICENSE_FILES = README + +$(eval $(perl-package))
Signature · 1 line
2.14.4
PATCH 5/18 perl-x10: new package
2018-08-20 13:55 GMT+02:00 Christopher McCrory <[email protected]>:
Quoted 2 lines
Signed-off-by Christopher McCrory <[email protected]>
but depends on perl-time-parsedate
Quoted 95 lines
--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-x10/Config.in | 13 +++++++++++++ package/perl-x10/perl-x10.hash | 6 ++++++ package/perl-x10/perl-x10.mk | 14 ++++++++++++++ 5 files changed, 35 insertions(+) create mode 100644 package/perl-x10/Config.in create mode 100644 package/perl-x10/perl-x10.hash create mode 100644 package/perl-x10/perl-x10.mkDEVELOPERS +1
-0@@ -506,6 +506,7 @@ F: package/perl-sub-install/ F: package/perl-sys-meminfo/ F: package/perl-sys-mmap/ F: package/perl-time-parsedate/ +F: package/perl-x10/ N: Clayton Shotwell <[email protected]> F: package/audit/package/Config.in +1
-0@@ -737,6 +737,7 @@ menu "Perl libraries/modules" source "package/perl-try-tiny/Config.in" source "package/perl-uri/Config.in" source "package/perl-www-robotrules/Config.in" + source "package/perl-x10/Config.in" source "package/perl-xml-libxml/Config.in" source "package/perl-xml-namespacesupport/Config.in" source "package/perl-xml-sax/Config.in"package/perl-x10/Config.in new file +13
-0@@ -0,0 +1,13 @@ +config BR2_PACKAGE_PERL_X10 + bool "perl-x10" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_PERL_ASTRO_SUNTIME + select BR2_PACKAGE_PERL_DEVICE_SERIALPORT + select BR2_PACKAGE_PERL_TIME_PARSEDATE + help + creates a server used to receive events from an x10 client + + https://metacpan.org/release/X10 + +comment "perl-x10 needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBSpackage/perl-x10/perl-x10. renamed from package/perl-x10/perl-x10.hash +0
-0hash
new file mode 100644
index 0000000000..5411390e3epackage/perl-x10/perl-x10.hash new file +3
-0@@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 20dcca2dfb978bfed3043276aa3481e5 X10-0.04.tar.gz +sha256 3dcee9d95614b2db70de608e933d42817f93fccd5b1f2f782b0846af487d9134X10-0.04.tar.gz
package/perl-x10/perl-x10.hash new file +3
-0+ +# computed by scancpan +sha256 e6f320afa82517d663be348dd2515ecb1454a7c851ba5590f13aca01d219be80README
package/perl-x10/perl-x10.mk new file +1
-0@@ -0,0 +1,14 @@ +################################################################################
package/perl-x10/perl-x10.mk new file +4
-0+# +# perl-x10 +# +################################################################################
package/perl-x10/perl-x10.mk new file +5
-0+ +PERL_X10_VERSION = 0.04 +PERL_X10_SOURCE = X10-$(PERL_X10_VERSION).tar.gz +PERL_X10_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RO/ROBF +PERL_X10_DEPENDENCIES = perl-astro-suntime perl-device-serialportperl-time-parsedate
package/perl-x10/perl-x10.mk new file +4
-1+PERL_X10_LICENSE = GPL-3.0 +PERL_X10_LICENSE_FILES = README + +$(eval $(perl-package)) --2.14.4
Quoted 5 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180821/18d1781d/attachment.html>
PATCH 5/18 perl-x10: new package
In reply to Christopher McCroryHello Christopher,
Quoted 11 lines · Christopher McCrory
Signed-off-by Christopher McCrory <[email protected]>--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-x10/Config.in | 13 +++++++++++++ package/perl-x10/perl-x10.hash | 6 ++++++ package/perl-x10/perl-x10.mk | 14 ++++++++++++++ 5 files changed, 35 insertions(+) create mode 100644 package/perl-x10/Config.in create mode 100644 package/perl-x10/perl-x10.hash create mode 100644 package/perl-x10/perl-x10.mk
I have applied your patch, but I have a few questions. I have also added Fran?ois in Cc, he can probably help.
package/perl-x10/Config.in line 3
Quoted 9 lines
package/perl-x10/Config.in new file +3
-0@@ -0,0 +1,13 @@ +config BR2_PACKAGE_PERL_X10 + bool "perl-x10" + depends on !BR2_STATIC_LIBS
Why do we have this dependency ? It seems to be a pure Perl module, what makes it require dynamic library support ?
package/perl-x10/Config.in line 7
Quoted 4 lines
package/perl-x10/Config.in new file +4
-0+PERL_X10_VERSION = 0.04 +PERL_X10_SOURCE = X10-$(PERL_X10_VERSION).tar.gz +PERL_X10_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RO/ROBF +PERL_X10_DEPENDENCIES = perl-astro-suntime perl-device-serialport perl-time-parsedate
Are these really build-time dependencies ?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 6/18 perl-sys-cpu: new package
In reply to Christopher McCrory--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-sys-cpu/Config.in | 5 +++++ package/perl-sys-cpu/perl-sys-cpu.hash | 2 ++ package/perl-sys-cpu/perl-sys-cpu.mk | 13 +++++++++++++ 5 files changed, 22 insertions(+) create mode 100644 package/perl-sys-cpu/Config.in create mode 100644 package/perl-sys-cpu/perl-sys-cpu.hash create mode 100644 package/perl-sys-cpu/perl-sys-cpu.mk
DEVELOPERS +1 -0
@@ -503,6 +503,7 @@ F: package/perl-module-runtime/ F: package/perl-number-bytes-human/ F: package/perl-params-util/ F: package/perl-sub-install/ +F: package/perl-sys-cpu/ F: package/perl-sys-meminfo/ F: package/perl-sys-mmap/ F: package/perl-time-parsedate/
package/Config.in +1 -0
@@ -729,6 +729,7 @@ menu "Perl libraries/modules" source "package/perl-params-util/Config.in" source "package/perl-path-tiny/Config.in" source "package/perl-sub-install/Config.in" + source "package/perl-sys-cpu/Config.in" source "package/perl-sys-meminfo/Config.in" source "package/perl-sys-mmap/Config.in" source "package/perl-time-hires/Config.in"
package/perl-sys-cpu/Config.in new file +5 -0
@@ -0,0 +1,5 @@ +config BR2_PACKAGE_PERL_SYS_CPU + bool "perl-sys-cpu" + help + perl-sys-cpu +
package/perl-sys-cpu/perl-sys-cpu.hash new file +2 -0
@@ -0,0 +1,2 @@ +# locally computed +sha256 ca0ec47ab24070e3040e5075337cfc69721362d9bef50f6992072efe644d4d26 Sys-CPU-0.52.tar.gz
package/perl-sys-cpu/perl-sys-cpu.mk new file +13 -0
@@ -0,0 +1,13 @@ +################################################################################ +# +# perl-sys-cpu +# +################################################################################ + +PERL_SYS_CPU_VERSION = 0.52 +PERL_SYS_CPU_SOURCE = Sys-CPU-$(PERL_SYS_CPU_VERSION).tar.gz +PERL_SYS_CPU_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MK/MKODERER +PERL_SYS_CPU_LICENSE = Artistic or GPL-1.0+ # as stated in README file +PERL_SYS_CPU_LICENSE_FILES = README + +$(eval $(perl-package))
Signature · 1 line
2.14.4
PATCH 6/18 perl-sys-cpu: new package
2018-08-20 13:55 GMT+02:00 Christopher McCrory <[email protected]>:
Quoted 2 lines
Signed-off-by Christopher McCrory <[email protected]>
Quoted 82 lines
--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-sys-cpu/Config.in | 5 +++++ package/perl-sys-cpu/perl-sys-cpu.hash | 2 ++ package/perl-sys-cpu/perl-sys-cpu.mk | 13 +++++++++++++ 5 files changed, 22 insertions(+) create mode 100644 package/perl-sys-cpu/Config.in create mode 100644 package/perl-sys-cpu/perl-sys-cpu.hash create mode 100644 package/perl-sys-cpu/perl-sys-cpu.mkDEVELOPERS +1
-0@@ -503,6 +503,7 @@ F: package/perl-module-runtime/ F: package/perl-number-bytes-human/ F: package/perl-params-util/ F: package/perl-sub-install/ +F: package/perl-sys-cpu/ F: package/perl-sys-meminfo/ F: package/perl-sys-mmap/ F: package/perl-time-parsedate/package/Config.in +1
-0@@ -729,6 +729,7 @@ menu "Perl libraries/modules" source "package/perl-params-util/Config.in" source "package/perl-path-tiny/Config.in" source "package/perl-sub-install/Config.in" + source "package/perl-sys-cpu/Config.in" source "package/perl-sys-meminfo/Config.in" source "package/perl-sys-mmap/Config.in" source "package/perl-time-hires/Config.in"package/perl-sys-cpu/Config. renamed from package/perl-sys-cpu/Config.in +0
-0in
new file mode 100644
index 0000000000..d5fff5b849package/perl-sys-cpu/Config.in new file +5
-0@@ -0,0 +1,5 @@ +config BR2_PACKAGE_PERL_SYS_CPU + bool "perl-sys-cpu" + help + perl-sys-cpu +package/perl-sys-cpu/perl-sys-cpu.hash new file +2
-0@@ -0,0 +1,2 @@ +# locally computed +sha256 ca0ec47ab24070e3040e5075337cfc69721362d9bef50f6992072efe644d4d26Sys-CPU-0.52.tar.gz
package/perl-sys-cpu/ renamed from package/perl-sys-cpu/perl-sys-cpu.mk +0
-0perl-sys-cpu.mk
new file mode 100644
index 0000000000..efc9ee814bpackage/perl-sys-cpu/perl-sys-cpu.mk new file +1
-0@@ -0,0 +1,13 @@ +################################################################################
package/perl-sys-cpu/perl-sys-cpu.mk new file +4
-0+# +# perl-sys-cpu +# +################################################################################
package/perl-sys-cpu/perl-sys-cpu.mk new file +8
-1+ +PERL_SYS_CPU_VERSION = 0.52 +PERL_SYS_CPU_SOURCE = Sys-CPU-$(PERL_SYS_CPU_VERSION).tar.gz +PERL_SYS_CPU_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MK/MKODERER +PERL_SYS_CPU_LICENSE = Artistic or GPL-1.0+ # as stated in README file +PERL_SYS_CPU_LICENSE_FILES = README + +$(eval $(perl-package)) --2.14.4
Quoted 5 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180821/34f0c4d2/attachment.html>
PATCH 6/18 perl-sys-cpu: new package
In reply to Christopher McCroryHello,
Quoted 1 line · Christopher McCrory
Signed-off-by Christopher McCrory <[email protected]>
I've applied, but I have a number of questions/suggestions again:
(1) This package builds some native code (CPU.xs), but it doesn't have the !BR2_STATIC_LIBS dependency. Is this expected ?
(2) The README file says "For more details, see the full text of the licenses in the directory LICENSES", but there is no such directory. Could you report this upstream?
(3) https://github.com/mzsanford/perl-sys-cpu is a Github repo with slightly more recent version. The name of the author "mzsanford" is the same as the one listed at
https://metacpan.org/pod/release/MKODERER/Sys-CPU-0.52/CPU.pm.
Maybe you should contact the upstream author to report (2) and ask to update CPAN with the latest version of the module ?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 7/18 perl-dist-checkconflicts: new package
In reply to Christopher McCrory--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-dist-checkconflicts/Config.in | 7 +++++++ .../perl-dist-checkconflicts/perl-dist-checkconflicts.hash | 6 ++++++ .../perl-dist-checkconflicts/perl-dist-checkconflicts.mk | 14 ++++++++++++++ 5 files changed, 29 insertions(+) create mode 100644 package/perl-dist-checkconflicts/Config.in create mode 100644 package/perl-dist-checkconflicts/perl-dist-checkconflicts.hash create mode 100644 package/perl-dist-checkconflicts/perl-dist-checkconflicts.mk
DEVELOPERS +1 -0
@@ -493,6 +493,7 @@ F: package/perl-date-manip/ F: package/perl-dbd-mysql/ F: package/perl-dbi/ F: package/perl-device-serialport/ +F: package/perl-dist-checkconflicts/ F: package/perl-file-slurp/ F: package/perl-io-interface/ F: package/perl-io-socket-multicast/
package/Config.in +1 -0
@@ -685,6 +685,7 @@ menu "Perl libraries/modules" source "package/perl-digest-hmac/Config.in" source "package/perl-digest-md5/Config.in" source "package/perl-digest-sha1/Config.in" + source "package/perl-dist-checkconflicts/Config.in" source "package/perl-encode-detect/Config.in" source "package/perl-encode-locale/Config.in" source "package/perl-file-listing/Config.in"
package/perl-dist-checkconflicts/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_PERL_DIST_CHECKCONFLICTS + bool "perl-dist-checkconflicts" + select BR2_PACKAGE_PERL_MODULE_RUNTIME + help + declare version conflicts for your dist + + http://metacpan.org/release/Dist-CheckConflicts
package/perl-dist-checkconflicts/perl-dist-checkconflicts.hash new file +6 -0
@@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 c8725a92b9169708b0f63036812070f2 Dist-CheckConflicts-0.11.tar.gz +sha256 ea844b9686c94d666d9d444321d764490b2cde2f985c4165b4c2c77665caedc4 Dist-CheckConflicts-0.11.tar.gz + +# computed by scancpan +sha256 b4e0637ed96008ddcbf7e0ddeb73967df3d0b4dc62a6b7fdb86eac37018cb12e LICENSE
package/perl-dist-checkconflicts/perl-dist-checkconflicts.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# perl-dist-checkconflicts +# +################################################################################ + +PERL_DIST_CHECKCONFLICTS_VERSION = 0.11 +PERL_DIST_CHECKCONFLICTS_SOURCE = Dist-CheckConflicts-$(PERL_DIST_CHECKCONFLICTS_VERSION).tar.gz +PERL_DIST_CHECKCONFLICTS_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DO/DOY +PERL_DIST_CHECKCONFLICTS_DEPENDENCIES = perl-module-runtime +PERL_DIST_CHECKCONFLICTS_LICENSE = Artistic or GPL-1.0+ +PERL_DIST_CHECKCONFLICTS_LICENSE_FILES = LICENSE + +$(eval $(perl-package))
Signature · 1 line
2.14.4
PATCH 7/18 perl-dist-checkconflicts: new package
2018-08-20 13:55 GMT+02:00 Christopher McCrory <[email protected]>:
Quoted 2 lines
Signed-off-by Christopher McCrory <[email protected]>
---
Quoted 93 lines
DEVELOPERS | 1 + package/Config.in | 1 + package/perl-dist-checkconflicts/Config.in | 7 +++++++ .../perl-dist-checkconflicts/perl-dist-checkconflicts.hash | 6 ++++++ .../perl-dist-checkconflicts/perl-dist-checkconflicts.mk | 14 ++++++++++++++ 5 files changed, 29 insertions(+) create mode 100644 package/perl-dist-checkconflicts/Config.in create mode 100644 package/perl-dist-checkconflicts/perl-dist- checkconflicts.hash create mode 100644 package/perl-dist-checkconflicts/perl-dist-checkconflicts.mk
DEVELOPERS +1
-0@@ -493,6 +493,7 @@ F: package/perl-date-manip/ F: package/perl-dbd-mysql/ F: package/perl-dbi/ F: package/perl-device-serialport/ +F: package/perl-dist-checkconflicts/ F: package/perl-file-slurp/ F: package/perl-io-interface/ F: package/perl-io-socket-multicast/package/Config.in +1
-0@@ -685,6 +685,7 @@ menu "Perl libraries/modules" source "package/perl-digest-hmac/Config.in" source "package/perl-digest-md5/Config.in" source "package/perl-digest-sha1/Config.in" + source "package/perl-dist-checkconflicts/Config.in" source "package/perl-encode-detect/Config.in" source "package/perl-encode-locale/Config.in" source "package/perl-file-listing/Config.in"package/perl-dist-checkconflicts/Config.in new file +7
-0@@ -0,0 +1,7 @@ +config BR2_PACKAGE_PERL_DIST_CHECKCONFLICTS + bool "perl-dist-checkconflicts" + select BR2_PACKAGE_PERL_MODULE_RUNTIME + help + declare version conflicts for your dist + + http://metacpan.org/release/Dist-CheckConflictspackage/perl-dist-checkconflicts/perl-dist-checkconflicts.hash new file +3
-0@@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 c8725a92b9169708b0f63036812070f2 Dist-CheckConflicts-0.11.tar.gz +sha256 ea844b9686c94d666d9d444321d764490b2cde2f985c4165b4c2c77665caedc4Dist-CheckConflicts-0.11.tar.gz
package/perl-dist-checkconflicts/perl-dist-checkconflicts.hash new file +3
-0+ +# computed by scancpan +sha256 b4e0637ed96008ddcbf7e0ddeb73967df3d0b4dc62a6b7fdb86eac37018cb12eLICENSE
package/perl-dist-checkconflicts/perl-dist-checkconflicts.mk new file +1
-0@@ -0,0 +1,14 @@ +################################################################################
package/perl-dist-checkconflicts/perl-dist-checkconflicts.mk new file +4
-0+# +# perl-dist-checkconflicts +# +################################################################################
package/perl-dist-checkconflicts/perl-dist-checkconflicts.mk new file +3
-0+ +PERL_DIST_CHECKCONFLICTS_VERSION = 0.11 +PERL_DIST_CHECKCONFLICTS_SOURCE = Dist-CheckConflicts-$(PERL_DIST_CHECKCONFLICTS_VERSION).tar.gz
package/perl-dist-checkconflicts/perl-dist-checkconflicts.mk new file +6
-1+PERL_DIST_CHECKCONFLICTS_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DO/DOY +PERL_DIST_CHECKCONFLICTS_DEPENDENCIES = perl-module-runtime +PERL_DIST_CHECKCONFLICTS_LICENSE = Artistic or GPL-1.0+ +PERL_DIST_CHECKCONFLICTS_LICENSE_FILES = LICENSE + +$(eval $(perl-package)) --2.14.4
Quoted 5 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180821/bbf2e148/attachment-0001.html>
Thomas Petazzoni
AppliedPATCH 7/18 perl-dist-checkconflicts: new package
In reply to Christopher McCroryHello,
Quoted 11 lines · Christopher McCrory
Signed-off-by Christopher McCrory <[email protected]>--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-dist-checkconflicts/Config.in | 7 +++++++ .../perl-dist-checkconflicts/perl-dist-checkconflicts.hash | 6 ++++++ .../perl-dist-checkconflicts/perl-dist-checkconflicts.mk | 14 ++++++++++++++ 5 files changed, 29 insertions(+) create mode 100644 package/perl-dist-checkconflicts/Config.in create mode 100644 package/perl-dist-checkconflicts/perl-dist-checkconflicts.hash create mode 100644 package/perl-dist-checkconflicts/perl-dist-checkconflicts.mk
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
PATCH 8/18 perl-package-stash: new package
In reply to Christopher McCrory--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-package-stash/Config.in | 8 ++++++++ package/perl-package-stash/perl-package-stash.hash | 6 ++++++ package/perl-package-stash/perl-package-stash.mk | 14 ++++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 package/perl-package-stash/Config.in create mode 100644 package/perl-package-stash/perl-package-stash.hash create mode 100644 package/perl-package-stash/perl-package-stash.mk
DEVELOPERS +1 -0
@@ -502,6 +502,7 @@ F: package/perl-mime-tools/ F: package/perl-module-implementation/ F: package/perl-module-runtime/ F: package/perl-number-bytes-human/ +F: package/perl-package-stash/ F: package/perl-params-util/ F: package/perl-sub-install/ F: package/perl-sys-cpu/
package/Config.in +1 -0
@@ -727,6 +727,7 @@ menu "Perl libraries/modules" source "package/perl-net-telnet/Config.in" source "package/perl-netaddr-ip/Config.in" source "package/perl-number-bytes-human/Config.in" + source "package/perl-package-stash/Config.in" source "package/perl-params-util/Config.in" source "package/perl-path-tiny/Config.in" source "package/perl-sub-install/Config.in"
package/perl-package-stash/Config.in new file +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_PERL_PACKAGE_STASH + bool "perl-package-stash" + select BR2_PACKAGE_PERL_DIST_CHECKCONFLICTS + select BR2_PACKAGE_PERL_MODULE_IMPLEMENTATION + help + routines for manipulating stashes + + http://metacpan.org/release/Package-Stash
package/perl-package-stash/perl-package-stash.hash new file +6 -0
@@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 7e47a8261312e1cf3d12bd2007916b66 Package-Stash-0.37.tar.gz +sha256 06ab05388f9130cd377c0e1d3e3bafeed6ef6a1e22104571a9e1d7bfac787b2c Package-Stash-0.37.tar.gz + +# computed by scancpan +sha256 b4e0637ed96008ddcbf7e0ddeb73967df3d0b4dc62a6b7fdb86eac37018cb12e LICENSE
package/perl-package-stash/perl-package-stash.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# perl-package-stash +# +################################################################################ + +PERL_PACKAGE_STASH_VERSION = 0.37 +PERL_PACKAGE_STASH_SOURCE = Package-Stash-$(PERL_PACKAGE_STASH_VERSION).tar.gz +PERL_PACKAGE_STASH_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DO/DOY +PERL_PACKAGE_STASH_DEPENDENCIES = perl-dist-checkconflicts perl-module-implementation +PERL_PACKAGE_STASH_LICENSE = Artistic or GPL-1.0+ +PERL_PACKAGE_STASH_LICENSE_FILES = LICENSE + +$(eval $(perl-package))
Signature · 1 line
2.14.4
PATCH 8/18 perl-package-stash: new package
2018-08-20 13:55 GMT+02:00 Christopher McCrory <[email protected]>:
Quoted 2 lines
Signed-off-by Christopher McCrory <[email protected]>
Quoted 93 lines
--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-package-stash/Config.in | 8 ++++++++ package/perl-package-stash/perl-package-stash.hash | 6 ++++++ package/perl-package-stash/perl-package-stash.mk | 14 ++++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 package/perl-package-stash/Config.in create mode 100644 package/perl-package-stash/perl-package-stash.hash create mode 100644 package/perl-package-stash/perl-package-stash.mkDEVELOPERS +1
-0@@ -502,6 +502,7 @@ F: package/perl-mime-tools/ F: package/perl-module-implementation/ F: package/perl-module-runtime/ F: package/perl-number-bytes-human/ +F: package/perl-package-stash/ F: package/perl-params-util/ F: package/perl-sub-install/ F: package/perl-sys-cpu/package/Config.in +1
-0@@ -727,6 +727,7 @@ menu "Perl libraries/modules" source "package/perl-net-telnet/Config.in" source "package/perl-netaddr-ip/Config.in" source "package/perl-number-bytes-human/Config.in" + source "package/perl-package-stash/Config.in" source "package/perl-params-util/Config.in" source "package/perl-path-tiny/Config.in" source "package/perl-sub-install/Config.in"package/perl-package-stash/Config.in new file +8
-0@@ -0,0 +1,8 @@ +config BR2_PACKAGE_PERL_PACKAGE_STASH + bool "perl-package-stash" + select BR2_PACKAGE_PERL_DIST_CHECKCONFLICTS + select BR2_PACKAGE_PERL_MODULE_IMPLEMENTATION + help + routines for manipulating stashes + + http://metacpan.org/release/Package-Stashpackage/perl-package-stash/perl-package-stash.hash new file +3
-0@@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 7e47a8261312e1cf3d12bd2007916b66 Package-Stash-0.37.tar.gz +sha256 06ab05388f9130cd377c0e1d3e3bafeed6ef6a1e22104571a9e1d7bfac787b2cPackage-Stash-0.37.tar.gz
package/perl-package-stash/perl-package-stash.hash new file +3
-0+ +# computed by scancpan +sha256 b4e0637ed96008ddcbf7e0ddeb73967df3d0b4dc62a6b7fdb86eac37018cb12eLICENSE
package/perl-package-stash/perl-package-stash.mk new file +1
-0@@ -0,0 +1,14 @@ +################################################################################
package/perl-package-stash/perl-package-stash.mk new file +4
-0+# +# perl-package-stash +# +################################################################################
package/perl-package-stash/perl-package-stash.mk new file +3
-0+ +PERL_PACKAGE_STASH_VERSION = 0.37 +PERL_PACKAGE_STASH_SOURCE = Package-Stash-$(PERL_PACKAGE_STASH_VERSION).tar.gz
package/perl-package-stash/perl-package-stash.mk new file +2
-0+PERL_PACKAGE_STASH_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DO/DOY +PERL_PACKAGE_STASH_DEPENDENCIES = perl-dist-checkconflictsperl-module-implementation
package/perl-package-stash/perl-package-stash.mk new file +4
-1+PERL_PACKAGE_STASH_LICENSE = Artistic or GPL-1.0+ +PERL_PACKAGE_STASH_LICENSE_FILES = LICENSE + +$(eval $(perl-package)) --2.14.4
Quoted 5 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180821/32493785/attachment.html>
Thomas Petazzoni
AppliedPATCH 8/18 perl-package-stash: new package
In reply to Christopher McCroryHello,
Quoted 11 lines · Christopher McCrory
Signed-off-by Christopher McCrory <[email protected]>--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-package-stash/Config.in | 8 ++++++++ package/perl-package-stash/perl-package-stash.hash | 6 ++++++ package/perl-package-stash/perl-package-stash.mk | 14 ++++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 package/perl-package-stash/Config.in create mode 100644 package/perl-package-stash/perl-package-stash.hash create mode 100644 package/perl-package-stash/perl-package-stash.mk
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
PATCH 9/18 perl-class-load: new package
In reply to Christopher McCrory--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-class-load/Config.in | 15 +++++++++++++++ package/perl-class-load/perl-class-load.hash | 6 ++++++ package/perl-class-load/perl-class-load.mk | 14 ++++++++++++++ 5 files changed, 37 insertions(+) create mode 100644 package/perl-class-load/Config.in create mode 100644 package/perl-class-load/perl-class-load.hash create mode 100644 package/perl-class-load/perl-class-load.mk
DEVELOPERS +1 -0
@@ -484,6 +484,7 @@ F: package/targetcli-fb/ N: Christopher McCrory <[email protected]> F: package/perl-appconfig/ F: package/perl-astro-suntime/ +F: package/perl-class-load/ F: package/perl-class-std/ F: package/perl-class-std-fast/ F: package/perl-data-dump/
package/Config.in +1 -0
@@ -667,6 +667,7 @@ if BR2_PACKAGE_PERL menu "Perl libraries/modules" source "package/perl-appconfig/Config.in" source "package/perl-astro-suntime/Config.in" + source "package/perl-class-load/Config.in" source "package/perl-class-std/Config.in" source "package/perl-class-std-fast/Config.in" source "package/perl-convert-asn1/Config.in"
package/perl-class-load/Config.in new file +15 -0
@@ -0,0 +1,15 @@ +config BR2_PACKAGE_PERL_CLASS_LOAD + bool "perl-class-load" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_PERL_DATA_OPTLIST + select BR2_PACKAGE_PERL_MODULE_IMPLEMENTATION + select BR2_PACKAGE_PERL_MODULE_RUNTIME + select BR2_PACKAGE_PERL_PACKAGE_STASH + select BR2_PACKAGE_PERL_TRY_TINY + help + A working (require "Class::Name") and more + + https://github.com/moose/Class-Load + +comment "perl-class-load needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS
package/perl-class-load/perl-class-load.hash new file +6 -0
@@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 e4c831c08df592ce8dfee0c7cfc12fd7 Class-Load-0.25.tar.gz +sha256 2a48fa779b5297e56156380e8b32637c6c58decb4f4a7f3c7350523e11275f8f Class-Load-0.25.tar.gz + +# computed by scancpan +sha256 dc030e63f20035291b90d09c2c40f296224e85878caf829ea981fc2f10910f9d LICENSE
package/perl-class-load/perl-class-load.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# perl-class-load +# +################################################################################ + +PERL_CLASS_LOAD_VERSION = 0.25 +PERL_CLASS_LOAD_SOURCE = Class-Load-$(PERL_CLASS_LOAD_VERSION).tar.gz +PERL_CLASS_LOAD_SITE = $(BR2_CPAN_MIRROR)/authors/id/E/ET/ETHER +PERL_CLASS_LOAD_DEPENDENCIES = perl-data-optlist perl-module-implementation perl-module-runtime perl-package-stash perl-try-tiny +PERL_CLASS_LOAD_LICENSE = Artistic or GPL-1.0+ +PERL_CLASS_LOAD_LICENSE_FILES = LICENSE + +$(eval $(perl-package))
Signature · 1 line
2.14.4
PATCH 9/18 perl-class-load: new package
2018-08-20 13:55 GMT+02:00 Christopher McCrory <[email protected]>:
Quoted 2 lines
Signed-off-by Christopher McCrory <[email protected]>
Quoted 100 lines
--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-class-load/Config.in | 15 +++++++++++++++ package/perl-class-load/perl-class-load.hash | 6 ++++++ package/perl-class-load/perl-class-load.mk | 14 ++++++++++++++ 5 files changed, 37 insertions(+) create mode 100644 package/perl-class-load/Config.in create mode 100644 package/perl-class-load/perl-class-load.hash create mode 100644 package/perl-class-load/perl-class-load.mkDEVELOPERS +1
-0@@ -484,6 +484,7 @@ F: package/targetcli-fb/ N: Christopher McCrory <[email protected]> F: package/perl-appconfig/ F: package/perl-astro-suntime/ +F: package/perl-class-load/ F: package/perl-class-std/ F: package/perl-class-std-fast/ F: package/perl-data-dump/package/Config.in +1
-0@@ -667,6 +667,7 @@ if BR2_PACKAGE_PERL menu "Perl libraries/modules" source "package/perl-appconfig/Config.in" source "package/perl-astro-suntime/Config.in" + source "package/perl-class-load/Config.in" source "package/perl-class-std/Config.in" source "package/perl-class-std-fast/Config.in" source "package/perl-convert-asn1/Config.in"package/perl-class-load/ renamed from package/perl-class-load/Config.in +0
-0Config.in
new file mode 100644
index 0000000000..fef9431e49package/perl-class-load/Config.in new file +15
-0@@ -0,0 +1,15 @@ +config BR2_PACKAGE_PERL_CLASS_LOAD + bool "perl-class-load" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_PERL_DATA_OPTLIST + select BR2_PACKAGE_PERL_MODULE_IMPLEMENTATION + select BR2_PACKAGE_PERL_MODULE_RUNTIME + select BR2_PACKAGE_PERL_PACKAGE_STASH + select BR2_PACKAGE_PERL_TRY_TINY + help + A working (require "Class::Name") and more + + https://github.com/moose/Class-Load + +comment "perl-class-load needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBSpackage/perl-class-load/perl-class-load.hash new file +3
-0@@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 e4c831c08df592ce8dfee0c7cfc12fd7 Class-Load-0.25.tar.gz +sha256 2a48fa779b5297e56156380e8b32637c6c58decb4f4a7f3c7350523e11275f8fClass-Load-0.25.tar.gz
package/perl-class-load/perl-class-load.hash new file +3
-0+ +# computed by scancpan +sha256 dc030e63f20035291b90d09c2c40f296224e85878caf829ea981fc2f10910f9dLICENSE
package/perl-class-load/perl-class-load.mk new file +1
-0@@ -0,0 +1,14 @@ +################################################################################
package/perl-class-load/perl-class-load.mk new file +4
-0+# +# perl-class-load +# +################################################################################
package/perl-class-load/perl-class-load.mk new file +5
-0+ +PERL_CLASS_LOAD_VERSION = 0.25 +PERL_CLASS_LOAD_SOURCE = Class-Load-$(PERL_CLASS_LOAD_VERSION).tar.gz +PERL_CLASS_LOAD_SITE = $(BR2_CPAN_MIRROR)/authors/id/E/ET/ETHER +PERL_CLASS_LOAD_DEPENDENCIES = perl-data-optlistperl-module-implementation perl-module-runtime perl-package-stash perl-try-tiny
package/perl-class-load/perl-class-load.mk new file +4
-1+PERL_CLASS_LOAD_LICENSE = Artistic or GPL-1.0+ +PERL_CLASS_LOAD_LICENSE_FILES = LICENSE + +$(eval $(perl-package)) --2.14.4
Quoted 5 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180821/66214673/attachment.html>
Thomas Petazzoni
AppliedPATCH 9/18 perl-class-load: new package
In reply to Christopher McCroryHello,
Quoted 1 line · Christopher McCrory
+PERL_CLASS_LOAD_DEPENDENCIES = perl-data-optlist perl-module-implementation perl-module-runtime perl-package-stash perl-try-tiny
This line was too long, so I split it with one package per line.
Applied to master with this change. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 10/18 perl-template-toolkit: new package
In reply to Christopher McCrory--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-template-toolkit/Config.in | 11 ++++++++ .../perl-template-toolkit.hash | 6 +++++ .../perl-template-toolkit/perl-template-toolkit.mk | 31 ++++++++++++++++++++++ 5 files changed, 50 insertions(+) create mode 100644 package/perl-template-toolkit/Config.in create mode 100644 package/perl-template-toolkit/perl-template-toolkit.hash create mode 100644 package/perl-template-toolkit/perl-template-toolkit.mk
DEVELOPERS +1 -0
@@ -509,6 +509,7 @@ F: package/perl-sub-install/ F: package/perl-sys-cpu/ F: package/perl-sys-meminfo/ F: package/perl-sys-mmap/ +F: package/perl-template-toolkit/ F: package/perl-time-parsedate/ F: package/perl-x10/
package/Config.in +1 -0
@@ -735,6 +735,7 @@ menu "Perl libraries/modules" source "package/perl-sys-cpu/Config.in" source "package/perl-sys-meminfo/Config.in" source "package/perl-sys-mmap/Config.in" + source "package/perl-template-toolkit/Config.in" source "package/perl-time-hires/Config.in" source "package/perl-time-parsedate/Config.in" source "package/perl-timedate/Config.in"
package/perl-template-toolkit/Config.in new file +11 -0
@@ -0,0 +1,11 @@ +config BR2_PACKAGE_PERL_TEMPLATE_TOOLKIT + bool "perl-template-toolkit" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_PERL_APPCONFIG + help + comprehensive template processing system + + https://metacpan.org/release/Template-Toolkit + +comment "perl-template-toolkit needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS
package/perl-template-toolkit/perl-template-toolkit.hash new file +6 -0
@@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 a7fae5d4fe5918f33105d92a62134067 Template-Toolkit-2.27.tar.gz +sha256 1311a403264d0134c585af0309ff2a9d5074b8ece23ece5660d31ec96bf2c6dc Template-Toolkit-2.27.tar.gz + +# computed by scancpan +sha256 d897b2d98affd4f0489340e54ceb542383101e3d21408dfad025df71d770d842 README
package/perl-template-toolkit/perl-template-toolkit.mk new file +31 -0
@@ -0,0 +1,31 @@ +################################################################################ +# +# perl-template-toolkit +# +################################################################################ + +PERL_TEMPLATE_TOOLKIT_VERSION = 2.27 +PERL_TEMPLATE_TOOLKIT_SOURCE = Template-Toolkit-$(PERL_TEMPLATE_TOOLKIT_VERSION).tar.gz +PERL_TEMPLATE_TOOLKIT_SITE = $(BR2_CPAN_MIRROR)/authors/id/A/AB/ABW +PERL_TEMPLATE_TOOLKIT_DEPENDENCIES = perl-appconfig +PERL_TEMPLATE_TOOLKIT_LICENSE = Artistic or GPL-1.0+ +PERL_TEMPLATE_TOOLKIT_LICENSE_FILES = README + +# There has got to be a better way... :( +# Some arguments to Makefile.PL do not get propagated to subdirectories +# similar to: +# https://rt.cpan.org/Public/Bug/Display.html?id=28632 +define PERL_TEMPLATE_TOOLKIT_POST_CONFIGURE_SED + $(SED) "s:^AR = .*:AR = $(TARGET_AR):g" $(@D)/xs/Makefile + $(SED) "s:^FULL_AR = .*:FULL_AR = $(TARGET_AR):g" $(@D)/xs/Makefile + $(SED) "s:^CC = .*:CC = $(TARGET_CC):g" $(@D)/xs/Makefile + $(SED) "s:^CCFLAGS = .*:CCFLAGS = $(TARGET_CFLAGS):g" $(@D)/xs/Makefile + $(SED) "s:^LD = .*:LD = $(TARGET_CC):g" $(@D)/xs/Makefile + $(SED) "s:^LDDLFLAGS = .*:LDDLFLAGS = -shared $(TARGET_LDFLAGS):g" $(@D)/xs/Makefile + $(SED) "s:^LDLFLAGS = .*:LDLFLAGS = $(TARGET_LDFLAGS):g" $(@D)/xs/Makefile + $(SED) "s:^DESTDIR = .*:DESTDIR = $(TARGET_DIR):g" $(@D)/xs/Makefile +endef + +PERL_TEMPLATE_TOOLKIT_POST_CONFIGURE_HOOKS += PERL_TEMPLATE_TOOLKIT_POST_CONFIGURE_SED + +$(eval $(perl-package))
Signature · 1 line
2.14.4
PATCH 11/18 perl-xml-parser: new package
In reply to Christopher McCrory--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-xml-parser/Config.in | 12 +++++++++++ package/perl-xml-parser/perl-xml-parser.hash | 6 ++++++ package/perl-xml-parser/perl-xml-parser.mk | 32 ++++++++++++++++++++++++++++ 5 files changed, 52 insertions(+) create mode 100644 package/perl-xml-parser/Config.in create mode 100644 package/perl-xml-parser/perl-xml-parser.hash create mode 100644 package/perl-xml-parser/perl-xml-parser.mk
DEVELOPERS +1 -0
@@ -512,6 +512,7 @@ F: package/perl-sys-mmap/ F: package/perl-template-toolkit/ F: package/perl-time-parsedate/ F: package/perl-x10/ +F: package/perl-xml-parser/ N: Clayton Shotwell <[email protected]> F: package/audit/
package/Config.in +1 -0
@@ -745,6 +745,7 @@ menu "Perl libraries/modules" source "package/perl-x10/Config.in" source "package/perl-xml-libxml/Config.in" source "package/perl-xml-namespacesupport/Config.in" + source "package/perl-xml-parser/Config.in" source "package/perl-xml-sax/Config.in" source "package/perl-xml-sax-base/Config.in" endmenu
package/perl-xml-parser/Config.in new file +12 -0
@@ -0,0 +1,12 @@ +config BR2_PACKAGE_PERL_XML_PARSER + bool "perl-xml-parser" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_PERL_LIBWWW_PERL + select BR2_PACKAGE_EXPAT + help + A perl module for parsing XML documents + + https://metacpan.org/release/XML-Parser + +comment "perl-xml-parser needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS
package/perl-xml-parser/perl-xml-parser.hash new file +6 -0
@@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 af4813fe3952362451201ced6fbce379 XML-Parser-2.44.tar.gz +sha256 1ae9d07ee9c35326b3d9aad56eae71a6730a73a116b9fe9e8a4758b7cc033216 XML-Parser-2.44.tar.gz + +# computed by scancpan +sha256 a008c782e078102720266824c1e87875bafbf25ffae4b173dc135f9a4e1c672e README
package/perl-xml-parser/perl-xml-parser.mk new file +32 -0
@@ -0,0 +1,32 @@ +################################################################################ +# +# perl-xml-parser +# +################################################################################ + +PERL_XML_PARSER_VERSION = 2.44 +PERL_XML_PARSER_SOURCE = XML-Parser-$(PERL_XML_PARSER_VERSION).tar.gz +PERL_XML_PARSER_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TODDR +PERL_XML_PARSER_DEPENDENCIES = perl-libwww-perl expat +PERL_XML_PARSER_CONF_OPTS += EXPATLIBPATH=$(TARGET_DIR)/usr/lib EXPATINCPATH=$(TARGET_DIR)/usr/include +PERL_XML_PARSER_LICENSE = Artistic or GPL-1.0+ +PERL_XML_PARSER_LICENSE_FILES = README + +# There has got to be a better way... :( +# Some arguments to Makefile.PL do not get propagated to subdirectories +# similar to: +# https://rt.cpan.org/Public/Bug/Display.html?id=28632 +define PERL_XML_PARSER_POST_CONFIGURE_SED + $(SED) "s:^AR = .*:AR = $(TARGET_AR):g" $(@D)/Expat/Makefile + $(SED) "s:^FULL_AR = .*:FULL_AR = $(TARGET_AR):g" $(@D)/Expat/Makefile + $(SED) "s:^CC = .*:CC = $(TARGET_CC):g" $(@D)/Expat/Makefile + $(SED) "s:^CCFLAGS = .*:CCFLAGS = $(TARGET_CFLAGS):g" $(@D)/Expat/Makefile + $(SED) "s:^LD = .*:LD = $(TARGET_CC):g" $(@D)/Expat/Makefile + $(SED) "s:^LDDLFLAGS = .*:LDDLFLAGS = -shared $(TARGET_LDFLAGS):g" $(@D)/Expat/Makefile + $(SED) "s:^LDLFLAGS = .*:LDLFLAGS = $(TARGET_LDFLAGS):g" $(@D)/Expat/Makefile + $(SED) "s:^DESTDIR = .*:DESTDIR = $(TARGET_DIR):g" $(@D)/Expat/Makefile +endef + +PERL_XML_PARSER_POST_CONFIGURE_HOOKS += PERL_XML_PARSER_POST_CONFIGURE_SED + +$(eval $(perl-package))
Signature · 1 line
2.14.4
PATCH 12/18 perl-soap-wsdl: new package
In reply to Christopher McCrory--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-soap-wsdl/Config.in | 19 +++++++++++++++++++ package/perl-soap-wsdl/perl-soap-wsdl.hash | 6 ++++++ package/perl-soap-wsdl/perl-soap-wsdl.mk | 16 ++++++++++++++++ 5 files changed, 43 insertions(+) create mode 100644 package/perl-soap-wsdl/Config.in create mode 100644 package/perl-soap-wsdl/perl-soap-wsdl.hash create mode 100644 package/perl-soap-wsdl/perl-soap-wsdl.mk
DEVELOPERS +1 -0
@@ -505,6 +505,7 @@ F: package/perl-module-runtime/ F: package/perl-number-bytes-human/ F: package/perl-package-stash/ F: package/perl-params-util/ +F: package/perl-soap-wsdl/ F: package/perl-sub-install/ F: package/perl-sys-cpu/ F: package/perl-sys-meminfo/
package/Config.in +1 -0
@@ -731,6 +731,7 @@ menu "Perl libraries/modules" source "package/perl-package-stash/Config.in" source "package/perl-params-util/Config.in" source "package/perl-path-tiny/Config.in" + source "package/perl-soap-wsdl/Config.in" source "package/perl-sub-install/Config.in" source "package/perl-sys-cpu/Config.in" source "package/perl-sys-meminfo/Config.in"
package/perl-soap-wsdl/Config.in new file +19 -0
@@ -0,0 +1,19 @@ +config BR2_PACKAGE_PERL_SOAP_WSDL + bool "perl-soap-wsdl" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_PERL_CLASS_LOAD + select BR2_PACKAGE_PERL_CLASS_STD_FAST + select BR2_PACKAGE_PERL_MODULE_BUILD + select BR2_PACKAGE_PERL_TEMPLATE_TOOLKIT + select BR2_PACKAGE_PERL_TIMEDATE + select BR2_PACKAGE_PERL_URI + select BR2_PACKAGE_PERL_XML_PARSER + select BR2_PACKAGE_PERL_LIBWWW_PERL + help + SOAP with WSDL support + + https://metacpan.org/release/SOAP-WSDL + +comment "perl-soap-wsdl needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS +# select BR2_PACKAGE_PERL_TERMREADKEY
package/perl-soap-wsdl/perl-soap-wsdl.hash new file +6 -0
@@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 454b0d4f71d211c77eb27f1eb7f33a1e SOAP-WSDL-3.003.tar.gz +sha256 84f6b542d95d60211bf94cc098677c19529a897950b93461945a726d345cfcbd SOAP-WSDL-3.003.tar.gz + +# computed by scancpan +sha256 398213e64d308ae3c1d9d1b4b585ed210318d66170dc3439dda8ee5f3fa96edd LICENSE
package/perl-soap-wsdl/perl-soap-wsdl.mk new file +16 -0
@@ -0,0 +1,16 @@ +################################################################################ +# +# perl-soap-wsdl +# +################################################################################ + +PERL_SOAP_WSDL_VERSION = 3.003 +PERL_SOAP_WSDL_SOURCE = SOAP-WSDL-$(PERL_SOAP_WSDL_VERSION).tar.gz +PERL_SOAP_WSDL_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SW/SWALTERS +PERL_SOAP_WSDL_DEPENDENCIES = perl-class-load perl-class-std-fast perl-template-toolkit perl-timedate perl-uri perl-xml-parser perl-libwww-perl +# perl-termreadkey needs license clarifications before adding to buildroot +# PERL_SOAP_WSDL_DEPENDENCIES += perl-termreadkey +PERL_SOAP_WSDL_LICENSE = Artistic or GPL-1.0+ +PERL_SOAP_WSDL_LICENSE_FILES = LICENSE + +$(eval $(perl-package))
Signature · 1 line
2.14.4
PATCH 12/18 perl-soap-wsdl: new package
Hello,
package/perl-soap-wsdl/perl-soap-wsdl.mk line 12
Quoted 6 lines · Christopher McCrory
package/perl-soap-wsdl/perl-soap-wsdl.mk new file +6
-0+PERL_SOAP_WSDL_VERSION = 3.003 +PERL_SOAP_WSDL_SOURCE = SOAP-WSDL-$(PERL_SOAP_WSDL_VERSION).tar.gz +PERL_SOAP_WSDL_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SW/SWALTERS +PERL_SOAP_WSDL_DEPENDENCIES = perl-class-load perl-class-std-fast perl-template-toolkit perl-timedate perl-uri perl-xml-parser perl-libwww-perl +# perl-termreadkey needs license clarifications before adding to buildroot +# PERL_SOAP_WSDL_DEPENDENCIES += perl-termreadkey
I don't understand, is perl-termreadkey a mandatory dependency, or an optional dependency ?
If it's a mandatory dependency, then this PATCH 12/18 doesn't work, because it is absolutely needed for perl-soap-wsdl to build/work.
If it's an optional dependency, then PATCH 18/18 is wrong because it adds it as a mandatory dependency.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 13/18 perl-time-parsedate: add license
In reply to Christopher McCroryCopyright (C) 1996-2010 David Muir Sharnoff. Copyright (C) 2011 Google, Inc. License hereby granted for anyone to use, modify or redistribute this module at their own risk. Please feed useful changes back to cpan at dave.sharnoff.org.
https://fedoraproject.org/wiki/Licensing/TPDL
--- package/perl-time-parsedate/perl-time-parsedate.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
package/perl-time-parsedate/perl-time-parsedate.mk +2 -1
@@ -8,6 +8,7 @@ PERL_TIME_PARSEDATE_VERSION = 2015.103 PERL_TIME_PARSEDATE_SOURCE = Time-ParseDate-$(PERL_TIME_PARSEDATE_VERSION).tar.gz PERL_TIME_PARSEDATE_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MU/MUIR/modules PERL_TIME_PARSEDATE_LICENSE_FILES = README -PERL_TIME_PARSEDATE_LICENSE = unknown +# https://fedoraproject.org/wiki/Licensing/TPDL +PERL_TIME_PARSEDATE_LICENSE = Public Domain $(eval $(perl-package))
Signature · 1 line
2.14.4
PATCH 14/18 perl-termreadkey: new package
In reply to Christopher McCroryFor licensing see
https://github.com/jonathanstowe/TermReadKey/issues/11
https://src.fedoraproject.org/rpms/perl-TermReadKey/blob/master/f/perl-TermReadKey.spec
--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-termreadkey/Config.in | 10 ++++++++++ package/perl-termreadkey/perl-termreadkey.hash | 6 ++++++ package/perl-termreadkey/perl-termreadkey.mk | 15 +++++++++++++++ 5 files changed, 33 insertions(+) create mode 100644 package/perl-termreadkey/Config.in create mode 100644 package/perl-termreadkey/perl-termreadkey.hash create mode 100644 package/perl-termreadkey/perl-termreadkey.mk
DEVELOPERS +1 -0
@@ -511,6 +511,7 @@ F: package/perl-sys-cpu/ F: package/perl-sys-meminfo/ F: package/perl-sys-mmap/ F: package/perl-template-toolkit/ +F: package/perl-termreadkey/ F: package/perl-time-parsedate/ F: package/perl-x10/ F: package/perl-xml-parser/
package/Config.in +1 -0
@@ -737,6 +737,7 @@ menu "Perl libraries/modules" source "package/perl-sys-meminfo/Config.in" source "package/perl-sys-mmap/Config.in" source "package/perl-template-toolkit/Config.in" + source "package/perl-termreadkey/Config.in" source "package/perl-time-hires/Config.in" source "package/perl-time-parsedate/Config.in" source "package/perl-timedate/Config.in"
package/perl-termreadkey/Config.in new file +10 -0
@@ -0,0 +1,10 @@ +config BR2_PACKAGE_PERL_TERMREADKEY + bool "perl-termreadkey" + depends on !BR2_STATIC_LIBS + help + Change terminal modes, and perform non-blocking reads. + + https://metacpan.org/release/TermReadKey + +comment "perl-termreadkey needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS
package/perl-termreadkey/perl-termreadkey.hash new file +6 -0
@@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 e8ea15c16333ac4f8d146d702e83cc0c TermReadKey-2.37.tar.gz +sha256 4a9383cf2e0e0194668fe2bd546e894ffad41d556b41d2f2f577c8db682db241 TermReadKey-2.37.tar.gz + +# computed by scancpan +sha256 9deb4e80e04cca282a98902939225bf0bedac2e04034df5dba80f12bd0a3be26 README
package/perl-termreadkey/perl-termreadkey.mk new file +15 -0
@@ -0,0 +1,15 @@ +################################################################################ +# +# perl-termreadkey +# +################################################################################ + +PERL_TERMREADKEY_VERSION = 2.37 +PERL_TERMREADKEY_SOURCE = TermReadKey-$(PERL_TERMREADKEY_VERSION).tar.gz +PERL_TERMREADKEY_SITE = $(BR2_CPAN_MIRROR)/authors/id/J/JS/JSTOWE +# https://src.fedoraproject.org/rpms/perl-TermReadKey/blob/master/f/perl-TermReadKey.spec +# https://github.com/jonathanstowe/TermReadKey/issues/11 +PERL_TERMREADKEY_LICENSE = Artistic or GPL-1.0+, and Copyright only +PERL_TERMREADKEY_LICENSE_FILES = README + +$(eval $(perl-package))
Signature · 1 line
2.14.4
PATCH 14/18 perl-termreadkey: new package
This fails on cross compile. Somehow I missed that during testing ono raspberry pi. :(
Quoted 102 lines · Christopher McCrory
For licensing see
https://github.com/jonathanstowe/TermReadKey/issues/11https://src.fedoraproject.org/rpms/perl-TermReadKey/blob/master/f/perl-TermReadKey.spec
Signed-off-by Christopher McCrory <[email protected]>--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-termreadkey/Config.in | 10 ++++++++++ package/perl-termreadkey/perl-termreadkey.hash | 6 ++++++ package/perl-termreadkey/perl-termreadkey.mk | 15 +++++++++++++++ 5 files changed, 33 insertions(+) create mode 100644 package/perl-termreadkey/Config.in create mode 100644 package/perl-termreadkey/perl-termreadkey.hash create mode 100644 package/perl-termreadkey/perl-termreadkey.mkDEVELOPERS +1
-0@@ -511,6 +511,7 @@ F: package/perl-sys-cpu/ F: package/perl-sys-meminfo/ F: package/perl-sys-mmap/ F: package/perl-template-toolkit/ +F: package/perl-termreadkey/ F: package/perl-time-parsedate/ F: package/perl-x10/ F: package/perl-xml-parser/package/Config.in +1
-0@@ -737,6 +737,7 @@ menu "Perl libraries/modules" source "package/perl-sys-meminfo/Config.in" source "package/perl-sys-mmap/Config.in" source "package/perl-template-toolkit/Config.in" + source "package/perl-termreadkey/Config.in" source "package/perl-time-hires/Config.in" source "package/perl-time-parsedate/Config.in" source "package/perl-timedate/Config.in"package/perl-termreadkey/Config.in new file +10
-0@@ -0,0 +1,10 @@ +config BR2_PACKAGE_PERL_TERMREADKEY + bool "perl-termreadkey" + depends on !BR2_STATIC_LIBS + help + Change terminal modes, and perform non-blocking reads. + + https://metacpan.org/release/TermReadKey + +comment "perl-termreadkey needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBSpackage/perl-termreadkey/perl-termreadkey.hash new file +3
-0@@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 e8ea15c16333ac4f8d146d702e83cc0c TermReadKey-2.37.tar.gz +sha256 4a9383cf2e0e0194668fe2bd546e894ffad41d556b41d2f2f577c8db682db241TermReadKey-2.37.tar.gz
package/perl-termreadkey/perl-termreadkey.hash new file +3
-0+ +# computed by scancpan +sha256 9deb4e80e04cca282a98902939225bf0bedac2e04034df5dba80f12bd0a3be26README
package/perl-termreadkey/perl-termreadkey.mk new file +10
-0@@ -0,0 +1,15 @@ +################################################################################ +# +# perl-termreadkey +# +################################################################################ + +PERL_TERMREADKEY_VERSION = 2.37 +PERL_TERMREADKEY_SOURCE = TermReadKey-$(PERL_TERMREADKEY_VERSION).tar.gz +PERL_TERMREADKEY_SITE = $(BR2_CPAN_MIRROR)/authors/id/J/JS/JSTOWE +#https://src.fedoraproject.org/rpms/perl-TermReadKey/blob/master/f/perl-TermReadKey.spec
package/perl-termreadkey/perl-termreadkey.mk new file +5
-1+# https://github.com/jonathanstowe/TermReadKey/issues/11 +PERL_TERMREADKEY_LICENSE = Artistic or GPL-1.0+, and Copyright only +PERL_TERMREADKEY_LICENSE_FILES = README + +$(eval $(perl-package)) --2.14.4
Signature · 7 lines
Christopher McCrory To the optimist, the glass is half full. To the pessimist, the glass is half empty. To the engineer, the glass is twice as big as it needs to be. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180822/28578e72/attachment.html>
PATCH 15/18 pkg-utils.mk: patch_sub_makefile
In reply to Christopher McCrorysuggested and written by Fran?ois
Fix incorrectly generated Makefiles in subdirectories, usually perl packages.
--- package/pkg-utils.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
package/pkg-utils.mk +16 -0
@@ -95,3 +95,19 @@ define legal-license-file # pkgname, pkgname-pkgver, pkgdir, filename, file-full } && \ cp $(5) $(LICENSE_FILES_DIR_$(6))/$(2)/$(4) endef + +# Used to fix makefiles in subdirectories, usually perl packages see +# perl-template-toolkit and perl-xml-parser +# use: $(call patch_sub_makefile,$(@D)/xs/Makefile) + +define patch_sub_makefile + $(SED) "s:^AR = .*:AR = $(TARGET_AR):g" $(1) + $(SED) "s:^FULL_AR = .*:FULL_AR = $(TARGET_AR):g" $(1) + $(SED) "s:^CC = .*:CC = $(TARGET_CC):g" $(1) + $(SED) "s:^CCFLAGS = .*:CCFLAGS = $(TARGET_CFLAGS):g" $(1) + $(SED) "s:^LD = .*:LD = $(TARGET_CC):g" $(1) + $(SED) "s:^LDDLFLAGS = .*:LDDLFLAGS = -shared $(TARGET_LDFLAGS):g" $(1) + $(SED) "s:^LDLFLAGS = .*:LDLFLAGS = $(TARGET_LDFLAGS):g" $(1) + $(SED) "s:^DESTDIR = .*:DESTDIR = $(TARGET_DIR):g" $(1) +endef +
Signature · 1 line
2.14.4
PATCH 15/18 pkg-utils.mk: patch_sub_makefile
Hello,
Quoted 5 lines · Christopher McCrory
suggested and written by Fran?ois
Fix incorrectly generated Makefiles in subdirectories, usually perl packages.Signed-off-by Christopher McCrory <[email protected]>
Fran?ois, you did not review/ack this patch. Could you have a look ?
I was wondering if there was really no way to pass these values through the environment.
One comment below.
Quoted 13 lines
package/pkg-utils.mk +5
-0@@ -95,3 +95,19 @@ define legal-license-file # pkgname, pkgname-pkgver, pkgdir, filename, file-full } && \ cp $(5) $(LICENSE_FILES_DIR_$(6))/$(2)/$(4) endef + +# Used to fix makefiles in subdirectories, usually perl packages see +# perl-template-toolkit and perl-xml-parser +# use: $(call patch_sub_makefile,$(@D)/xs/Makefile) +
package/pkg-utils.mk define legal-license-file # pkgname, pkgname-pkgver, pkgdir, filename, file-full · line 112
Quoted 10 lines
package/pkg-utils.mk +10
-0+define patch_sub_makefile + $(SED) "s:^AR = .*:AR = $(TARGET_AR):g" $(1) + $(SED) "s:^FULL_AR = .*:FULL_AR = $(TARGET_AR):g" $(1) + $(SED) "s:^CC = .*:CC = $(TARGET_CC):g" $(1) + $(SED) "s:^CCFLAGS = .*:CCFLAGS = $(TARGET_CFLAGS):g" $(1) + $(SED) "s:^LD = .*:LD = $(TARGET_CC):g" $(1) + $(SED) "s:^LDDLFLAGS = .*:LDDLFLAGS = -shared $(TARGET_LDFLAGS):g" $(1) + $(SED) "s:^LDLFLAGS = .*:LDLFLAGS = $(TARGET_LDFLAGS):g" $(1) + $(SED) "s:^DESTDIR = .*:DESTDIR = $(TARGET_DIR):g" $(1) +endef
To be more consistent with other package infrastructures, I think I'd prefer a <pkg>_PATCH_XS_MAKEFILES variable that Perl packages can fill in with the list of XS Makefiles that need to be patched.
So perhaps something like:
define PKG_PERL_PATCH_XS_MAKEFILE_HOOK
... like you did, but using $($(PKG)_PATCH_XS_MAKEFILES)
endef
and then, in the inner-perl-package, do something like this:
ifneq ($$($(2)_PATCH_XS_MAKEFILES),) $(2)_POST_PATCH_HOOKS += PKG_PERL_PATCH_XS_MAKEFILE_HOOK endif
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 15/18 pkg-utils.mk: patch_sub_makefile
Hello,
Quoted 2 lines · Thomas Petazzoni
I was wondering if there was really no way to pass these values through the environment.
This problem was reported at
https://rt.cpan.org/Public/Bug/Display.html?id=28632, and apparently fixed in 2013, at least for the "LD" variable. Why are we still seeing this issue ?
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 16/18 perl-template-toolkit: use new patch_sub_makefile
In reply to Christopher McCrory--- package/perl-template-toolkit/perl-template-toolkit.mk | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-)
package/perl-template-toolkit/perl-template-toolkit.mk +4 -14
@@ -11,21 +11,11 @@ PERL_TEMPLATE_TOOLKIT_DEPENDENCIES = perl-appconfig PERL_TEMPLATE_TOOLKIT_LICENSE = Artistic or GPL-1.0+ PERL_TEMPLATE_TOOLKIT_LICENSE_FILES = README -# There has got to be a better way... :( -# Some arguments to Makefile.PL do not get propagated to subdirectories -# similar to: -# https://rt.cpan.org/Public/Bug/Display.html?id=28632 -define PERL_TEMPLATE_TOOLKIT_POST_CONFIGURE_SED - $(SED) "s:^AR = .*:AR = $(TARGET_AR):g" $(@D)/xs/Makefile - $(SED) "s:^FULL_AR = .*:FULL_AR = $(TARGET_AR):g" $(@D)/xs/Makefile - $(SED) "s:^CC = .*:CC = $(TARGET_CC):g" $(@D)/xs/Makefile - $(SED) "s:^CCFLAGS = .*:CCFLAGS = $(TARGET_CFLAGS):g" $(@D)/xs/Makefile - $(SED) "s:^LD = .*:LD = $(TARGET_CC):g" $(@D)/xs/Makefile - $(SED) "s:^LDDLFLAGS = .*:LDDLFLAGS = -shared $(TARGET_LDFLAGS):g" $(@D)/xs/Makefile - $(SED) "s:^LDLFLAGS = .*:LDLFLAGS = $(TARGET_LDFLAGS):g" $(@D)/xs/Makefile - $(SED) "s:^DESTDIR = .*:DESTDIR = $(TARGET_DIR):g" $(@D)/xs/Makefile +# Fix xs/Makefile so it will cross-compile +define PERL_TEMPLATE_TOOLKIT_POST_CONFIGURE_SUB_MAKEFILE + $(call patch_sub_makefile,$(@D)/xs/Makefile) endef -PERL_TEMPLATE_TOOLKIT_POST_CONFIGURE_HOOKS += PERL_TEMPLATE_TOOLKIT_POST_CONFIGURE_SED +PERL_TEMPLATE_TOOLKIT_POST_CONFIGURE_HOOKS += PERL_TEMPLATE_TOOLKIT_POST_CONFIGURE_SUB_MAKEFILE $(eval $(perl-package))
Signature · 1 line
2.14.4
PATCH 17/18 perl-xml-parser: use new patch_sub_makefile
In reply to Christopher McCrory--- package/perl-xml-parser/perl-xml-parser.mk | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-)
package/perl-xml-parser/perl-xml-parser.mk +6 -14
@@ -4,6 +4,8 @@ # ################################################################################ +# This is the target version. libxml-parser-perl is a host only version that +# doesn't require building host-perl. PERL_XML_PARSER_VERSION = 2.44 PERL_XML_PARSER_SOURCE = XML-Parser-$(PERL_XML_PARSER_VERSION).tar.gz PERL_XML_PARSER_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TODDR
@@ -12,21 +14,11 @@ PERL_XML_PARSER_CONF_OPTS += EXPATLIBPATH=$(TARGET_DIR)/usr/lib EXPATINCPATH=$(T PERL_XML_PARSER_LICENSE = Artistic or GPL-1.0+ PERL_XML_PARSER_LICENSE_FILES = README -# There has got to be a better way... :( -# Some arguments to Makefile.PL do not get propagated to subdirectories -# similar to: -# https://rt.cpan.org/Public/Bug/Display.html?id=28632 -define PERL_XML_PARSER_POST_CONFIGURE_SED - $(SED) "s:^AR = .*:AR = $(TARGET_AR):g" $(@D)/Expat/Makefile - $(SED) "s:^FULL_AR = .*:FULL_AR = $(TARGET_AR):g" $(@D)/Expat/Makefile - $(SED) "s:^CC = .*:CC = $(TARGET_CC):g" $(@D)/Expat/Makefile - $(SED) "s:^CCFLAGS = .*:CCFLAGS = $(TARGET_CFLAGS):g" $(@D)/Expat/Makefile - $(SED) "s:^LD = .*:LD = $(TARGET_CC):g" $(@D)/Expat/Makefile - $(SED) "s:^LDDLFLAGS = .*:LDDLFLAGS = -shared $(TARGET_LDFLAGS):g" $(@D)/Expat/Makefile - $(SED) "s:^LDLFLAGS = .*:LDLFLAGS = $(TARGET_LDFLAGS):g" $(@D)/Expat/Makefile - $(SED) "s:^DESTDIR = .*:DESTDIR = $(TARGET_DIR):g" $(@D)/Expat/Makefile +# Fix Expat/Makefile so it will cross-compile +define PERL_XML_PARSER_POST_CONFIGURE_SUB_MAKEFILE + $(call patch_sub_makefile,$(@D)/Expat/Makefile) endef -PERL_XML_PARSER_POST_CONFIGURE_HOOKS += PERL_XML_PARSER_POST_CONFIGURE_SED +PERL_XML_PARSER_POST_CONFIGURE_HOOKS += PERL_XML_PARSER_POST_CONFIGURE_SUB_MAKEFILE $(eval $(perl-package))
Signature · 1 line
2.14.4
PATCH 18/18 perl-soap-wsdl: add dependancy on perl-termreadkey
In reply to Christopher McCrory--- package/perl-soap-wsdl/perl-soap-wsdl.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
package/perl-soap-wsdl/perl-soap-wsdl.mk +1 -3
@@ -7,9 +7,7 @@ PERL_SOAP_WSDL_VERSION = 3.003 PERL_SOAP_WSDL_SOURCE = SOAP-WSDL-$(PERL_SOAP_WSDL_VERSION).tar.gz PERL_SOAP_WSDL_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SW/SWALTERS -PERL_SOAP_WSDL_DEPENDENCIES = perl-class-load perl-class-std-fast perl-template-toolkit perl-timedate perl-uri perl-xml-parser perl-libwww-perl -# perl-termreadkey needs license clarifications before adding to buildroot -# PERL_SOAP_WSDL_DEPENDENCIES += perl-termreadkey +PERL_SOAP_WSDL_DEPENDENCIES = perl-class-load perl-class-std-fast perl-template-toolkit perl-termreadkey perl-timedate perl-uri perl-xml-parser perl-libwww-perl PERL_SOAP_WSDL_LICENSE = Artistic or GPL-1.0+ PERL_SOAP_WSDL_LICENSE_FILES = LICENSE
Signature · 1 line
2.14.4
PATCH 18/18 perl-soap-wsdl: add dependancy on perl-termreadkey
perl-termreadkey fails ono cross compile so this will fail also :(
Quoted 29 lines · Christopher McCrory
Signed-off-by Christopher McCrory <[email protected]>--- package/perl-soap-wsdl/perl-soap-wsdl.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)package/perl-soap-wsdl/perl-soap-wsdl.mk +0
-1@@ -7,9 +7,7 @@ PERL_SOAP_WSDL_VERSION = 3.003 PERL_SOAP_WSDL_SOURCE = SOAP-WSDL-$(PERL_SOAP_WSDL_VERSION).tar.gz PERL_SOAP_WSDL_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SW/SWALTERS -PERL_SOAP_WSDL_DEPENDENCIES = perl-class-load perl-class-std-fastperl-template-toolkit perl-timedate perl-uri perl-xml-parser perl-libwww-perl
package/perl-soap-wsdl/perl-soap-wsdl.mk +1
-2-# perl-termreadkey needs license clarifications before adding to buildroot -# PERL_SOAP_WSDL_DEPENDENCIES += perl-termreadkey +PERL_SOAP_WSDL_DEPENDENCIES = perl-class-load perl-class-std-fastperl-template-toolkit perl-termreadkey perl-timedate perl-uri perl-xml-parser perl-libwww-perl
PERL_SOAP_WSDL_LICENSE= Artistic or GPL-1.0+PERL_SOAP_WSDL_LICENSE_FILES= LICENSE--
2.14.4
Signature · 7 lines
Christopher McCrory To the optimist, the glass is half full. To the pessimist, the glass is half empty. To the engineer, the glass is twice as big as it needs to be. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180822/83cb3302/attachment.html>
cover perl modules again
In reply to Christopher McCroryHello,
Note: the title of your cover letter says PATCH 00/13, but your series has 18 patches. Seems like something went wrong.
Quoted 11 lines · Christopher McCrory
Christopher McCrory (18):
perl-dbi: add host package
perl-dbd-mysql: new package
perl-data-dump: new package
perl-time-parsedate: new package
perl-x10: new package
perl-sys-cpu: new package
perl-dist-checkconflicts: new package
perl-package-stash: new package
perl-class-load: new package
perl-template-toolkit: new package
Quoted 8 lines
perl-xml-parser: new package
perl-soap-wsdl: new package
perl-time-parsedate: add license
perl-termreadkey: new package pkg-utils.mk:patch_sub_makefile
perl-template-toolkit: use newpatch_sub_makefile
perl-xml-parser: use newpatch_sub_makefile
perl-soap-wsdl: add dependancy on perl-termreadkey
Note: you still had a number of patches pending. Some of them are in this new series some not, which is a bit unclear on which ones you still want to get merged, which one you do want. I've marked all those older patches as Superseded:
http://patchwork.ozlabs.org/patch/956316/
http://patchwork.ozlabs.org/patch/956592/
http://patchwork.ozlabs.org/patch/956590/
http://patchwork.ozlabs.org/patch/956598/
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
cover perl modules again
Quoted 6 lines · Thomas Petazzoni
Hello,
Note: the title of your cover letter says PATCH 00/13, but your series has 18 patches. Seems like something went wrong.
Copy and paste error, Oops. There are 18 patches
Quoted 7 lines · Christopher McCrory
<snip>
Quoted 6 lines
Note: you still had a number of patches pending. Some of them are in this new series some not, which is a bit unclear on which ones you still want to get merged, which one you do want. I've marked all those older patches as Superseded:
Yea, this supersedes all previous perl patch submitals.
Quoted 13 lines
http://patchwork.ozlabs.org/patch/956316/
http://patchwork.ozlabs.org/patch/956592/
http://patchwork.ozlabs.org/patch/956590/
http://patchwork.ozlabs.org/patch/956598/Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering
https://bootlin.com
Signature · 7 lines
Christopher McCrory To the optimist, the glass is half full. To the pessimist, the glass is half empty. To the engineer, the glass is twice as big as it needs to be. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180820/3b969190/attachment.html>
cover perl modules again
Hello,
Quoted 1 line · Christopher McCrory
Copy and paste error, Oops. There are 18 patches
It cannot be a copy/paste error if done right: the cover letter is generated automatically by "git format-patch --cover".
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
cover perl modules again
Quoted 10 lines · Thomas Petazzoni
Hello,
Quoted 1 line · Christopher McCrory
Copy and paste error, Oops. There are 18 patches
It cannot be a copy/paste error if done right: the cover letter is generated automatically by "git format-patch --cover".
Something like:
commit 13 patches
git format-patch --cover-letter -M -n -s -o perl origin/next
edit perl/0000-cover-letter.patch
commit more
git format-patch --cover-letter -M -n -s -o perl2 origin/next
edit perl2/0000-cover-letter.patch
copy in text from previous edit including subject
:(
Best regards,
Quoted 7 lines
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering
https://bootlin.com
Signature · 7 lines
Christopher McCrory To the optimist, the glass is half full. To the pessimist, the glass is half empty. To the engineer, the glass is twice as big as it needs to be. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180820/46008ddd/attachment.html>
cover perl modules again
In reply to Christopher McCroryHello Christopher,
Quoted 10 lines · Christopher McCrory
Christopher McCrory (18):
perl-dbi: add host package
perl-dbd-mysql: new package
perl-data-dump: new package
perl-time-parsedate: new package
perl-x10: new package
perl-sys-cpu: new package
perl-dist-checkconflicts: new package
perl-package-stash: new package
perl-class-load: new package
So up to this point, I have applied the patches.
Quoted 2 lines
perl-template-toolkit: new package
perl-xml-parser: new package
Those two patches are pending a resolution on the discussion on whether we really need to patch the Makefile in sub-directories, or if we can have them properly generated.
If we need to patch them, I have suggested how to integrate this in the pkg-perl infrastructure, and I would like this to be done and then used by the packages.
Quoted 1 line
perl-soap-wsdl: new package
On this one, there is the question of the dependency on perl-termreadkey.
Quoted 1 line
perl-time-parsedate: add license
This one is no longer needed, I marked as Superseded.
Quoted 1 line
perl-termreadkey: new package
This one you said yourself does not cross-compile.
Quoted 4 lines
pkg-utils.mk:
patch_sub_makefile
perl-template-toolkit: use newpatch_sub_makefile
perl-xml-parser: use newpatch_sub_makefile
perl-soap-wsdl: add dependancy on perl-termreadkey
So, I've marked all those remaining patches as Changes Requested. Could you work on fixing the above issues, and send an updated version of the patch series ? Or possibly separate patch series if there are separate sets of packages with no inter dependencies.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com