From nobody Wed Apr 5 20:11:18 2023 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 4PsG3r0dLyz445Xk; Wed, 5 Apr 2023 20:11:20 +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 4PsG3q116kz4ML4; Wed, 5 Apr 2023 20:11:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680725479; 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=cOTCW9RpheHw6RVdxByPD1fJDQR69IGq7ox36FgNXEY=; b=GnYkMovs4dhOLluMH7d9jrbqSnkvw5MB2vW948EbtBoftCU7q7LLB2CmbET3kjDgmKR65+ ALzPfQk1/07RDZ6axW0UrHlumCs0IjDUjtNqI7Kw6D4gehZdM4ii1m7k8wbwaIHv/D7RLO k3j4uNXTMeDKvKinDjLTzy0/TZe5shJ4gwpB8gBsktHpGWHRuqoHcyfUWHAIyGzIFA3X94 JUDIwYY6dTzBUqK+/q822oiUIsy2xEXSuvZmSdmRNKjmkvnjhLY+SDsx7UYNRe8bgvFx81 3DnHxmKWMfJx0HU5kbCbIsGygg8cZyN6CxBwSwVnzlbBMKoLaxSfHKf7d6CJuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680725479; 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=cOTCW9RpheHw6RVdxByPD1fJDQR69IGq7ox36FgNXEY=; b=P9UsxMxQc3mx9oMGE73rDMVEWmpE6BnDk/YuGoCrs0CdLiMwuMRanFedg/KncHiOnIXTb9 TWhlM/4V35s0Bi0Ao3P7OMqCEPk3j1dln3dGrAhrHTPkMJGi2SAfIgiFq29Qc2jHbMcQzK GLaLPZdykv+8NyPyx8Tc54ZGgmTzolf5A4tMfur6RJyvhywAXvurr6ywQVGbrv/Eb7nbPQ WfvqsL+udZvJTy+FNdnxl0Mm/yCBj6z1lmgyz154eDhVUBSsnw9M9GqyEdzpf+kK0q+yM1 UxCrak/wTXcYHv6T68I1Zs5lit0ftjKNe7i+uUeOAHadlf9B71GY9KPWta9tlA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680725479; a=rsa-sha256; cv=none; b=YOoP8VGXonmmIoi5RS+vcJ06OG01lvuaFlhKTcJg0IiCEtfmJAF5TVwLY8YgyV+5l4sqgi yqhyU5Kuyj1sADqSnL2gphKy0Iwts9qtOpuD6DYMDi5P9YDa5UO1M9NQCGbn3hiuLAQ8Se L5yvnxUha9y2cfHPVGQzgVGkdwZ8iundhNZpdJTtVg0CcwfgEgFvt53RPMHSYwVUc6IjnE DrFmA7d2IgSvmFZwHxOJKcp8opiTAn2np6Wj4uLJyE93WaeP+4zGxf8DtA1ohDWUWhyzXd Q3esKdA1wDWTzhMRg3uYe/VQ45GYzFeqfTbFPyFE47Tz3vabtkM+Tx/xoPiKIg== 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 4PsG3q06HKzbxq; Wed, 5 Apr 2023 20:11:19 +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 335KBITX057851; Wed, 5 Apr 2023 20:11:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 335KBIOc057850; Wed, 5 Apr 2023 20:11:18 GMT (envelope-from git) Date: Wed, 5 Apr 2023 20:11:18 GMT Message-Id: <202304052011.335KBIOc057850@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Eugene Grosbein Subject: git: acb81ef79946 - main - new port: security/cpfx 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: eugen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: acb81ef79946a6697deee901c35ad72769fed1bd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by eugen: URL: https://cgit.FreeBSD.org/ports/commit/?id=acb81ef79946a6697deee901c35ad72769fed1bd commit acb81ef79946a6697deee901c35ad72769fed1bd Author: Eugene Grosbein AuthorDate: 2023-04-05 20:06:17 +0000 Commit: Eugene Grosbein CommitDate: 2023-04-05 20:06:17 +0000 new port: security/cpfx PFX decoder for CryptoPro GOST R 34.10-2012 implementation --- security/Makefile | 1 + security/cpfx/Makefile | 33 +++++++++++++++++++++++++++++++++ security/cpfx/distinfo | 3 +++ security/cpfx/pkg-descr | 3 +++ 4 files changed, 40 insertions(+) diff --git a/security/Makefile b/security/Makefile index 88021d3ad285..d8b4ed292fc5 100644 --- a/security/Makefile +++ b/security/Makefile @@ -99,6 +99,7 @@ SUBDIR += courierpasswd SUBDIR += courieruserinfo SUBDIR += cowrie + SUBDIR += cpfx SUBDIR += cracklib SUBDIR += crackpkcs12 SUBDIR += create-cert diff --git a/security/cpfx/Makefile b/security/cpfx/Makefile new file mode 100644 index 000000000000..7fa15113dba9 --- /dev/null +++ b/security/cpfx/Makefile @@ -0,0 +1,33 @@ +PORTNAME= cpfx +DISTVERSION= g20221025 +CATEGORIES= security +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= eugen@FreeBSD.org +COMMENT= PFX decoder for CryptoPro GOST R 34.10-2012 implementation +WWW= https://github.com/li0ard/cpfx + +LICENSE= APACHE20 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1>=2.6.0:devel/py-asn1@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pygost>=5.11:security/py-pygost@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyderasn>=9.3:devel/py-pyderasn@${PY_FLAVOR} + +PLIST_FILES= bin/cpfx.py bin/schemas.py +USES= python + +USE_PYTHON= flavors +USE_GITHUB= yes + +GH_ACCOUNT= li0ard +GH_TAGNAME= 69c3d7d + +NO_ARCH= yes +NO_BUILD= yes + +do-install: + @cd ${WRKSRC} && \ + ${REINPLACE_CMD} $$'1s,^,#!${PYTHON_CMD}\\n,' cpfx.py && \ + ${INSTALL_SCRIPT} cpfx.py schemas.py ${STAGEDIR}${PREFIX}/bin + +.include diff --git a/security/cpfx/distinfo b/security/cpfx/distinfo new file mode 100644 index 000000000000..f479bb261449 --- /dev/null +++ b/security/cpfx/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1680396777 +SHA256 (li0ard-cpfx-g20221025-69c3d7d_GH0.tar.gz) = aa67d827f27d6ffc9384320207c564cc5a0f60c52f0d58c82bce3e81e2d72b4b +SIZE (li0ard-cpfx-g20221025-69c3d7d_GH0.tar.gz) = 7959 diff --git a/security/cpfx/pkg-descr b/security/cpfx/pkg-descr new file mode 100644 index 000000000000..550a319b3950 --- /dev/null +++ b/security/cpfx/pkg-descr @@ -0,0 +1,3 @@ +PFX decoder for CryptoPro GOST R 34.10-2012 implementation. + +No support for deprecated GOST R 34.10-2001.