aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-09-12 16:57:52 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-09-12 17:27:24 +0000
commit5fb79694d0889c4b5b88e2af992ad47109245d6e (patch)
tree20bbcad2b9eea0014e28081e30b6bf1647f0f3f4
parent83d61297653437246c53e53346f4e0165aebc24a (diff)
downloadports-5fb79694d0889c4b5b88e2af992ad47109245d6e.tar.gz
ports-5fb79694d0889c4b5b88e2af992ad47109245d6e.zip
security/helib: Update 2.1.0 -> 2.2.0
Reported by: portscout
-rw-r--r--security/helib/Makefile2
-rw-r--r--security/helib/distinfo6
-rw-r--r--security/helib/files/patch-CMakeLists.txt32
-rw-r--r--security/helib/pkg-plist2
4 files changed, 20 insertions, 22 deletions
diff --git a/security/helib/Makefile b/security/helib/Makefile
index f5e105c5a8c2..0338805ad3d1 100644
--- a/security/helib/Makefile
+++ b/security/helib/Makefile
@@ -1,6 +1,6 @@
PORTNAME= helib
DISTVERSIONPREFIX= v
-DISTVERSION= 2.1.0
+DISTVERSION= 2.2.0
CATEGORIES= security
MAINTAINER= yuri@FreeBSD.org
diff --git a/security/helib/distinfo b/security/helib/distinfo
index 1b197a034f8c..b172ea874c1a 100644
--- a/security/helib/distinfo
+++ b/security/helib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1615019915
-SHA256 (homenc-HElib-v2.1.0_GH0.tar.gz) = 641af0f602cfc7f5f5b1cfde0652252def2dfaf5f7962c2595cf598663637951
-SIZE (homenc-HElib-v2.1.0_GH0.tar.gz) = 2403353
+TIMESTAMP = 1631464121
+SHA256 (homenc-HElib-v2.2.0_GH0.tar.gz) = e5f82fb0520a76eafdf5044a1f17f512999479d899da8c34335da5e193699b94
+SIZE (homenc-HElib-v2.2.0_GH0.tar.gz) = 2415583
diff --git a/security/helib/files/patch-CMakeLists.txt b/security/helib/files/patch-CMakeLists.txt
index bd282f610bbc..2d444cd8f22b 100644
--- a/security/helib/files/patch-CMakeLists.txt
+++ b/security/helib/files/patch-CMakeLists.txt
@@ -1,29 +1,27 @@
---- CMakeLists.txt.orig 2020-10-21 10:59:03 UTC
+--- CMakeLists.txt.orig 2021-09-12 16:33:58 UTC
+++ CMakeLists.txt
-@@ -87,18 +87,6 @@ set_property(CACHE
+@@ -101,6 +101,7 @@ set_property(CACHE
PROPERTY
STRINGS "Debug" "RelWithDebInfo" "Release" "MinSizeRel")
--# Creating and documenting TARGET_ARCHITECTURE cmake property
--set(TARGET_ARCHITECTURE "${TARGET_ARCHITECTURE}"
-- CACHE
-- STRING "Target architecture used for -march (default is native)")
--# If TARGET_ARCHITECTURE is not set use default
--if (NOT TARGET_ARCHITECTURE)
-- set(TARGET_ARCHITECTURE "native"
-- CACHE
-- STRING "Target architecture used for -march (default is native)"
-- FORCE)
--endif (NOT TARGET_ARCHITECTURE)
--
- # Path containing FindGMP.cmake and FindNTL.cmake
- list(APPEND CMAKE_MODULE_PATH "${HELIB_CMAKE_EXTRA_DIR}")
++if (FALSE)
+ # Creating and documenting TARGET_ARCHITECTURE cmake property
+ set(TARGET_ARCHITECTURE "${TARGET_ARCHITECTURE}"
+ CACHE
+@@ -112,6 +113,7 @@ if (NOT TARGET_ARCHITECTURE)
+ STRING "Target architecture used for -march (default is native)"
+ FORCE)
+ endif (NOT TARGET_ARCHITECTURE)
++endif()
-@@ -150,7 +138,6 @@ endif (NOT PACKAGE_BUILD)
+ set(HELIB_SP_NBITS "0"
+ CACHE
+@@ -176,7 +178,7 @@ endif (NOT PACKAGE_BUILD)
# Setting flag lists to avoid polluting CMAKE_CXX_FLAGS.
# PUBLIC_HELIB_CXX_FLAGS will be exported to the installed target.
-set(PRIVATE_HELIB_CXX_FLAGS "-march=${TARGET_ARCHITECTURE}")
++#set(PRIVATE_HELIB_CXX_FLAGS "-march=${TARGET_ARCHITECTURE}")
set(PUBLIC_HELIB_CXX_FLAGS "")
# Add extra checks during build
if (PEDANTIC_BUILD)
diff --git a/security/helib/pkg-plist b/security/helib/pkg-plist
index ae0a4d9cc5a7..a384abcf60eb 100644
--- a/security/helib/pkg-plist
+++ b/security/helib/pkg-plist
@@ -58,7 +58,7 @@ include/helib/version.h
include/helib/zeroValue.h
include/helib/zzX.h
lib/libhelib.so
-lib/libhelib.so.2.1.0
+lib/libhelib.so.2.2.0
share/cmake/helib/helibConfig.cmake
share/cmake/helib/helibConfigVersion.cmake
share/cmake/helib/helibTargets-%%CMAKE_BUILD_TYPE%%.cmake