diff --git a/security/seal/Makefile b/security/seal/Makefile index e1195c8a0893..d1578714c929 100644 --- a/security/seal/Makefile +++ b/security/seal/Makefile @@ -1,22 +1,27 @@ PORTNAME= seal -DISTVERSION= 3.6.5 +DISTVERSION= 3.7.1 CATEGORIES= security MAINTAINER= lwhsu@FreeBSD.org COMMENT= Microsoft Simple Encrypted Arithmetic Library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cmake compiler:c++17-lang +USES= cmake:testing compiler:c++17-lang USE_GITHUB= yes GH_ACCOUNT= Microsoft GH_PROJECT= SEAL USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= SEAL_USE_MSGSL SEAL_USE_ZLIB SEAL_USE_ZSTD # project clones repositories instead of using exrernal packages, see https://github.com/microsoft/SEAL/issues/329 +CMAKE_TESTING_ON= SEAL_BUILD_TESTS +CMAKE_TESTING_TARGET= gtest PLIST_SUB+= VERSION=${DISTVERSION} VER=${DISTVERSION:R} +post-test: # run tests + @cd ${BUILD_WRKSRC} && bin/sealtest + .include diff --git a/security/seal/distinfo b/security/seal/distinfo index 2a72efbe0473..a38d0201c885 100644 --- a/security/seal/distinfo +++ b/security/seal/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1622625253 -SHA256 (Microsoft-SEAL-3.6.5_GH0.tar.gz) = 77bfcb4a8b785206c419cdf7aff8c200250691518eeddc958f874d1f567b2872 -SIZE (Microsoft-SEAL-3.6.5_GH0.tar.gz) = 591480 +TIMESTAMP = 1634323555 +SHA256 (Microsoft-SEAL-3.7.1_GH0.tar.gz) = 27446ea4fcea334faabc7439b1e312603ed700e3d26a45ec8408fd1d114374ec +SIZE (Microsoft-SEAL-3.7.1_GH0.tar.gz) = 593478 diff --git a/security/seal/pkg-plist b/security/seal/pkg-plist index 02f8152f1221..64e29603a93d 100644 --- a/security/seal/pkg-plist +++ b/security/seal/pkg-plist @@ -1,67 +1,66 @@ include/SEAL-%%VER%%/seal/batchencoder.h include/SEAL-%%VER%%/seal/ciphertext.h include/SEAL-%%VER%%/seal/ckks.h include/SEAL-%%VER%%/seal/context.h include/SEAL-%%VER%%/seal/decryptor.h include/SEAL-%%VER%%/seal/dynarray.h include/SEAL-%%VER%%/seal/encryptionparams.h include/SEAL-%%VER%%/seal/encryptor.h include/SEAL-%%VER%%/seal/evaluator.h include/SEAL-%%VER%%/seal/galoiskeys.h include/SEAL-%%VER%%/seal/keygenerator.h include/SEAL-%%VER%%/seal/kswitchkeys.h include/SEAL-%%VER%%/seal/memorymanager.h include/SEAL-%%VER%%/seal/modulus.h include/SEAL-%%VER%%/seal/plaintext.h include/SEAL-%%VER%%/seal/publickey.h include/SEAL-%%VER%%/seal/randomgen.h include/SEAL-%%VER%%/seal/randomtostd.h include/SEAL-%%VER%%/seal/relinkeys.h include/SEAL-%%VER%%/seal/seal.h include/SEAL-%%VER%%/seal/secretkey.h include/SEAL-%%VER%%/seal/serializable.h include/SEAL-%%VER%%/seal/serialization.h include/SEAL-%%VER%%/seal/util/blake2-impl.h include/SEAL-%%VER%%/seal/util/blake2.h include/SEAL-%%VER%%/seal/util/clang.h include/SEAL-%%VER%%/seal/util/clipnormal.h include/SEAL-%%VER%%/seal/util/common.h include/SEAL-%%VER%%/seal/util/config.h include/SEAL-%%VER%%/seal/util/croots.h include/SEAL-%%VER%%/seal/util/defines.h include/SEAL-%%VER%%/seal/util/dwthandler.h include/SEAL-%%VER%%/seal/util/fips202.h include/SEAL-%%VER%%/seal/util/galois.h include/SEAL-%%VER%%/seal/util/gcc.h include/SEAL-%%VER%%/seal/util/globals.h include/SEAL-%%VER%%/seal/util/hash.h include/SEAL-%%VER%%/seal/util/hestdparms.h -include/SEAL-%%VER%%/seal/util/intel_seal_ext.h include/SEAL-%%VER%%/seal/util/iterator.h include/SEAL-%%VER%%/seal/util/locks.h include/SEAL-%%VER%%/seal/util/mempool.h include/SEAL-%%VER%%/seal/util/msvc.h include/SEAL-%%VER%%/seal/util/ntt.h include/SEAL-%%VER%%/seal/util/numth.h include/SEAL-%%VER%%/seal/util/pointer.h include/SEAL-%%VER%%/seal/util/polyarithsmallmod.h include/SEAL-%%VER%%/seal/util/polycore.h include/SEAL-%%VER%%/seal/util/rlwe.h include/SEAL-%%VER%%/seal/util/rns.h include/SEAL-%%VER%%/seal/util/scalingvariant.h include/SEAL-%%VER%%/seal/util/streambuf.h include/SEAL-%%VER%%/seal/util/uintarith.h include/SEAL-%%VER%%/seal/util/uintarithmod.h include/SEAL-%%VER%%/seal/util/uintarithsmallmod.h include/SEAL-%%VER%%/seal/util/uintcore.h include/SEAL-%%VER%%/seal/util/ztools.h include/SEAL-%%VER%%/seal/valcheck.h include/SEAL-%%VER%%/seal/version.h lib/cmake/SEAL-%%VER%%/SEALConfig.cmake lib/cmake/SEAL-%%VER%%/SEALConfigVersion.cmake lib/cmake/SEAL-%%VER%%/SEALTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/SEAL-%%VER%%/SEALTargets.cmake lib/libseal.so lib/libseal.so.%%VER%% lib/libseal.so.%%VERSION%% libdata/pkgconfig/seal_shared.pc