Index: security/seal/Makefile =================================================================== --- security/seal/Makefile (revision 522996) +++ security/seal/Makefile (working copy) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= seal -PORTVERSION= 3.1.0 -PORTREVISION= 1 +DISTVERSION= 3.4.5 CATEGORIES= security MAINTAINER= lwhsu@FreeBSD.org @@ -12,11 +11,15 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake compiler:c++17-lang - -CMAKE_SOURCE_PATH= ${WRKSRC}/src - USE_GITHUB= yes GH_ACCOUNT= Microsoft GH_PROJECT= SEAL +USE_LDCONFIG= yes +CMAKE_ARGS= -DSEAL_LIB_BUILD_TYPE="Shared" + +CMAKE_SOURCE_PATH= ${WRKSRC}/native/src + +PLIST_SUB+= FILE_VER=${DISTVERSION:R} + .include Index: security/seal/distinfo =================================================================== --- security/seal/distinfo (revision 522996) +++ security/seal/distinfo (working copy) @@ -1,3 +1,3 @@ -TIMESTAMP = 1543982381 -SHA256 (Microsoft-SEAL-3.1.0_GH0.tar.gz) = 5f8f846f8b715dec7d5ff1ae4d1256d86a88925f1b39179dc5ac3e0b7a2d39e3 -SIZE (Microsoft-SEAL-3.1.0_GH0.tar.gz) = 248141 +TIMESTAMP = 1579151679 +SHA256 (Microsoft-SEAL-3.4.5_GH0.tar.gz) = 1badbab7e98a471c0d2a845db0278dd077e2fd1857434f271ef2b82798620f11 +SIZE (Microsoft-SEAL-3.4.5_GH0.tar.gz) = 1059586 Index: security/seal/files/patch-native_src_seal_randomgen.cpp =================================================================== --- security/seal/files/patch-native_src_seal_randomgen.cpp (nonexistent) +++ security/seal/files/patch-native_src_seal_randomgen.cpp (working copy) @@ -0,0 +1,11 @@ +--- native/src/seal/randomgen.cpp.orig 2020-01-16 05:15:13 UTC ++++ native/src/seal/randomgen.cpp +@@ -18,7 +18,7 @@ namespace seal + uint64_t random_uint64() + { + uint64_t result; +-#if defined(__linux__) || (defined(__APPLE__) && defined(__MACH__)) ++#if defined(__linux__) || defined(__FreeBSD__) || (defined(__APPLE__) && defined(__MACH__)) + random_device rd("/dev/urandom"); + result = (static_cast(rd()) << 32) + + static_cast(rd()); Property changes on: security/seal/files/patch-native_src_seal_randomgen.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: security/seal/pkg-descr =================================================================== --- security/seal/pkg-descr (revision 522996) +++ security/seal/pkg-descr (working copy) @@ -4,4 +4,4 @@ C++; it has no external dependencies, so it is easy to compile in many different environments. SEAL is licensed under the MIT license. -WWW: http://sealcrypto.org +WWW: https://www.microsoft.com/en-us/research/project/microsoft-seal/ Index: security/seal/pkg-plist =================================================================== --- security/seal/pkg-plist (revision 522996) +++ security/seal/pkg-plist (working copy) @@ -1,53 +1,64 @@ -include/seal/batchencoder.h -include/seal/biguint.h -include/seal/ciphertext.h -include/seal/ckks.h -include/seal/context.h -include/seal/decryptor.h -include/seal/defaultparams.h -include/seal/encoder.h -include/seal/encryptionparams.h -include/seal/encryptor.h -include/seal/evaluator.h -include/seal/galoiskeys.h -include/seal/intarray.h -include/seal/keygenerator.h -include/seal/memorymanager.h -include/seal/plaintext.h -include/seal/publickey.h -include/seal/randomgen.h -include/seal/relinkeys.h -include/seal/seal.h -include/seal/secretkey.h -include/seal/smallmodulus.h -include/seal/util/aes.h -include/seal/util/baseconverter.h -include/seal/util/clang.h -include/seal/util/clipnormal.h -include/seal/util/common.h -include/seal/util/config.h -include/seal/util/defines.h -include/seal/util/gcc.h -include/seal/util/globals.h -include/seal/util/hash.h -include/seal/util/hestdparms.h -include/seal/util/locks.h -include/seal/util/mempool.h -include/seal/util/msvc.h -include/seal/util/numth.h -include/seal/util/pointer.h -include/seal/util/polyarith.h -include/seal/util/polyarithmod.h -include/seal/util/polyarithsmallmod.h -include/seal/util/polycore.h -include/seal/util/randomtostd.h -include/seal/util/smallntt.h -include/seal/util/uintarith.h -include/seal/util/uintarithmod.h -include/seal/util/uintarithsmallmod.h -include/seal/util/uintcore.h -lib/cmake/SEAL/SEALConfig.cmake -lib/cmake/SEAL/SEALConfigVersion.cmake -lib/cmake/SEAL/SEALTargets-%%CMAKE_BUILD_TYPE%%.cmake -lib/cmake/SEAL/SEALTargets.cmake -lib/libseal.a +include/SEAL-%%FILE_VER%%/seal/batchencoder.h +include/SEAL-%%FILE_VER%%/seal/biguint.h +include/SEAL-%%FILE_VER%%/seal/ciphertext.h +include/SEAL-%%FILE_VER%%/seal/ckks.h +include/SEAL-%%FILE_VER%%/seal/context.h +include/SEAL-%%FILE_VER%%/seal/decryptor.h +include/SEAL-%%FILE_VER%%/seal/encryptionparams.h +include/SEAL-%%FILE_VER%%/seal/encryptor.h +include/SEAL-%%FILE_VER%%/seal/evaluator.h +include/SEAL-%%FILE_VER%%/seal/galoiskeys.h +include/SEAL-%%FILE_VER%%/seal/intarray.h +include/SEAL-%%FILE_VER%%/seal/intencoder.h +include/SEAL-%%FILE_VER%%/seal/keygenerator.h +include/SEAL-%%FILE_VER%%/seal/kswitchkeys.h +include/SEAL-%%FILE_VER%%/seal/memorymanager.h +include/SEAL-%%FILE_VER%%/seal/modulus.h +include/SEAL-%%FILE_VER%%/seal/plaintext.h +include/SEAL-%%FILE_VER%%/seal/publickey.h +include/SEAL-%%FILE_VER%%/seal/randomgen.h +include/SEAL-%%FILE_VER%%/seal/randomtostd.h +include/SEAL-%%FILE_VER%%/seal/relinkeys.h +include/SEAL-%%FILE_VER%%/seal/seal.h +include/SEAL-%%FILE_VER%%/seal/secretkey.h +include/SEAL-%%FILE_VER%%/seal/serialization.h +include/SEAL-%%FILE_VER%%/seal/smallmodulus.h +include/SEAL-%%FILE_VER%%/seal/util/baseconverter.h +include/SEAL-%%FILE_VER%%/seal/util/blake2-impl.h +include/SEAL-%%FILE_VER%%/seal/util/blake2.h +include/SEAL-%%FILE_VER%%/seal/util/clang.h +include/SEAL-%%FILE_VER%%/seal/util/clipnormal.h +include/SEAL-%%FILE_VER%%/seal/util/common.h +include/SEAL-%%FILE_VER%%/seal/util/config.h +include/SEAL-%%FILE_VER%%/seal/util/croots.h +include/SEAL-%%FILE_VER%%/seal/util/defines.h +include/SEAL-%%FILE_VER%%/seal/util/gcc.h +include/SEAL-%%FILE_VER%%/seal/util/globals.h +include/SEAL-%%FILE_VER%%/seal/util/hash.h +include/SEAL-%%FILE_VER%%/seal/util/hestdparms.h +include/SEAL-%%FILE_VER%%/seal/util/locks.h +include/SEAL-%%FILE_VER%%/seal/util/mempool.h +include/SEAL-%%FILE_VER%%/seal/util/msvc.h +include/SEAL-%%FILE_VER%%/seal/util/numth.h +include/SEAL-%%FILE_VER%%/seal/util/pointer.h +include/SEAL-%%FILE_VER%%/seal/util/polyarith.h +include/SEAL-%%FILE_VER%%/seal/util/polyarithmod.h +include/SEAL-%%FILE_VER%%/seal/util/polyarithsmallmod.h +include/SEAL-%%FILE_VER%%/seal/util/polycore.h +include/SEAL-%%FILE_VER%%/seal/util/rlwe.h +include/SEAL-%%FILE_VER%%/seal/util/scalingvariant.h +include/SEAL-%%FILE_VER%%/seal/util/smallntt.h +include/SEAL-%%FILE_VER%%/seal/util/uintarith.h +include/SEAL-%%FILE_VER%%/seal/util/uintarithmod.h +include/SEAL-%%FILE_VER%%/seal/util/uintarithsmallmod.h +include/SEAL-%%FILE_VER%%/seal/util/uintcore.h +include/SEAL-%%FILE_VER%%/seal/util/ztools.h +include/SEAL-%%FILE_VER%%/seal/valcheck.h +lib/cmake/SEAL-%%FILE_VER%%/FindMSGSL.cmake +lib/cmake/SEAL-%%FILE_VER%%/SEALConfig.cmake +lib/cmake/SEAL-%%FILE_VER%%/SEALConfigVersion.cmake +lib/cmake/SEAL-%%FILE_VER%%/SEALTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/SEAL-%%FILE_VER%%/SEALTargets.cmake +lib/libseal.so +lib/libseal.so.3.4 +lib/libseal.so.3.4.5