From nobody Wed Apr 05 21:49:19 2023 X-Original-To: dev-commits-ports-all@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 4PsJDy1Qwkz44Csf; Wed, 5 Apr 2023 21:49:22 +0000 (UTC) (envelope-from diizzy@FreeBSD.org) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PsJDx5MW6z3hqn; Wed, 5 Apr 2023 21:49:21 +0000 (UTC) (envelope-from diizzy@FreeBSD.org) Authentication-Results: mx1.freebsd.org; none Received: (Authenticated sender: daniel.engberg@pyret.net) by mail.gandi.net (Postfix) with ESMTPA id 7826F20003; Wed, 5 Apr 2023 21:49:19 +0000 (UTC) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Date: Wed, 05 Apr 2023 23:49:19 +0200 From: Daniel Engberg To: Eugene Grosbein Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: acb81ef79946 - main - new port: security/cpfx In-Reply-To: <202304052011.335KBIOc057850@gitrepo.freebsd.org> References: <202304052011.335KBIOc057850@gitrepo.freebsd.org> Message-ID: <4dd5f0b5160e3b1ed1af93212d60e748@FreeBSD.org> X-Sender: diizzy@FreeBSD.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4PsJDx5MW6z3hqn X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:29169, ipnet:2001:4b98::/32, country:FR] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 2023-04-05 22:11, Eugene Grosbein wrote: > 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. Hi, Might be a bit nitpicky but shouldn't ${REINPLACE_CMD} be in *-patch section rather than do-install? Best regards, Daniel