pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sagittarius: update to sagittarius-0.9.12



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Wed Dec 4 21:59:47 2024 +0200
Changeset:	e2b868ac7a2d681dbc89f72c21ed661cccdac2a3

Modified Files:
	sagittarius/Makefile
	sagittarius/PLIST
	sagittarius/distinfo
	sagittarius/patches/patch-CMakeLists.txt

Log Message:
sagittarius: update to sagittarius-0.9.12

Release Note: 0.9.12

Fixed bugs:

  * stream-cipher-init! doesn't allow to re-initialise AEAD
    stream ciphers.
  * mod-expt returned incorrect result when the n is 0 is fixed.
  * Typo of brainpool curve exporting

Improvements:

  * Windows installer won't install test vectors.
  * Allowing BER encoding for ECDSA public key import.
  * EC point multiplication now uses wNAF instead of NAF
    (should improve performance)
  * Performance improvement of mod-inverse.
  * Performance improvement on F2m curve computation.
  * JWK now supports RFC 8821 curve names, secp256k1 and P-256K.

New features:

  * Supporting secp160r1, secp160k1 and secp160r2 curves.
  * Supporting XChaCha20 and XChaCha20-Poly1305 stream ciphers.
  * Supporting CCM mode.
  * Supporting GCM-SIV mode.
  * Base32 library (rfc base32) has been added.
  * version clause on cond-expand to check the required
    Sagittarius version.
  * (rfc uuid) now supports v6 and v7 UUID.
  * predicate (?? for short) method specializer is added.
  * JSON pretty print procedure json-write/pretty has been added.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e2b868ac7a2d681dbc89f72c21ed661cccdac2a3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 sagittarius/Makefile                     |  3 ++-
 sagittarius/PLIST                        | 46 ++++++++++++++++++--------------
 sagittarius/distinfo                     |  8 +++---
 sagittarius/patches/patch-CMakeLists.txt | 15 ++++++++---
 4 files changed, 44 insertions(+), 28 deletions(-)

diffs:
diff --git a/sagittarius/Makefile b/sagittarius/Makefile
index f2186afcfe..09cad8fa12 100644
--- a/sagittarius/Makefile
+++ b/sagittarius/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	sagittarius-0.9.11
+DISTNAME=	sagittarius-0.9.12
 CATEGORIES=	lang
 MASTER_SITES=	https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/
 
@@ -17,6 +17,7 @@ USE_LANGUAGES=	c c++
 MAKE_ENV+=	LD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}/build
 
 PKGCONFIG_OVERRIDE+=	cmake/sagittarius.pc.in
+CMAKE_CONFIGURE_ARGS+=	-DMACHINE_GNU_PLATFORM:string=${MACHINE_GNU_PLATFORM}
 
 .include "../../databases/unixodbc/buildlink3.mk"
 .include "../../devel/boehm-gc/buildlink3.mk"
diff --git a/sagittarius/PLIST b/sagittarius/PLIST
index 4f0798c813..66d75b1660 100644
--- a/sagittarius/PLIST
+++ b/sagittarius/PLIST
@@ -41,6 +41,7 @@ include/sagittarius/private/keyword.h
 include/sagittarius/private/library.h
 include/sagittarius/private/load.h
 include/sagittarius/private/macro.h
+include/sagittarius/private/mbignum.h
 include/sagittarius/private/number.h
 include/sagittarius/private/numconst.h
 include/sagittarius/private/pair.h
@@ -107,6 +108,7 @@ lib/sagittarius/${PKGVERSION}/include/sagittarius/private/keyword.h
 lib/sagittarius/${PKGVERSION}/include/sagittarius/private/library.h
 lib/sagittarius/${PKGVERSION}/include/sagittarius/private/load.h
 lib/sagittarius/${PKGVERSION}/include/sagittarius/private/macro.h
+lib/sagittarius/${PKGVERSION}/include/sagittarius/private/mbignum.h
 lib/sagittarius/${PKGVERSION}/include/sagittarius/private/number.h
 lib/sagittarius/${PKGVERSION}/include/sagittarius/private/numconst.h
 lib/sagittarius/${PKGVERSION}/include/sagittarius/private/pair.h
@@ -133,26 +135,26 @@ lib/sagittarius/${PKGVERSION}/include/sagittarius/private/writer.h
 lib/sagittarius/${PKGVERSION}/include/sagittarius/strings.h
 lib/sagittarius/${PKGVERSION}/include/sagittarius/uc.h
 lib/sagittarius/${PKGVERSION}/include/sagittarius/vectors.h
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/compile-sagittarius
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/libsagittarius.so
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/libsagittarius.so.${PKGVERSION}
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/sagittarius
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/sagittarius--ec.so
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/sagittarius--ffi.so
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/sagittarius--filewatch.so
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/sagittarius--odbc.so
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/sagittarius--process.so
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/sagittarius--secure.so
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/sagittarius--socket.so
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/sagittarius--termios.so
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/sagittarius--threads.so
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/sagittarius--time.so
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/sagittarius--tls-socket.so
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/sagittarius--tomcrypt.so
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/sagittarius--zlib.so
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/sagittarius-config
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/sagittarius-package
-lib/sagittarius/${PKGVERSION}/x86_64-pc-netbsd/sash
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/compile-sagittarius
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/libsagittarius.so
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/libsagittarius.so.${PKGVERSION}
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sagittarius
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sagittarius--ec.so
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sagittarius--ffi.so
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sagittarius--filewatch.so
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sagittarius--odbc.so
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sagittarius--process.so
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sagittarius--secure.so
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sagittarius--socket.so
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sagittarius--termios.so
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sagittarius--threads.so
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sagittarius--time.so
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sagittarius--tls-socket.so
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sagittarius--tomcrypt.so
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sagittarius--zlib.so
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sagittarius-config
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sagittarius-package
+lib/sagittarius/${PKGVERSION}/${MACHINE_GNU_PLATFORM}/sash
 share/sagittarius/${PKGVERSION}/CMakeLists.txt.template
 share/sagittarius/${PKGVERSION}/cmake/addstub.cmake
 share/sagittarius/${PKGVERSION}/cmake_uninstall.cmake.in
@@ -246,6 +248,8 @@ share/sagittarius/${PKGVERSION}/lib/sagittarius/crypto/ciphers/asymmetric/encodi
 share/sagittarius/${PKGVERSION}/lib/sagittarius/crypto/ciphers/asymmetric/rsa.scm
 share/sagittarius/${PKGVERSION}/lib/sagittarius/crypto/ciphers/asymmetric/state.scm
 share/sagittarius/${PKGVERSION}/lib/sagittarius/crypto/ciphers/symmetric.scm
+share/sagittarius/${PKGVERSION}/lib/sagittarius/crypto/ciphers/symmetric/ccm.scm
+share/sagittarius/${PKGVERSION}/lib/sagittarius/crypto/ciphers/symmetric/gcm-siv.scm
 share/sagittarius/${PKGVERSION}/lib/sagittarius/crypto/ciphers/types.scm
 share/sagittarius/${PKGVERSION}/lib/sagittarius/crypto/descriptors.scm
 share/sagittarius/${PKGVERSION}/lib/sagittarius/crypto/descriptors/cipher.scm
@@ -462,6 +466,8 @@ share/sagittarius/${PKGVERSION}/sitelib/reactive/stream.scm
 share/sagittarius/${PKGVERSION}/sitelib/record/accessor.scm
 share/sagittarius/${PKGVERSION}/sitelib/record/builder.scm
 share/sagittarius/${PKGVERSION}/sitelib/rfc/%3a5322.scm
+share/sagittarius/${PKGVERSION}/sitelib/rfc/base-n.scm
+share/sagittarius/${PKGVERSION}/sitelib/rfc/base32.scm
 share/sagittarius/${PKGVERSION}/sitelib/rfc/base64.scm
 share/sagittarius/${PKGVERSION}/sitelib/rfc/cmac.scm
 share/sagittarius/${PKGVERSION}/sitelib/rfc/cookie.scm
diff --git a/sagittarius/distinfo b/sagittarius/distinfo
index 318fd91e87..52c530dbd4 100644
--- a/sagittarius/distinfo
+++ b/sagittarius/distinfo
@@ -1,7 +1,7 @@
 $NetBSD$
 
-BLAKE2s (sagittarius-0.9.11.tar.gz) = 7223767e7131253fd42746e8a3edd8e3a9d9cd1257cb32a130ce048ae71f9992
-SHA512 (sagittarius-0.9.11.tar.gz) = 4daa51c1901d86640b9b59db0316087d05089167c7f771e816fe7dba8ef6398c4f65a8df85c22629cff1c9e05344c933695470849739ccb97732581b5647b10e
-Size (sagittarius-0.9.11.tar.gz) = 13043532 bytes
-SHA1 (patch-CMakeLists.txt) = d7c8ee92cbc39268f04ec241a3289fbf5042fe99
+BLAKE2s (sagittarius-0.9.12.tar.gz) = ecb40e82717e9fea20efd2eaa9b198f4fa473f993683b40e7612b39a59122d9a
+SHA512 (sagittarius-0.9.12.tar.gz) = bc1143b29f697fe073b9f74a6964d4dd86fd7a1a56e1829acf1f9181144675711740de86b89786192241a86b388e6adf3a18e9df02d8abbefa35429ffe9526e4
+Size (sagittarius-0.9.12.tar.gz) = 14595460 bytes
+SHA1 (patch-CMakeLists.txt) = 89b8e0f5d9e87b7d926062bf99f946a7f92c4a6e
 SHA1 (patch-ext_process_CMakeLists.txt) = 35c2fca79eb808362bf5ef1a41ad00260522d4f3
diff --git a/sagittarius/patches/patch-CMakeLists.txt b/sagittarius/patches/patch-CMakeLists.txt
index 8968956fdf..7712b790f1 100644
--- a/sagittarius/patches/patch-CMakeLists.txt
+++ b/sagittarius/patches/patch-CMakeLists.txt
@@ -1,10 +1,19 @@
 $NetBSD$
 
 Fix RPATH.
+Use MACHINE_GNU_PLATFORM for the platform triple.
 
---- CMakeLists.txt.orig	2024-02-17 09:56:23.000000000 +0000
+--- CMakeLists.txt.orig	2024-09-09 19:38:20.000000000 +0000
 +++ CMakeLists.txt
-@@ -223,6 +223,8 @@ IF(WIN32 AND NOT CYGWIN)
+@@ -169,6 +169,7 @@ MESSAGE(STATUS "Is big endian ... ${PLAT
+ 
+ TRIPLE(SAGITTARIUS_PROCESSOR SAGITTARIUS_PLATFORM
+   SAGITTARIUS_OS SAGITTARIUS_VENDOR SAGITTARIUS_TRIPLE)
++SET(SAGITTARIUS_TRIPLE ${MACHINE_GNU_PLATFORM})
+ 
+ ### System 
+ 
+@@ -224,6 +225,8 @@ IF(WIN32 AND NOT CYGWIN)
    ENDIF()
    SET(WINDOWS_SUPPORT TRUE)
  ELSE()
@@ -13,7 +22,7 @@ Fix RPATH.
    SET(SAGITTARIUS_SHARE_LIB_PATH
      "${CMAKE_INSTALL_PREFIX}/${SAGITTARIUS_CURRENT_SHARE}/lib")
    SET(SAGITTARIUS_SHARE_SITE_LIB_PATH 
-@@ -236,9 +238,10 @@ ELSE()
+@@ -237,9 +240,10 @@ ELSE()
  
    # RPATH
    SET(CMAKE_SKIP_BUILD_RPATH FALSE)


Home | Main Index | Thread Index | Old Index