Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2020 06:45:10 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r523206 - head/security/seal
Message-ID:  <202001160645.00G6jAfv006249@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Jan 16 06:45:09 2020
New Revision: 523206
URL: https://svnweb.freebsd.org/changeset/ports/523206

Log:
  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)

Modified:
  head/security/seal/Makefile
  head/security/seal/distinfo
  head/security/seal/pkg-descr
  head/security/seal/pkg-plist

Modified: head/security/seal/Makefile
==============================================================================
--- head/security/seal/Makefile	Thu Jan 16 06:42:18 2020	(r523205)
+++ head/security/seal/Makefile	Thu Jan 16 06:45:09 2020	(r523206)
@@ -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 <bsd.port.mk>

Modified: head/security/seal/distinfo
==============================================================================
--- head/security/seal/distinfo	Thu Jan 16 06:42:18 2020	(r523205)
+++ head/security/seal/distinfo	Thu Jan 16 06:45:09 2020	(r523206)
@@ -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

Modified: head/security/seal/pkg-descr
==============================================================================
--- head/security/seal/pkg-descr	Thu Jan 16 06:42:18 2020	(r523205)
+++ head/security/seal/pkg-descr	Thu Jan 16 06:45:09 2020	(r523206)
@@ -4,4 +4,4 @@ Cryptography Research Group at Microsoft Research. SEA
 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/

Modified: head/security/seal/pkg-plist
==============================================================================
--- head/security/seal/pkg-plist	Thu Jan 16 06:42:18 2020	(r523205)
+++ head/security/seal/pkg-plist	Thu Jan 16 06:45:09 2020	(r523206)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001160645.00G6jAfv006249>