svn commit: r405515 - in head/security: . py-signedjson

Kubilay Kocak koobs at FreeBSD.org
Fri Jan 8 04:37:11 UTC 2016


Author: koobs
Date: Fri Jan  8 04:37:09 2016
New Revision: 405515
URL: https://svnweb.freebsd.org/changeset/ports/405515

Log:
  [NEW] security/py-signedjson: Sign JSON with Ed25519 signatures
  
  python-signedjson allows more than one entity to sign an object, can sign with
  more than one key and replace ED25519 with a different algorithm.
  
  WWW: https://github.com/matrix-org/python-signedjson
  
  PR:		205914
  Submitted by:	Brendan Molloy <brendan+freebsd at bbqsrc.net>

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

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Fri Jan  8 04:34:34 2016	(r405514)
+++ head/security/Makefile	Fri Jan  8 04:37:09 2016	(r405515)
@@ -866,6 +866,7 @@
     SUBDIR += py-requests-kerberos
     SUBDIR += py-rsa
     SUBDIR += py-service_identity
+    SUBDIR += py-signedjson
     SUBDIR += py-slowaes
     SUBDIR += py-ssh
     SUBDIR += py-sslstrip

Added: head/security/py-signedjson/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-signedjson/Makefile	Fri Jan  8 04:37:09 2016	(r405515)
@@ -0,0 +1,33 @@
+# Created by: Brendan Molloy <brendan+freebsd at bbqsrc.net>
+# $FreeBSD$
+
+PORTNAME=	signedjson
+PORTVERSION=	1.0.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	security devel python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	brendan+freebsd at bbqsrc.net
+COMMENT=	Sign JSON with Ed25519 signatures
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pynacl>=0.3.0:${PORTSDIR}/security/py-pynacl \
+		${PYTHON_PKGNAMEPREFIX}unpaddedbase64>=1.0.1:${PORTSDIR}/devel/py-unpaddedbase64 \
+		${PYTHON_PKGNAMEPREFIX}canonicaljson>=1.0.0:${PORTSDIR}/devel/py-canonicaljson
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
+
+USES=		python
+USE_GITHUB=	yes
+USE_PYTHON=	autoplist distutils
+
+GH_ACCOUNT=	matrix-org
+GH_PROJECT=	python-signedjson
+
+NO_ARCH=	yes
+
+do-test:
+	@(cd ${WRKSRC} && ${PYTHON_CMD} -m pytest tests)
+
+.include <bsd.port.mk>

Added: head/security/py-signedjson/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-signedjson/distinfo	Fri Jan  8 04:37:09 2016	(r405515)
@@ -0,0 +1,2 @@
+SHA256 (matrix-org-python-signedjson-v1.0.0_GH0.tar.gz) = 9f50fbd678f3d0683e27c38533995c078d2bc2a2ee308f0b1161b5c7f8f68403
+SIZE (matrix-org-python-signedjson-v1.0.0_GH0.tar.gz) = 8563

Added: head/security/py-signedjson/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-signedjson/pkg-descr	Fri Jan  8 04:37:09 2016	(r405515)
@@ -0,0 +1,4 @@
+python-signedjson allows more than one entity to sign an object, can sign with
+more than one key and replace ED25519 with a different algorithm.
+
+WWW: https://github.com/matrix-org/python-signedjson


More information about the svn-ports-head mailing list