public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ralf Senderek <fedora@senderek.ie>
To: git-commits@fedoraproject.org
Subject: [rpms/cryptlib] f45: Update to version 3.4.9.6
Date: Sat, 10 Oct 2026 15:53:34 GMT	[thread overview]
Message-ID: <179164761475.1.7840851024986028289.rpms-cryptlib-4bff9acc9c84@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/cryptlib
Branch : f45
Commit : 4bff9acc9c84dd633daeea41a379b938e5ca3ada
Author : Ralf Senderek <fedora@senderek.ie>
Date   : 2026-10-10T13:38:45+02:00
Stats  : +16/-103 in 7 file(s)
URL    : https://src.fedoraproject.org/rpms/cryptlib/c/4bff9acc9c84dd633daeea41a379b938e5ca3ada?branch=f45

Log:
Update to version 3.4.9.6

---
diff --git a/.gitignore b/.gitignore
index f81e1af..4d4debc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,5 @@
 /cl3492_fedora.zip.sig
 /cl3493_fedora.zip
 /cl3493_fedora.zip.sig
+/cl3496_fedora.zip
+/cl3496_fedora.zip.sig

diff --git a/cryptlib.spec b/cryptlib.spec
index 2607e95..ee19b4d 100644
--- a/cryptlib.spec
+++ b/cryptlib.spec
@@ -3,14 +3,14 @@
 %global cryptlibdir %{_libdir}/%{name}
 
 Name:       cryptlib
-Version:    3.4.9.3
-Release:    5%{?dist}
+Version:    3.4.9.6
+Release:    1%{?dist}
 Summary:    Security library and toolkit for encryption and authentication services    
 
 License:    Sleepycat and OpenSSL and BSD-3-Clause   
 URL:        https://github.com/cryptlib/cryptlib      
-Source0:    https://senderek.ie/fedora/cl3493_fedora.zip     
-Source1:    https://senderek.ie/fedora/cl3493_fedora.zip.sig
+Source0:    https://senderek.ie/fedora/cl3496_fedora.zip     
+Source1:    https://senderek.ie/fedora/cl3496_fedora.zip.sig
 # for security reasons a public signing key should always be stored in distgit
 # and never be used with a URL to make impersonation attacks harder
 # (verified: https://senderek.ie/keys/codesigningkey)
@@ -244,7 +244,7 @@ mkdir -p %{buildroot}%{_libdir}/perl5
 mkdir -p %{buildroot}%{_mandir}/man3
 cd %{_builddir}/%{name}-%{version}/bindings
 mkdir -p %{_builddir}/include
-cp cryptlib-perl.h %{_builddir}/include/cryptlib.h
+cp ../cryptlib.h %{_builddir}/include/cryptlib.h
 cp ../tools/GenPerl.pl .
 export PERL_CRYPT_LIB_HEADER=%{_builddir}/include/cryptlib.h
 /usr/bin/perl Makefile.PL INSTALLDIRS=vendor
@@ -350,6 +350,9 @@ cp /%{buildroot}%{cryptlibdir}/tools/man/cltls.1 %{buildroot}%{_mandir}/man1
 
 
 %changelog
+* Sat Oct 10 2026 Ralf Senderek <innovation@senderek.ie> 3.4.9.6-1
+- Update Cryptlib to version 3.4.9.6
+
 * Fri Jul 24 2026 Python Maint <python-maint@redhat.com> - 3.4.9.3-5
 - Rebuilt for Python 3.15.0b4 ABI change
 

diff --git a/gcc15patch b/gcc15patch
deleted file mode 100644
index 36a2dce..0000000
--- a/gcc15patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- cl-original/misc/int_api.h	2025-01-24 08:58:12.388557909 +0100
-+++ cl-patched/misc/int_api.h	2025-01-24 08:57:22.470475449 +0100
-@@ -1191,8 +1191,8 @@
- 
- #define initVarStruct( structure, structureType, size, valueName ) \
- 		memset( structure, 0, sizeof( structureType ) ); \
--		structure->valueName = structure->storage; \
--		structure->storageSize = size
-+		structure->storageSize = size; \
-+		structure->valueName = structure->storage
- 
- #define copyVarStruct( destStructure, srcStructure, structureType, valueName ) \
- 		memcpy( destStructure, srcStructure, \

diff --git a/m64patch b/m64patch
index 504194d..bd209fa 100644
--- a/m64patch
+++ b/m64patch
@@ -1,6 +1,6 @@
---- cl-original/tools/ccopts.sh	2026-05-09 21:01:53.878671817 +0200
-+++ cl-patched/tools/ccopts.sh	2026-05-09 21:25:53.461334096 +0200
-@@ -1262,7 +1262,7 @@
+--- cl-original/tools/ccopts.sh	2026-10-10 09:51:11.333021136 +0200
++++ cl-patched/tools/ccopts.sh	2026-10-10 10:22:07.556814007 +0200
+@@ -1274,7 +1274,7 @@
  		if [ $GENERICBUILD -gt 0 ] ; then
  			echo "  (Enabling lowest-common-denominator build options for cross-platform library)." >&2 ;
  		else

diff --git a/riscv64patch b/riscv64patch
deleted file mode 100644
index ed0c888..0000000
--- a/riscv64patch
+++ /dev/null
@@ -1,68 +0,0 @@
---- cl-original/random/unix.c	2025-02-15 13:01:53.103845066 +0100
-+++ cl-patched/random/unix.c	2025-02-15 13:16:57.989053221 +0100
-@@ -338,26 +338,48 @@
- #endif /* __clang__ */
- #if ( defined( __GNUC__ ) || defined( __clang__ ) ) && defined( __riscv )
- 	{
--	long cycles, timer, instret;
-+	/* RISC-V MSR read code, from "The RISC-V Instruction Set Manual,
-+	   Volume II: Privileged Architecture", section "Control and Status
-+	   Registers", read the cycle count (rdcycle), timer (rdtime), and
-+	   instructions-retired count (rdinstret).
- 
--	/* RISC-V MSR read code, from "The RISC-V Instruction Set Manual, 
--	   Volume II: Privileged Architecture", section "Control and Status 
--	   Registers", read the cycle count (rdcycle), timer (rdtime), and 
--	   instructions-retired count (rdinstret) */
--	asm volatile( "csrr %[cycles], cycle\n\t"
--		"csrr %[timer], time\n\t"
--		"csrr %[instret], instret\n\n"
--		: [cycles] "=r"(cycles), /* Output */
--			[instret] "=r"(instret),
--			[timer] "=r"(timer)
--		: /* Input */
--		: /* Registers clobbered */
--		);
--	addRandomData( randomState, &cycles, sizeof( long ) );
--	addRandomData( randomState, &timer, sizeof( long ) );
--	addRandomData( randomState, &instret, sizeof( long ) );
-+	   Starting with Linux 6.6 it hasn't been possible to read cycle count
-+	   and instructions-retired values from userspace because of "security
-+	   concerns", see
-+	   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cc4c07c89aada16229084eeb93895c95b7eabaa3,
-+	   https://groups.google.com/a/groups.riscv.org/g/sw-dev/c/REWcwYnzsKE
-+	   so we can only use the value from the timer register */
-+
-+	   #ifdef __linux__
-+		long timer;
-+
-+		asm volatile( "csrr %[timer], time\n\n"
-+			: [timer] "=r"(timer) /* Output */
-+			: /* Input */
-+			: /* Registers clobbered */
-+			);
-+
-+		addRandomData( randomState, &timer, sizeof( long ) );
-+	   #else
-+		long cycles, timer, instret;
-+
-+		asm volatile( "csrr %[cycles], cycle\n\t"
-+			"csrr %[timer], time\n\t"
-+			"csrr %[instret], instret\n\n"
-+			: [cycles] "=r"(cycles), /* Output */
-+				[instret] "=r"(instret),
-+				[timer] "=r"(timer)
-+			: /* Input */
-+			: /* Registers clobbered */
-+			);
-+
-+       		addRandomData( randomState, &cycles, sizeof( long ) );
-+		addRandomData( randomState, &timer, sizeof( long ) );
-+		addRandomData( randomState, &instret, sizeof( long ) );
-+           #endif /* Linux vs. everything else */
- 	}
- #endif /* RISC-V */
-+
- #if ( defined( __QNX__ ) && OSVERSION >= 5 )
- 	/* Return the output of RDTSC or its equivalent on other systems.  We
- 	   don't worry about locking the thread to a CPU since we're not using

diff --git a/sources b/sources
index 73ab017..1ea89b2 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,5 @@
-SHA512 (cl3493_fedora.zip) = ea56aad4eb48d1139f8021ff1ae1de51bca6bcaae0d6775a0410456da51c8f0ada9bfa6a299033bc652d63d3a63f425c19bba2ca41b9442922e92967af0f18c9
-SHA512 (cl3493_fedora.zip.sig) = fff9c7cbc19bd21970bd95f008e98a1e71d17923f8283eac9af69b8d568f9a9a43561525d8ddf612bfe701ea80458d4633d3a996dc4b89e534278b437e8848af
-SHA512 (cryptlib-tests.tar.gz) = d4850cd6a5044aa760360cb198098159ec605aa052eb34152fa3f4c5efaf8ba244329f46a93175955e2a949f1fd39bcaeb68b6a8f73273225ee7b1d1f0f525d9
+SHA512 (cl3496_fedora.zip) = 8bd53196f3ff77f855418be21c26b8cb6e9af48a1fd77317907c0dedbbcf02a7eadc5c086d9974ff19ce4bd2c730196c369cfc3e0b547a8182501ba5adefc061
+SHA512 (cl3496_fedora.zip.sig) = ee8a8d15406edd664dd9d1e7d61380cedeb2866c398bf0ab5ad3c9d13a8022cd7330e6e65b22f59820387750c4bcf16984627e39f0e1ec64b3f299314eabcae1
+SHA512 (cryptlib-tests.tar.gz) = acaa93b884437880695d9957a716efb7f5df5f43829c988bd18f53de2a06b2aca5a2becd3d03ab4538b52380010ae26b667bc67e3a20cbe169f492a669cd61af
 SHA512 (cryptlib-tools.tar.gz) = 2893befd11f3ee8afc21820bba54dd4e866341491c404012bb287b418c154434892c1c020b53c2d6dd4f2138baac7eb73fbc4c64a68c716b4e2dba7f3fbdc929
 SHA512 (cryptlib-perlfiles.tar.gz) = b975d34acfd1d99a224bbd5536483e5489feac8801a567740ec668bcef9a1eff67fddbdad53f61b2ff48bd43396e92f070ebf4de622f3edeb70428f4aaae2ff6

diff --git a/x86-64patch b/x86-64patch
deleted file mode 100644
index 5613dee..0000000
--- a/x86-64patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- cl-original/tools/ccopts.sh	2022-03-04 19:32:14.000000000 +0100
-+++ cl-patched/tools/ccopts.sh	2022-03-05 21:02:44.503759431 +0100
-@@ -897,7 +897,7 @@
- 		if [ $GENERICBUILD -gt 0 ] ; then
- 			echo "  (Enabling lowest-common-denominator build options for cross-platform library)." >&2 ;
- 		else
--			CCARGS="$CCARGS -march=native -mtune=generic" ;
-+			CCARGS="$CCARGS -march=x86-64-v3 -mtune=generic" ;
- 		fi
- 		if [ "$ARCH" = "x86_64" ] ; then
- 			CCARGS="$CCARGS -fPIC" ;

                 reply	other threads:[~2026-10-10 15:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=179164761475.1.7840851024986028289.rpms-cryptlib-4bff9acc9c84@fedoraproject.org \
    --to=fedora@senderek.ie \
    --cc=git-commits@fedoraproject.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