Github messages for voidlinux
 help / color / mirror / Atom feed
From: newbluemoon <newbluemoon@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] perl-Crypt-CBC: update to 3.04
Date: Thu, 20 May 2021 06:27:24 +0200	[thread overview]
Message-ID: <20210520042724.6GkblOT3QKfvDEoJga_K232neXx-m0RQFETr73d0WtU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30990@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 2063 bytes --]

There is an updated pull request by newbluemoon against master on the void-packages repository

https://github.com/newbluemoon/void-packages perl-Crypt-CBC
https://github.com/void-linux/void-packages/pull/30990

perl-Crypt-CBC: update to 3.04
There is a change which requires the perl-Math-Int128 module when using 'ctr' (Counter Mode) as block chaining mode, because it’s much faster than the previsously used Math::BigInt (default mode is still 'cbc').

However, Math::Int128 is not available on 32-bit architectures, so this update would break such setups, though probably not many are using it, if anyone at all. But still I’m not sure how to proceed on this.

Tested on x86_64.

<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/30990.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-perl-Crypt-CBC-30990.patch --]
[-- Type: text/x-diff, Size: 3550 bytes --]

From acc0af80a166146ee60076b2720e2b97b6eb0b7f Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Wed, 19 May 2021 16:09:01 +0200
Subject: [PATCH 1/3] New package: perl-Math-Int64-0.54

---
 srcpkgs/perl-Math-Int64/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Math-Int64/template

diff --git a/srcpkgs/perl-Math-Int64/template b/srcpkgs/perl-Math-Int64/template
new file mode 100644
index 000000000000..f5554054e6f5
--- /dev/null
+++ b/srcpkgs/perl-Math-Int64/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Math-Int64'
+pkgname=perl-Math-Int64
+version=0.54
+revision=1
+wrksrc="${pkgname#perl-}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="perl"
+depends="perl"
+short_desc="Add support for 64 bit integers, signed and unsigned, to Perl"
+maintainer="newbluemoon <blaumolch@mailbox.org>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Math-Int64"
+distfiles="${CPAN_SITE}/Math/Math-Int64-${version}.tar.gz"
+checksum=dcfc51e698437ea6b9cefe0276215c56cdb6a7f85e3e24a2b6b4189f1960d351

From e9f8909cf3c4da7b574c92dd6ea4232a37eaf331 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Wed, 19 May 2021 16:09:28 +0200
Subject: [PATCH 2/3] New package: perl-Math-Int128-0.22

---
 srcpkgs/perl-Math-Int128/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/perl-Math-Int128/template

diff --git a/srcpkgs/perl-Math-Int128/template b/srcpkgs/perl-Math-Int128/template
new file mode 100644
index 000000000000..eb4fb2e68fdc
--- /dev/null
+++ b/srcpkgs/perl-Math-Int128/template
@@ -0,0 +1,20 @@
+# Template file for 'perl-Math-Int128'
+pkgname=perl-Math-Int128
+version=0.22
+revision=1
+wrksrc="${pkgname#perl-}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="perl"
+depends="perl perl-Math-Int64"
+checkdepends="perl-Math-Int64"
+short_desc="Add support for 128 bit integers, signed and unsigned, to Perl"
+maintainer="newbluemoon <blaumolch@mailbox.org>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Math-Int64"
+distfiles="${CPAN_SITE}/Math/Math-Int128-${version}.tar.gz"
+checksum=a630ca401753866955f1173848ab5b4ac4ad5ca6ad9087f11cdf91dde85119bc
+
+if [ "$XBPS_TARGET_WORDSIZE" == "32" ]; then
+	broken="not supported on 32-bit architectures"
+fi

From 4f15f43563b1c083692e155b406b4a6b2650d521 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Wed, 19 May 2021 16:10:55 +0200
Subject: [PATCH 3/3] perl-Crypt-CBC: update to 3.04

---
 srcpkgs/perl-Crypt-CBC/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/perl-Crypt-CBC/template b/srcpkgs/perl-Crypt-CBC/template
index 5ddc77f0674e..f15cfc6013cb 100644
--- a/srcpkgs/perl-Crypt-CBC/template
+++ b/srcpkgs/perl-Crypt-CBC/template
@@ -1,6 +1,6 @@
 # Template file for 'perl-Crypt-CBC'
 pkgname=perl-Crypt-CBC
-version=3.01
+version=3.04
 revision=1
 wrksrc="${pkgname#perl-}-${version}"
 build_style=perl-module
@@ -12,6 +12,6 @@ maintainer="newbluemoon <blaumolch@mailbox.org>"
 license="Artistic-1.0-Perl, GPL-1.0-or-later"
 homepage="https://metacpan.org/release/Crypt-CBC"
 distfiles="${CPAN_SITE}/Crypt/Crypt-CBC-${version}.tar.gz"
-checksum=de259c1c94fc1fd2731dfd276e8b05e31edfd2150848afdff09ac6ae9a03e624
+checksum=4026c57d0dbf6496c0d561a26f161b763d3b8edf351139c073492e21b5fbce07
 # check requires a lot of new cascading dependencies
 make_check=no

  parent reply	other threads:[~2021-05-20  4:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-19 14:26 [PR PATCH] " newbluemoon
2021-05-19 23:08 ` [PR REVIEW] " ericonr
2021-05-20  4:27 ` newbluemoon [this message]
2021-05-20  4:30 ` newbluemoon
2021-05-20  4:35 ` newbluemoon
2021-09-10  7:33 ` [PR PATCH] [Updated] " newbluemoon
2022-02-25 18:41 ` newbluemoon
2022-03-13 19:29 ` newbluemoon
2022-03-27 20:47 ` [PR PATCH] [Merged]: " leahneukirchen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210520042724.6GkblOT3QKfvDEoJga_K232neXx-m0RQFETr73d0WtU@z \
    --to=newbluemoon@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).