summaryrefslogtreecommitdiff
path: root/security/py-liboqs-python
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-10-30 17:57:08 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2023-10-30 18:02:20 -0700
commit86ab26d957fe98f220cb36a5a9ddd2b7cafcf233 (patch)
tree5ad663dc2f306c97ee444334a9f2e2d48967755b /security/py-liboqs-python
parentsecurity/liboqs: update 0.8.0-14 → 0.9.0 (diff)
security/py-liboqs-python: New port: Library for quantum-resistant cryptography
Diffstat (limited to 'security/py-liboqs-python')
-rw-r--r--security/py-liboqs-python/Makefile25
-rw-r--r--security/py-liboqs-python/distinfo3
-rw-r--r--security/py-liboqs-python/pkg-descr12
3 files changed, 40 insertions, 0 deletions
diff --git a/security/py-liboqs-python/Makefile b/security/py-liboqs-python/Makefile
new file mode 100644
index 000000000000..b7f1e9f2922b
--- /dev/null
+++ b/security/py-liboqs-python/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= liboqs-python
+DISTVERSION= 0.9.0
+CATEGORIES= security
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Library for quantum-resistant cryptography
+WWW= https://openquantumsafe.org/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+LIB_DEPENDS= liboqs.so:security/liboqs
+
+USES= python
+USE_PYTHON= pep517 autoplist nose2
+
+USE_GITHUB= yes
+GH_ACCOUNT= open-quantum-safe
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/security/py-liboqs-python/distinfo b/security/py-liboqs-python/distinfo
new file mode 100644
index 000000000000..847167dcd6f1
--- /dev/null
+++ b/security/py-liboqs-python/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1698711635
+SHA256 (open-quantum-safe-liboqs-python-0.9.0_GH0.tar.gz) = 0ea47bc0b25bd6ab8a070a2beab10bec4b4e5b49af8da16d46146b8e54c162f2
+SIZE (open-quantum-safe-liboqs-python-0.9.0_GH0.tar.gz) = 14070
diff --git a/security/py-liboqs-python/pkg-descr b/security/py-liboqs-python/pkg-descr
new file mode 100644
index 000000000000..62b380e653fe
--- /dev/null
+++ b/security/py-liboqs-python/pkg-descr
@@ -0,0 +1,12 @@
+liboqs provides:
+* a collection of open source implementations of quantum-safe key encapsulation
+ mechanism (KEM) and digital signature algorithms; the full list can be found
+ below
+* a common API for these algorithms
+* a test harness and benchmarking routines
+
+liboqs is part of the Open Quantum Safe (OQS) project led by Douglas Stebila and
+Michele Mosca, which aims to develop and integrate into applications
+quantum-safe cryptography to facilitate deployment and testing in real world
+contexts. In particular, OQS provides prototype integrations of liboqs into TLS
+and SSH, through OpenSSL and OpenSSH.