summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2018-01-22 13:30:08 +0000
committerfhajny <fhajny@pkgsrc.org>2018-01-22 13:30:08 +0000
commitae74937064aa500e2d352d0600b4199b408e2a1a (patch)
tree6ec569f05358e381838980cf6442378b8b4e0cfd
parentfcedf25b313603b5198b03f33df9f480e95acee1 (diff)
downloadpkgsrc-ae74937064aa500e2d352d0600b4199b408e2a1a.tar.gz
Import josepy-1.0.1 as security/py-josepy.
JOSE protocol implementation in Python using cryptography.
-rw-r--r--security/Makefile3
-rw-r--r--security/py-josepy/ALTERNATIVES1
-rw-r--r--security/py-josepy/DESCR1
-rw-r--r--security/py-josepy/Makefile23
-rw-r--r--security/py-josepy/PLIST82
-rw-r--r--security/py-josepy/distinfo6
6 files changed, 115 insertions, 1 deletions
diff --git a/security/Makefile b/security/Makefile
index 17a8841524a..b70f3d3bba6 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.665 2018/01/18 04:57:22 jnemeth Exp $
+# $NetBSD: Makefile,v 1.666 2018/01/22 13:30:08 fhajny Exp $
#
COMMENT= Security tools
@@ -409,6 +409,7 @@ SUBDIR+= py-gnupg
SUBDIR+= py-gssapi
SUBDIR+= py-hsm
SUBDIR+= py-itsdangerous
+SUBDIR+= py-josepy
SUBDIR+= py-kerberos
SUBDIR+= py-keyring
SUBDIR+= py-keyrings.alt
diff --git a/security/py-josepy/ALTERNATIVES b/security/py-josepy/ALTERNATIVES
new file mode 100644
index 00000000000..f78bf7850cd
--- /dev/null
+++ b/security/py-josepy/ALTERNATIVES
@@ -0,0 +1 @@
+bin/jws @PREFIX@/bin/jws@PYVERSSUFFIX@
diff --git a/security/py-josepy/DESCR b/security/py-josepy/DESCR
new file mode 100644
index 00000000000..e5574ad24ae
--- /dev/null
+++ b/security/py-josepy/DESCR
@@ -0,0 +1 @@
+JOSE protocol implementation in Python using cryptography.
diff --git a/security/py-josepy/Makefile b/security/py-josepy/Makefile
new file mode 100644
index 00000000000..b6883eb1044
--- /dev/null
+++ b/security/py-josepy/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2018/01/22 13:30:08 fhajny Exp $
+
+DISTNAME= josepy-1.0.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_GITHUB:=certbot/}
+GITHUB_PROJECT= josepy
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/certbot/josepy/
+COMMENT= JOSE protocol implementation in Python using cryptography
+LICENSE= apache-2.0
+
+DEPENDS+= ${PYPKGPREFIX}-cryptography>=0.8:../../security/py-cryptography
+DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=0.13:../../security/py-OpenSSL
+DEPENDS+= ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/jws \
+ ${DESTDIR}${PREFIX}/bin/jws${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/py-josepy/PLIST b/security/py-josepy/PLIST
new file mode 100644
index 00000000000..5ddf3a58a0c
--- /dev/null
+++ b/security/py-josepy/PLIST
@@ -0,0 +1,82 @@
+@comment $NetBSD: PLIST,v 1.1 2018/01/22 13:30:08 fhajny Exp $
+bin/jws${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/josepy/__init__.py
+${PYSITELIB}/josepy/__init__.pyo
+${PYSITELIB}/josepy/__init__.pyc
+${PYSITELIB}/josepy/b64.pyo
+${PYSITELIB}/josepy/b64.pyc
+${PYSITELIB}/josepy/b64_test.pyo
+${PYSITELIB}/josepy/b64_test.pyc
+${PYSITELIB}/josepy/errors.pyo
+${PYSITELIB}/josepy/errors.pyc
+${PYSITELIB}/josepy/errors_test.pyo
+${PYSITELIB}/josepy/errors_test.pyc
+${PYSITELIB}/josepy/interfaces.pyo
+${PYSITELIB}/josepy/interfaces.pyc
+${PYSITELIB}/josepy/interfaces_test.pyo
+${PYSITELIB}/josepy/interfaces_test.pyc
+${PYSITELIB}/josepy/json_util.pyo
+${PYSITELIB}/josepy/json_util.pyc
+${PYSITELIB}/josepy/json_util_test.pyo
+${PYSITELIB}/josepy/json_util_test.pyc
+${PYSITELIB}/josepy/jwa.pyo
+${PYSITELIB}/josepy/jwa.pyc
+${PYSITELIB}/josepy/jwa_test.pyo
+${PYSITELIB}/josepy/jwa_test.pyc
+${PYSITELIB}/josepy/jwk.pyo
+${PYSITELIB}/josepy/jwk.pyc
+${PYSITELIB}/josepy/jwk_test.pyo
+${PYSITELIB}/josepy/jwk_test.pyc
+${PYSITELIB}/josepy/jws.pyo
+${PYSITELIB}/josepy/jws.pyc
+${PYSITELIB}/josepy/jws_test.pyo
+${PYSITELIB}/josepy/jws_test.pyc
+${PYSITELIB}/josepy/test_util.pyo
+${PYSITELIB}/josepy/test_util.pyc
+${PYSITELIB}/josepy/util.pyo
+${PYSITELIB}/josepy/util.pyc
+${PYSITELIB}/josepy/util_test.pyo
+${PYSITELIB}/josepy/util_test.pyc
+${PYSITELIB}/josepy/b64.py
+${PYSITELIB}/josepy/b64_test.py
+${PYSITELIB}/josepy/errors.py
+${PYSITELIB}/josepy/errors_test.py
+${PYSITELIB}/josepy/interfaces.py
+${PYSITELIB}/josepy/interfaces_test.py
+${PYSITELIB}/josepy/json_util.py
+${PYSITELIB}/josepy/json_util_test.py
+${PYSITELIB}/josepy/jwa.py
+${PYSITELIB}/josepy/jwa_test.py
+${PYSITELIB}/josepy/jwk.py
+${PYSITELIB}/josepy/jwk_test.py
+${PYSITELIB}/josepy/jws.py
+${PYSITELIB}/josepy/jws_test.py
+${PYSITELIB}/josepy/test_util.py
+${PYSITELIB}/josepy/testdata/README
+${PYSITELIB}/josepy/testdata/cert-100sans.pem
+${PYSITELIB}/josepy/testdata/cert-idnsans.pem
+${PYSITELIB}/josepy/testdata/cert-san.pem
+${PYSITELIB}/josepy/testdata/cert.der
+${PYSITELIB}/josepy/testdata/cert.pem
+${PYSITELIB}/josepy/testdata/critical-san.pem
+${PYSITELIB}/josepy/testdata/csr-100sans.pem
+${PYSITELIB}/josepy/testdata/csr-6sans.pem
+${PYSITELIB}/josepy/testdata/csr-idnsans.pem
+${PYSITELIB}/josepy/testdata/csr-nosans.pem
+${PYSITELIB}/josepy/testdata/csr-san.pem
+${PYSITELIB}/josepy/testdata/csr.der
+${PYSITELIB}/josepy/testdata/csr.pem
+${PYSITELIB}/josepy/testdata/dsa512_key.pem
+${PYSITELIB}/josepy/testdata/rsa1024_key.pem
+${PYSITELIB}/josepy/testdata/rsa2048_cert.pem
+${PYSITELIB}/josepy/testdata/rsa2048_key.pem
+${PYSITELIB}/josepy/testdata/rsa256_key.pem
+${PYSITELIB}/josepy/testdata/rsa512_key.pem
+${PYSITELIB}/josepy/util.py
+${PYSITELIB}/josepy/util_test.py
diff --git a/security/py-josepy/distinfo b/security/py-josepy/distinfo
new file mode 100644
index 00000000000..bc005e7d187
--- /dev/null
+++ b/security/py-josepy/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/01/22 13:30:08 fhajny Exp $
+
+SHA1 (josepy-1.0.1.tar.gz) = db1bf6136a0548bcf413e040dba53db74f89f0c2
+RMD160 (josepy-1.0.1.tar.gz) = a02cdd1b935f35aaf3579800b3800af669ad0f42
+SHA512 (josepy-1.0.1.tar.gz) = ca2fcc36f240c88dcb8fd6865d16ee3e1975964b846b73c87e2dce98d58ff0e5473ef505767ef79397078ed580a0badc5e43d9900f4289b70411819341a65cc9
+Size (josepy-1.0.1.tar.gz) = 49408 bytes