Skip to contentSkip to conversation

package/perl-crypt-openssl-aes: new package

PATCH New Thomas De Schampheleire 3 participants 9 messages Dec 18, 2019 – Dec 22, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 package/perl-crypt-openssl-aes: new package

From: Thomas De Schampheleire <[email protected]>

Standard generated with utils/scancpan, manually updating _LICENSE and adding openssl dependency.

---
 DEVELOPERS                                        |  1 +
 package/Config.in                                 |  1 +
 package/perl-crypt-openssl-aes/Config.in          | 11 +++++++++++
 .../perl-crypt-openssl-aes.hash                   |  6 ++++++
 .../perl-crypt-openssl-aes.mk                     | 15 +++++++++++++++
 5 files changed, 34 insertions(+)
 create mode 100644 package/perl-crypt-openssl-aes/Config.in
 create mode 100644 package/perl-crypt-openssl-aes/perl-crypt-openssl-aes.hash
 create mode 100644 package/perl-crypt-openssl-aes/perl-crypt-openssl-aes.mk
DEVELOPERS +1 -0
index d9b4864b9f..19c66948f8 100644
@@ -2329,6 +2329,7 @@ F:	package/opkg-utils/
 F:	package/perl-convert-asn1/
 F:	package/perl-crypt-blowfish/
 F:	package/perl-crypt-cbc/
+F:	package/perl-crypt-openssl-aes/
 F:	package/perl-digest-md5/
 F:	package/perl-mime-base64-urlsafe/
 F:	package/perl-mojolicious-plugin-authentication/
package/Config.in +1 -0
index f304a8fbd3..fc5228447a 100644
@@ -705,6 +705,7 @@ menu "Perl libraries/modules"
 	source "package/perl-cookie-baker/Config.in"
 	source "package/perl-crypt-blowfish/Config.in"
 	source "package/perl-crypt-cbc/Config.in"
+	source "package/perl-crypt-openssl-aes/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"
package/perl-crypt-openssl-aes/Config.in new file +11 -0
new file mode 100644
index 0000000000..ab408d0a2c
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_PERL_CRYPT_OPENSSL_AES
+	bool "perl-crypt-openssl-aes"
+	depends on !BR2_STATIC_LIBS
+	select BR2_PACKAGE_OPENSSL
+	help
+	  A Perl wrapper around OpenSSL's AES library.
+
+	  https://metacpan.org/release/Crypt-OpenSSL-AES
+
+comment "perl-crypt-openssl-aes needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
package/perl-crypt-openssl-aes/perl-crypt-openssl-aes.hash new file +6 -0
new file mode 100644
index 0000000000..07064dfbbe
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    269db65cbf580c3174471a2cbc9a9d95 Crypt-OpenSSL-AES-0.02.tar.gz
+sha256 b66fab514edf97fc32f58da257582704a210c2b35e297d5c31b7fa2ffd08e908 Crypt-OpenSSL-AES-0.02.tar.gz
+
+# computed by scancpan
+sha256 a60b8c187cc5d90f7a43adc6be3c127abaa4c739e1e7fdcff16be358533d037f README
package/perl-crypt-openssl-aes/perl-crypt-openssl-aes.mk new file +15 -0
new file mode 100644
index 0000000000..c05f3a9c3d
@@ -0,0 +1,15 @@
+################################################################################
+#
+# perl-crypt-openssl-aes
+#
+################################################################################
+
+PERL_CRYPT_OPENSSL_AES_VERSION = 0.02
+PERL_CRYPT_OPENSSL_AES_SOURCE = Crypt-OpenSSL-AES-$(PERL_CRYPT_OPENSSL_AES_VERSION).tar.gz
+PERL_CRYPT_OPENSSL_AES_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TT/TTAR
+PERL_CRYPT_OPENSSL_AES_LICENSE = Artistic or GPL-1.0+
+PERL_CRYPT_OPENSSL_AES_LICENSE_FILES = README
+PERL_CRYPT_OPENSSL_AES_DISTNAME = Crypt-OpenSSL-AES
+PERL_CRYPT_OPENSSL_AES_DEPENDENCIES = openssl
+
+$(eval $(perl-package))
Signature · 1 line
2.23.0
#1 lore raw

PATCH 2/3 package/perl-math-bigint: new package

From: Thomas De Schampheleire <[email protected]>

Standard generated with utils/scancpan.

---
 DEVELOPERS                                     |  1 +
 package/Config.in                              |  1 +
 package/perl-math-bigint/Config.in             |  6 ++++++
 package/perl-math-bigint/perl-math-bigint.hash |  6 ++++++
 package/perl-math-bigint/perl-math-bigint.mk   | 14 ++++++++++++++
 5 files changed, 28 insertions(+)
 create mode 100644 package/perl-math-bigint/Config.in
 create mode 100644 package/perl-math-bigint/perl-math-bigint.hash
 create mode 100644 package/perl-math-bigint/perl-math-bigint.mk
DEVELOPERS +1 -0
index 19c66948f8..92105aae98 100644
@@ -2331,6 +2331,7 @@ F:	package/perl-crypt-blowfish/
 F:	package/perl-crypt-cbc/
 F:	package/perl-crypt-openssl-aes/
 F:	package/perl-digest-md5/
+F:	package/perl-math-bigint/
 F:	package/perl-mime-base64-urlsafe/
 F:	package/perl-mojolicious-plugin-authentication/
 F:	package/perl-net-ping/
package/Config.in +1 -0
index fc5228447a..6d10df8561 100644
@@ -755,6 +755,7 @@ menu "Perl libraries/modules"
 	source "package/perl-lwp-mediatypes/Config.in"
 	source "package/perl-mail-dkim/Config.in"
 	source "package/perl-mailtools/Config.in"
+	source "package/perl-math-bigint/Config.in"
 	source "package/perl-mime-base64/Config.in"
 	source "package/perl-mime-base64-urlsafe/Config.in"
 	source "package/perl-mime-tools/Config.in"
package/perl-math-bigint/Config.in new file +6 -0
new file mode 100644
index 0000000000..89722e7b10
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PERL_MATH_BIGINT
+	bool "perl-math-bigint"
+	help
+	  Pure Perl module to test Math::BigInt with scalars.
+
+	  https://metacpan.org/release/Math-BigInt
package/perl-math-bigint/perl-math-bigint.hash new file +6 -0
new file mode 100644
index 0000000000..ad3d66bbf8
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    a6e5a6c391b453e04c2b60506e1b5342 Math-BigInt-1.999818.tar.gz
+sha256 b27634356ce2af9b7c0123ac8395a89a32fb15aeae82fcd39de8156cad278c15 Math-BigInt-1.999818.tar.gz
+
+# computed by scancpan
+sha256 b857edab549ac6893e2df5e1ec768ee46b62bcf1607a55e876f4d23f079eacce LICENSE
package/perl-math-bigint/perl-math-bigint.mk new file +14 -0
new file mode 100644
index 0000000000..156c6ce38d
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-math-bigint
+#
+################################################################################
+
+PERL_MATH_BIGINT_VERSION = 1.999818
+PERL_MATH_BIGINT_SOURCE = Math-BigInt-$(PERL_MATH_BIGINT_VERSION).tar.gz
+PERL_MATH_BIGINT_SITE = $(BR2_CPAN_MIRROR)/authors/id/P/PJ/PJACKLAM
+PERL_MATH_BIGINT_LICENSE = Artistic or GPL-1.0+
+PERL_MATH_BIGINT_LICENSE_FILES = LICENSE
+PERL_MATH_BIGINT_DISTNAME = Math-BigInt
+
+$(eval $(perl-package))
Signature · 1 line
2.23.0
#2 lore raw

PATCH 2/3 package/perl-math-bigint: new package

Math::BigInt is a core module.
Perl 5.30.1 includes the version 1.999816.
From my point of view, this package is useless.

Fran?ois

Le mer. 18 d?c. 2019 ? 21:15, Thomas De Schampheleire < [email protected]> a ?crit :

Quoted 92 lines

From: Thomas De Schampheleire <[email protected]>

Standard generated with utils/scancpan.

---
 DEVELOPERS                                     |  1 +
 package/Config.in                              |  1 +
 package/perl-math-bigint/Config.in             |  6 ++++++
 package/perl-math-bigint/perl-math-bigint.hash |  6 ++++++
 package/perl-math-bigint/perl-math-bigint.mk   | 14 ++++++++++++++
 5 files changed, 28 insertions(+)
 create mode 100644 package/perl-math-bigint/Config.in
 create mode 100644 package/perl-math-bigint/perl-math-bigint.hash
 create mode 100644 package/perl-math-bigint/perl-math-bigint.mk
DEVELOPERS +1 -0
index 19c66948f8..92105aae98 100644
@@ -2331,6 +2331,7 @@ F:        package/perl-crypt-blowfish/
 F:     package/perl-crypt-cbc/
 F:     package/perl-crypt-openssl-aes/
 F:     package/perl-digest-md5/
+F:     package/perl-math-bigint/
 F:     package/perl-mime-base64-urlsafe/
 F:     package/perl-mojolicious-plugin-authentication/
 F:     package/perl-net-ping/
package/Config.in +1 -0
index fc5228447a..6d10df8561 100644
@@ -755,6 +755,7 @@ menu "Perl libraries/modules"
        source "package/perl-lwp-mediatypes/Config.in"
        source "package/perl-mail-dkim/Config.in"
        source "package/perl-mailtools/Config.in"
+       source "package/perl-math-bigint/Config.in"
        source "package/perl-mime-base64/Config.in"
        source "package/perl-mime-base64-urlsafe/Config.in"
        source "package/perl-mime-tools/Config.in"
package/perl-math-bigint/Config.in new file +6 -0
new file mode 100644
index 0000000000..89722e7b10
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PERL_MATH_BIGINT
+       bool "perl-math-bigint"
+       help
+         Pure Perl module to test Math::BigInt with scalars.
+
+         https://metacpan.org/release/Math-BigInt
package/perl-math-bigint/perl-math-bigint.hash new file +3 -0
new file mode 100644
index 0000000000..ad3d66bbf8
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    a6e5a6c391b453e04c2b60506e1b5342 Math-BigInt-1.999818.tar.gz
+sha256 b27634356ce2af9b7c0123ac8395a89a32fb15aeae82fcd39de8156cad278c15

Math-BigInt-1.999818.tar.gz

package/perl-math-bigint/perl-math-bigint.hash new file +3 -0
+
+# computed by scancpan
+sha256 b857edab549ac6893e2df5e1ec768ee46b62bcf1607a55e876f4d23f079eacce

LICENSE

package/perl-math-bigint/perl-math-bigint.mk new file +14 -1
new file mode 100644
index 0000000000..156c6ce38d
@@ -0,0 +1,14 @@
 
+################################################################################
+#
+# perl-math-bigint
+#
 
+################################################################################
+
+PERL_MATH_BIGINT_VERSION = 1.999818
+PERL_MATH_BIGINT_SOURCE = Math-BigInt-$(PERL_MATH_BIGINT_VERSION).tar.gz
+PERL_MATH_BIGINT_SITE = $(BR2_CPAN_MIRROR)/authors/id/P/PJ/PJACKLAM
+PERL_MATH_BIGINT_LICENSE = Artistic or GPL-1.0+
+PERL_MATH_BIGINT_LICENSE_FILES = LICENSE
+PERL_MATH_BIGINT_DISTNAME = Math-BigInt
+
+$(eval $(perl-package))
--
Quoted 3 lines

2.23.0

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20191222/48a4ce3f/attachment.html>

#3 lore raw

PATCH 2/3 package/perl-math-bigint: new package

Hi Fran?ois,

Quoted 5 lines · On Sun, Dec 22, 2019, 13:07 Fran?ois Perrad <[email protected]> wrote:

Math::BigInt is a core module.
Perl 5.30.1 includes the version 1.999816.
From my point of view, this package is useless.

How do you know this?
The cpan page does not give such detail, it seems.
https://metacpan.org/pod/Math::BigInt
And what about math-prime-util?

Do you know since which perl release this is a core package?

Thanks
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20191222/7d98e9aa/attachment.html>

#4 lore raw

PATCH 2/3 package/perl-math-bigint: new package

Quoted 12 lines · On Sun, Dec 22, 2019, 14:27 Thomas De Schampheleire <…

Hi Fran?ois,

Quoted 5 lines · On Sun, Dec 22, 2019, 13:07 Fran?ois Perrad <[email protected]> wrote:

Math::BigInt is a core module.
Perl 5.30.1 includes the version 1.999816.
From my point of view, this package is useless.

Quoted 7 lines

How do you know this?
The cpan page does not give such detail, it seems.
https://metacpan.org/pod/Math::BigInt
And what about math-prime-util?

Do you know since which perl release this is a core package?

And also: can we make scancpan detect this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20191222/a281fff7/attachment.html>

#5 lore raw

PATCH 2/3 package/perl-math-bigint: new package

Le dim. 22 d?c. 2019 ? 14:32, Thomas De Schampheleire < [email protected]> a ?crit :

Quoted 22 lines
Quoted 17 lines · On Sun, Dec 22, 2019, 14:27 Thomas De Schampheleire < patrickdepinguin at…

Hi Fran?ois,

Quoted 5 lines · On Sun, Dec 22, 2019, 13:07 Fran?ois Perrad <[email protected]> wrote:

Math::BigInt is a core module.
Perl 5.30.1 includes the version 1.999816.
From my point of view, this package is useless.

How do you know this?
The cpan page does not give such detail, it seems.
https://metacpan.org/pod/Math::BigInt
And what about math-prime-util?

Quoted 5 lines
Quoted 2 lines

Do you know since which perl release this is a core package?

And also: can we make scancpan detect this?

scancpan already detects and skips core dependencies of a module. I will add a warning when the top module is itself a core module.

Fran?ois
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20191222/054bb23e/attachment.html>

#6 lore raw

PATCH 2/3 package/perl-math-bigint: new package

In reply to Thomas De Schampheleire

Le dim. 22 d?c. 2019 ? 14:27, Thomas De Schampheleire < [email protected]> a ?crit :

Quoted 6 lines

Hi Fran?ois,

Quoted 1 line · On Sun, Dec 22, 2019, 13:07 Fran?ois Perrad <[email protected]> wrote:
Quoted 8 lines
Quoted 4 lines

Math::BigInt is a core module.
Perl 5.30.1 includes the version 1.999816.
From my point of view, this package is useless.

How do you know this?

Perl comes with the module Module::CoreList which contains all these data, and the utility corelist.

Quoted 5 lines

The cpan page does not give such detail, it seems.
https://metacpan.org/pod/Math::BigInt
And what about math-prime-util?

$ corelist Math::Prime::Util

Data for 2017-09-22
Math::Prime::Util was not in CORE (or so I think)

Quoted 3 lines

Do you know since which perl release this is a core package?

$ corelist Math::BigInt

Data for 2017-09-22
Math::BigInt was first released with perl 5

Fran?ois

Quoted 3 lines

Thanks
Thomas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20191222/b2bbff90/attachment.html>

#7 lore raw

PATCH 3/3 package/perl-math-prime-util: new package

In reply to Thomas De Schampheleire

From: Thomas De Schampheleire <[email protected]>

Standard generated with utils/scancpan.

---
 DEVELOPERS                                         |  1 +
 package/Config.in                                  |  1 +
 package/perl-math-prime-util/Config.in             | 11 +++++++++++
 .../perl-math-prime-util/perl-math-prime-util.hash |  6 ++++++
 .../perl-math-prime-util/perl-math-prime-util.mk   | 14 ++++++++++++++
 5 files changed, 33 insertions(+)
 create mode 100644 package/perl-math-prime-util/Config.in
 create mode 100644 package/perl-math-prime-util/perl-math-prime-util.hash
 create mode 100644 package/perl-math-prime-util/perl-math-prime-util.mk
DEVELOPERS +1 -0
index 92105aae98..8785f0fdf8 100644
@@ -2332,6 +2332,7 @@ F:	package/perl-crypt-cbc/
 F:	package/perl-crypt-openssl-aes/
 F:	package/perl-digest-md5/
 F:	package/perl-math-bigint/
+F:	package/perl-math-prime-util/
 F:	package/perl-mime-base64-urlsafe/
 F:	package/perl-mojolicious-plugin-authentication/
 F:	package/perl-net-ping/
package/Config.in +1 -0
index 6d10df8561..ec76b58bc3 100644
@@ -756,6 +756,7 @@ menu "Perl libraries/modules"
 	source "package/perl-mail-dkim/Config.in"
 	source "package/perl-mailtools/Config.in"
 	source "package/perl-math-bigint/Config.in"
+	source "package/perl-math-prime-util/Config.in"
 	source "package/perl-mime-base64/Config.in"
 	source "package/perl-mime-base64-urlsafe/Config.in"
 	source "package/perl-mime-tools/Config.in"
package/perl-math-prime-util/Config.in new file +11 -0
new file mode 100644
index 0000000000..1c7b700ac7
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_PERL_MATH_PRIME_UTIL
+	bool "perl-math-prime-util"
+	depends on !BR2_STATIC_LIBS
+	help
+	  Utilities related to prime numbers, including fast sieves and
+	  factoring.
+
+	  https://github.com/danaj/Math-Prime-Util
+
+comment "perl-math-prime-util needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
package/perl-math-prime-util/perl-math-prime-util.hash new file +6 -0
new file mode 100644
index 0000000000..789f3a35fc
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    26496630990db586dfede6551de79cbe Math-Prime-Util-0.73.tar.gz
+sha256 4afa6dd8cdb97499bd4eca6925861812c29d9f5a0f1ac27ad9d2d9c9b5602894 Math-Prime-Util-0.73.tar.gz
+
+# computed by scancpan
+sha256 475b5f12062de0e197fb8cfa44eef3b032342d097752868e72c1239fe52a8942 LICENSE
package/perl-math-prime-util/perl-math-prime-util.mk new file +14 -0
new file mode 100644
index 0000000000..5781fe75d6
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-math-prime-util
+#
+################################################################################
+
+PERL_MATH_PRIME_UTIL_VERSION = 0.73
+PERL_MATH_PRIME_UTIL_SOURCE = Math-Prime-Util-$(PERL_MATH_PRIME_UTIL_VERSION).tar.gz
+PERL_MATH_PRIME_UTIL_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DA/DANAJ
+PERL_MATH_PRIME_UTIL_LICENSE = Artistic or GPL-1.0+
+PERL_MATH_PRIME_UTIL_LICENSE_FILES = LICENSE
+PERL_MATH_PRIME_UTIL_DISTNAME = Math-Prime-Util
+
+$(eval $(perl-package))
Signature · 1 line
2.23.0
#8 lore raw

PATCH 1/3 package/perl-crypt-openssl-aes: new package

In reply to Thomas De Schampheleire
Quoted 6 lines · On Wed, 18 Dec 2019 21:18:42 +0100 Thomas De Schampheleire…

From: Thomas De Schampheleire <[email protected]>

Standard generated with utils/scancpan, manually updating _LICENSE and adding openssl dependency.

Quoted 10 lines
---
 DEVELOPERS                                        |  1 +
 package/Config.in                                 |  1 +
 package/perl-crypt-openssl-aes/Config.in          | 11 +++++++++++
 .../perl-crypt-openssl-aes.hash                   |  6 ++++++
 .../perl-crypt-openssl-aes.mk                     | 15 +++++++++++++++
 5 files changed, 34 insertions(+)
 create mode 100644 package/perl-crypt-openssl-aes/Config.in
 create mode 100644 package/perl-crypt-openssl-aes/perl-crypt-openssl-aes.hash
 create mode 100644 package/perl-crypt-openssl-aes/perl-crypt-openssl-aes.mk

All three patches applied. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com