git: fa0638c07312 - main - security/gost-engine: update to g20220520
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Mar 2023 17:57:44 UTC
The branch main has been updated by eugen:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fa0638c07312c0a11adf6a508006af6948329144
commit fa0638c07312c0a11adf6a508006af6948329144
Author: Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2023-03-06 17:51:54 +0000
Commit: Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2023-03-06 17:51:54 +0000
security/gost-engine: update to g20220520
Update gost-engine to latest commit in its openssl_1_1_1 branch.
Note that this port does not work with OpenSSL 3+,
sources of another gost-engine branch are needed for that.
Explicitly state that cmake>=3.18.1 is needed.
Tested by: Alexander Povolotsky
---
security/gost-engine/Makefile | 17 +++++++++++------
security/gost-engine/distinfo | 6 +++---
security/gost-engine/pkg-plist | 1 +
3 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/security/gost-engine/Makefile b/security/gost-engine/Makefile
index da9946a1e1a4..2451650dde4b 100644
--- a/security/gost-engine/Makefile
+++ b/security/gost-engine/Makefile
@@ -1,5 +1,5 @@
PORTNAME= gost-engine
-DISTVERSION= g20190421
+DISTVERSION= g20220520
CATEGORIES= security
MAINTAINER= eugen@FreeBSD.org
@@ -9,14 +9,17 @@ WWW= https://github.com/gost-engine/engine/blob/master/README.gost
LICENSE= OpenSSL
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_SSL= libressl libressl-devel
-BROKEN_SSL_REASON_libressl= needs features only available in OpenSSL 1.1.1+
-BROKEN_SSL_REASON_libressl-devel=needs features only available in OpenSSL 1.1.1+
+BROKEN_SSL= libressl libressl-devel openssl-devel
+BROKEN_SSL_REASON_libressl= needs features only available in OpenSSL 1.1.1+
+BROKEN_SSL_REASON_libressl-devel= needs features only available in OpenSSL 1.1.1+
+BROKEN_SSL_REASON_openssl-devel= for OpenSSL 1.1.1 only
+
+BUILD_DEPENDS= cmake>=3.18.1:devel/cmake
USES= cmake ssl
USE_GITHUB= yes
GH_PROJECT= engine
-GH_TAGNAME= 7ed64cd
+GH_TAGNAME= 739f957
ENGINESDIR?= ${PREFIX}/lib/engines-1.1
@@ -33,7 +36,9 @@ post-patch:
${REINPLACE_CMD} 's/-Werror //' ${WRKSRC}/CMakeLists.txt
post-install:
- ( cd ${STAGEDIR}${PREFIX}/lib/engines-1.1 && ${MV} gost.so libgost.so )
+ cd ${STAGEDIR}${PREFIX}/lib/engines-1.1 && \
+ ${MV} gost.so.1.1 libgost.so.1.1 && ${LN} -s libgost.so.1.1 libgost.so && \
+ ${RM} gost.so
post-install-DOCS-off:
( cd ${STAGEDIR}${PREFIX}/share/man/man1 && ${RM} gost12sum.1 gostsum.1 )
diff --git a/security/gost-engine/distinfo b/security/gost-engine/distinfo
index d699514ca537..87f2930291f7 100644
--- a/security/gost-engine/distinfo
+++ b/security/gost-engine/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1555911951
-SHA256 (gost-engine-engine-g20190421-7ed64cd_GH0.tar.gz) = 96b54eff8e12e2ea2b3120550b5d5aa79a1bf773d5452622ee5b268f2631eccc
-SIZE (gost-engine-engine-g20190421-7ed64cd_GH0.tar.gz) = 494751
+TIMESTAMP = 1678110026
+SHA256 (gost-engine-engine-g20220520-739f957_GH0.tar.gz) = 82c46ca1246e7f2b250fb7749198cad1585d1ed2fb79bb932094ba1ef678f336
+SIZE (gost-engine-engine-g20220520-739f957_GH0.tar.gz) = 1603866
diff --git a/security/gost-engine/pkg-plist b/security/gost-engine/pkg-plist
index abbdda035442..72fe45771165 100644
--- a/security/gost-engine/pkg-plist
+++ b/security/gost-engine/pkg-plist
@@ -1,6 +1,7 @@
bin/gost12sum
bin/gostsum
lib/engines-1.1/libgost.so
+lib/engines-1.1/libgost.so.1.1
%%PORTDOCS%%share/man/man1/gost12sum.1.gz
%%PORTDOCS%%share/man/man1/gostsum.1.gz
%%PORTDOCS%%%%DOCSDIR%%/INSTALL.md