1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

security/cryptopp: Update to 8.4.0

Bump PORTREVSION on all consumers. ABI-breaking changes were introduced and
recompile of consumers is necessary.

Remove unused cryptopp dependency from devel/xeus. Upstream migrated to OpenSSL
several releases ago. [1]

[1] c98c44c174

Changes:	https://www.cryptopp.com/release840.html
This commit is contained in:
Jason E. Hale 2021-01-19 04:26:12 +00:00
parent 8d24cbd5ac
commit 5455755643
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=562021
15 changed files with 42 additions and 22 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= urbackup-client
DISTVERSION= 2.4.11.0
PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= https://hndl.urbackup.org/Client/${DISTVERSION:R}/

View File

@ -2,6 +2,7 @@
PORTNAME= urbackup-server
DISTVERSION= 2.4.13
PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= https://hndl.urbackup.org/Server/${DISTVERSION}/

View File

@ -3,7 +3,7 @@
PORTNAME= clementine
DISTVERSION= 1.4.0
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= audio
PKGNAMESUFFIX= -player

View File

@ -2,6 +2,7 @@
PORTNAME= xeus
DISTVERSION= 0.24.4
PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
@ -13,8 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= cppzmq>0:net/cppzmq \
nlohmann-json>0:devel/nlohmann-json \
xtl-quant-stack>0:devel/xtl-quant-stack
LIB_DEPENDS= libcryptopp.so:security/cryptopp \
libuuid.so:misc/e2fsprogs-libuuid \
LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid \
libzmq.so:net/libzmq4
USES= cmake compiler:c++14-lang localbase:ldflags pkgconfig ssl

View File

@ -3,7 +3,7 @@
PORTNAME= gdal
PORTVERSION= 3.1.4
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= graphics geography
MASTER_SITES= https://download.osgeo.org/gdal/${PORTVERSION}/ \
LOCAL/sunpoet

View File

@ -3,6 +3,7 @@
PORTNAME= kvazaar
DISTVERSIONPREFIX= v
DISTVERSION?= 2.0.0
PORTREVISION= 1
CATEGORIES= multimedia
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/

View File

@ -3,7 +3,7 @@
PORTNAME= amule
PORTVERSION= 11065
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net-p2p
MASTER_SITES= http://amule.sourceforge.net/tarballs/
PKGNAMESUFFIX= -devel

View File

@ -3,7 +3,7 @@
PORTNAME= amule
PORTVERSION= 2.3.2
PORTREVISION= 11
PORTREVISION= 12
CATEGORIES= net-p2p
MASTER_SITES= SF/${PORTNAME}/aMule/${PORTVERSION}
DISTNAME= aMule-${PORTVERSION}

View File

@ -4,7 +4,7 @@
PORTNAME= ceph
DISTVERSIONPREFIX= v
DISTVERSION= 14.2.11
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net
PKGNAMESUFFIX= 14

View File

@ -2,6 +2,7 @@
PORTNAME= megacmd
DISTVERSION= 1.0.0
PORTREVISION= 1
CATEGORIES= net
MAINTAINER= menelkir@itroll.org

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= cryptopp
PORTVERSION= 8.2.0
PORTVERSION= 8.4.0
CATEGORIES= security
MASTER_SITES= http://www.cryptopp.com/
DISTNAME= cryptopp${PORTVERSION:S/.//g}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1575820181
SHA256 (cryptopp820.zip) = 03f0e2242e11b9d19b28d0ec5a3fa8ed5cc7b27640e6bed365744f593e858058
SIZE (cryptopp820.zip) = 8859815
TIMESTAMP = 1610559898
SHA256 (cryptopp840.zip) = c0f5e5cd2c693c8160e9c51666e95949a1c19fd4fe4fef874af2ec1e42757b9a
SIZE (cryptopp840.zip) = 9124180

View File

@ -2,9 +2,9 @@ We need to export the CRYPTOPP_DISABLE_ASM flag if cryptopp was not built
with SIMD support. Certain functions prototypes are guarded by this
flag and build failures will arise in other ports if not set appropriately.
--- GNUmakefile.orig 2019-04-28 23:36:50 UTC
--- GNUmakefile.orig 2021-01-01 17:22:45 UTC
+++ GNUmakefile
@@ -57,7 +57,7 @@ ifeq ($(SYSTEMX),)
@@ -71,7 +71,7 @@ ifeq ($(SYSTEMX),)
SYSTEMX := $(shell uname -s 2>/dev/null)
endif
@ -13,7 +13,7 @@ flag and build failures will arise in other ports if not set appropriately.
IS_HURD := $(shell echo "$(SYSTEMX)" | $(GREP) -i -c -E "GNU|Hurd")
IS_MINGW := $(shell echo "$(SYSTEMX)" | $(GREP) -i -c "MinGW")
IS_CYGWIN := $(shell echo "$(SYSTEMX)" | $(GREP) -i -c "Cygwin")
@@ -742,7 +742,7 @@ endif
@@ -795,7 +795,7 @@ endif
# Use -pthread whenever it is available. See http://www.hpl.hp.com/techreports/2004/HPL-2004-209.pdf
# http://stackoverflow.com/questions/2127797/gcc-significance-of-pthread-flag-when-compiling
@ -22,8 +22,8 @@ flag and build failures will arise in other ports if not set appropriately.
ifeq ($(XLC_COMPILER),1)
ifeq ($(findstring -qthreaded,$(CXXFLAGS)),)
TPROG = TestPrograms/test_pthreads.cxx
@@ -1341,7 +1341,7 @@ libcryptopp.pc:
@echo 'Version: 8.2' >> libcryptopp.pc
@@ -1450,7 +1450,7 @@ libcryptopp.pc:
@echo 'Version: 8.4' >> libcryptopp.pc
@echo 'URL: https://cryptopp.com/' >> libcryptopp.pc
@echo '' >> libcryptopp.pc
- @echo 'Cflags: -I$${includedir}' >> libcryptopp.pc

View File

@ -2,12 +2,12 @@ This fixes a warning triggered by testing an unsigned parameter
against 0. The patch solves this by creating a different template
for signed case. (PR: 178827)
--- misc.h.orig 2018-04-08 08:47:11 UTC
--- misc.h.orig 2021-01-01 17:03:59 UTC
+++ misc.h
@@ -572,8 +572,10 @@ inline bool SafeConvert(T1 from, T2 &to)
@@ -700,8 +700,10 @@ inline bool SafeConvert(T1 from, T2 &to)
/// \param value the value to convert
/// \param base the base to use during the conversion
/// \returns the string representation of value in base.
/// \return the string representation of value in base.
+template<bool> struct IsUnsigned {};
+
template <class T>
@ -15,8 +15,8 @@ for signed case. (PR: 178827)
+std::string IntToStringImpl(T value, unsigned int base, IsUnsigned<true>)
{
// Hack... set the high bit for uppercase.
static const unsigned int HIGH_BIT = (1U << 31);
@@ -584,12 +586,6 @@ std::string IntToString(T value, unsigned int base = 1
const unsigned int HIGH_BIT = (1U << 31);
@@ -712,12 +714,6 @@ std::string IntToString(T value, unsigned int base = 1
if (value == 0)
return "0";
@ -29,7 +29,7 @@ for signed case. (PR: 178827)
std::string result;
while (value > 0)
{
@@ -597,9 +593,28 @@ std::string IntToString(T value, unsigned int base = 1
@@ -725,9 +721,28 @@ std::string IntToString(T value, unsigned int base = 1
result = char((digit < 10 ? '0' : (CH - 10)) + digit) + result;
value /= base;
}

View File

@ -6,6 +6,7 @@ include/cryptopp/aes.h
include/cryptopp/aes_armv4.h
include/cryptopp/algebra.h
include/cryptopp/algparam.h
include/cryptopp/allocate.h
include/cryptopp/arc4.h
include/cryptopp/argnames.h
include/cryptopp/aria.h
@ -29,6 +30,16 @@ include/cryptopp/cham.h
include/cryptopp/channels.h
include/cryptopp/cmac.h
include/cryptopp/config.h
include/cryptopp/config_align.h
include/cryptopp/config_asm.h
include/cryptopp/config_cpu.h
include/cryptopp/config_cxx.h
include/cryptopp/config_dll.h
include/cryptopp/config_int.h
include/cryptopp/config_misc.h
include/cryptopp/config_ns.h
include/cryptopp/config_os.h
include/cryptopp/config_ver.h
include/cryptopp/cpu.h
include/cryptopp/crc.h
include/cryptopp/cryptlib.h
@ -131,12 +142,16 @@ include/cryptopp/salsa.h
include/cryptopp/scrypt.h
include/cryptopp/seal.h
include/cryptopp/secblock.h
include/cryptopp/secblockfwd.h
include/cryptopp/seckey.h
include/cryptopp/seed.h
include/cryptopp/serpent.h
include/cryptopp/serpentp.h
include/cryptopp/sha.h
include/cryptopp/sha1_armv4.h
include/cryptopp/sha256_armv4.h
include/cryptopp/sha3.h
include/cryptopp/sha512_armv4.h
include/cryptopp/shacal2.h
include/cryptopp/shake.h
include/cryptopp/shark.h
@ -169,6 +184,7 @@ include/cryptopp/words.h
include/cryptopp/xed25519.h
include/cryptopp/xtr.h
include/cryptopp/xtrcrypt.h
include/cryptopp/xts.h
include/cryptopp/zdeflate.h
include/cryptopp/zinflate.h
include/cryptopp/zlib.h