Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2019 09:25:30 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r501637 - in head/security: . py-securesystemslib
Message-ID:  <201905140925.x4E9PUi1022610@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Tue May 14 09:25:30 2019
New Revision: 501637
URL: https://svnweb.freebsd.org/changeset/ports/501637

Log:
  [NEW PORT] security/py-securesystemslib: Cryptographic and general-purpose routines
  
  securesystemslib supports public-key and general-purpose cryptography,
  such as ECDSA, Ed25519, RSA, SHA256, SHA512, etc. Most of the
  cryptographic operations are performed by the cryptography and PyNaCl
  libraries, but verification of Ed25519 signatures can be done in pure
  Python.
  
  WWW: https://github.com/secure-systems-lab/securesystemslib
  
  [1] https://github.com/secure-systems-lab/securesystemslib/issues/166
  [2] https://github.com/secure-systems-lab/securesystemslib/issues/167

Added:
  head/security/py-securesystemslib/
  head/security/py-securesystemslib/Makefile   (contents, props changed)
  head/security/py-securesystemslib/distinfo   (contents, props changed)
  head/security/py-securesystemslib/pkg-descr   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Tue May 14 09:08:26 2019	(r501636)
+++ head/security/Makefile	Tue May 14 09:25:30 2019	(r501637)
@@ -988,6 +988,7 @@ PORTREVISION=	1
     SUBDIR += py-safe
     SUBDIR += py-scp
     SUBDIR += py-scrypt
+    SUBDIR += py-securesystemslib
     SUBDIR += py-service_identity
     SUBDIR += py-signedjson
     SUBDIR += py-slowaes

Added: head/security/py-securesystemslib/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-securesystemslib/Makefile	Tue May 14 09:25:30 2019	(r501637)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME=	securesystemslib
+PORTVERSION=	0.11.3
+DISTVERSIONPREFIX=v
+CATEGORIES=	security python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	koobs@FreeBSD.org
+COMMENT=	Cryptographic and general-purpose routines
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}cryptography>=2.2.2:security/py-cryptography@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}colorama>=0.3.9:devel/py-colorama@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pynacl>1.2.0:security/py-pynacl@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
+USES=		python
+USE_GITHUB=	yes	# tests/LICENSE not included in PyPI sdist
+USE_PYTHON=	autoplist distutils
+
+GH_ACCOUNT=	secure-systems-lab
+GH_TAGNAME=	124bb05d
+
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs tests
+
+.include <bsd.port.mk>

Added: head/security/py-securesystemslib/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-securesystemslib/distinfo	Tue May 14 09:25:30 2019	(r501637)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1557820499
+SHA256 (secure-systems-lab-securesystemslib-v0.11.3-124bb05d_GH0.tar.gz) = 1d8d4aba9afcf27e93ebe99a29929f787edcbfd7087415cc4a177310ccdaa6cc
+SIZE (secure-systems-lab-securesystemslib-v0.11.3-124bb05d_GH0.tar.gz) = 889234

Added: head/security/py-securesystemslib/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-securesystemslib/pkg-descr	Tue May 14 09:25:30 2019	(r501637)
@@ -0,0 +1,6 @@
+securesystemslib supports public-key and general-purpose cryptography, such
+as ECDSA, Ed25519, RSA, SHA256, SHA512, etc. Most of the cryptographic
+operations are performed by the cryptography and PyNaCl libraries, but
+verification of Ed25519 signatures can be done in pure Python.
+
+WWW: https://github.com/secure-systems-lab/securesystemslib



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905140925.x4E9PUi1022610>