diff --git a/security/hexl/Makefile b/security/hexl/Makefile index 467c6fe49f0a..39a3e77a1d88 100644 --- a/security/hexl/Makefile +++ b/security/hexl/Makefile @@ -1,29 +1,29 @@ PORTNAME= hexl DISTVERSIONPREFIX= v -DISTVERSION= 1.2.4 +DISTVERSION= 1.2.5 CATEGORIES= security MAINTAINER= yuri@FreeBSD.org COMMENT= Intel homomorphic encryption acceleration library LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= error: __int128 is not supported on this target LIB_DEPENDS= libcpu_features.so:devel/cpu_features USES= cmake:testing compiler:c++17-lang localbase:ldflags USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= intel CMAKE_ON= HEXL_SHARED_LIB CMAKE_OFF= HEXL_BENCHMARK HEXL_TESTING CMAKE_TESTING_ON= HEXL_TESTING CMAKE_TESTING_TARGET= unittest CXXFLAGS+= -I${LOCALBASE}/include/cpu_features .include diff --git a/security/hexl/distinfo b/security/hexl/distinfo index 81a2014cd655..a0f46fffb3a3 100644 --- a/security/hexl/distinfo +++ b/security/hexl/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1647732627 -SHA256 (intel-hexl-v1.2.4_GH0.tar.gz) = f91dd158e3faa8795035f618286cdef7dacbf488fd0ba4f44409880997b4549f -SIZE (intel-hexl-v1.2.4_GH0.tar.gz) = 111262 +TIMESTAMP = 1660080431 +SHA256 (intel-hexl-v1.2.5_GH0.tar.gz) = 3692e6e6183dbc49253e51e86c3e52e7affcac925f57db0949dbb4d34b558a9a +SIZE (intel-hexl-v1.2.5_GH0.tar.gz) = 128326 diff --git a/security/hexl/files/patch-CMakeLists.txt b/security/hexl/files/patch-CMakeLists.txt deleted file mode 100644 index aff9c395dc11..000000000000 --- a/security/hexl/files/patch-CMakeLists.txt +++ /dev/null @@ -1,30 +0,0 @@ -- workaround for hexl's failure to find cpu_features - ---- CMakeLists.txt.orig 2021-10-07 07:53:10 UTC -+++ CMakeLists.txt -@@ -137,17 +137,17 @@ message(STATUS "CMAKE_INSTALL_PREFIX: ${CMAKE_INST - #------------------------------------------------------------------------------ - # Third-party code... - #------------------------------------------------------------------------------ --find_package(CpuFeatures CONFIG) --if (NOT CpuFeatures_FOUND) -+#find_package(CpuFeatures CONFIG) -+if (FALSE AND NOT CpuFeatures_FOUND) - message(STATUS "CpuFeatures: pre-installed CpuFeatures not found") - add_subdirectory(cmake/third-party/cpu-features) - else() -- message(STATUS "CpuFeatures: found") -- add_library(cpu_features ALIAS CpuFeatures::cpu_features) -- get_target_property( -- CpuFeatures_INCLUDE_DIR -- CpuFeatures::cpu_features -- INTERFACE_INCLUDE_DIRECTORIES) -+# message(STATUS "CpuFeatures: found") -+# add_library(cpu_features ALIAS CpuFeatures::cpu_features) -+# get_target_property( -+# CpuFeatures_INCLUDE_DIR -+# CpuFeatures::cpu_features -+# INTERFACE_INCLUDE_DIRECTORIES) - endif() - - if (HEXL_TESTING OR HEXL_BENCHMARK OR HEXL_DEBUG) diff --git a/security/hexl/pkg-plist b/security/hexl/pkg-plist index 85855aa1dd3a..5f474b3895e4 100644 --- a/security/hexl/pkg-plist +++ b/security/hexl/pkg-plist @@ -1,33 +1,38 @@ include/hexl/eltwise/eltwise-add-mod.hpp include/hexl/eltwise/eltwise-cmp-add.hpp include/hexl/eltwise/eltwise-cmp-sub-mod.hpp include/hexl/eltwise/eltwise-fma-mod.hpp include/hexl/eltwise/eltwise-mult-mod.hpp include/hexl/eltwise/eltwise-reduce-mod.hpp include/hexl/eltwise/eltwise-sub-mod.hpp +include/hexl/experimental/fft-like/fft-like-avx512-util.hpp +include/hexl/experimental/fft-like/fft-like-native.hpp +include/hexl/experimental/fft-like/fft-like.hpp +include/hexl/experimental/fft-like/fwd-fft-like-avx512.hpp +include/hexl/experimental/fft-like/inv-fft-like-avx512.hpp include/hexl/experimental/misc/lr-mat-vec-mult.hpp include/hexl/experimental/seal/dyadic-multiply-internal.hpp include/hexl/experimental/seal/dyadic-multiply.hpp include/hexl/experimental/seal/key-switch-internal.hpp include/hexl/experimental/seal/key-switch.hpp include/hexl/hexl.hpp include/hexl/logging/logging.hpp include/hexl/ntt/ntt.hpp include/hexl/number-theory/number-theory.hpp include/hexl/util/aligned-allocator.hpp include/hexl/util/allocator.hpp include/hexl/util/check.hpp include/hexl/util/clang.hpp include/hexl/util/compiler.hpp include/hexl/util/defines.hpp include/hexl/util/gcc.hpp include/hexl/util/msvc.hpp include/hexl/util/types.hpp include/hexl/util/util.hpp -lib/cmake/hexl-1.2.4/HEXLConfig.cmake -lib/cmake/hexl-1.2.4/HEXLConfigVersion.cmake -lib/cmake/hexl-1.2.4/HEXLTargets-%%CMAKE_BUILD_TYPE%%.cmake -lib/cmake/hexl-1.2.4/HEXLTargets.cmake +lib/cmake/hexl-1.2.5/HEXLConfig.cmake +lib/cmake/hexl-1.2.5/HEXLConfigVersion.cmake +lib/cmake/hexl-1.2.5/HEXLTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/hexl-1.2.5/HEXLTargets.cmake lib/libhexl.so -lib/libhexl.so.1.2.4 +lib/libhexl.so.1.2.5 libdata/pkgconfig/hexl.pc