Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] nettle: update to 3.8.
@ 2022-07-04  0:29 mhmdanas
  2022-08-07 18:23 ` [PR PATCH] [Updated] " classabbyamp
  2022-08-07 18:29 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 2 replies; 3+ messages in thread
From: mhmdanas @ 2022-07-04  0:29 UTC (permalink / raw)
  To: ml

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

There is a new pull request by mhmdanas against master on the void-packages repository

https://github.com/mhmdanas/void-packages nettle-3.8.0
https://github.com/void-linux/void-packages/pull/37824

nettle: update to 3.8.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- 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/37824.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nettle-3.8.0-37824.patch --]
[-- Type: text/x-diff, Size: 3186 bytes --]

From d87ad8b20c2052d35423cab833dd3f7094adfcf2 Mon Sep 17 00:00:00 2001
From: mhmdanas <triallax@tutanota.com>
Date: Mon, 4 Jul 2022 03:29:17 +0300
Subject: [PATCH] nettle: update to 3.8.

---
 .../nettle/patches/musl-ppc-use-auxval.patch  | 21 ------------------
 srcpkgs/nettle/patches/ppc64-elfv2.patch      | 22 -------------------
 srcpkgs/nettle/template                       |  5 +++--
 3 files changed, 3 insertions(+), 45 deletions(-)
 delete mode 100644 srcpkgs/nettle/patches/musl-ppc-use-auxval.patch
 delete mode 100644 srcpkgs/nettle/patches/ppc64-elfv2.patch

diff --git a/srcpkgs/nettle/patches/musl-ppc-use-auxval.patch b/srcpkgs/nettle/patches/musl-ppc-use-auxval.patch
deleted file mode 100644
index ce7c74779e85..000000000000
--- a/srcpkgs/nettle/patches/musl-ppc-use-auxval.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-This ensures that efficient capability checks are used on musl.
-
---- a/fat-ppc.c
-+++ b/fat-ppc.c
-@@ -42,12 +42,10 @@
- 
- #if defined(_AIX)
- # include <sys/systemcfg.h>
--#elif defined(__linux__) && defined(__GLIBC__) && defined(__GLIBC_PREREQ)
--# if __GLIBC_PREREQ(2, 16)
--#  define USE_GETAUXVAL 1
--#  include <asm/cputable.h>
--#  include <sys/auxv.h>
--# endif
-+#elif defined(__linux__)
-+# define USE_GETAUXVAL 1
-+# include <asm/cputable.h>
-+# include <sys/auxv.h>
- #elif defined(__FreeBSD__)
- # include <machine/cpu.h>
- # ifdef PPC_FEATURE2_HAS_VEC_CRYPTO
diff --git a/srcpkgs/nettle/patches/ppc64-elfv2.patch b/srcpkgs/nettle/patches/ppc64-elfv2.patch
deleted file mode 100644
index 22f76582e0e1..000000000000
--- a/srcpkgs/nettle/patches/ppc64-elfv2.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Ensure that ELFv2 ABI is used on all ppc64, including big endian.
-
---- a/powerpc64/machine.m4
-+++ b/powerpc64/machine.m4
-@@ -1,7 +1,7 @@
- define(`PROLOGUE',
- `.globl C_NAME($1)
- DECLARE_FUNC(C_NAME($1))
--ifelse(WORDS_BIGENDIAN,no,
-+ifelse(`no',`no',
- `ifdef(`FUNC_ALIGN',`.align FUNC_ALIGN')
- C_NAME($1):
- addis 2,12,(.TOC.-C_NAME($1))@ha
-@@ -17,7 +17,7 @@ ifdef(`FUNC_ALIGN',`.align FUNC_ALIGN')
- undefine(`FUNC_ALIGN')')
- 
- define(`EPILOGUE',
--`ifelse(WORDS_BIGENDIAN,no,
-+`ifelse(`no',`no',
- `.size C_NAME($1), . - C_NAME($1)',
- `.size .C_NAME($1), . - .C_NAME($1)
- .size C_NAME($1), . - .C_NAME($1)')')
diff --git a/srcpkgs/nettle/template b/srcpkgs/nettle/template
index 25eca0dcab04..26b926bf9cbe 100644
--- a/srcpkgs/nettle/template
+++ b/srcpkgs/nettle/template
@@ -1,6 +1,6 @@
 # Template file for 'nettle'
 pkgname=nettle
-version=3.7.3
+version=3.8
 revision=1
 build_style=gnu-configure
 configure_args="--enable-shared"
@@ -10,8 +10,9 @@ short_desc="Low-level cryptographic library"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="https://www.lysator.liu.se/~nisse/nettle/"
+changelog="https://git.lysator.liu.se/nettle/nettle/-/raw/master/NEWS"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=661f5eb03f048a3b924c3a8ad2515d4068e40f67e774e8a26827658007e3bcf0
+checksum=7576c68481c198f644b08c160d1a4850ba9449e308069455b5213319f234e8e6
 
 nettle-devel_package() {
 	depends="gmp-devel ${sourcepkg}>=${version}_${revision}"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Updated] nettle: update to 3.8.
  2022-07-04  0:29 [PR PATCH] nettle: update to 3.8 mhmdanas
@ 2022-08-07 18:23 ` classabbyamp
  2022-08-07 18:29 ` [PR PATCH] [Merged]: " classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2022-08-07 18:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mhmdanas/void-packages nettle-3.8.0
https://github.com/void-linux/void-packages/pull/37824

nettle: update to 3.8.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- 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
-->
@ericonr 

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nettle-3.8.0-37824.patch --]
[-- Type: text/x-diff, Size: 3186 bytes --]

From f0e4d91313059a680acbc98b859b3f1006db08bc Mon Sep 17 00:00:00 2001
From: mhmdanas <triallax@tutanota.com>
Date: Mon, 4 Jul 2022 03:29:17 +0300
Subject: [PATCH] nettle: update to 3.8.

---
 .../nettle/patches/musl-ppc-use-auxval.patch  | 21 ------------------
 srcpkgs/nettle/patches/ppc64-elfv2.patch      | 22 -------------------
 srcpkgs/nettle/template                       |  5 +++--
 3 files changed, 3 insertions(+), 45 deletions(-)
 delete mode 100644 srcpkgs/nettle/patches/musl-ppc-use-auxval.patch
 delete mode 100644 srcpkgs/nettle/patches/ppc64-elfv2.patch

diff --git a/srcpkgs/nettle/patches/musl-ppc-use-auxval.patch b/srcpkgs/nettle/patches/musl-ppc-use-auxval.patch
deleted file mode 100644
index ce7c74779e85..000000000000
--- a/srcpkgs/nettle/patches/musl-ppc-use-auxval.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-This ensures that efficient capability checks are used on musl.
-
---- a/fat-ppc.c
-+++ b/fat-ppc.c
-@@ -42,12 +42,10 @@
- 
- #if defined(_AIX)
- # include <sys/systemcfg.h>
--#elif defined(__linux__) && defined(__GLIBC__) && defined(__GLIBC_PREREQ)
--# if __GLIBC_PREREQ(2, 16)
--#  define USE_GETAUXVAL 1
--#  include <asm/cputable.h>
--#  include <sys/auxv.h>
--# endif
-+#elif defined(__linux__)
-+# define USE_GETAUXVAL 1
-+# include <asm/cputable.h>
-+# include <sys/auxv.h>
- #elif defined(__FreeBSD__)
- # include <machine/cpu.h>
- # ifdef PPC_FEATURE2_HAS_VEC_CRYPTO
diff --git a/srcpkgs/nettle/patches/ppc64-elfv2.patch b/srcpkgs/nettle/patches/ppc64-elfv2.patch
deleted file mode 100644
index 22f76582e0e1..000000000000
--- a/srcpkgs/nettle/patches/ppc64-elfv2.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Ensure that ELFv2 ABI is used on all ppc64, including big endian.
-
---- a/powerpc64/machine.m4
-+++ b/powerpc64/machine.m4
-@@ -1,7 +1,7 @@
- define(`PROLOGUE',
- `.globl C_NAME($1)
- DECLARE_FUNC(C_NAME($1))
--ifelse(WORDS_BIGENDIAN,no,
-+ifelse(`no',`no',
- `ifdef(`FUNC_ALIGN',`.align FUNC_ALIGN')
- C_NAME($1):
- addis 2,12,(.TOC.-C_NAME($1))@ha
-@@ -17,7 +17,7 @@ ifdef(`FUNC_ALIGN',`.align FUNC_ALIGN')
- undefine(`FUNC_ALIGN')')
- 
- define(`EPILOGUE',
--`ifelse(WORDS_BIGENDIAN,no,
-+`ifelse(`no',`no',
- `.size C_NAME($1), . - C_NAME($1)',
- `.size .C_NAME($1), . - .C_NAME($1)
- .size C_NAME($1), . - .C_NAME($1)')')
diff --git a/srcpkgs/nettle/template b/srcpkgs/nettle/template
index 25eca0dcab04..26b926bf9cbe 100644
--- a/srcpkgs/nettle/template
+++ b/srcpkgs/nettle/template
@@ -1,6 +1,6 @@
 # Template file for 'nettle'
 pkgname=nettle
-version=3.7.3
+version=3.8
 revision=1
 build_style=gnu-configure
 configure_args="--enable-shared"
@@ -10,8 +10,9 @@ short_desc="Low-level cryptographic library"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="https://www.lysator.liu.se/~nisse/nettle/"
+changelog="https://git.lysator.liu.se/nettle/nettle/-/raw/master/NEWS"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=661f5eb03f048a3b924c3a8ad2515d4068e40f67e774e8a26827658007e3bcf0
+checksum=7576c68481c198f644b08c160d1a4850ba9449e308069455b5213319f234e8e6
 
 nettle-devel_package() {
 	depends="gmp-devel ${sourcepkg}>=${version}_${revision}"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Merged]: nettle: update to 3.8.
  2022-07-04  0:29 [PR PATCH] nettle: update to 3.8 mhmdanas
  2022-08-07 18:23 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-08-07 18:29 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2022-08-07 18:29 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

nettle: update to 3.8.
https://github.com/void-linux/void-packages/pull/37824

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- 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
-->
@ericonr 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-07 18:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04  0:29 [PR PATCH] nettle: update to 3.8 mhmdanas
2022-08-07 18:23 ` [PR PATCH] [Updated] " classabbyamp
2022-08-07 18:29 ` [PR PATCH] [Merged]: " classabbyamp

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).