From owner-svn-ports-all@freebsd.org Mon Apr 22 09:26:39 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2914D15947DA; Mon, 22 Apr 2019 09:26:39 +0000 (UTC) (envelope-from eugen@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C2084825BA; Mon, 22 Apr 2019 09:26:38 +0000 (UTC) (envelope-from eugen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B23A3ADDB; Mon, 22 Apr 2019 09:26:38 +0000 (UTC) (envelope-from eugen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x3M9Qc78075071; Mon, 22 Apr 2019 09:26:38 GMT (envelope-from eugen@FreeBSD.org) Received: (from eugen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x3M9Qb9v075065; Mon, 22 Apr 2019 09:26:37 GMT (envelope-from eugen@FreeBSD.org) Message-Id: <201904220926.x3M9Qb9v075065@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: eugen set sender to eugen@FreeBSD.org using -f From: Eugene Grosbein Date: Mon, 22 Apr 2019 09:26:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r499625 - in head/security: . gost-engine gost-engine/files X-SVN-Group: ports-head X-SVN-Commit-Author: eugen X-SVN-Commit-Paths: in head/security: . gost-engine gost-engine/files X-SVN-Commit-Revision: 499625 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: C2084825BA X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Apr 2019 09:26:39 -0000 Author: eugen Date: Mon Apr 22 09:26:37 2019 New Revision: 499625 URL: https://svnweb.freebsd.org/changeset/ports/499625 Log: New port: security/gost-engine OpenSSL 1.0.2 had built-in implementation of Russian cryptography standards (GOST) as additional engine, but since then that implementation moved to distinct repository at Github. This port presents loadable engine for OpenSSL 1.1.1+ and algorithms: GOST R 34.10-2001 GOST R 34.10-2012 GOST R 34.11-94 GOST R 34.11-2012 GOST 28147-89 GOST R 34.132015 Added: head/security/gost-engine/ head/security/gost-engine/Makefile (contents, props changed) head/security/gost-engine/distinfo (contents, props changed) head/security/gost-engine/files/ head/security/gost-engine/files/pkg-message.in (contents, props changed) head/security/gost-engine/pkg-descr (contents, props changed) head/security/gost-engine/pkg-plist (contents, props changed) Modified: head/security/Makefile Modified: head/security/Makefile ============================================================================== --- head/security/Makefile Mon Apr 22 09:16:42 2019 (r499624) +++ head/security/Makefile Mon Apr 22 09:26:37 2019 (r499625) @@ -190,6 +190,7 @@ PORTREVISION= 1 SUBDIR += gonepass SUBDIR += gopass SUBDIR += gorilla + SUBDIR += gost-engine SUBDIR += govpn SUBDIR += gpa SUBDIR += gpgdir Added: head/security/gost-engine/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/gost-engine/Makefile Mon Apr 22 09:26:37 2019 (r499625) @@ -0,0 +1,53 @@ +# Created by: Eugene Grosbein +# $FreeBSD$ + +PORTNAME= gost-engine +DISTVERSION= g20190421 +CATEGORIES= security + +MAINTAINER= eugen@FreeBSD.org +COMMENT= Implementation of the Russian GOST crypto algorithms for OpenSSL + +LICENSE= OpenSSL +LICENSE_FILE= ${WRKSRC}/LICENSE + +BROKEN_SSL= libressl libressl-devel openssl +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= needs features only available in OpenSSL 1.1.1+ + +USES= cmake ssl + +CMAKE_ARGS+= -DOPENSSL_ROOT_DIR=${OPENSSLBASE} + +USE_GITHUB= yes +GH_ACCOUNT= gost-engine +GH_PROJECT= engine +GH_TAGNAME= 7ed64cd + +SUB_FILES= pkg-message + +OPTIONS_DEFINE= DOCS + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 +BROKEN_SSL+= base +BROKEN_SSL_REASON_base= needs features only available in OpenSSL 1.1.1+ +.endif + +post-patch: + ${REINPLACE_CMD} 's/-Werror //' ${WRKSRC}/CMakeLists.txt + +post-install: + ( cd ${STAGEDIR}${PREFIX}/lib/engines-1.1 && ${MV} gost.so libgost.so ) + +post-install-DOCS-off: + ( cd ${STAGEDIR}${PREFIX}/man/man1 && ${RM} gost12sum.1 gostsum.1 ) + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ( cd ${WRKSRC} && ${INSTALL_MAN} INSTALL.md README.gost README.md \ + ${STAGEDIR}${DOCSDIR} ) + +.include Added: head/security/gost-engine/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/gost-engine/distinfo Mon Apr 22 09:26:37 2019 (r499625) @@ -0,0 +1,3 @@ +TIMESTAMP = 1555911951 +SHA256 (gost-engine-engine-g20190421-7ed64cd_GH0.tar.gz) = 96b54eff8e12e2ea2b3120550b5d5aa79a1bf773d5452622ee5b268f2631eccc +SIZE (gost-engine-engine-g20190421-7ed64cd_GH0.tar.gz) = 494751 Added: head/security/gost-engine/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/gost-engine/files/pkg-message.in Mon Apr 22 09:26:37 2019 (r499625) @@ -0,0 +1,6 @@ +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +You should edit openssl.cnf configuration file as specified below +to start using GOST Engine through OpenSSL. +For details, refer to the section `How to Configure' in +%%DOCSDIR%%/INSTALL.md +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Added: head/security/gost-engine/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/gost-engine/pkg-descr Mon Apr 22 09:26:37 2019 (r499625) @@ -0,0 +1,9 @@ +OPENSSL GOST ENGINE +An implementation of Russian cryptography standards for OpenSSL. + +This engine provides an implementation of various Russian cryptographic +algorithms, known generally as GOST cryptographic algorithms. +These algorithms can be used both via OpenSSL command line tools and +via high-level libopenssl calls. + +WWW: https://github.com/gost-engine/engine/blob/master/README.gost Added: head/security/gost-engine/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/gost-engine/pkg-plist Mon Apr 22 09:26:37 2019 (r499625) @@ -0,0 +1,8 @@ +bin/gost12sum +bin/gostsum +lib/engines-1.1/libgost.so +%%PORTDOCS%%man/man1/gost12sum.1.gz +%%PORTDOCS%%man/man1/gostsum.1.gz +%%PORTDOCS%%%%DOCSDIR%%/INSTALL.md +%%PORTDOCS%%%%DOCSDIR%%/README.gost +%%PORTDOCS%%%%DOCSDIR%%/README.md