From nobody Fri Dec 16 01:46:52 2022
X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NYBmD2xd4z4jpDY;
Fri, 16 Dec 2022 01:46:52 +0000 (UTC)
(envelope-from git@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)
key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
client-signature RSA-PSS (4096 bits) client-digest SHA256)
(Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK))
by mx1.freebsd.org (Postfix) with ESMTPS id 4NYBmD2NFVz3CfC;
Fri, 16 Dec 2022 01:46:52 +0000 (UTC)
(envelope-from git@FreeBSD.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
t=1671155212;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding;
bh=Jga7JJ56nqs2UkFMuztPktf5Wcj0o985mf4P8d+ksAc=;
b=BaykEWVd+1ynuTnXf9yxFVjZICH62GfduVvRNNhlLK72ktKJkMKlMTrqiE8XdqY1+CgJuS
VmSKCvWGNEd8qYqAig3i5tqL5mnNrKh7fKM5MMbaRh1NtdnGym80LLj6xGcogWwlHmKOrY
sA6lU1fOKeBDxo++/Iu3M7OQ6BOlcK6D39n3x4S64VMp6xe44GvUlrHJMqmcEdLxK9/34u
IavhFkJE6Jya2Si6v+WoMAgNcuApY8mhOPVd7cWQlfJY7cLs+uMhUhJ7lT8YHjlfIS8XXl
CTckwZJEuCr2aatPrc0+BDeXPcHnwqxvGWhUBIriHzRdsSCWxxYRPgElv98afQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
s=dkim; t=1671155212;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding;
bh=Jga7JJ56nqs2UkFMuztPktf5Wcj0o985mf4P8d+ksAc=;
b=Y1Z9wJ9VVhT3fJO97R+ByW4NIM1ysRIefLEaArB+EhNIn3zO0Jk5E3Nm045jK3oaLd33PA
bB+MeNIoTAx4KrbOHaabOeG0QvefhjiPmQMYKlPQAZfJcrwqxiey9bd6nUHpTIm7f78f8w
xhJIKYNd0UUMjqM2g8sfPvwUNsSJG4YJUF3fMDNXQau8kov4Qrou5IVbV2QYYqsc9guk9h
QEBFnKybJajdAgjUSozUDbu32BDSH73yd9bPsQB7Eq9KY9MzcCQnY6Frj3gy4DAuB3WrZM
1vmirvHsXLcc2zaVr6Y5s5OQqW/3udpZZ3tCjE8+KoBJV2Wk/jaYXioClILe3w==
ARC-Authentication-Results: i=1;
mx1.freebsd.org;
none
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671155212; a=rsa-sha256; cv=none;
b=ZdHtDYXcPQrZ8adRrWq+0drRmXdUfY8hJ/ZmFdozOqkNis2TFDnlVytmRMpCADirYSrUTA
zq2A8DarPKQaj9Ohgnpd0fj5gWGSFklkHaHWzLiCiRSf5S2O8MH41XScxmLcIq/AjUiz6U
PNr+xdnmv9+Fv1DuQpjyeTrJMIUJ5okL6TvuhgvMGydtaG9nW57Z/QQZW6QtowdHO8R+SM
AzzeIM1+PhSfzyi6/vb+mtXo058RKD8AWUFb8q8PCVbRtmF5bCIUszrQUHrIy3nCheTVoi
n5O3hWw+/uMzW4sHieqSY65eDxE7DYua6Tx1QRrj8IfX1XzhQMyetw9wHgE3kw==
Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
(Client did not present a certificate)
by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NYBmD1PGMzvRr;
Fri, 16 Dec 2022 01:46:52 +0000 (UTC)
(envelope-from git@FreeBSD.org)
Received: from gitrepo.freebsd.org ([127.0.1.44])
by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BG1kqAG012741;
Fri, 16 Dec 2022 01:46:52 GMT
(envelope-from git@gitrepo.freebsd.org)
Received: (from git@localhost)
by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BG1kq29012740;
Fri, 16 Dec 2022 01:46:52 GMT
(envelope-from git)
Date: Fri, 16 Dec 2022 01:46:52 GMT
Message-Id: <202212160146.2BG1kq29012740@gitrepo.freebsd.org>
To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org,
dev-commits-ports-main@FreeBSD.org
From: Koichiro Iwao
Subject: git: 47cc96f7fe91 - main - security/gostsum: New port:Implementation of GOST R 34.11-94, GOST R 34.11-2012 hash functions
List-Id: Commits to the main branch of the FreeBSD ports repository
List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main
List-Help:
List-Post:
List-Subscribe:
List-Unsubscribe:
Sender: owner-dev-commits-ports-main@freebsd.org
X-BeenThere: dev-commits-ports-main@freebsd.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Git-Committer: meta
X-Git-Repository: ports
X-Git-Refname: refs/heads/main
X-Git-Reftype: branch
X-Git-Commit: 47cc96f7fe91bd63dbe6e46026161454d9e59f34
Auto-Submitted: auto-generated
X-ThisMailContainsUnwantedMimeParts: N
The branch main has been updated by meta:
URL: https://cgit.FreeBSD.org/ports/commit/?id=47cc96f7fe91bd63dbe6e46026161454d9e59f34
commit 47cc96f7fe91bd63dbe6e46026161454d9e59f34
Author: Rozhuk Ivan
AuthorDate: 2022-12-13 01:12:57 +0000
Commit: Koichiro Iwao
CommitDate: 2022-12-16 01:44:49 +0000
security/gostsum: New port:Implementation of GOST R 34.11-94, GOST R 34.11-2012 hash functions
PR: 268343
---
security/Makefile | 1 +
security/gostsum/Makefile | 28 ++++++++++++++++++++++++++++
security/gostsum/distinfo | 3 +++
security/gostsum/pkg-descr | 2 ++
4 files changed, 34 insertions(+)
diff --git a/security/Makefile b/security/Makefile
index 616591b13233..b596c0ee9ce6 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -183,6 +183,7 @@
SUBDIR += gopass
SUBDIR += gorilla
SUBDIR += gost-engine
+ SUBDIR += gostsum
SUBDIR += gpa
SUBDIR += gpg-gui
SUBDIR += gpg-tui
diff --git a/security/gostsum/Makefile b/security/gostsum/Makefile
new file mode 100644
index 000000000000..5d14ce027b94
--- /dev/null
+++ b/security/gostsum/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= gostsum
+PORTVERSION= 20221213
+CATEGORIES= security
+
+MAINTAINER= rozhuk.im@gmail.com
+COMMENT= Implementation of GOST R 34.11-94, GOST R 34.11-2012 hash functions
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= gmake
+USE_GITHUB= yes
+GH_ACCOUNT= AnatolyGeorgievski
+GH_TAGNAME= b1a7a8e33ade59d43147a2f2531fe87c26de4093
+
+PLIST_FILES= bin/gostsum
+
+.include
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|CC =.*||g' \
+ -e 's|CFLAGS =.*||g' \
+ ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/gostsum ${STAGEDIR}${PREFIX}/bin
+
+.include
diff --git a/security/gostsum/distinfo b/security/gostsum/distinfo
new file mode 100644
index 000000000000..89b08482b88c
--- /dev/null
+++ b/security/gostsum/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1670990367
+SHA256 (AnatolyGeorgievski-gostsum-20221213-b1a7a8e33ade59d43147a2f2531fe87c26de4093_GH0.tar.gz) = bd542fd6f030573a5e6c36975f0dd6fb901fdae529f5aaf063e0fbb3d48d89b5
+SIZE (AnatolyGeorgievski-gostsum-20221213-b1a7a8e33ade59d43147a2f2531fe87c26de4093_GH0.tar.gz) = 90968
diff --git a/security/gostsum/pkg-descr b/security/gostsum/pkg-descr
new file mode 100644
index 000000000000..78a826faa521
--- /dev/null
+++ b/security/gostsum/pkg-descr
@@ -0,0 +1,2 @@
+Implementation of GOST R 34.11-94, GOST R 34.11-2012 (STRIBOG-256/512),
+SHA, SHA2 hash functions and hash based algorithms: HMAC, PBKDF, SSHA.