<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3c084f1ece23f6276e6e42833e8657a5dd35d440">https://github.com/macports/macports-ports/commit/3c084f1ece23f6276e6e42833e8657a5dd35d440</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 3c084f1ece2 libgcrypt: update to 1.10.3
</span>3c084f1ece2 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 3c084f1ece23f6276e6e42833e8657a5dd35d440
</span>Author: Marius Schamschula <mschamschula@gmail.com>
AuthorDate: Wed Nov 15 05:27:39 2023 -0600
<span style='display:block; white-space:pre;color:#404040;'> libgcrypt: update to 1.10.3
</span>---
devel/libgcrypt/Portfile | 10 +++-----
devel/libgcrypt/files/patch-getrandom.diff | 40 ------------------------------
2 files changed, 4 insertions(+), 46 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libgcrypt/Portfile b/devel/libgcrypt/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8d9a29ce2ff..1384a6c8abf 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libgcrypt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libgcrypt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,7 +7,7 @@ PortGroup legacysupport 1.1
</span> PortGroup muniversal 1.0
name libgcrypt
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.10.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.10.3
</span> revision 0
categories devel security
# libs are LGPL, executables and docs are GPL
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,9 +25,9 @@ homepage https://www.gnupg.org/
</span> master_sites gnupg
use_bzip2 yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 5dc8142b2ff628a7a9c7022d38726cd22e149c36 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 3b9c02a004b68c256add99701de00b383accccf37177e0d6c58289664cce0c03 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 3795164
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 ef2b3f5da6133eb03590609ed7502cb261566f8d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 8b0870897ac5ac67ded568dcfadf45969cfa8a6beb0fd60af2a9eadc2a3272aa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 3783827
</span>
depends_lib port:libgpg-error
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -67,8 +67,6 @@ if {[string match "*clang*" ${configure.compiler}]} {
</span>
use_parallel_build yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-getrandom.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> post-patch {
if {[variant_exists universal] && [variant_isset universal]} {
reinplace "s/@LIBGCRYPT_CONFIG_HOST@/${os.arch}-apple-darwin${os.major}/" ${worksrcpath}/src/libgcrypt-config.in
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libgcrypt/files/patch-getrandom.diff b/devel/libgcrypt/files/patch-getrandom.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 52040f5553c..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libgcrypt/files/patch-getrandom.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,40 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.orig 2023-04-06 19:07:18.000000000 +0000
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -18809,7 +18809,7 @@ _ACEOF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- done
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--for ac_func in explicit_bzero explicit_memset getentropy
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+for ac_func in explicit_bzero explicit_memset getentropy getrandom
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- do :
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --- config.h.in.orig 2023-04-07 08:54:23.000000000 +0000
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ config.h.in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -294,6 +294,9 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /* Define to 1 if you have the `getpid' function. */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #undef HAVE_GETPID
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+/* Define to 1 if you have the `getrandom' function. */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#undef HAVE_GETRANDOM
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /* Define to 1 if you have the `getrusage' function. */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #undef HAVE_GETRUSAGE
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --- random/rndgetentropy.c.orig 2023-04-07 08:56:42.000000000 +0000
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ random/rndgetentropy.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -81,6 +81,7 @@ _gcry_rndgetentropy_gather_random (void
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- do
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- _gcry_pre_syscall ();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#ifdef HAVE_GETRANDOM
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (fips_mode ())
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /* DRBG chaining defined in SP 800-90A (rev 1) specify
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -98,6 +99,7 @@ _gcry_rndgetentropy_gather_random (void
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ret = getrandom (buffer, nbytes, GRND_RANDOM);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- nbytes = length < sizeof (buffer) ? length : sizeof (buffer);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ret = getentropy (buffer, nbytes);
</span></pre><pre style='margin:0'>
</pre>