security/seal: Update 3.1.0 -> 3.4.5

Port changes:
* Change to the shared library
* Update WWW
* Add GH pull request for the FreeBSD compatibility patch

PR:		243384
Approved by:	lwhsu (maintainer)
This commit is contained in:
Yuri Victorovich 2020-01-16 06:45:09 +00:00
parent 4bd11b7e32
commit c22df3cf4f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=523206
4 changed files with 81 additions and 62 deletions

View file

@ -1,10 +1,12 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= seal PORTNAME= seal
PORTVERSION= 3.1.0 DISTVERSION= 3.4.5
PORTREVISION= 1
CATEGORIES= security 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 MAINTAINER= lwhsu@FreeBSD.org
COMMENT= Microsoft Simple Encrypted Arithmetic Library COMMENT= Microsoft Simple Encrypted Arithmetic Library
@ -12,11 +14,15 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake compiler:c++17-lang USES= cmake compiler:c++17-lang
CMAKE_SOURCE_PATH= ${WRKSRC}/src
USE_GITHUB= yes USE_GITHUB= yes
GH_ACCOUNT= Microsoft GH_ACCOUNT= Microsoft
GH_PROJECT= SEAL 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 <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,3 +1,5 @@
TIMESTAMP = 1543982381 TIMESTAMP = 1579156746
SHA256 (Microsoft-SEAL-3.1.0_GH0.tar.gz) = 5f8f846f8b715dec7d5ff1ae4d1256d86a88925f1b39179dc5ac3e0b7a2d39e3 SHA256 (Microsoft-SEAL-3.4.5_GH0.tar.gz) = 1badbab7e98a471c0d2a845db0278dd077e2fd1857434f271ef2b82798620f11
SIZE (Microsoft-SEAL-3.1.0_GH0.tar.gz) = 248141 SIZE (Microsoft-SEAL-3.4.5_GH0.tar.gz) = 1059586
SHA256 (4d57e56649d2dd1b8333457e301661121b05c827.patch) = 8cc16d773c4bf8d0171f7b7f26c9df699b55483613217546895e7c02fae8825d
SIZE (4d57e56649d2dd1b8333457e301661121b05c827.patch) = 850

View file

@ -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 C++; it has no external dependencies, so it is easy to compile in many
different environments. SEAL is licensed under the MIT license. different environments. SEAL is licensed under the MIT license.
WWW: http://sealcrypto.org WWW: https://www.microsoft.com/en-us/research/project/microsoft-seal/

View file

@ -1,53 +1,64 @@
include/seal/batchencoder.h include/SEAL-%%FILE_VER%%/seal/batchencoder.h
include/seal/biguint.h include/SEAL-%%FILE_VER%%/seal/biguint.h
include/seal/ciphertext.h include/SEAL-%%FILE_VER%%/seal/ciphertext.h
include/seal/ckks.h include/SEAL-%%FILE_VER%%/seal/ckks.h
include/seal/context.h include/SEAL-%%FILE_VER%%/seal/context.h
include/seal/decryptor.h include/SEAL-%%FILE_VER%%/seal/decryptor.h
include/seal/defaultparams.h include/SEAL-%%FILE_VER%%/seal/encryptionparams.h
include/seal/encoder.h include/SEAL-%%FILE_VER%%/seal/encryptor.h
include/seal/encryptionparams.h include/SEAL-%%FILE_VER%%/seal/evaluator.h
include/seal/encryptor.h include/SEAL-%%FILE_VER%%/seal/galoiskeys.h
include/seal/evaluator.h include/SEAL-%%FILE_VER%%/seal/intarray.h
include/seal/galoiskeys.h include/SEAL-%%FILE_VER%%/seal/intencoder.h
include/seal/intarray.h include/SEAL-%%FILE_VER%%/seal/keygenerator.h
include/seal/keygenerator.h include/SEAL-%%FILE_VER%%/seal/kswitchkeys.h
include/seal/memorymanager.h include/SEAL-%%FILE_VER%%/seal/memorymanager.h
include/seal/plaintext.h include/SEAL-%%FILE_VER%%/seal/modulus.h
include/seal/publickey.h include/SEAL-%%FILE_VER%%/seal/plaintext.h
include/seal/randomgen.h include/SEAL-%%FILE_VER%%/seal/publickey.h
include/seal/relinkeys.h include/SEAL-%%FILE_VER%%/seal/randomgen.h
include/seal/seal.h include/SEAL-%%FILE_VER%%/seal/randomtostd.h
include/seal/secretkey.h include/SEAL-%%FILE_VER%%/seal/relinkeys.h
include/seal/smallmodulus.h include/SEAL-%%FILE_VER%%/seal/seal.h
include/seal/util/aes.h include/SEAL-%%FILE_VER%%/seal/secretkey.h
include/seal/util/baseconverter.h include/SEAL-%%FILE_VER%%/seal/serialization.h
include/seal/util/clang.h include/SEAL-%%FILE_VER%%/seal/smallmodulus.h
include/seal/util/clipnormal.h include/SEAL-%%FILE_VER%%/seal/util/baseconverter.h
include/seal/util/common.h include/SEAL-%%FILE_VER%%/seal/util/blake2-impl.h
include/seal/util/config.h include/SEAL-%%FILE_VER%%/seal/util/blake2.h
include/seal/util/defines.h include/SEAL-%%FILE_VER%%/seal/util/clang.h
include/seal/util/gcc.h include/SEAL-%%FILE_VER%%/seal/util/clipnormal.h
include/seal/util/globals.h include/SEAL-%%FILE_VER%%/seal/util/common.h
include/seal/util/hash.h include/SEAL-%%FILE_VER%%/seal/util/config.h
include/seal/util/hestdparms.h include/SEAL-%%FILE_VER%%/seal/util/croots.h
include/seal/util/locks.h include/SEAL-%%FILE_VER%%/seal/util/defines.h
include/seal/util/mempool.h include/SEAL-%%FILE_VER%%/seal/util/gcc.h
include/seal/util/msvc.h include/SEAL-%%FILE_VER%%/seal/util/globals.h
include/seal/util/numth.h include/SEAL-%%FILE_VER%%/seal/util/hash.h
include/seal/util/pointer.h include/SEAL-%%FILE_VER%%/seal/util/hestdparms.h
include/seal/util/polyarith.h include/SEAL-%%FILE_VER%%/seal/util/locks.h
include/seal/util/polyarithmod.h include/SEAL-%%FILE_VER%%/seal/util/mempool.h
include/seal/util/polyarithsmallmod.h include/SEAL-%%FILE_VER%%/seal/util/msvc.h
include/seal/util/polycore.h include/SEAL-%%FILE_VER%%/seal/util/numth.h
include/seal/util/randomtostd.h include/SEAL-%%FILE_VER%%/seal/util/pointer.h
include/seal/util/smallntt.h include/SEAL-%%FILE_VER%%/seal/util/polyarith.h
include/seal/util/uintarith.h include/SEAL-%%FILE_VER%%/seal/util/polyarithmod.h
include/seal/util/uintarithmod.h include/SEAL-%%FILE_VER%%/seal/util/polyarithsmallmod.h
include/seal/util/uintarithsmallmod.h include/SEAL-%%FILE_VER%%/seal/util/polycore.h
include/seal/util/uintcore.h include/SEAL-%%FILE_VER%%/seal/util/rlwe.h
lib/cmake/SEAL/SEALConfig.cmake include/SEAL-%%FILE_VER%%/seal/util/scalingvariant.h
lib/cmake/SEAL/SEALConfigVersion.cmake include/SEAL-%%FILE_VER%%/seal/util/smallntt.h
lib/cmake/SEAL/SEALTargets-%%CMAKE_BUILD_TYPE%%.cmake include/SEAL-%%FILE_VER%%/seal/util/uintarith.h
lib/cmake/SEAL/SEALTargets.cmake include/SEAL-%%FILE_VER%%/seal/util/uintarithmod.h
lib/libseal.a 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