Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PFX decoder for CryptoPro GOST R 34.10-2012 implementation
- Loading branch information
Eugene Grosbein
authored and
Eugene Grosbein
committed
Apr 5, 2023
1 parent
08e811b
commit acb81ef
Showing
4 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1680396777 | ||
SHA256 (li0ard-cpfx-g20221025-69c3d7d_GH0.tar.gz) = aa67d827f27d6ffc9384320207c564cc5a0f60c52f0d58c82bce3e81e2d72b4b | ||
SIZE (li0ard-cpfx-g20221025-69c3d7d_GH0.tar.gz) = 7959 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
PFX decoder for CryptoPro GOST R 34.10-2012 implementation. | ||
|
||
No support for deprecated GOST R 34.10-2001. |