pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/crypto++
Module Name: pkgsrc
Committed By: adam
Date: Thu Feb 13 18:18:54 UTC 2025
Modified Files:
pkgsrc/security/crypto++: Makefile PLIST distinfo
pkgsrc/security/crypto++/patches: patch-GNUmakefile
Log Message:
crypto++: updated to 8.9.0
Crypto++ 8.9
minor release, recompile of programs required
expanded community input and support
88 unique contributors as of this release
add additional tests to datatest.cpp
fix SIMON128 Asan finding on POWER8
fix AES/CFB and AES/CTR modes self test failures when using Cryptogams AES on ARMv7
fix ARIA/CTR mode self test failures when inString==outString
fix HIGHT/CTR mode self test failures when inString==outString
fix Rabbit/CTR mode self test failures when inString==outString
fix HC128/CTR and HC256/CTR mode self test failures when inString==outString
fix Prime Table and dangling reference to a temporary
fix Singleton::Ref() when using C++11 memory fences
remove unneeded call to Crop() in Randomize()
Crypto++ 8.8
minor release, recompile of programs required
expanded community input and support
88 unique contributors as of this release
fix crash in cryptest.exe when invoked with no options
fix crash in library due to GCC removing live code
fix RSA with key size 16 may provide an invalid key
fix failure to build on 32-bit x86
fix failure to build on iPhone Simulator for arm64
fix failure to build on Windows arm64
test for SSSE3 before using the ISA
fix include of <x86intrin.h> when using MSVC
improve performance of CRC32C_Update_SSE42 for x86-64
update documentation
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/security/crypto++/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/security/crypto++/PLIST
cvs rdiff -u -r1.17 -r1.18 pkgsrc/security/crypto++/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/security/crypto++/patches/patch-GNUmakefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/crypto++/Makefile
diff -u pkgsrc/security/crypto++/Makefile:1.27 pkgsrc/security/crypto++/Makefile:1.28
--- pkgsrc/security/crypto++/Makefile:1.27 Sat Feb 8 13:26:33 2025
+++ pkgsrc/security/crypto++/Makefile Thu Feb 13 18:18:54 2025
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.27 2025/02/08 13:26:33 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2025/02/13 18:18:54 adam Exp $
-DISTNAME= cryptopp870
-PKGNAME= cryptopp-8.7.0
-PKGREVISION= 1
+DISTNAME= cryptopp890
+PKGNAME= cryptopp-8.9.0
CATEGORIES= security
-MASTER_SITES= ${HOMEPAGE}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=weidai11/}
+GITHUB_RELEASE= CRYPTOPP_8_9_0
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -12,12 +12,13 @@ HOMEPAGE= https://www.cryptopp.com/
COMMENT= Free C++ class library of Cryptographic Primitives
LICENSE= boost-license
-USE_LANGUAGES= c++
-USE_TOOLS+= gmake
-MAKE_FILE= GNUmakefile
-BUILD_TARGET= all libcryptopp.pc
-WRKSRC= ${WRKDIR}
-CPPFLAGS+= -DCRYPTOPP_DISABLE_ASM -fPIC
+USE_LANGUAGES= c++
+USE_TOOLS+= gmake
+MAKE_FILE= GNUmakefile
+BUILD_TARGET= all libcryptopp.pc
+WRKSRC= ${WRKDIR}
+CPPFLAGS+= -DCRYPTOPP_DISABLE_ASM -fPIC
+TEST_TARGET= test
PKGCONFIG_OVERRIDE= libcryptopp.pc
PKGCONFIG_OVERRIDE_STAGE= post-build
Index: pkgsrc/security/crypto++/PLIST
diff -u pkgsrc/security/crypto++/PLIST:1.11 pkgsrc/security/crypto++/PLIST:1.12
--- pkgsrc/security/crypto++/PLIST:1.11 Sat Feb 8 13:18:48 2025
+++ pkgsrc/security/crypto++/PLIST Thu Feb 13 18:18:54 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2025/02/08 13:18:48 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.12 2025/02/13 18:18:54 adam Exp $
bin/cryptest
include/cryptopp/3way.h
include/cryptopp/adler32.h
@@ -195,7 +195,7 @@ include/cryptopp/zlib.h
lib/libcryptopp.a
lib/libcryptopp.so
lib/libcryptopp.so.8
-lib/libcryptopp.so.8.7
+lib/libcryptopp.so.8.9
lib/pkgconfig/libcryptopp.pc
share/cryptopp/TestData/3desval.dat
share/cryptopp/TestData/3wayval.dat
Index: pkgsrc/security/crypto++/distinfo
diff -u pkgsrc/security/crypto++/distinfo:1.17 pkgsrc/security/crypto++/distinfo:1.18
--- pkgsrc/security/crypto++/distinfo:1.17 Sun Oct 2 16:20:26 2022
+++ pkgsrc/security/crypto++/distinfo Thu Feb 13 18:18:54 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.17 2022/10/02 16:20:26 nros Exp $
+$NetBSD: distinfo,v 1.18 2025/02/13 18:18:54 adam Exp $
-BLAKE2s (cryptopp870.zip) = fd5a150b2213d7cec9f559ff64b56daed853f49a64a83a42dbe3c95415171a6e
-SHA512 (cryptopp870.zip) = cb85e10118b247be016b40ecf79cf3ff933a174e2e3d9280c426e57eb1ad936db42eafc19a30ec9bf5d7f08c335b1fee4dc149e1bda00d44d40d84d010f6af11
-Size (cryptopp870.zip) = 9277791 bytes
-SHA1 (patch-GNUmakefile) = 7d9ed45142c7da319cdf76e01fc97cb064a282c6
+BLAKE2s (cryptopp890.zip) = de24a9d49320d067b9ce092b84ad0533a48b2081c288199416af064296e5e820
+SHA512 (cryptopp890.zip) = 903970c4c0312272e93bae0cc3477be66b273dd38c9329fda9f7157ec44e247a3bc16b9d2b4ad625f258af0eaf2dc2c4210d4d14829b455f180983859a5c4b41
+Size (cryptopp890.zip) = 9288053 bytes
+SHA1 (patch-GNUmakefile) = 76855066bae551c6b288faae6e642aeaccca6a47
Index: pkgsrc/security/crypto++/patches/patch-GNUmakefile
diff -u pkgsrc/security/crypto++/patches/patch-GNUmakefile:1.4 pkgsrc/security/crypto++/patches/patch-GNUmakefile:1.5
--- pkgsrc/security/crypto++/patches/patch-GNUmakefile:1.4 Sun Oct 2 16:20:26 2022
+++ pkgsrc/security/crypto++/patches/patch-GNUmakefile Thu Feb 13 18:18:54 2025
@@ -1,10 +1,9 @@
-$NetBSD: patch-GNUmakefile,v 1.4 2022/10/02 16:20:26 nros Exp $
+$NetBSD: patch-GNUmakefile,v 1.5 2025/02/13 18:18:54 adam Exp $
-Avoid -march=native compiler flag.
On Darwin, use absolute path to avoid conflict with devel/libtool.
Fix dylib name.
---- GNUmakefile.orig 2022-08-07 19:52:03.000000000 +0000
+--- GNUmakefile.orig 2023-10-01 16:38:21.000000000 +0000
+++ GNUmakefile
@@ -33,7 +33,7 @@ CHMOD ?= chmod
MKDIR ?= mkdir -p
@@ -24,50 +23,7 @@ Fix dylib name.
HAS_SOLIB_VERSION := 1
endif
-@@ -969,42 +969,6 @@ ARFLAGS = -xar -o
- RANLIB = true
- endif
-
--# Native build testing. Issue 'make native'.
--ifeq ($(findstring native,$(MAKECMDGOALS)),native)
-- NATIVE_OPT =
--
-- # Try GCC and compatibles first
-- TPROG = TestPrograms/test_cxx.cpp
-- TOPT = -march=native
-- HAVE_OPT = $(shell $(TCOMMAND) 2>&1 | wc -w)
-- ifeq ($(strip $(HAVE_OPT)),0)
-- NATIVE_OPT = -march=native
-- endif # NATIVE_OPT
--
-- # And tune
-- ifeq ($(NATIVE_OPT),)
-- TOPT = -mtune=native
-- HAVE_OPT = $(shell $(TCOMMAND) 2>&1 | wc -w)
-- ifeq ($(strip $(HAVE_OPT)),0)
-- NATIVE_OPT = -mtune=native
-- endif # NATIVE_OPT
-- endif
--
-- # Try SunCC next
-- ifeq ($(NATIVE_OPT),)
-- TOPT = -native
-- HAVE_OPT = $(shell $(TCOMMAND) 2>&1 | wc -w)
-- ifeq ($(strip $(HAVE_OPT)),0)
-- NATIVE_OPT = -native
-- endif # NATIVE_OPT
-- endif
--
-- ifneq ($(NATIVE_OPT),)
-- CRYPTOPP_CXXFLAGS += $(NATIVE_OPT)
-- endif
--
--endif # Native
--
- # Undefined Behavior Sanitizer (UBsan) testing. Issue 'make ubsan'.
- ifeq ($(findstring ubsan,$(MAKECMDGOALS)),ubsan)
- CRYPTOPP_CXXFLAGS := $(CRYPTOPP_CXXFLAGS:-g%=-g3)
-@@ -1139,9 +1103,9 @@ ifeq ($(HAS_SOLIB_VERSION),1)
+@@ -1148,9 +1148,9 @@ ifeq ($(HAS_SOLIB_VERSION),1)
# Different patchlevels and minors are compatible since 6.1
SOLIB_COMPAT_SUFFIX=.$(LIB_MAJOR)
# Linux uses -Wl,-soname
@@ -79,7 +35,7 @@ Fix dylib name.
SOLIB_FLAGS=-Wl,-soname,libcryptopp.so$(SOLIB_COMPAT_SUFFIX)
endif
# Solaris uses -Wl,-h
-@@ -1443,7 +1407,7 @@ ifneq ($(wildcard libcryptopp.dylib),)
+@@ -1448,7 +1448,7 @@ ifneq ($(wildcard libcryptopp.dylib),)
@-$(MKDIR) $(DESTDIR)$(LIBDIR)
$(CP) libcryptopp.dylib $(DESTDIR)$(LIBDIR)
$(CHMOD) u=rwx,go=rx $(DESTDIR)$(LIBDIR)/libcryptopp.dylib
Home |
Main Index |
Thread Index |
Old Index