diff --git a/security/seal/Makefile b/security/seal/Makefile index 9c373cfa1504..df9a0d0f732a 100644 --- a/security/seal/Makefile +++ b/security/seal/Makefile @@ -1,10 +1,12 @@ # $FreeBSD$ PORTNAME= seal -PORTVERSION= 3.1.0 -PORTREVISION= 1 +DISTVERSION= 3.4.5 CATEGORIES= security +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES= 4d57e56649d2dd1b8333457e301661121b05c827.patch:-p1 # PR https://github.com/microsoft/SEAL/pull/111 + MAINTAINER= lwhsu@FreeBSD.org COMMENT= Microsoft Simple Encrypted Arithmetic Library @@ -12,11 +14,15 @@ LICENSE= MIT 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 diff --git a/security/seal/distinfo b/security/seal/distinfo index b0fbe79645e1..d0de6dee1d20 100644 --- a/security/seal/distinfo +++ b/security/seal/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1543982381 -SHA256 (Microsoft-SEAL-3.1.0_GH0.tar.gz) = 5f8f846f8b715dec7d5ff1ae4d1256d86a88925f1b39179dc5ac3e0b7a2d39e3 -SIZE (Microsoft-SEAL-3.1.0_GH0.tar.gz) = 248141 +TIMESTAMP = 1579156746 +SHA256 (Microsoft-SEAL-3.4.5_GH0.tar.gz) = 1badbab7e98a471c0d2a845db0278dd077e2fd1857434f271ef2b82798620f11 +SIZE (Microsoft-SEAL-3.4.5_GH0.tar.gz) = 1059586 +SHA256 (4d57e56649d2dd1b8333457e301661121b05c827.patch) = 8cc16d773c4bf8d0171f7b7f26c9df699b55483613217546895e7c02fae8825d +SIZE (4d57e56649d2dd1b8333457e301661121b05c827.patch) = 850 diff --git a/security/seal/pkg-descr b/security/seal/pkg-descr index 5be27379577d..f4875b6e4637 100644 --- a/security/seal/pkg-descr +++ b/security/seal/pkg-descr @@ -4,4 +4,4 @@ Cryptography Research Group at Microsoft Research. SEAL is written in standard 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/ diff --git a/security/seal/pkg-plist b/security/seal/pkg-plist index 39bbab9ea1ea..f14d41ec9d53 100644 --- a/security/seal/pkg-plist +++ b/security/seal/pkg-plist @@ -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